Skip to content

Invoice PDF generator

Fill in the invoice fields, check the preview, and download a print-ready PDF. Developers can send the same HTML template to the PDF API to automate it.

Header and footer

Use {page}, {pages}, {title}, {date}. Split with | for left, center and right. Shown on every page.

PDFs are printed by Chromium on Cloudflare and streamed back. Nothing is stored. Free: 10 PDF or screenshot renders a day per IP.

Automate it

The template is plain HTML and CSS. Use the View HTML button to copy it, fill it from your billing data, and POST it to /v1/pdf from a cron job, a webhook or an n8n flow. The PDF comes back in about a second or two.

What a US invoice usually includes

  • Your business name and address, plus the client's
  • Invoice number, issue date and due date (for example Net 30)
  • Line items with quantity, rate and amount
  • Subtotal, sales tax (if you collect it) and the total due
  • How to pay: ACH or bank details, a card link or a mailing address for checks

Do it from code or an AI assistant

The same renderer is an HTTP API and an MCP tool, so this exact result can come from a script or from Claude, ChatGPT or Cursor. See the Render API reference and the MCP setup guide.

HTTP API

bash
curl -X POST https://render.cuelark.com/v1/pdf -H "content-type: application/json" \
  -d '{"html":"<h1>Invoice #1042</h1><p>Acme Inc. · Net 30</p>","format":"letter","margin":"0.6in","filename":"invoice-1042"}' \
  -o document.pdf

MCP tool call: html_to_pdf

json
{
  "method": "tools/call",
  "params": {
    "name": "html_to_pdf",
    "arguments": {
      "html": "<h1>Invoice #1042</h1><p>Acme Inc. · Net 30</p>",
      "format": "letter",
      "margin": "0.6in",
      "filename": "invoice-1042"
    }
  }
}

Frequently asked questions

Does it calculate sales tax?

It applies the tax rate you enter to the subtotal. It doesn't look up rates. Check your state's rules for what's taxable.

Is the invoice saved?

No. Nothing you type is stored. Keep the PDF you download.

Related free tools from Cuelark

Updated November 10, 2026 by the Cuelark Team.