PDF Generation API
Convert HTML to PDF. Generate invoices, receipts, and purchase orders programmatically.
Free tier: 10 requests/min | No credit card required
🚀 Four Powerful Endpoints
POST /api/v1/pdf/from-html- Convert raw HTML to PDFPOST /api/v1/pdf/invoice- Generate invoices from JSONPOST /api/v1/pdf/receipt- Create receipts (6 templates)POST /api/v1/pdf/purchase-order- Build POs with line items
📊 Professional Templates
- Modern, clean design with DM Sans + JetBrains Mono
- Multi-language support (EN, NL, DE, FR)
- Automatic currency & tax rate detection
- A4 page format with configurable margins
âš¡ Easy Integration
- Simple HTTP API with Bearer token auth
- JSON request/response format
- Rate limiting by tier (free, starter, pro)
- Examples in cURL, Python, Node, Ruby, PHP
💰 Predictable Pricing
- Free: 10 requests/min, 1,000/day
- Starter: 30 requests/min, 100K/month
- Pro: 60 requests/min, unlimited
Quick Start
curl -X POST https://invopage.com/api/v1/pdf/from-html \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"html": "<h1>Invoice</h1><p>Amount: $100</p>"
}'
Common Use Cases
- E-commerce: Auto-generate invoices when orders are placed
- SaaS: Enable users to export reports as PDFs
- Accounting: Bulk convert HTML statements to PDF
- Billing: Generate receipts for payment processors
- Document Management: Convert templates to branded PDFs