API breaking changes - December 2024
We plan to introduce breaking changes in the process of creating Loans, Credit Limits, and Invoices, on December 4, 2024. These changes aim to improve data consistency and ensure that necessary information is captured at each step. Please review the changes below to prepare for these updates.
1. Required Credit Limit Before Loan Creation
When creating a Loan, a Credit Limit must be established for the Debtor associated with the Invoice linked to the Loan. Failure to do so will result in an API error.
Steps to Ensure Compliance:
- Option 1: Create a Debtor:
- Create a Debtor:
- POST /debtor
- Create a Credit Limit:
- POST /credit-limit with
debtorId
and samedebtorIdentifier
- POST /credit-limit with
- Create an Invoice:
- POST /invoice with
debtorId
orcreditLimitId
, or samedebtorIdentifier
as the one on the Credit Limit you created.
- POST /invoice with
- Create a Loan:
- POST /loan with
invoiceId
- POST /loan with
- Create a Debtor:
- Option 2: Create a Credit Limit Directly:
- Create a Credit Limit:
- POST /credit-limit with the required details
- Create an Invoice:
- POST /invoice with
creditLimitId
or samedebtorIdentifier
as the one on the Credit Limit you created.
- POST /invoice with
- Create a Loan:
- POST /loan with
invoiceId
- POST /loan with
- Create a Credit Limit:
2. Required Debtor Contact on Invoice
A contact, along with their email, is now mandatory when creating an Invoice. This requirement can be fulfilled in one of the following ways:
Steps to Ensure Compliance:
- Option 1: Directly on the Invoice
- Create an Invoice with Contact Details:
- POST /invoice with at least one
contact
with a value for theemail
attribute
- POST /invoice with at least one
- Create an Invoice with Contact Details:
- Option 2: Linking to a Debtor
- Create a Debtor with Contact Details:
- POST /debtor with at least one
contact
with a value for theemail
attribute
- POST /debtor with at least one
- Create an Invoice Linked to the Debtor:
- POST /invoice with
debtorId
or samedebtorIdentifier
as the one on the Debtor you created.
- POST /invoice with
- Create a Debtor with Contact Details:
By providing contact details on either the Invoice or the Debtor, you can ensure compliance with this requirement. We also strongly recommend you to fill a phone number for debt collection purposes.
3. Required Debtor Name for Credit Limits
The Debtor name field is now required when creating a Credit-limit. This information is crucial for authenticating the counterparty.
Steps to Ensure Compliance:
- Option 1: Through Debtor Creation
- Create a Debtor with Name:
- POST /debtor with
name
- POST /debtor with
- Create a Credit Limit with DebtorId:
- POST /credit-limit with
debtorId
- POST /credit-limit with
- Create a Debtor with Name:
- Option 2: Directly on the Credit-limit
- Create a Credit Limit with Debtor name:
- POST /credit-limit with
debtorName
- POST /credit-limit with
- Create a Credit Limit with Debtor name:
Additional Information
- Usage of Debtor name: The Debtor name will only be used for counterparty authentication. If you have a more specific company name available at the time of Invoice creation, it will not affect the Loan decision as long as both entities share or relate to the same parent organization.
Please review these changes carefully and update your implementation accordingly to avoid disruptions in your workflow. Should you have any questions or require further assistance, feel free to contact our support team.