Step by step
Pick a document type and build it from beginning to end. Every recipe has both the editor route and the schema-and-API route, and the two produce the same document.
Read them in order and nothing is explained twice. Or pick only what you need — each recipe says what it teaches.
Document types
- Invoice Build an invoice whose line items come from your data and whose total is computed from it. This is where you learn repeating tables, currency formatting, summing, and running headers with page numbers. 12
- Purchase order Build a purchase order whose supplier and delivery terms live in fixed cells. You learn hand-built grid tables, merged cells, per-cell padding and alignment, and how to hide a whole row when a value is missing. 11
- Credit note Build a credit note that reverses an invoice you already issued. You learn how to reference the original, an overlay stamp using opacity, and how to receive the PDF bytes instead of a URL. 4
- Payslip Produce every employee payslip in one call and ship it password-protected, because it is personal data. You learn batches, passwords and permissions, and a bar chart of the monthly trend. 9
- Contract Build a contract whose clauses flow and whose signature block sits at the end. You learn rich text bodies, signature, text and checkbox fields, and how to keep an item from splitting across a page break. 10
- Certificate Produce one certificate per student from a single request. You learn repeating sections, starting each item on a new page, logo images, and a QR code for verification. 12
- Consent form Build a consent form the recipient fills in by choosing. You learn dropdown, list, radio and button fields, and the required and read-only flags. 9
- Packing slip Build the packing slip that goes in the box. You learn to cap the number of rows, clip a long product name to one line, and put a small picture inside a cell. 5
- Delivery note Render a delivery note in the background, get a notification when it is done, and bind it together with a PDF your customer supplied. You learn async rendering, webhooks, uploads and merging. 6
- Dispatch label Build the small dispatch label you send to a label printer. You learn paper size and orientation, Code 128 barcodes, and taking a PNG instead of a PDF. 5
- Shipping label Build a shipping label and stamp text onto the finished file. You learn taking a JPEG and stamping text or a watermark onto an existing PDF. 5
- Coupon Lay several tear-off coupons onto one sheet. You learn EAN-13 barcodes, background colours and opacity, and multiplying copies with a repeating section. 5
- Label sheet Fill a sheet of off-the-shelf label stock. You learn matching the margins to the stock, laying the cells out with a grid table, and per-cell padding and vertical alignment. 5
- Statement report Build a report that summarises a month of activity. You use line, pie and donut charts in one document, and learn number formatting and automatic height. 5