Get Case Debts
Get case debts using filters
GET /v1/Cases/{caseGuid}/Debts
Use the Test or Production base URL configured under Overview.
Path parameters
| Parameter | Mandatory | Description |
|---|---|---|
| caseGuid | Yes | string Case guid |
Query parameters
Filter conditions use a simplified OData format.
| Parameter | Mandatory | Description |
|---|---|---|
| $filter | No | string Filter conditions specified in a simplified OData format |
| $skip | No | integer <int32> List offset when paginating (default 0) |
| $top | No | integer <int32> Maximum size of result (default 25, max 100) |
| $orderby | No | string Sorting conditions E.g. "fullname desc" |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Response fields
HTTP 200
| Field path | Mandatory | Description |
|---|---|---|
| count | Yes | integer <int32> Number of returned items |
| skip | Yes | integer <int32> Offset of filtered result |
| total | Yes | integer <int32> Total number of filtered items |
| value | No | array of object or null List of returned debts |
| value[].debtGuid | No | string or null Debt unique identifier. |
| value[].description | No | string or null Description of the debt |
| value[].referenceNumber | No | string or null Debt reference number, e.g. invoice number |
| value[].billDate | Yes | string <date-time> Debt's bill/invoice date |
| value[].dueDate | Yes | string <date-time> Debt's bill/invoice date |
| value[].debtPrincipalType | No | string or null Debt's type, existing codes: INVOICE CREDIT_INVOICE INTEREST_INVOICE FINAL_INVOICE_CREDITDEBT OFFER_INVOICE BILLING CAPITALIZED_INTEREST INTEREST_COMPENSATION TERMINATED_ACCOUNT PREREDEMPTION LOAN_INTEREST SUPPLIER_INVOICE CREDIT_EXPENSE |
| value[].currencyCode | No | string or null Currency code, e.g. SEK, NOK, EUR etc. |
| value[].originalPrincipal | Yes | number <double> Original principal. |
| value[].originalVAT | Yes | number <double> Original vat. |
| value[].originalInterest | Yes | number <double> Original interest. |
| value[].originalSum | Yes | number <double> Calculated original total amount for the debt. Can't be used in filtering nor sorting. |
| value[].paidPrincipal | Yes | number <double> Paid principal. |
| value[].paidVAT | Yes | number <double> Paid vat. |
| value[].paidInterest | Yes | number <double> Paid interest. |
| value[].paidSum | Yes | number <double> Calculated paid total amount. Can't be used in filtering nor sorting. |
| value[].remainingPrincipal | Yes | number <double> Remaining principal. |
| value[].remainingVAT | Yes | number <double> Remaining vat. |
| value[].remainingInterest | Yes | number <double> Remaining interest. |
| value[].remainingSum | Yes | number <double> Calculated remaining total amount. Can't be used in filtering nor sorting. |
| value[].ledgerPrincipal | Yes | number <double> Remaining principal exchanged to ledger currency. |
| value[].ledgerVAT | Yes | number <double> Remaining VAT exchanged to ledger currency. |
| value[].ledgerInterest | Yes | number <double> Remaining accrued interest exchanged to ledger currency. |
| value[].ledgerSum | Yes | number <double> Remaining total amount exchanged to ledger currency. |
| value[].interestRateCeilingCode | No | string or null Interest ceiling code |
| value[].agreedInterestCode | No | string or null Agreed interest code |
| value[].agreedInterestRate | No | number <double> or null Agreed interest rate |
| value[].interestSpecificCalculationType | No | string or null Interest Specific Calculation Type |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
