EL OUATINETECHNICIEN OUATINE

๐Ÿ“„ PDF Generation API

Generate real PDF documents (invoices, documents) via the API โ€” template, sections, download, all programmatically.

Try it (signed-in customers)

Sign in as a customer, then generate a sample invoice right here.

Real invoice template

The same engine that renders platform invoices โ€” unified EL OUATINE header, FR+EN bilingual.

Custom template

Title + sections (heading, body) in a clean EL OUATINE-branded layout with page numbers.

Large async jobs

Documents estimated over 50 pages render in the background โ€” poll /jobs/:id and download.

Fair quotas

200 free generations per month per key. Over quota โ†’ 429. Failures consume nothing.

Pricing

โœ… 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.

Developer API

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 "?".

Examples

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

FieldDescription
templateRequired โ€” "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.
authAuth: Authorization: Bearer elopdf_โ€ฆ header or X-API-Key.
respResponse: application/pdf directly (or 202 + job_id for large documents).

EL OUATINE platform โ€” mobile & software technical services.

Explore the platform
EL OUATINE โ€” SecureCell Tech by El Ouatine LLC ยท Home