PDF Invoice & Document Generator API
Published by @mdforge
· Verified
99.98% uptime
~18ms avg
AI Score 94/100
Generate crisp A4 PDF invoices and multi-page text documents in <15ms (base64 PDF output) with automatic subtotals & tax.
Try it live
https://api.indieapis.com/v1/invoice-receipt-pdf/invoice
Build a crisp A4 PDF invoice from query parameters and return base64 PDF + totals.
Response
Press Run to call the live API
{
"ok": true
}
Overview
Generate crisp A4 PDF invoices and multi-page text documents in <15ms (base64 PDF output) with automatic subtotals & tax.
Zero-proxy production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
3 endpoints
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /invoice |
from, to, item, amount, tax_pct
|
Build a crisp A4 PDF invoice from query parameters and return base64 PDF + totals. |
| POST | /invoice |
invoice_number, from, to, currency, tax_pct, items
|
Generate a multi-line PDF invoice with custom items array, tax, and currency. |
| POST | /document |
title, text*
|
Convert title + long plain text into a clean auto-wrapped multi-page A4 PDF. |