Send electronic credit notes through the Peppol network, and read their status, UBL file and delivery receipt in FinologeeBKO.
A credit note is an electronic document that corrects or adjusts a previously issued invoice, in the UBL format of the Peppol BIS Billing 3.0 specification. An integration uses the Credit notes endpoints to send credit notes from an external system (ERP, billing or accounting tool) to their recipients through the FinologeeBKO Peppol access point: it submits one credit note or a batch of credit notes, follows their delivery status, and downloads the UBL file and the delivery receipt of each credit note.
Credit notes behave like invoices, with their own endpoints: see Invoices. Credit notes sent from the FinologeeBKO interface, FinologeeDRIVE or SFTP, and credit notes received from the Peppol network, are stored in the same list as the credit notes sent through this API.
Key concepts
- Credit note number:
invoiceNumberis the credit note number chosen by the seller (cbc:IDin UBL) - Document type: the Credit notes endpoints handle UBL credit notes only. The
idof an invoice returns404on these endpoints - Peppol routing: FinologeeBKO sends each credit note from the Peppol participant in
accountingSupplierParty.party.endpointIDto the Peppol participant inaccountingCustomerParty.party.endpointID. Each identifier combines a scheme (schemeId) and a value - Validation: FinologeeBKO validates every credit note against the UBL schema, then against the Peppol BIS Billing 3.0 validation rules, which include the EN 16931 business rules. The rules on parties, amounts, VAT and currencies come from these Peppol rules
- Asynchronous delivery: the create endpoints return once FinologeeBKO has validated and stored the credit notes. Delivery through the Peppol network happens afterwards; follow it with
invoiceStatus - Scope: the invoice rights have no scope. An API user with
INVOICE_READreads all credit notes of the tenant, whatever the channel that created them - Activation: no tenant feature flag controls the invoicing endpoints; the rights
INVOICE_READandINVOICE_WRITEdo. Finologee sets up the Peppol access point configuration of the tenant
Lifecycle and statuses
invoiceStatus follows the delivery of the credit note:
| Status | Meaning | How it is reached |
|---|---|---|
RECEIVED | For a credit note that FinologeeBKO sends: FinologeeBKO has validated and stored the credit note, and delivery through the Peppol network is in progress. For a credit note received from the Peppol network: FinologeeBKO has received it | Creation of the credit note, or reception from the Peppol network |
SENT | The FinologeeBKO Peppol access point has delivered the credit note. sentDate holds the delivery time, and the delivery receipt is available | Delivery confirmation from the Peppol access point |
ERROR | Delivery failed. FinologeeBKO no longer tries to send the credit note | Third failed delivery attempt: after a failure, FinologeeBKO sends the credit note again up to two times, 30 seconds apart |
SENT and ERROR are final statuses.
Rights
| Right | What it allows in this section |
|---|---|
INVOICE_READ | Search and read credit notes, and download their UBL file and delivery receipt |
INVOICE_WRITE | Create and send credit notes, one by one or by batch |
The same rights cover invoices and credit notes. See Permissions for how rights are assigned to users.
Typical integration flows
Send a credit note and keep its proof of delivery
- Call Create a single credit note with the credit note as JSON. FinologeeBKO validates it, converts it to UBL and returns its
id. On a validation error, FinologeeBKO creates nothing and returns the errors - Call Get credit note information by id until
invoiceStatusisSENTorERROR - For a credit note in status
SENT, call Get credit note receipt by id and Get credit note UBL representation by id to archive the receipt and the delivered document
Send a batch of credit notes
- Call Create multiple credit notes with a JSON list of credit notes, or with UBL XML files as multipart parts, and a
fileReference - FinologeeBKO validates all credit notes first. When one credit note is invalid, FinologeeBKO creates none of them and returns the errors of every invalid credit note
- Use the
idof each created credit note to follow its delivery, as in the previous flow
Find a credit note by its number
- Call Search credit notes with
invoiceNumber - Use the returned
idto read the credit note, its UBL file or its receipt
Related documentation
- Invoices: invoice and credit note features of the FinologeeBKO interface, Peppol and supported formats
- FinologeeDRIVE: sending and receiving documents as files
- API: access to the Invoicing API and its OpenAPI file
- Permissions

