{
"event": "<string>",
"time": "<string>",
"data": {
"caseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": 123,
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voucherTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"label": "<string>",
"settingDetails": {},
"amount": 123,
"originalAmount": 123,
"date": "<string>",
"dueDate": "<string>",
"referenceId": "<string>",
"importId": "<string>",
"referenceCaseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"tags": [
{}
],
"interest": 123,
"interestStartDate": "<string>",
"interestEndDate": "<string>",
"interestPeriods": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"to": "<string>",
"rate": 123,
"voidedAt": "<string>",
"paymentPlanId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"createdAt": "<string>"
}
],
"cardType": "<string>",
"paymentMethodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionImportId": "<string>",
"depositOnPaymentPlanEntryId": "<string>",
"associationId": "<string>",
"details": {},
"lineItems": [
{}
],
"properties": [
{}
],
"exported": true,
"expired": true,
"expirationDate": "<string>",
"expirationManualSet": true,
"expirationFromDate": "<string>",
"irrecoverableDate": "<string>",
"deletedAt": "<string>",
"deletedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"createdAt": "<string>",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}Webhooks
Case voucher deleted
Notifies when a case voucher has been deleted.
WEBHOOK
case-vouchers.delete
{
"event": "<string>",
"time": "<string>",
"data": {
"caseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": 123,
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voucherTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"label": "<string>",
"settingDetails": {},
"amount": 123,
"originalAmount": 123,
"date": "<string>",
"dueDate": "<string>",
"referenceId": "<string>",
"importId": "<string>",
"referenceCaseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"tags": [
{}
],
"interest": 123,
"interestStartDate": "<string>",
"interestEndDate": "<string>",
"interestPeriods": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"to": "<string>",
"rate": 123,
"voidedAt": "<string>",
"paymentPlanId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"createdAt": "<string>"
}
],
"cardType": "<string>",
"paymentMethodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionImportId": "<string>",
"depositOnPaymentPlanEntryId": "<string>",
"associationId": "<string>",
"details": {},
"lineItems": [
{}
],
"properties": [
{}
],
"exported": true,
"expired": true,
"expirationDate": "<string>",
"expirationManualSet": true,
"expirationFromDate": "<string>",
"irrecoverableDate": "<string>",
"deletedAt": "<string>",
"deletedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"createdAt": "<string>",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}Authorizations
Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.
Body
application/json
Webhook payload
Event "case-vouchers.delete"
Example:
"case-vouchers.delete"
Event dispatch time
Example:
"2025-01-01T20:00:00.000Z"
Data of the event
Show child attributes
Show child attributes
Example:
{
"caseVoucherId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"id": 118067630,
"tenantId": "550e8400-e29b-41d4-a716-446655440000",
"caseId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"source": "CREDITOR",
"voucherTypeId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"category": "principal",
"label": "Principal",
"setting": null,
"settingDetails": null,
"amount": 150000,
"originalAmount": 150000,
"currency": "DKK",
"date": "2025-01-01T20:00:00.000Z",
"dueDate": "2025-01-15T00:00:00.000Z",
"referenceId": "INV-1001",
"importId": null,
"referenceCaseVoucherId": null,
"text": null,
"tags": [],
"interest": null,
"interestStartDate": null,
"interestEndDate": null,
"interestPeriods": null,
"cardType": null,
"paymentType": null,
"paymentMethodId": null,
"transactionAccountId": null,
"transactionImportId": null,
"depositOnPaymentPlanEntryId": null,
"associationId": null,
"details": null,
"lineItems": null,
"properties": [],
"state": "PARTIAL_PAYMENT",
"exported": false,
"expired": false,
"expirationDate": null,
"expirationManualSet": false,
"expirationFromDate": null,
"irrecoverableDate": null,
"deletedAt": "2025-01-02T10:00:00.000Z",
"deletedBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
},
"createdAt": "2025-01-01T20:00:00.000Z",
"createdBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
}
}
⌘I