Variables let you insert dynamic content into your documents. They are replaced with actual values at render time.
Inline variables
Reference variables inline with double curly braces:
Dear {{customer.name}}, your order #{{order.id}} is ready.
The total amount is {{totalAmount}} EUR.
Variable names must start with a letter and can contain letters, numbers, and underscores. Dot notation (customer.name) is supported for nested values.
Block-level variables
Place a variable reference on its own line to render it as a standalone block:
{{companyLogo}}
{{signatureBlock}}
{{footerContent}}
Block-level variables can contain images, text blocks, or other complex content defined in your document’s variable configuration.
These variables are automatically available in document headers and footers:
| Variable | Description | Example Output |
|---|
{{pageNumber}} | Current page number | 1 |
{{totalPages}} | Total page count | 99 |
{{date}} | Current date (DD.MM.YYYY) | 02.02.2026 |
The {{date}} variable supports custom formatting, date manipulation, and timezone offsets.
Syntax
{{date}} → Default format (DD.MM.YYYY)
{{date/FORMAT}} → Custom format
{{date/FORMAT/OFFSET}} → With date manipulation
{{date/FORMAT/OFFSET/TIMEZONE}} → With timezone offset
| Token | Description | Example |
|---|
YYYY | 4-digit year | 2026 |
YY | 2-digit year | 26 |
MMMM | Full month name | February |
MMM | Short month name | Feb |
MM | 2-digit month | 02 |
M | 1-2 digit month | 2 |
dddd | Full weekday | Sunday |
ddd | Short weekday | Sun |
DD | 2-digit day | 02 |
D | 1-2 digit day | 2 |
HH | 24-hour hour | 14 |
mm | Minutes | 35 |
Instead of building a format string, use a preset name:
| Preset | Equivalent Format | Example |
|---|
iso | YYYY-MM-DD | 2026-02-02 |
time | HH:mm | 14:35 |
datetime | DD.MM.YYYY HH:mm | 02.02.2026 14:35 |
long | D. MMMM YYYY | 2. February 2026 |
monthYear | MMMM YYYY | February 2026 |
Date offset (manipulation)
Shift the date forward or backward:
| Offset | Description |
|---|
+1d | Tomorrow |
-7d | 7 days ago |
+1m | Next month |
-1y | Last year |
+2h | 2 hours from now |
+30min | 30 minutes from now |
Timezone offset
Specify a UTC offset in +HH:mm or -HH:mm format:
{{date/HH:mm//+01:00}} → Time in CET
{{date/datetime/+7d/+02:00}} → Next week, CEST
When using a timezone offset without a date offset, leave the offset slot empty with double slashes: {{date/FORMAT//TIMEZONE}}.
Examples
{{date/DD.MM.YYYY}} → 02.02.2026
{{date/YYYY-MM-DD}} → 2026-02-02
{{date/D. MMMM YYYY}} → 2. February 2026
{{date/iso}} → 2026-02-02
{{date/DD.MM.YYYY/+1d}} → Tomorrow's date
{{date/MMMM YYYY/-1y}} → February 2025
{{date/HH:mm//+01:00}} → Time in CET
{{date/datetime/+7d/+02:00}} → Next week, CEST