What does BR-CL-13 mean?
If an item is classified (e.g. by eCl@ss or UNSPSC), the classification scheme must be named with a code from UNTDID 7143.
Common causes of BR-CL-13
- Plain text such as 'eClass' or 'UNSPSC' instead of a UNTDID 7143 code in @listID
- @listID on ram:ClassCode missing entirely
- @listID (scheme) mixed up with @listVersionID (version, BT-158-2)
How to fix BR-CL-13
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-158-1 along this XPath:
//ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID - Apply the fix. Code the scheme of the item classification (BT-158-1) in the attribute @listID with a code from UNTDID 7143, e.g. 'MP' (product/service identification), 'SA' (supplier's article number), 'BP' (buyer's part number), 'GN' (national product group), 'ZZZ' (mutually defined).
- Validate again. Save the file and validate it again to check that BR-CL-13 is no longer reported.
Code the scheme of the item classification (BT-158-1) in the attribute @listID with a code from UNTDID 7143, e.g. 'MP' (product/service identification), 'SA' (supplier's article number), 'BP' (buyer's part number), 'GN' (national product group), 'ZZZ' (mutually defined).
//ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listIDBefore / after: the XML example
This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).
<ram:DesignatedProductClassification>
<ram:ClassCode listID="Warengruppe">EDV-Zubehoer</ram:ClassCode>
</ram:DesignatedProductClassification>
<ram:DesignatedProductClassification>
<ram:ClassCode listID="GN">30200000</ram:ClassCode>
</ram:DesignatedProductClassification>
Frequent questions about BR-CL-13
Where does the version of the classification go?
Which code do I use for my own product group?
Related error codes
Check BR-CL-13 automatically
Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.