BR-01

This id stands for 2 different rules, one per rule set below: Factur-X numbers its rules in each profile separately.

error: the document is invalid Peppol documentation ↗

Why it fails

  • The invoice has no cbc:CustomizationID (ram:GuidelineSpecifiedDocumentContextParameter/ram:ID in CII), the identifier of the specification it follows.

How to fix it

Add the identifier of the specification the invoice is made for: urn:cen.eu:en16931:2017 for plain EN 16931, or the longer identifier of a CIUS such as Peppol BIS (urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0) or XRechnung.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

An Invoice shall have a Specification identifier (BT-24).   

Context
/ubl:Invoice | /cn:CreditNote
Test
normalize-space(cbc:CustomizationID) != ''

Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)

Message

An Invoice shall have a Specification identifier (BT-24).

Context
/rsm:CrossIndustryInvoice
Test
normalize-space(rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID) != ''

Checked with EN 16931 Invoice (CII)

Message

An Invoice shall have a Specification identifier (BT-24).   

Context
/ubl:Invoice | /cn:CreditNote
Test
(cbc:CustomizationID) != ''

Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)

Message

An Invoice shall have a Specification identifier (BT-24).

Context
/rsm:CrossIndustryInvoice
Test
(rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID != '')

Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL