Create a single invoice from a json representation of an invoice

Purpose

FinologeeBKO converts the JSON to a UBL invoice, validates it, stores it and sends it to its recipient through the Peppol network.

Rights

  • INVOICE_WRITE

Rules

  • The JSON fields follow the UBL invoice structure
  • Only errors of the validation block the creation; warnings of the Peppol rules do not
  • When the invoice fails schema validation, FinologeeBKO does not run the Peppol rules. Correcting schema errors can reveal Peppol rule errors on the next call
  • An attachment in additionalDocumentReference without id receives a generated identifier

Effects

  • After the response, FinologeeBKO sends the invoice to its Peppol access point, see Invoices for the statuses
  • When the invoice moves to SENT, FinologeeBKO stores the delivery receipt. See Get invoice receipt by id

Errors

StatusWhen
400The invoice fails schema or Peppol validation. The body lists, in invoices, the invalid invoice with its invoice number in invoiceId and one message per error in errors
403The API user does not have INVOICE_WRITE

Related

Body Params
accountingCustomerParty
object
accountingSupplierParty
object
additionalDocumentReference
array of objects
additionalDocumentReference
allowanceCharge
array of objects
allowanceCharge
buyerCustomerParty
object
string
contractDocumentReference
array of objects
contractDocumentReference
customizationID
object
delivery
array of objects
delivery
string
date
invoiceLine
array of objects
invoiceLine
string
invoicePeriod
object
string
date
legalMonetaryTotal
object
note
array of strings
note
payeeParty
object
paymentMeans
array of objects
paymentMeans
paymentTerms
array of objects
paymentTerms
profileExecutionID
object
profileID
object
sellerSupplierParty
object
taxTotal
array of objects
taxTotal
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json