How to fix BR-DEX-04
Any scheme identifier in [Element] MUST be coded using one of the ISO 6523 ICD list.
XRechnung rule from the KoSIT XRechnung 3.0 schematron (German CIUS of EN 16931). It applies only to invoices whose specification identifier (BT-24) is XRechnung. Such files are checked against EN 16931 and the KoSIT XRechnung rules instead of the full Peppol BIS rule set. Check your file with the XRechnung validator.
What this rule checks
In an XRechnung extension invoice, the schemeID of a party identifier must be an ISO 6523 ICD code (the SEPA scheme is also allowed for the seller and payee creditor ID).
How to fix it
Set @schemeID on cac:PartyIdentification → cbc:ID (CII: ram:GlobalID) to a valid ISO 6523 ICD code such as 0088 (GLN) or 0204 (Leitweg-ID), or remove the attribute.
Does this rule apply to ZUGFeRD / Factur-X?
Only in the XRECHNUNG profile. BR-DEX-04 is not in the Factur-X 1.09.2 / ZUGFeRD 2.5.2 Schematron of the MINIMUM to EXTENDED profiles; it is a KoSIT XRechnung rule. A ZUGFeRD invoice with the XRechnung specification identifier (BT-24, XRECHNUNG profile) is an XRechnung in CII: BR-DEX-04 applies, and our validator checks it against EN 16931 and the KoSIT rules.
Check your file with the ZUGFeRD validator or the Factur-X validator.
Related rules
Rule sets
BR-DEX-04 is in these rule sets. Each page lists all its rules and the pinned version.
Sources
BR-DEX-04 comes from these official rule sources. Our validator runs exactly these versions.
Validate your invoice
Upload your corrected invoice to check it passes BR-DEX-04 and all other EN 16931 and XRechnung (BR-DE) rules. Free, instant, no signup.