Examples
Documents you can take apart.
Each example is a template and a data file rendered live by the engine behind the gem. Open one to see every page, read its JSON, copy the Ruby call, or download the PDF.
Billing
6 templatesStarter invoice
A teal identity band, a billed-to block, a data-bound items table and a totals stack.
VAT-compliant invoice + Factur-X
Every statutory mention of a French VAT invoice, an EPC scan-to-pay QR, and an embedded EN 16931 XML.
Minimal invoice
One number at 46 pt, everything else at 8 pt. The hierarchy is carried by the type scale alone.
Subscription invoice
A billing period, plan fees billed in advance, metered usage billed in arrears, and a donut chart of spend.
Credit note
Names the invoice it corrects, its original amount and the reason. Amounts are negative throughout.
Receipt
A paid receipt stamped PAID, with a SEPA scan-to-pay QR code.
Business documents
5 templatesStarter quote
The starter invoice's skeleton with its own identity and a valid-until strip.
Quote by trade section
Line items grouped into numbered sections, each with its own subtotal, and a dashed acceptance box.
Quote with options
Base scope and optional work priced separately, with tick boxes and two totals side by side.
Business letter
A letter with inline rich text: bold, italic, monospace and clickable links on the same line.
Account statement
A three-page statement whose table header repeats and whose running subtotal is carried forward.
Showcase
5 templatesAnnual report
A five-page annual report: cover page, KPI tiles, bar, line and pie charts, and tables.
The complete tour
A twelve-page document that is its own reference: every element and option, each shown with its JSON.
Vector graphics (SVG)
SVG logos, icons and gradients embedded as real vectors, sharp at any size.
Conditional content
An order confirmation whose blocks appear or not depending on the data: if, unless and repeat.
Accessible PDF (PDF/UA)
A tagged PDF: headings, paragraphs and figures carry semantic roles a screen reader can navigate.