Update Case Debt
Updates a debt
PATCH /v1/Cases/{caseGuid}/Debts/{debtGuid}
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| caseGuid | path | Yes | string |
| debtGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| description | No | string or null Description of the invoice/claim |
| referenceNumber | No | string or null Reference number of the claim, e.g. the invoice number |
| debtGroup | No | string or null The code for the specific group of debts, as defined in CLVR |
| ourReference | No | string or null Our reference on the invoice |
| yourReference | No | string or null Your reference on the invoice |
| dueDate | No | string <date-time> or null Due date for the invoice/claim |
| paymentCondition | No | integer <int32> or null Payment condition as number of days between bill date and due date |
| accountRefType | No | string or null Account reference type |
| accountRef | No | string or null Account reference |
| oneTimeServiceFees | No | number <double> or null Onetime service fees |
| loanPurpose | No | string or null The purpose of the loan, valid codes: HomeLoan, HomeLoanForFirstHome, HomeLoanForLeisureHouse, HomeLoanForInvestmentPurposes, StudentLoan, LoanForPurchaseOfVehicleOrCraft, OtherConsumerCredit, OtherLoan, LoanForBusinessActivities, GuaranteeReceivable |
| loanTypeCode | No | string or null The type of loan, valid codes: LumpSumLoan, RunningAccountLoan, Leasing, GuaranteeReceivable |
| agreementDate | No | string <date-time> or null Date for the agreement on which the claim is based on |
| agreementDueDate | No | string <date-time> or null Due date for the agreement on which the claim is based on |
| agreementEndDate | No | string <date-time> or null End date for the agreement on which the claim is based on |
| enforceableDebtType | No | string or null Enforcable debt type, as defined in CLVR |
| goodsRelatedCredit | No | boolean or null Is the claim a credit rated to goods |
| effectiveYear | No | integer <int32> or null Effective year of the claim |
| debtPrincipalType | No | string or null Optional debt principal type, valid 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 |
| grantedCreditAmount | No | number <double> or null Granted credit amount |
| usedCreditAmount | No | number <double> or null Used credit amount or the original granted amount |
| originalEir | No | number <double> or null Original EIR |
| lenderName | No | string or null Original lender name of the loan |
| interestRateCeilingCode | No | string or null Interest ceiling code |
| agreedInterestCode | No | string or null Agreed interest code |
| agreedInterestRate | No | number <double> or null Agreed interest rate |
| interestSpecificCalculationType | No | string or null Interest Specific Calculation Type |
Response fields
HTTP 204
No response body is returned.
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 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 |
