Design a document template
Bands, fields, tables, formulas and formats, conditions, grouping and totals, page setup and preview.
The designer shows the template as five bands, top to bottom. Drag fields and elements from the left onto a band, place them with the mouse or by typing millimetres, and check the result with Preview before you Save.
The bands
| Band | Prints |
|---|---|
| Page header | At the top of every page (or the first page only): logo, company, document title. |
| Document header | Once, at the top of the first page: bill-to and ship-to addresses, number, dates, terms. |
| Lines | The table of lines. It continues on as many pages as it needs and repeats its column titles on each. |
| Totals and notes | Once, after the last line: totals, notes, payment instructions. Tick At the bottom of the last page for a tear-off remittance stub, or Always start on a new page. |
| Page footer | At the bottom of every page (or the last only): page numbers, legal text. |
Drag a band's bottom edge to make it taller or shorter, or click the band's name and type its height.
Add fields and elements
- On the Fields tab, find the field (type in Find a field) and drag it onto the band. Amounts arrive formatted as money and dates as dates.
- Drag a line field (Lines group) onto the lines table to add it as a column; outside the table it becomes a total, such as the total quantity.
- On the Elements tab you'll find text, a label and value pair, the logo or a picture, lines, boxes, barcodes and QR codes, the lines table and page numbers.
- Click an element to change it on the right: position and size in millimetres, the text, font, size, bold, colours, alignment, borders and what happens when the text is too long (wrap, shrink to fit or cut off).
Select several elements with Shift-click to line them up, give them the same width or stack them evenly. Arrow keys move the selection by 0.5 mm (Shift: 5 mm). Ctrl+D duplicates, Ctrl+Z undoes, Ctrl+S saves. Use Snap and Zoom above the page for precise placing.
Formulas and formats
Anything between {{ and }} is worked out when the document prints. Text and fields mix freely: Invoice {{ number }} for {{ customer.name }}. Add a format after a bar:
| You write | It prints |
|---|---|
{{ total | money }} | $1,234.50 |
{{ due_date | date:long }} | November 30, 2026 |
{{ total - amount_paid | money }} | What is still owed |
{{ iif(balance_due > 0, 'Please pay', 'Paid in full') }} | Different text depending on a value |
{{ sum(lines, 'qty') | number }} | Total quantity of all lines |
{{ words(amount) }} | One thousand two hundred thirty-four and 50/100 |
The link All formulas and formats on the Elements tab lists every function and format. Inside a table column, line. means the line being printed, for example {{ line.qty * line.price | money }}.
Show only when
Every element has Show only when: a condition without braces, such as discount > 0, customer.email or status = 'Paid'. The element prints only when it is true; empty means always. Table columns have their own condition, and the table has Show a line only when to leave lines out (the built-in templates hide kit components this way). Elements with a condition carry a small purple dot in their top-right corner.
The lines table
- Columns: change the title and what the column shows, its width (a share of the table width) and alignment; tick Total to add it up in total rows.
- Grouping: Group lines by
{{ line.warehouse }}prints lines with the same value together under a title, optionally with a subtotal after each group or each group on a new page. - Total row at the end, and the most lines a table shows (for check stubs), with the text printed when lines are left out.
- Look: title row colour, every-other-row shading, borders and cell padding.
Page, fonts and watermark
Click an empty part of a band to see the template's own settings: name, paper (Letter, Legal, A4, A5, statement, 4 × 6 label, envelope or a custom size), orientation, margins, printer alignment, the font used everywhere, and a watermark. A watermark can be a formula, for example {{ iif(balance_due <= 0, 'PAID', '') }} or {{ iif(reprint, 'COPY', '') }}.
Preview, problems and saving
- Click Preview. It draws the PDF from the layout as it is now, saved or not, with sample data. Pick one of your own documents at the top to see real data; turn on Alignment grid to see every element's outline.
- Click Save. Problems appear under the page: red ones (a formula that can't be read, a table without columns, bands that don't fit the paper) must be fixed before it saves; the others are advice, such as text that runs past the margin or a field that doesn't exist. Click a problem to select its element.