PDF API · Payslip generator API

Generate every payslip in a payroll run, by API.

Send each employee’s earnings, deductions and totals as JSON and get a payslip PDF back — one call each, or the whole month as a batch with a webhook as each one finishes.

Opens a real a payslip 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

  • Payslip rendered by the PixlDocs API

    Payslip

  • Salary certificate rendered by the PixlDocs API

    Salary certificate

  • Payout statement rendered by the PixlDocs API

    Payout statement

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 payslip.pdf \
  -d '{
    "template_id": "YOUR_PAYSLIP_TEMPLATE_ID",
    "format": "pdf",
    "data": {
      "employee": "R. Mehta",
      "period": "September 2026",
      "earnings": [ { "label": "Basic", "amount": 52000 } ],
      "deductions": [ { "label": "PF", "amount": 1800 } ]
    }
  }'

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

Ready payslip template
Start from the payslip in the Documents library.
Your numbers, untouched
Totals come from your data, never computed or guessed.
Month-end batches
Batch renders with signed webhooks.
Salary certificates too
Same pipeline for HR letters and certificates.

Questions

Do you store salary data?

The Security page states plainly what is stored and what we do not yet promise.

Can HR run it without engineers?

Yes, through a published form or the public n8n node — for lower volumes.

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.