Generate real PDF documents (invoices, documents) via the API โ template, sections, download, all programmatically.
Sign in as a customer, then generate a sample invoice right here.
The same engine that renders platform invoices โ unified EL OUATINE header, FR+EN bilingual.
Title + sections (heading, body) in a clean EL OUATINE-branded layout with page numbers.
Documents estimated over 50 pages render in the background โ poll /jobs/:id and download.
200 free generations per month per key. Over quota โ 429. Failures consume nothing.
โ 200 free PDF generations per month โ per API key โ renews every month.
๐ซ Over quota โ the API answers 429 โ no hidden fees.
๐ฉ Need a higher quota? Reach us through the platform.
POST /api/pdf/v1/create โ auth via Authorization: Bearer or X-API-Key.
Honestly: no PDF merging (no qpdf on the server) โ one request = one document. pdfkit fonts are Latin-only: Arabic renders as "?".
| POST | /api/pdf/v1/create{ "template": "invoice", "data": { "number": "INV-1", "customer_name": "Client", "description": "Unlock", "amount": 12.5, "currency": "USD" } } |
| POST | /api/pdf/v1/create{ "template": "custom", "data": { "title": "Report", "sections": [{ "heading": "Summary", "body": "โฆ" }] } } |
| GET | /api/pdf/v1/jobs/123โ { "ok": true, "job": { "status": "done", "download_url": "/api/pdf/v1/jobs/123/file" } } |
| Field | Description |
|---|---|
template | Required โ "invoice" or "custom". |
data (invoice) | invoice template: {number, customer_name, description, amount, currency} (+ optional: customer_phone, status, due_date, paid_at, created_at, lang). |
data (custom) | custom template: {title, sections:[{heading, body}], footer?} โ up to 200 sections. |
auth | Auth: Authorization: Bearer elopdf_โฆ header or X-API-Key. |
resp | Response: application/pdf directly (or 202 + job_id for large documents). |
EL OUATINE platform โ mobile & software technical services.
Explore the platform