Skip to content

PDF Templates

PDF · Templates

Pre-designed templates for common document types. Use GET /pdf/v1/templates to retrieve the full JSON schema for each template.

Clean, contemporary invoice with tax breakdown, IRPF withholding, and payment details.

Stripped-down minimalist invoice — just the essentials.

Corporate invoice with dark sidebar header. Ideal for professional clients. Includes PO number, project name, and payment terms fields.

Hourly service invoice with time tracking summary. Items use hours + rate instead of qty + unit_price. Includes a per-period breakdown and total hours badge.

Proposal document with validity period and terms.

Payment receipt with tax breakdown.

Delivery note without pricing — items, quantities, carrier, and tracking info.

Certificate or diploma with recipient name, title, and issuer details.

Corporate report with cover page, numbered sections with accent borders, and an optional data table. Ideal for summaries, audits, and internal reports.

You can also use custom HTML/CSS via the POST /pdf/v1/render/html endpoint.

Common variables available across invoice-type templates:

VariableTypeDescription
invoice_numberstringInvoice identifier
datestringIssue date
due_datestringPayment due date
accent_colorstringHex color for accents (e.g. #2563EB)
currencystringCurrency code (default: EUR)
issuerobjectIssuer details (name, nif, address, email, logo_url)
clientobjectClient details (name, nif, address)
itemsarray[]Line items (description, qty, unit_price)
tax_ratenumberIVA percentage (default: 21)
withholding_ratenumberIRPF percentage (default: 0)
notesstringAdditional notes
payment_detailsstringBank account / payment info

Templates support CSS with these features:

  • Flexbox and Grid layouts
  • Custom fonts (Google Fonts)
  • Page breaks (page-break-after)
  • Headers/footers (running elements)