Invoices

Invoice PDF generator API for backends and agents

Fill company, client, line items, tax, and totals as JSON. ForgeDocs renders a production-looking invoice PDF through the same endpoint and MCP tools your stack already uses for HTML to PDF.

Structured fields, finished typography

The invoice pack expects the fields finance workflows already know — parties, dates, SKUs, quantities, tax, and totals. You get clean spacing and print-ready layout without designing a template from scratch.

REST and MCP in one pipeline

Call POST /api/v1/render with template: "invoice", or use the generate_invoice MCP tool from Cursor and Claude. Quotes and receipts share the same document family when you need the full quote → invoice → receipt path.

Fits automation tools today

Any Zapier, Make, or n8n step that can POST JSON can call the ForgeDocs invoice generator. Pair with async jobs when you batch monthly billing runs.

curl · invoice PDF
curl -X POST https://pdfforagents.com/api/v1/render \
  -H "Content-Type: application/json" \
  -d '{
    "template": "invoice",
    "format": "pdf",
    "data": {
      "companyName": "Acme Labs",
      "clientName": "Northwind",
      "invoiceNumber": "INV-1001",
      "total": "$480.00"
    }
  }' \
  --output invoice.pdf

Common questions

How does the invoice PDF generator work?+

Send JSON for the invoice pack. ForgeDocs merges your data into the template and returns a PDF via Chromium — the same path used by MCP generate_invoice.

Can agents create invoices without a UI?+

Yes. That is the point. Agents fill structured fields; ForgeDocs owns layout and typography.

What does Starter cost?+

Starter is $8.99/mo after a 7-day free trial, with thousands of renders per month for packs and custom HTML.

Ready to generate documents from your stack?

Starter is $8.99/mo after a 7-day free trial. Use the playground locally, or wire MCP / REST when you're ready to ship.