PdfTemplate::postInsertΒΆ
{
"version": "0.1",
"data": {
"id": 56,
"naam": "Factuur - Kano Verhuur",
"template": "<html><body><h1>Kano Verhuur Groningen</h1><p>Factuur {{factuurnummer}}</p></body></html>",
"background_id": 3,
"custom_css": "h1{color:#2E7D32}",
"margin_top": 10,
"margin_right": 10,
"margin_bottom": 10,
"margin_left": 10,
"page_height": 297,
"page_width": 210,
"type": "TYPE_INVOICE",
"created_at": "2025-06-01T08:00:00+00:00",
"updated_at": "2025-06-01T08:00:00+00:00"
},
"meta": {}
}
Explanation:
id: integer.
naam: string.
template: string.
background_id: int|null.
custom_css: string|null.
margin_top: integer.
margin_right: integer.
margin_bottom: integer.
margin_left: integer.
page_height: integer.
page_width: integer.
type: enum. Allowed values: TYPE_BOOKINGSOVERVIEW, TYPE_INVOICE, TYPE_VOUCHER, TYPE_BOOKING.
created_at: ISO 8601 creation datetime string.
updated_at: ISO 8601 last update datetime string.