HomeError code lexicon › BR-CL-21
BR-CL-21 Field BT-157-1 Code list rules (BR-CL)

Fix BR-CL-21: Item standard identifier scheme invalid (ISO 6523)

[BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list

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

What does BR-CL-21 mean?

The item standard identifier (e.g. a GTIN) needs a scheme from the ISO 6523 ICD list so that the source of the number is unambiguous.

Common causes of BR-CL-21

How to fix BR-CL-21

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-157-1 along this XPath://ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID
  2. Apply the fix. Code the scheme of the item standard identifier (BT-157-1) in the @schemeID attribute with an ICD code from ISO 6523, e.g. '0160' (GS1 GTIN), '0088' (GS1 GLN), '0060' (DUNS), '0021' (SWIFT/BIC), '0177' (ODETTE). No plain text such as 'GTIN' or 'EAN'.
  3. Validate again. Save the file and validate it again to check that BR-CL-21 is no longer reported.
Concrete fix

Code the scheme of the item standard identifier (BT-157-1) in the @schemeID attribute with an ICD code from ISO 6523, e.g. '0160' (GS1 GTIN), '0088' (GS1 GLN), '0060' (DUNS), '0021' (SWIFT/BIC), '0177' (ODETTE). No plain text such as 'GTIN' or 'EAN'.

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

Frequent questions about BR-CL-21

Which ICD code do I use for a GTIN/EAN?
For the GS1 Global Trade Item Number use '0160'. For a GS1 location number (GLN) it would be '0088'.
Where does my own item number go?
The seller's own number belongs in ram:SellerAssignedID (BT-155), not in ram:GlobalID. Only the GlobalID needs an ISO 6523 scheme.

Related error codes

Check BR-CL-21 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