{
"cases": [
{
"summary": {
"caseId": 12345,
"status": "ACTIVE",
"stage": "PAYMENT_CONTROL",
"createdAt": "2026-03-01T10:00:00Z",
"closedAt": null,
"activeDays": 12,
"creditor": "Test Company Ltd",
"currency": "EUR",
"agency": "CASH-IN"
},
"balance": {
"capitalAmount": 1000.0,
"interestAmount": 10.0,
"costAmount": 25.0,
"capitalPaid": 100.0,
"interestPaid": 0.0,
"costsPaid": 0.0,
"capitalOutstanding": 900.0,
"interestOutstanding": 10.0,
"costsOutstanding": 25.0,
"totalOutstanding": 935.0,
"asOf": "2026-03-15T12:00:00Z"
},
"invoices": [
{
"invoiceNumber": 251601000,
"reference": "2516000017",
"originalReference": null,
"caseId": 12345,
"invoiceDate": "2025-12-01T00:00:00",
"dueDate": "2025-12-15T00:00:00",
"createAt": "2025-12-01T08:00:00",
"subject": null,
"invoiceDocUrl": "https://example.com/invoice.pdf",
"interestCalculation": "REFERENCE_RATE",
"interestRate": 8.0,
"amount": 124.0,
"currencyCode": "EUR",
"distribution": {
"method": "EMAIL",
"channel": null,
"distributedAt": "2025-12-01T09:00:00",
"paymentControlEnabled": true,
"information": "",
"updatedAt": "2025-12-01T09:00:00Z"
},
"timeline": [
{
"type": "INVOICE_CREATED",
"occurredAt": "2025-12-01T08:00:00"
}
]
}
],
"payments": [
{
"invoiceNumber": "251601000",
"createdAt": "2025-12-10T10:30:00",
"bankPaymentDate": "2025-12-10T00:00:00",
"allocatedAt": "2025-12-10T11:00:00",
"amount": 10.0,
"currency": "EUR",
"description": "Online payment via credit card"
}
],
"events": [
{
"title": "STATUS_CHANGED",
"description": "ACTIVE",
"state": 1,
"occurredAt": "2025-12-02T00:00:00Z"
}
],
"actions": [
{
"type": "COMMENT",
"status": 1,
"comment": "Customer requested extension",
"occurredAt": "2026-03-01T12:00:00Z"
}
],
"notes": [
{
"subject": "Note",
"description": "Internal note",
"occurredAt": "2026-03-01T12:00:00Z"
}
]
}
]
}