HomeError code lexicon › BR-65
BR-65 Field BT-158 EN 16931 core rules (BR)

Fix BR-65: Scheme identifier of the Item classification missing

[BR-65] The Item classification identifier (BT-158) shall have a Scheme identifier

BR-65 in your own invoice? Upload the file and find every error in seconds.

What does BR-65 mean?

The rule checks the Item classification identifier (BT-158), such as a commodity or customs tariff code. If it is given in an invoice line, it must carry a Scheme identifier. The Scheme identifier comes from the UNTDID 7143 code list and sits in the attribute listID on the element ram:ClassCode. It says which classification system assigned the code.

Common causes of BR-65

How to fix BR-65

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-158 along this XPath://rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID
  2. Apply the fix. Add the attribute listID with a UNTDID 7143 code to the element ram:DesignatedProductClassification/ram:ClassCode, e.g. listID="HS" for the Harmonised System.
  3. Validate again. Save the file and validate it again to check that BR-65 is no longer reported.
Concrete fix

Add the attribute listID with a UNTDID 7143 code to the element ram:DesignatedProductClassification/ram:ClassCode, e.g. listID="HS" for the Harmonised System.

XPath//rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:DesignatedProductClassification/ram:ClassCode/@listID

Before / after: the XML example

This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).

Wrong
<ram:SpecifiedTradeProduct>
  <ram:Name>Beispielartikel</ram:Name>
  <ram:DesignatedProductClassification>
    <ram:ClassCode>84713000</ram:ClassCode>
  </ram:DesignatedProductClassification>
</ram:SpecifiedTradeProduct>
Correct
<ram:SpecifiedTradeProduct>
  <ram:Name>Beispielartikel</ram:Name>
  <ram:DesignatedProductClassification>
    <ram:ClassCode listID="HS">84713000</ram:ClassCode>
  </ram:DesignatedProductClassification>
</ram:SpecifiedTradeProduct>

Frequent questions about BR-65

Which attribute takes the Scheme identifier?
The attribute listID on the element ram:ClassCode, not schemeID. The value comes from the UNTDID 7143 code list.
Which values are valid?
Codes from UNTDID 7143, e.g. "HS" for the Harmonised System or "ZZZ" for a mutually agreed identifier.
When does the rule not apply?
When no ram:ClassCode classification is present in the line. BT-158 is optional; only with an identifier present must the Scheme identifier come with it.

Related error codes

Check BR-65 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.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice