Resource
Templates
Manage invoice templates and their settings.
The template object
Attributes
templateobjectShow 18 child attributesHide child attributes
idintegerUse as
template_idin pdf/send_email/create.namestringExample:Default invoicetemplate_typestringExample:invoiceOne ofinvoicepacking_slipcredit_notedesign_keystring, nullableExample:classicpre_selected_ordersbooleanExample:truepre_selected_draft_ordersbooleanExample:falsepre_selected_pos_ordersbooleanExample:falsepre_selected_credit_notesbooleanExample:falseaccent_colorstringExample:#1F6FEBfont_familystringExample:Helveticafont_sizeintegerExample:11date_formatstringExample:%d %b %Yinvoice_number_prefixstringExample:INV-logo_urlstring, nullableExample:https://example.com/logo.pnglogo_widthintegerExample:120logo_enabledbooleanExample:truecreated_atstringExample:2025-11-03T14:02:00Zupdated_atstringExample:2026-01-10T08:15:00Z
The template object
{
"template": {
"id": 311,
"name": "Default invoice",
"template_type": "invoice",
"design_key": "classic",
"pre_selected_orders": true,
"pre_selected_draft_orders": false,
"pre_selected_pos_orders": false,
"pre_selected_credit_notes": false,
"accent_color": "#1F6FEB",
"font_family": "Helvetica",
"font_size": 11,
"date_format": "%d %b %Y",
"invoice_number_prefix": "INV-",
"logo_url": "https://example.com/logo.png",
"logo_width": 120,
"logo_enabled": true,
"created_at": "2025-11-03T14:02:00Z",
"updated_at": "2026-01-10T08:15:00Z"
}
}