Skip to main content

BR-DEX-05 Legal registration identifier scheme must use an ISO 6523 code

Any scheme identifier on a legal registration identifier (Seller BT-30, Buyer BT-47, Payee BT-61) must be coded using one of the ISO 6523 ICD code list entries.

Problem Description

ERROR

XRechnung extension rule (KoSIT, BR-DEX) · XRechnung 3.0

Interactive pipeline

Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.

Try:

BR-DEX-05 XRechnung extension rule

Reported in stage 3: National rules (CIUS).

Level error: the report recommends rejecting the invoice.

Stage 3 · What it checks

  • The specification identifier in BT-24 selects the rule set, for example XRechnung 3.0 or Peppol BIS Billing 3.0.
  • XRechnung adds the German BR-DE rules: buyer reference (BT-10), seller contact, payment instructions.
  • Peppol adds PEPPOL-EN16931 and country rules. XRechnung applies some PEPPOL-EN16931 rules too.

Example codes

Typical fix

Fill the fields the rule set requires in your master data, such as the Leitweg-ID in BT-10 or the seller contact.

A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-DEX-05: XRechnung extension rule, reported in the stage “National rules (CIUS)”. Rule sets: KoSIT validator 1.6.3 with the XRechnung configuration of 31 Aug 2026 (EN 16931 artefacts 1.3.16), Peppol BIS Billing 3.0.21.

Solution

Set the @schemeID on cac:PartyLegalEntity/cbc:CompanyID to a valid ISO 6523 ICD value. If you do not need Extension registration schemes, the standard XRechnung CIUS profile avoids this rule.

Quick actions

Context and Significance

This XRechnung Extension rule fires only in the Extension scenario, which relaxes the core severity to permit additional ISO 6523 scheme codes for legal registration identifiers.

Valid Examples

  • <cbc:CompanyID schemeID="0002">12345678900</cbc:CompanyID>

Invalid Examples

  • <cbc:CompanyID schemeID="LOCAL">12345</cbc:CompanyID> — LOCAL is not ISO 6523

Code Examples

Valid XML
<cac:PartyLegalEntity>
  <cbc:CompanyID schemeID="0002">12345678900</cbc:CompanyID>
</cac:PartyLegalEntity>
Invalid XML
<cac:PartyLegalEntity>
  <cbc:CompanyID schemeID="LOCAL">12345678900</cbc:CompanyID>
</cac:PartyLegalEntity>

Affected Fields

Validation Tools