BR-DEX-06: Scheme of the item standard identifier (BT-157) is not an ISO 6523 ICD code (extension)
Official message
[BR-DEX-06] Any scheme identifier in … MUST be coded using one of the ISO 6523 ICD list.
[BR-DEX-06] 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 the item standard identifier (BT-157) must be a code from the ISO 6523 ICD list. The given scheme is not one of them.
Typical causes
Text was entered as scheme, e.g. "GTIN" or "EAN", instead of the numeric code (0160 for GTIN).
The scheme contains spaces or is misspelled.
How to fix the error
Enter the ICD code of the identifier as scheme, e.g. 0160 for GTIN.
State own article numbers as item seller's identifier (BT-155) rather than as BT-157.
CII: ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID, UBL: cac:StandardItemIdentification/cbc:ID/@schemeID.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form ("Experte" view), section "Rechnungspositionen (BG-25)" (invoice lines), correct the field "Global-ID-Schema (BT-157-1)"; enter own article numbers in "Artikelnr. Verkäufer (BT-155)" instead.
Example
Wrong
<ram:SpecifiedTradeProduct>
<ram:GlobalID schemeID="EAN">4012345000016</ram:GlobalID>
<ram:Name>Screws M6</ram:Name>
</ram:SpecifiedTradeProduct>
Correct
<ram:SpecifiedTradeProduct>
<ram:GlobalID schemeID="0160">4012345000016</ram:GlobalID>
<ram:Name>Screws M6</ram:Name>
</ram:SpecifiedTradeProduct>
For developers: test expression per syntax
XRechnung (CII) (CII)
Context: ram:SpecifiedTradeProduct/ram:GlobalID[@schemeID and $isExtension]
((not(contains(normalize-space(@schemeID), ' ')) and contains($ISO-6523-ICD-EXT-CODES, concat(' ', normalize-space(@schemeID), ' '))))
XRechnung (UBL) (UBL)
Context: cac:StandardItemIdentification/cbc:ID[@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-05: Scheme of a registration identifier 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.