Templates / Invoice
Invoice PDF API
Generate itemized invoice PDFs with tax, totals and due dates from JSON. Free for 50 documents a month.

1. Save this as invoice.json
{
"template": "invoice",
"data": {
"brand": {
"name": "Northwind Studio",
"color": "#0f766e",
"email": "billing@northwind.example",
"website": "northwind.example",
"address": [
"100 Market St",
"Denver, CO 80202"
]
},
"number": "INV-1042",
"issue_date": "2026-10-15",
"due_date": "2026-11-14",
"currency": "USD",
"tax_rate": 8.31,
"customer": {
"name": "Acme Co.",
"email": "ap@acme.example",
"address": [
"42 Industrial Way",
"Boulder, CO 80301"
]
},
"items": [
{
"description": "Website redesign, phase 1",
"qty": 1,
"unit_price": 2400
},
{
"description": "Consulting (hours)",
"qty": 10,
"unit_price": 120
},
{
"description": "Hosting, 12 months",
"qty": 1,
"unit_price": 180
}
],
"notes": "Payment due within 30 days. Thank you for your business!"
}
}2. Render it
curl -X POST https://api.slipkiln.com/v1/render/template \ -H "Authorization: Bearer $SLIPKILN_KEY" \ -H "Content-Type: application/json" \ -d @invoice.json \ -o invoice.pdf
You get back a PDF. Change brand.color and brand.name to match your business. All text is HTML-escaped. Need a custom layout? Send your own HTML to /v1/render/html.