PPDFInvoiceAPI
POST /v1/render · GA on Cloudflare

The document PDF API that leads with invoices.

Send HTML or a template, get a pixel-perfect invoice, receipt or order document back in one call. Delete your headless-Chrome cluster.

No credit card · 100 free credits to start

curl https://api.pdfinvoiceapi.com/v1/render \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "template": "invoice",
    "data": { "number": "1024", "total": "$1,240.00" }
  }' \
  -o invoice.pdf
→ returns application/pdf200 · 387ms · 1 page

One call

POST HTML, get a PDF back — no job queue, no polling.

EU + US edge

Rendered on Cloudflare's global network, near your users.

Zero infra

No headless-Chrome cluster to run, patch, or scale.

100 free credits

Start with no credit card. Upgrade when you ship.

BUILT ON CLOUDFLARE BROWSER RENDERING · DOCUMENTS STREAMED, NEVER STORED

HOW IT WORKS

From zero to first PDF in three steps

01

Grab a key

Sign up and copy a live key. 100 free credits to start, no credit card.

02

POST your HTML or template

Send raw HTML or a saved template ID plus a JSON data payload to /v1/render.

03

Stream the PDF

Get application/pdf bytes back in ~400ms. Pipe to the browser or storage.

CAPABILITIES

Everything you'd build yourself — without the on-call

One synchronous call

No job queue, no polling, no webhook dance for documents under ~30 pages. POST in, PDF out.

Rendered at the edge

Served from Cloudflare’s global network. EU and US regions, ~400ms median.

Reusable templates

Save named templates with {{placeholders}}, then render by id with a JSON data payload — web fonts via CSS just work.

Invoice-grade output

Precise page sizes, margins, headers, footers, page numbers — invoices, receipts and order docs alike.

Signed webhooks

Register an endpoint and send a signed test event today (Starter+). Auto-delivery and async for huge docs are coming soon.

Private by default

Documents are streamed back and never stored on our side.

TEMPLATES + DATA

Render real invoices from structured data

Save a template once in the dashboard, then POST just the data — invoices, receipts or order docs. Line items, totals, VAT, logos and page footers are laid out server-side and returned as a single, print-ready PDF.

  • Stored {{Mustache}} templates, rendered by id
  • Deterministic page breaks & repeating headers
  • Per-request page size, margins and orientation
  • Signed webhooks to verify your receiver (Starter+)
{
  "template": "invoice",
  "format": "A4",
  "margin": "18mm",
  "data": {
    "number": "INV-1024",
    "issued": "2026-06-23",
    "from": { "name": "Acme Inc", "vat": "NL8201..." },
    "billTo": { "name": "Globex LLC" },
    "lineItems": [
      { "desc": "Design retainer", "qty": 1, "price": 1200 },
      { "desc": "Edge hosting", "qty": 1, "price": 40 }
    ],
    "total": "$1,240.00"
  }
}

PRICING

Plans built around features, not volume

Start free with 100 credits. Upgrade for clean PDFs (no footer), more stored templates and signed webhooks.

Start free — 100 credits, no card

A one-time trial grant of 100 renders. No monthly reset — subscribe to a plan below to keep rendering.

Start free (€0)

Starter

€19/ month

2,000 renders / month included

Choose Starter
  • Remove "Powered by" footer
  • 10 saved templates
  • Webhooks
  • Async rendering for big docs
  • Hosted PDF URLs
  • Multiple API keys
  • Priority rendering queue
  • Team seats, SSO & audit logs
  • Uptime SLA & custom domain
Most popular

Pro

€49/ month

20,000 renders / month included

Choose Pro
  • Remove "Powered by" footer
  • Unlimited saved templates
  • Webhooks
  • Async rendering for big docssoon
  • Hosted PDF URLssoon
  • Multiple API keys
  • Priority rendering queuesoon
  • Team seats, SSO & audit logs
  • Uptime SLA & custom domain

Business

€99/ month

100,000 renders / month included

Choose Business
  • Remove "Powered by" footer
  • Unlimited saved templates
  • Webhooks
  • Async rendering for big docssoon
  • Hosted PDF URLssoon
  • Multiple API keys
  • Priority rendering queuesoon
  • Team seats, SSO & audit logssoon
  • Uptime SLA & custom domainsoon

Compare all plans →

FAQ

Questions, answered

Still stuck? The docs cover every parameter, or reach us atsupport@pdfinvoiceapi.com.

Generate your first invoice PDF today

One endpoint, real PDFs, 100 free credits to start. No credit card to begin.