Webhook
InvoicePdfLayoutAdjusted Webhook
Webhook endpoint for receiving invoice PDF layout adjustment events.
This event is triggered when adjustments are made to a default layout of an invoice PDF while it is being created.
Body·InvoicePdfLayoutAdjustedEnvelope
required
application/json
- Type: stringbillogram
_id requiredThe ID of the billogram that triggered the callback.
- Type: stringcallback
_id requiredUnique identifier generated for each callback.
- Type: stringFormat: date-timecallback
_timestamp requiredAn ISO 8601 compliant timestamp for the callback.
- callback
_type const:InvoicePdfLayoutAdjustedrequiredThe type of callback. Value is "InvoicePdfLayoutAdjusted" for an invoice PDF layout adjusted callback.
- enumcodeconst:LOGO_RESIZEDrequired
The adjustment that was made to the invoice PDF:
-
LOGO_RESIZED: Issued only for Norwegian creditors with Parajett letter printing. The length of the resolved return address (the return address if set, otherwise the creditor address) required it to be printed on more than one line, so the logo above it was resized to comply with Norwegian letter printing requirements. Resizing is applied regardless of distribution method. Issued the first time the logo is resized for the current logo and resolved return address combination.
-
Responses
- application/json
Request Example for postInvoicePdfLayoutAdjusted
{
"callback_id": "4d8e2b6a-1f3c-4a7e-b5d9-8c0f2e6a1b47",
"callback_timestamp": "2026-01-19T14:12:06.481530Z",
"callback_type": "InvoicePdfLayoutAdjusted",
"code": "LOGO_RESIZED",
"billogram_id": "7Wy4g4tQ"
}
Successful webhook response
{
"status": "OK"
}