HomeError code lexicon › BR-64
BR-64 Field BT-157 EN 16931 core rules (BR)

Fix BR-64: Scheme identifier of the Item standard identifier missing

[BR-64] The Item standard identifier (BT-157) shall have a Scheme identifier

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

What does BR-64 mean?

The rule checks the Item standard identifier (BT-157), such as a GTIN. If it is given in an invoice line, it must carry a Scheme identifier. The Scheme identifier comes from the ISO 6523 (ICD) code list and says which numbering system the identifier belongs to. Without it the item number cannot be read unambiguously.

Common causes of BR-64

How to fix BR-64

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-157 along this XPath://rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID
  2. Apply the fix. Add the attribute schemeID with an ISO 6523 code (ICD) to the element ram:SpecifiedTradeProduct/ram:GlobalID, e.g. schemeID="0160" for a GTIN.
  3. Validate again. Save the file and validate it again to check that BR-64 is no longer reported.
Concrete fix

Add the attribute schemeID with an ISO 6523 code (ICD) to the element ram:SpecifiedTradeProduct/ram:GlobalID, e.g. schemeID="0160" for a GTIN.

XPath//rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID

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:GlobalID>4012345678901</ram:GlobalID>
  <ram:Name>Beispielartikel</ram:Name>
</ram:SpecifiedTradeProduct>
Correct
<ram:SpecifiedTradeProduct>
  <ram:GlobalID schemeID="0160">4012345678901</ram:GlobalID>
  <ram:Name>Beispielartikel</ram:Name>
</ram:SpecifiedTradeProduct>

Frequent questions about BR-64

Which value must the schemeID have?
A code from the ISO 6523 (ICD) code list. For a GTIN that is "0160".
When does the rule not apply?
When no ram:GlobalID is present in the line. BT-157 is optional; only with a standard identifier present must the Scheme identifier come with it.
Where does my own item number belong?
Not in ram:GlobalID, but in ram:SellerAssignedID (BT-155). BR-64 does not apply to that field.

Related error codes

Check BR-64 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