PDFEngine API
Invoice & receipt templates + PDF API
Render invoice and receipt templates, HTML, or URLs with deterministic layout. Apply watermark, compression, and metadata updates, then ship polished documents without running a render fleet.
- Inject custom CSS or JavaScript per request.
- Render Mustache templates with JSON data.
- Watermark, compress, and enrich PDF metadata.
Conversion flow
4 stepsInputs
Sample output
Static PDF layout preview
// Render HTML and post-process in one requestconst response = await fetch('https://api.pdfengine.io/v1/convert', { method: 'POST', headers: { 'Authorization': 'Bearer sk_test_your_api_key', 'Content-Type': 'application/json', }, body: JSON.stringify({ source: '<h1>Invoice #4812</h1>', css: 'h1 { letter-spacing: -0.02em; }', format: 'A4', watermark: { text: 'PAID', opacity: 0.2 }, compress: 'medium', metadata: { title: 'Invoice 4812' }, }),});const pdf = await response.blob();Savings calculator
vs CompetitorsHow many invoices do you generate monthly?
Competitors
Professional plan
$39/mo
Up to 5,000 conversions
PDFEngine
Growth plan
$19/mo
Up to 5,000 conversions
You save
$20/month
Yearly savings
$240
Save
51%
Built for production
What teams care about most
Fast rendering, layout control, and PDF operations for business-critical documents.
Fast conversions
SpeedOptimized rendering keeps output predictable.
- Conversion and operation IDs
- Timing headers for performance tracking
Layout control
ControlFine-tune output with margins, formats, and orientation.
- A4, Letter, Legal formats
- CSS + JavaScript injection
Security controls
SecurityProtect access and lock down sensitive PDFs.
- API key auth and rate limiting
- Password-protect PDFs
PDF toolkit
ToolkitPost-processing tools built into the API.
- Merge, split, watermark, compress
- Metadata updates and protection
Capabilities
High-fidelity features for documents
Build once, render anywhere, and keep output consistent at scale.
Production-grade rendering
Full CSS, web fonts, and media queries for pixel-accurate output.
Template workflows
Mustache templates with JSON variables and reusable partials.
PDF pipeline
Merge, split, watermark, compress, and enrich metadata through one API.
Security controls
API keys, rate limits, and PDF protection for sensitive files.
Endpoints
Simple REST API
Predictable routes that mirror the document workflow.
/api/v1/convert/api/v1/pdf/merge/api/v1/pdf/split/api/v1/templates/:id/renderRender controls
Layout settings
Format, margins, and landscape controls.
Styling hooks
Inject CSS or JavaScript per request.
Post-processing
Watermark, compress, metadata updates.
Sample request
{
"source": "https://example.com/invoice/4812",
"css": ".total { font-weight: 600; }",
"format": "A4",
"watermark": { "text": "PAID" },
"compress": "medium"
}Start in minutes
Ship your first PDF today
Create an account, grab an API key, and render production-ready documents in minutes.