EN16931 / XRechnung / Peppol BIS 3 Validator

NL-R-001

fatal UBL

Rule text

[NL-R-001]-For suppliers in the Netherlands, if the document is a creditnote, the document MUST contain an invoice reference (cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID)

Where the rule is checked

SyntaxSeverityContext (XPath)Test (XPath)
Peppol-UBLfatalcbc:CreditNoteTypeCode[$supplierCountryIsNL]/*/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID

Source: Peppol BIS Billing 3.0 Schematron, UBL (OpenPeppol, docs.peppol.eu validation artefacts 3.0.21).

Check your invoice against this rule