Voucher::postInsert =================== .. code-block:: json { "version": "0.1", "data": { "id": 501, "created_by": 12, "updated_by": 12, "created_at": "2025-08-18T09:00:00+00:00", "updated_at": "2025-08-18T09:00:00+00:00", "version": 1, "code": "KANO-CADEAU-2025-001", "title": "Cadeaubon Kano Dagtocht", "product_amount": null, "customer_id": 83, "expiration_date": "2026-08-18T23:59:59+00:00", "internal_reference": "CADEAU-AUG-2025", "pending_mollie_transaction": false, "voucher_template_id": 22, "credit": "50.00", "type": "credit" }, "meta": {} } Explanation: - **id**: integer. - **created_by**: integer|null. - **updated_by**: integer|null. - **created_at**: non-empty-string. ISO 8601 creation datetime. - **updated_at**: non-empty-string. ISO 8601 last update datetime. - **version**: integer. - **code**: string. - **title**: string. - **product_amount**: integer|null. - **customer_id**: integer|null. - **expiration_date**: non-empty-string. ISO 8601 datetime when voucher expires. - **internal_reference**: string. - **pending_mollie_transaction**: boolean. - **voucher_template_id**: integer|null. - **credit**: numeric-string|null. - **type**: non-empty-string. Voucher type (e.g. credit or product based; implementation-specific string).