API Documentation
Customers
Case vouchers
Billing
Webhooks
- HOOKUpdate created
- HOOKUpdate updated
- HOOKUpdate deleted
- HOOKCreditor created
- HOOKCreditor updated
- HOOKCase voucher created
- HOOKCase voucher updated
- HOOKCase voucher deleted
- HOOKPayment plan status change
- HOOKInteraction sent
- HOOKCustomer created
- HOOKCase status change
- HOOKCase merged
- HOOKCase merge undoed
- HOOKBilling created
- HOOKPayout created
Case vouchers
Get case vouchers
Get case vouchers on a case
GET
/
v1
/
{tenantId}
/
case-vouchers
/
{caseId}
Copy
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/case-vouchers/{caseId} \
--header 'Authorization: Bearer <token>'
Copy
[
{
"voucherTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referenceId": "<string>",
"currency": "DKK",
"amount": 123,
"date": "<string>",
"dueDate": "<string>",
"text": "<string>",
"caseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": 123,
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "CREDITOR",
"interest": 123,
"interestStartDate": "<string>",
"interestEndDate": "<string>",
"cardType": "<string>",
"paymentType": "BANK_TRANSFER",
"paymentMethodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"appendix": {},
"caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [
"<any>"
],
"createdAt": "<string>",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "USER"
},
"transactionAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referenceCaseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"details": {},
"lineItems": [
"<any>"
],
"state": "UNMAPPED",
"category": "principal",
"label": "<string>",
"settings": "<string>",
"settingDetails": {},
"deletedAt": "<string>",
"deletedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "USER"
},
"exported": true,
"expirationDate": "<string>",
"expired": true,
"expirationManualSet": true,
"expirationFromDate": "<string>",
"irrecoverableDate": "<string>"
}
]
Authorizations
Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}
.
Query Parameters
Date (format YYYY-MM-DD.) to get the case vouchers for. Only case vouchers with caseVoucher.date before this date will be returned. Interests will be calculated based on the date.
Response
200
application/json
Successful operation
The response is of type object[]
.
Copy
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/case-vouchers/{caseId} \
--header 'Authorization: Bearer <token>'
Copy
[
{
"voucherTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referenceId": "<string>",
"currency": "DKK",
"amount": 123,
"date": "<string>",
"dueDate": "<string>",
"text": "<string>",
"caseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": 123,
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "CREDITOR",
"interest": 123,
"interestStartDate": "<string>",
"interestEndDate": "<string>",
"cardType": "<string>",
"paymentType": "BANK_TRANSFER",
"paymentMethodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"appendix": {},
"caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tags": [
"<any>"
],
"createdAt": "<string>",
"createdBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "USER"
},
"transactionAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"referenceCaseVoucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"details": {},
"lineItems": [
"<any>"
],
"state": "UNMAPPED",
"category": "principal",
"label": "<string>",
"settings": "<string>",
"settingDetails": {},
"deletedAt": "<string>",
"deletedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "USER"
},
"exported": true,
"expirationDate": "<string>",
"expired": true,
"expirationManualSet": true,
"expirationFromDate": "<string>",
"irrecoverableDate": "<string>"
}
]
Assistant
Responses are generated using AI and may contain mistakes.