Create a single credit note from a json representation of a credit note

Purpose

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

Rights

  • INVOICE_WRITE

Rules

  • The JSON fields follow the UBL credit note structure
  • Only errors of the validation block the creation; warnings of the Peppol rules do not
  • When the credit note 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 credit note to its Peppol access point, see Credit notes for the statuses
  • When the credit note moves to SENT, FinologeeBKO stores the delivery receipt. See Get credit note receipt by id

Errors

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

Related

Body Params
string
accountingCustomerParty
object
accountingSupplierParty
object
additionalDocumentReference
array of objects
additionalDocumentReference
allowanceCharge
array of objects
allowanceCharge
billingReference
object
string
contractDocumentReference
array of objects
contractDocumentReference
creditNoteLine
array of objects
creditNoteLine
string
customizationID
object
delivery
array of objects
delivery
despatchDocumentReference
object
string
string
invoicePeriod
object
date
legalMonetaryTotal
object
note
array of strings
note
orderReference
object
originatorDocumentReference
array of objects
originatorDocumentReference
payeeParty
object
paymentMeans
array of objects
paymentMeans
paymentTerms
array of objects
paymentTerms
profileID
object
receiptDocumentReference
object
string
date
taxRepresentativeParty
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