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

TRUSTED BY TEAMS SHIPPING DOCUMENTS AT SCALE

AcmeGlobexInitechUmbraHooliStark

38M+

PDFs rendered

~400ms

median render time

99.97%

rolling uptime

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.

Your fonts & templates

Upload brand fonts and reusable Handlebars templates. Render by ID with data.

Invoice-grade output

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

Async for big docs

Need a 400-page report? Switch to async and get a webhook when it’s ready.

Private by default

Documents are streamed and never stored. Optional R2 hosting with signed URLs.

TEMPLATES + DATA

Render real invoices from structured data

Save a template once, 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.

  • Handlebars templates with your brand fonts
  • Deterministic page breaks & repeating headers
  • Per-request page size, margins and orientation
  • Webhooks & async rendering for large documents
{
  "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 templates, webhooks, async rendering and more.

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 docs
  • Hosted PDF URLs
  • Multiple API keys
  • Priority rendering queue
  • 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 docs
  • Hosted PDF URLs
  • Multiple API keys
  • Priority rendering queue
  • Team seats, SSO & audit logs
  • Uptime SLA & custom domain

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.