BR-DEX-05: Scheme of a registration identifier is not an ISO 6523 ICD code (extension)
Official message
[BR-DEX-05] Any scheme identifier in … MUST be coded using one of the ISO 6523 ICD list.
[BR-DEX-05] Any scheme identifier in … MUST be coded using one of the ISO 6523 ICD list.
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- XRechnung (CII), XRechnung (UBL)
What does this mean?
In an XRechnung extension invoice, the scheme (schemeID) of an identifier such as the legal registration identifier (BT-30, BT-47, BT-61) must be a code from the ISO 6523 ICD list. The given scheme is not one of them. Tax identifiers (VAT ID, tax number) are excluded from this check.
Typical causes
Text was entered as scheme, e.g. "HRB" or "commercial register", instead of an ICD code.
The scheme contains spaces or is misspelled.
A scheme was given for an identifier that has no official scheme.
How to fix the error
Enter the four-digit ICD code of the issuing agency as scheme or, if there is no ICD code for the identifier, omit the scheme.
CII: ram:ID/@schemeID, e.g. in ram:SpecifiedLegalOrganization; UBL: cac:PartyLegalEntity/cbc:CompanyID/@schemeID.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form ("Experte" view), section of the affected party (e.g. "Verkäufer (BG-4)"), correct or clear the field "Registerschema (BT-30-1/47-1)".
Example
Wrong
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="HRB">HRB 12345</ram:ID>
</ram:SpecifiedLegalOrganization>
Correct
<ram:SpecifiedLegalOrganization>
<ram:ID>HRB 12345</ram:ID>
</ram:SpecifiedLegalOrganization>
For developers: test expression per syntax
XRechnung (CII) (CII)
Context: ram:ID[@schemeID and $isExtension][not(ancestor::ram:SpecifiedTaxRegistration)]
((not(contains(normalize-space(@schemeID), ' ')) and contains($ISO-6523-ICD-EXT-CODES, concat(' ', normalize-space(@schemeID), ' '))))
XRechnung (UBL) (UBL)
Context: cac:PartyLegalEntity/cbc:CompanyID[@schemeID and $isExtension]
((not(contains(normalize-space(@schemeID), ' ')) and contains($ISO-6523-ICD-EXT-CODES, concat(' ', normalize-space(@schemeID), ' '))))
Related validation rules
- BR-DEX-01: Invalid MIME code of an attachment (BT-125) in the XRechnung extension
- BR-DEX-02: Line net amount does not match the sum of its sub invoice lines
- BR-DEX-03: Sub invoice line without exactly one VAT information (BG-DEX-06)
- BR-DEX-04: Scheme of a party identifier is not an ISO 6523 ICD code (extension)
- BR-DEX-06: Scheme of the item standard identifier (BT-157) is not an ISO 6523 ICD code (extension)
- BR-DEX-07: Scheme of the electronic address is not an EAS code (extension)
Last updated:
Explanation of the validation rule, not legal or tax advice.