Invoice generation

Generate client invoices from your billing data in milliseconds. One template, any number of clients — consistent, professional output every time.

The problem

Invoice generation shouldn't be a manual job

Finance teams copy-paste data into Word documents or PDF editors, then export and email manually. One template change breaks the format for every client. Bulk runs mean hours of repetitive work — and one typo reaches a paying customer.

The infrastructure to fix this — a PDF rendering service, async job polling, signed download URLs — takes weeks to build and maintain. PDFox gives you all of it through a single POST request.

How it works

From template to signed URL in three steps

1

Design your template

Build your invoice layout in the PDFox visual editor. Set up Handlebars fields for invoice number, line items, client details, and totals. Publish when ready.

2

POST your billing data

Send a single API call with your template ID and a JSON payload of invoice data. PDFox returns a job ID immediately — generation runs asynchronously.

3

Receive a signed URL

Poll the job status endpoint or use webhooks. When complete, retrieve a signed download URL. Store it, email it, or deliver it straight to Google Drive or Dropbox.

REST API · Shell

curl -X POST https://api.pdf-fox.com/v1/generate \
  -H "Authorization: Bearer pdfs_a1b2c3d4_..." \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "data": {
      "invoice": {
        "number": "INV-2026-0891",
        "date": "2026-05-26",
        "due_date": "2026-06-09",
        "currency": "GBP"
      },
      "client": {
        "name": "Meridian Software Ltd",
        "address": "14 Finsbury Square, London"
      },
      "items": [
        { "description": "Platform licence", "qty": 1, "unit_price": 1200 },
        { "description": "Onboarding session", "qty": 2, "unit_price": 350 }
      ]
    }
  }'

The API returns a jobId. Poll /v1/generate/jobs/:jobId for status, then call /v1/generate/jobs/:jobId/download for the signed URL.

Why teams choose PDFox

Built for production invoice workflows

Sub-second generation

Invoices render in under a second. No queued delays — your customer gets their document as fast as your API returns.

Handlebars conditional logic

Show or hide sections based on your data — different payment terms per region, optional VAT breakdowns, custom footers per client tier.

Bulk CSV endpoint

Upload a spreadsheet and generate one PDF per row in a single call. End-of-month invoice runs become a one-click operation.

Ready to build this?

Free tier included. No card required. Start generating invoices in minutes.