Inline variables
Reference variables inline with double curly braces: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:Variable types
Variables support multiple types. The type is determined by the value you provide:- Text — A simple string value (e.g.,
"companyName": "Acme Inc") - Number — A numeric value (e.g.,
"total": { "type": "number", "value": 1250.00 }) - Image — An image with optional dimensions and alignment
- List — An ordered or unordered list
- Table — A 2D data table with optional column headers
{{total}} becomes "1250"). They are especially useful in chart dataset data arrays, where they are automatically resolved to numeric values.
For full details on defining each variable type, see the JSON Syntax — Variables reference.
Built-in variables (headers & footers)
These variables are automatically available in document headers and footers:Date variable formatting
The{{date}} variable supports custom formatting, date manipulation, and timezone offsets.
Syntax
Format tokens
Format presets
Instead of building a format string, use a preset name:Date offset (manipulation)
Shift the date forward or backward:Timezone offset
Specify a UTC offset in+HH:mm or -HH:mm format:
When using a timezone offset without a date offset, leave the offset slot empty with double slashes:
{{date/FORMAT//TIMEZONE}}.