Create Case Debt
Adds a new debt to the case
PUT /v1/Cases/{caseGuid}/Debts
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| caseGuid | 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 |
| ledgerRef | No | string or null Reference number of the claim in the client ledger |
| 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 |
| currencyCode | No | string or null Currency code of the claim, e.g. SEK, NOK, EUR etc. |
| originalPrincipal | No | number <double> or null Original invoice principal amount |
| remainingPrincipal | Yes | number <double> Remaining principal amount of the claim |
| originalInterest | No | number <double> or null Total accrued interest of the claim |
| remainingInterest | No | number <double> or null Remaining accrued interest of the claim until specified date |
| originalVAT | No | number <double> or null Original invoice VAT amount |
| remainingVAT | No | number <double> or null Remaining VAT amount of the claim |
| exchRate | No | number <double> or null Exchange rate used for the invoice |
| exchDate | No | string <date-time> or null Exchange date used for the invoice |
| billDate | Yes | string <date-time> Invoice or claim date |
| 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 |
| interestCondition | No | integer <int32> or null Number of days after bill date when interest calculation starts |
| interestRate | No | number <double> or null Interest rate |
| interestCode | No | string or null Interest code as defined in CLVR, e.g. FIXED, ÖGR, F_365_BASE |
| interestSpecificCalculationType | No | string or null Activates specific interest calculation in CLVR, e.g. FI-B2C and FI-B2B |
| interestSpecificCalculationCutoffDate | No | string <date-time> or null Cut-off date for specific interest calculation in CLVR |
| fixedInterestTermStart | No | string <date-time> or null Fixing date for current fixed interest term |
| interestFrom | No | string <date-time> or null Date when current interest started to be calculated |
| interestTo | No | string <date-time> or null Date up until interest has been calculated |
| accountRefType | No | string or null Account reference type |
| 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 |
| periodOfLimitation | No | string or null Period of limitation |
| limitationDate | No | string <date-time> or null Claim's limitation date |
| extraFields | No | array of object or null Additional extra fields for the debt. Needs to already be defined in CLVR. |
| extraFields[].name | No | string or null Name of Extra field data |
| extraFields[].value | No | array of string or null The value of the extra field |
| extraFields[].value[] | Yes | string — |
| 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 |
Response fields
HTTP 201
| 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 |
| ledgerRef | No | string or null Reference number of the claim in the client ledger |
| 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 |
| currencyCode | No | string or null Currency code of the claim, e.g. SEK, NOK, EUR etc. |
| originalPrincipal | No | number <double> or null Original invoice principal amount |
| remainingPrincipal | Yes | number <double> Remaining principal amount of the claim |
| originalInterest | No | number <double> or null Total accrued interest of the claim |
| remainingInterest | No | number <double> or null Remaining accrued interest of the claim until specified date |
| originalVAT | No | number <double> or null Original invoice VAT amount |
| remainingVAT | No | number <double> or null Remaining VAT amount of the claim |
| exchRate | No | number <double> or null Exchange rate used for the invoice |
| exchDate | No | string <date-time> or null Exchange date used for the invoice |
| billDate | Yes | string <date-time> Invoice or claim date |
| 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 |
| interestCondition | No | integer <int32> or null Number of days after bill date when interest calculation starts |
| interestRate | No | number <double> or null Interest rate |
| interestCode | No | string or null Interest code as defined in CLVR, e.g. FIXED, ÖGR, F_365_BASE |
| interestSpecificCalculationType | No | string or null Activates specific interest calculation in CLVR, e.g. FI-B2C and FI-B2B |
| interestSpecificCalculationCutoffDate | No | string <date-time> or null Cut-off date for specific interest calculation in CLVR |
| fixedInterestTermStart | No | string <date-time> or null Fixing date for current fixed interest term |
| interestFrom | No | string <date-time> or null Date when current interest started to be calculated |
| interestTo | No | string <date-time> or null Date up until interest has been calculated |
| accountRefType | No | string or null Account reference type |
| 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 |
| periodOfLimitation | No | string or null Period of limitation |
| limitationDate | No | string <date-time> or null Claim's limitation date |
| extraFields | No | array of object or null Additional extra fields for the debt. Needs to already be defined in CLVR. |
| extraFields[].name | No | string or null Name of Extra field data |
| extraFields[].value | No | array of string or null The value of the extra field |
| extraFields[].value[] | Yes | string — |
| 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 |
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 |
