PDF API · Invoice PDF API

Generate every invoice your business sends, by API.

Send the order or billing record as JSON and get back a branded invoice PDF. Long line-item tables break across pages with the header repeated — ready to email or store.

Opens a real a tax invoice with sample data — edit a field and download the PDF. No account or card for the example. PixlDocs is free for 1 year.

Real output

  • Invoice · 21 line items, page 1 rendered by the PixlDocs API

    Invoice · 21 line items, page 1

  • One-page studio invoice rendered by the PixlDocs API

    One-page studio invoice

  • Tax invoice with per-line rates rendered by the PixlDocs API

    Tax invoice with per-line rates

Rendered through the production pipeline from published templates with sample data.

The request

POST /v1/render

bash
curl -X POST https://api.pixldocs.com/v1/render \
  -H "Authorization: Bearer pxd_YOUR_KEY" \
  -H "Content-Type: application/json" \
  --output invoice.pdf \
  -d '{
    "template_id": "YOUR_INVOICE_TEMPLATE_ID",
    "format": "pdf",
    "data": {
      "customerName": "Acme Corp",
      "items": [
        { "description": "Design retainer", "qty": 1, "unit_price": 1000 },
        { "description": "Print production", "qty": 5, "unit_price": 50 }
      ]
    }
  }'

Replace pxd_YOUR_KEY with a key from your dashboard. The response body is the file.

Ready-made templates
Start from an invoice in the Documents library.
Any currency, any tax
Totals and tax lines come from your data.
Long invoices paginate
Tables split cleanly; headers repeat.
Missing data stays blank
We never fill a billed document with sample values.

Questions

Which fields does an invoice template accept?

Each template declares its fields. GET /v1/templates/:id/fields returns them, and unknown keys are refused with 400 unknown_fields rather than silently dropped.

Can I use my own invoice design?

Yes. Write it in HTML and Liquid, or duplicate a library invoice and edit it in your workspace.

Can I send thousands at once?

Yes, through the batch renders endpoint, with signed webhooks when each finishes.

Can I connect it without code?

The public n8n node calls the same API. The Zapier and Make apps are private.

Is it free?

Yes. PixlDocs is free for 1 year from 3 October 2026 while we work with early users. You can try a real example with no account; a free account starts with 100 credits, and you can ask us for more free credits when you run out.

Try it on sample data, then bring your own document.

Start with the free example. If your document or data source is different, send us one sample and tell us where the data lives — we set up the first template with you, free. Business and enterprise teams can contact us separately.