{
"creditor": {
"creditorNo": 0,
"name": "string",
"businessId": "string"
},
"generatedAt": "2019-08-24T14:15:22.123Z",
"query": {
"includeInvoices": true,
"changedSince": "2019-08-24T14:15:22.123Z",
"agency": "CASH-IN",
"customerAccountId": "string",
"defaultLast30DaysApplied": true
},
"debtorCount": 0,
"totals": [
{
"currency": "EUR",
"debtorCount": 0,
"capitalOutstanding": 0,
"interestOutstanding": 0,
"costsOutstanding": 0,
"totalOutstanding": 0
}
],
"debtors": [
{
"debtorPartyNo": "string",
"customerAccountId": "string",
"name": "string",
"entityType": "CONSUMER",
"businessId": "string",
"agency": "CASH-IN",
"currency": "EUR",
"hasOpenCases": true,
"paymentStatus": "NOTPAID",
"highestStage": "PAYMENT_CONTROL",
"caseCount": 0,
"openCaseCount": 0,
"oldestOpenDueDate": "2019-08-24",
"daysOverdue": 0,
"lastPaymentDate": "2019-08-24",
"lastChangedAt": "2019-08-24T14:15:22.123Z",
"balance": {
"capitalAmount": 0,
"interestAmount": 0,
"costAmount": 0,
"capitalPaid": 0,
"interestPaid": 0,
"costsPaid": 0,
"capitalOutstanding": 0,
"interestOutstanding": 0,
"costsOutstanding": 0,
"totalOutstanding": 0,
"asOf": "2019-08-24T14:15:22.123Z"
},
"settlement": {
"settledAmount": 0,
"unsettledAmount": 0,
"lastSettlementNo": 0,
"lastSettlementDate": "2019-08-24"
},
"invoices": [
{
"invoiceNumber": 0,
"caseId": 0,
"invoiceType": "INVOICE",
"invoiceDate": "2019-08-24",
"dueDate": "2019-08-24",
"reference": "string",
"originalReference": "string",
"agreementReference": "string",
"currencyCode": "EUR",
"amount": 0,
"caseStatus": "NEW",
"stage": "PAYMENT_CONTROL",
"paymentStatus": "NOTPAID",
"daysOverdue": 0,
"closedAt": "2019-08-24T14:15:22.123Z",
"lastPaymentDate": "2019-08-24",
"lastChangedAt": "2019-08-24T14:15:22.123Z",
"balance": {
"capitalAmount": 0,
"interestAmount": 0,
"costAmount": 0,
"capitalPaid": 0,
"interestPaid": 0,
"costsPaid": 0,
"capitalOutstanding": 0,
"interestOutstanding": 0,
"costsOutstanding": 0,
"totalOutstanding": 0,
"asOf": "2019-08-24T14:15:22.123Z"
},
"settlement": {
"settledAmount": 0,
"unsettledAmount": 0,
"lastSettlementNo": 0,
"lastSettlementDate": "2019-08-24"
}
}
]
}
]
}