Generate invoices, receipts, quotes, credit notes, packing slips, and timesheets from structured JSON. No HTML templates. No CSS debugging. No Chromium on your server.
const pdf = await fetch("https://api.kagyz.com/v1/invoice", {method: "POST",headers: {"Authorization": "Bearer YOUR_API_KEY","Content-Type": "application/json"},body: JSON.stringify({invoice_number: "INV-001",issue_date: "2026-02-26",currency: "USD",from: { name: "Acme Corp" },to: { name: "John Doe" },items: [{ description: "Consulting", quantity: 1, unit_price: 500 }]})});
Documents
Bill your clients with professional invoices. Multi-currency, tax support.
POST /v1/invoiceConfirm payments with detailed receipts. Payment method & transaction tracking.
POST /v1/receiptSend professional proposals and estimates. Configurable expiry dates, supports "Quote" or "Estimate" titles.
POST /v1/quoteIssue refund and adjustment documents. Reference original invoices, include credit reasons.
POST /v1/credit-noteGenerate shipping documents with SKUs, weights, tracking numbers. Optional pricing toggle.
POST /v1/packing-slipBill clients for hours worked. Track tasks, dates, and hourly rates. Auto-calculated totals.
POST /v1/timesheetAdd your company logo and brand colors to every document. Upload via dashboard or override per-request.
Manage API keys, track usage, and configure branding from app.kagyz.com.
Every PDF you generate is stored and gets a shareable URL. Send it to clients, embed in emails, or access from your dashboard.
Generate and send documents in one API call. Add deliver_to to any request and the PDF is emailed to your client automatically.
Generate all documents in Arabic with full right-to-left layout. Arabic labels, bilingual templates, 12+ Arabic currencies. RTL layout also works for Hebrew and Persian text. Just add direction: "rtl" to any request.
See the output

Invoice

Receipt

Arabic Invoice (RTL)
Every document shares the same clean design. Your clients get consistent, professional PDFs.
How it works
01
POST your document data — line items, addresses, tax, currency — as a simple JSON object.
02
Our engine formats your data into a clean, professional PDF in under 200ms.
03
Receive the PDF binary in the response. Save it, email it, or stream it to the browser.
Use cases
Generate professional invoices and receipts for your SaaS. Multi-currency, tax support, custom branding with your logo.
Create payment receipts with transaction IDs and PAID badge. Send JSON, get PDF.
Send quotes to win projects, invoices to get paid, credit notes for adjustments. All from one API.
Generate packing slips with SKUs, weights, and tracking numbers for every shipment.
Compare
| DIY (Puppeteer) | Kagyz API | |
|---|---|---|
| Setup time | Hours / days | 5 minutes |
| Memory usage | 300–500 MB per render | 0 (runs on our servers) |
| HTML templates | Build & maintain yourself | Not needed |
| CSS print debugging | Constant | Never |
| Arabic / RTL support | Broken | Built-in |
| Document types | Build each from scratch | 6 ready to use |
| Custom branding | Build it yourself | Upload logo, pick colors |
| Email delivery | Build it yourself | Built-in |
| Dashboard | Build it yourself | Included |
Pricing
For side projects and testing
100 PDFs / month
For growing businesses
2,000 PDFs / month
For high-volume teams
10,000 PDFs / month