Invoice
template: "invoice"
Company name, from/to addresses, line items (description, quantity, unit price), and tax rate.
View schema in docs →Developer-first PDFs
Send JSON, get back styled invoices, receipts, and reports. No HTML required. Free to start.
Try it
curl -X POST "https://pdfapi-nu.vercel.app/api/v1/generate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template":"invoice","data":{"companyName":"Acme Co.","fromAddress":"100 Market St","toAddress":"Jane Buyer","lineItems":[{"description":"Services","quantity":1,"unitPrice":500}],"taxRate":0.08}}' \
-o invoice.pdfThree steps from your data to a print-ready PDF.
Step 1
POST your business objects—no markup, no templates to host.
Step 2
Choose invoice, receipt, or report. We render and typeset for you.
Step 3
Receive a binary PDF response ready to attach, store, or email.
Typed JSON schemas per template—validate once, generate forever.
template: "invoice"
Company name, from/to addresses, line items (description, quantity, unit price), and tax rate.
View schema in docs →template: "receipt"
Merchant, date, item lines as text, amount paid, and last four digits of the payment method.
View schema in docs →template: "report"
Title, date range, summary stats (label + value), and flexible tabular rows for KPIs or exports.
View schema in docs →Predictable monthly limits and rate limits per tier.
| Plan | Price | Included calls | Rate limit | |
|---|---|---|---|---|
| Free | $0 | 200 calls/month | 5 req/min | Get Started |
| Starter | $29/mo | 2,000 calls/month | 30 req/min | Get Started |
| Growth | $99/mo | 10,000 calls/month | 60 req/min | Get Started |
| Scale | $249/mo | 50,000 calls/month | 120 req/min | Get Started |
Same request across curl, Python, and Node.js—swap in your API key and base URL.
curl -X POST "https://pdfapi-nu.vercel.app/api/v1/generate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template":"invoice","data":{"companyName":"Acme Design Co.","fromAddress":"100 Market St\nSan Francisco, CA","toAddress":"Jane Buyer\n200 Oak Ave\nAustin, TX","lineItems":[{"description":"Brand kit","quantity":1,"unitPrice":2500}],"taxRate":0.0825}}' \
-o invoice.pdfThe API is designed for agentic workflows: predictable REST endpoints, structured JSON input and responses, and an OpenAPI specification so tools can discover operations, parameters, and schemas automatically. Pipe model output straight into PDF generation without hand-authored HTML.