Skip to main content

Template attributes for Liquid HTML print templates

template_type_id
integer
required

Template type ID (codes: dispatch_note, picking_note, commercial_invoice, invoice, put_away_note, pre_receipt, pre_pick_label, storage_unit_labels, pick_storage_unit_label)

bottom
number | null

Bottom margin in mm

default
boolean | null

Whether this is the default template for its type

Footer area height in mm

Spacing between body and footer in mm

header_height
number | null

Header area height in mm

header_spacing
number | null

Spacing between header and body in mm

left
number | null

Left margin in mm

name
string | null

Template display name

orientation
enum<string> | null

Page orientation

Available options:
Portrait,
Landscape
page_height
number | null

Page height in mm (e.g., 297 for A4 portrait)

page_width
number | null

Page width in mm (e.g., 210 for A4 portrait)

right
number | null

Right margin in mm

ID of a template to use as footer

template_header_id
integer | null

ID of a template to use as header

top
number | null

Top margin in mm