post
https://{tenant}.bko.finologee.com/api-ext/v1/invoices/batch
Purpose
Use it to submit a billing run from an external system.
Rights
INVOICE_WRITE
Rules
- With
application/json, each entry ofinvoicesfollows the same structure as in Create a single invoice - With
multipart/form-data, each part offilescontains one UBL invoice as XML (Peppol BIS Billing 3.0). FinologeeBKO stores the UBL content of each part - The request is all or nothing: FinologeeBKO validates every invoice first, and when one invoice is invalid, it creates none of them
- Only errors of the validation block the creation; warnings of the Peppol rules do not
Effects
- After the response, each invoice moves to
SENTorERRORindependently of the others - Use
invoiceNumberto map eachidof the response to its source invoice
Errors
| Status | When |
|---|---|
400 | At least one invoice fails schema or Peppol validation. The body lists, in invoices, every invalid invoice with its invoice number in invoiceId and one message per error in errors |
400 | A part of files is not detected as one of the accepted file types |
403 | The API user does not have INVOICE_WRITE |
Related
- Invoices
- Create a single invoice
- Get invoice information by id: follow the delivery status of each invoice
- FinologeeDRIVE: sending UBL invoice files without the API

