BR-65: Item classification identifier scheme (BT-158-1) is missing
Official message
[BR-65] The Item classification identifier (BT-158) shall have a Scheme identifier.
[BR-65] The Item classification identifier (BT-158) shall have a Scheme identifier.
[BR-65] The Item classification identifier (BT-158) shall have a Scheme identifier.
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- EN 16931 (CII), EN 16931 (UBL), Factur-X / ZUGFeRD EN 16931
- Affected fields
- BT-158
What does this mean?
If an item classification identifier (BT-158) is given, it must have a scheme identifier (BT-158-1) naming the classification system. The attribute listID is missing or empty for at least one classification.
Typical causes
A classification code, e.g. a customs tariff number, was output without stating the system.
The system was only noted in the code itself, e.g. "HS 09012100".
How to fix the error
State the code of the system from the UNTDID 7143 list as listID for the classification, e.g. HS for the Harmonised System; for versioned systems additionally the version (BT-158-2).
CII: ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID, UBL: cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode/@listID.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form ("Experte" view), section "Rechnungspositionen (BG-25)" (invoice lines), tab "Klassifizierungen (BT-158)" (classifications) of the line, fill in the field "Schema (BT-158-1)" (scheme) for every entry, e.g. HS.
Example
Wrong
<ram:DesignatedProductClassification>
<ram:ClassCode>09012100</ram:ClassCode>
</ram:DesignatedProductClassification>
Correct
<ram:DesignatedProductClassification>
<ram:ClassCode listID="HS">09012100</ram:ClassCode>
</ram:DesignatedProductClassification>
For developers: test expression per syntax
EN 16931 (CII) (CII)
Context: //ram:DesignatedProductClassification
normalize-space(ram:ClassCode/@listID) != '' or not (ram:ClassCode)
EN 16931 (UBL) (UBL)
Context: cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode | cac:CreditNoteLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode
exists(@listID)
Factur-X / ZUGFeRD EN 16931 (CII)
Technical ID in the source: FX-SCH-A-000209
Context: //ram:IncludedSupplyChainTradeLineItem
(ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID!='') or not (ram:SpecifiedTradeProduct/ram:DesignatedProductClassification)
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.