Skip to content
PDF · USE CASE

Invoice PDF Generation API

Generate branded invoice PDFs from a URL, HTML, or React component. Print-grade output, page numbers, and totals that never break across a page seam.

Generate branded invoice PDFs from a URL, HTML, or React component. Print-grade output, page numbers, and totals that never break across a page seam.

How it works

POSTpdf.sh
curl https://api.renderkit.tech/v1/pdf \
  -H "x-api-key: $RENDERKIT_API_KEY" \
  -H "content-type: application/json" \
  -d '{ "url": "https://example.com", "format": "A4", "print_background": true }'

What you get

  • URL, HTML, or JSX source
  • Custom page size, margins, and headers/footers
  • Print CSS so tables and totals paginate cleanly
  • Signed CDN URL — store it or attach to email

More

Full HTML to PDF API docs · JSX-to-PDF · compare RenderKit vs PDFShift.

Common questions

POST your invoice URL, HTML, or React component to /v1/pdf. RenderKit returns a print-grade PDF on a signed URL.

RenderKit starts at $9/mo, with 500 free renders to start. PDF, screenshot, and markdown all draw from one meter.

Ship your first render in 60 seconds.

500 free renders to start. No card. Cancel by ignoring it.

Get your free key$npm i renderkit-sdk