curl --location --request GET 'https://api.cash-in.com/v2/caseinquiry?invoiceNumber&invoiceReference&extended' \
--header 'X-Api-Key: <api-key>'[
{
"CollectionCaseId": 0,
"InvoiceNumber": "string",
"InvoiceReference": "string",
"CollectionStatusId": 0,
"CollectionOutstandingCapitalAmt": 0,
"CollectionLatestPaymentDate": "2019-08-24T14:15:22.123Z",
"ReceivedPaymentsQty": 0,
"OriginalInvoiceCapitalAmt": 0,
"TotalInvoicePaidAmt": 0,
"CreditorCostsAmt": 0,
"CreditorPaidCostsAmt": 0,
"CreditorOutstandingCostsAmt": 0,
"AccruedInterestAmt": 0,
"PaidInterestAmt": 0,
"OutstandingInterestAmt": 0
}
]