Skip to main content

BR-CL-21 Item standard identifier scheme must come from ISO 6523 ICD

The item standard identifier scheme identifier (BT-157-1) must be a code from the ISO 6523 ICD list.

Problem Description

ERROR

EN 16931 code-list rule (BR-CL)

Context and Significance

Every item standard identifier (BT-157) must have a scheme identifier (BR-64), and that scheme must be an ISO 6523 ICD code. The rule checks cac:Item/cac:StandardItemIdentification/cbc:ID/@schemeID in UBL and ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID in CII. It fails when "GTIN" or "EAN" is written as the scheme; an EAN barcode is a GTIN and uses 0160. A GLN (0088) identifies a location or party, not an item. Example: the barcode 4012345678901 is sent with schemeID="0160".

Solution

Set the schemeID of BT-157 to the ICD code of the issuing system; for a GS1 article number (GTIN, formerly EAN), use 0160. If an item has no standard identifier, omit BT-157 and give the seller item identifier (BT-155) instead.

Quick actions

Valid Examples

  • BT-157-1 = 0160 — GTIN issued by GS1
  • Item without a GTIN: BT-157 omitted, seller item identifier (BT-155) given

Invalid Examples

  • BT-157-1 = GTIN — name instead of ICD code
  • BT-157-1 = EAN — name instead of ICD code 0160

Code Examples

Valid XML
<cac:Item>
  <cac:StandardItemIdentification>
    <cbc:ID schemeID="0160">04012345678901</cbc:ID>
  </cac:StandardItemIdentification>
</cac:Item>
Invalid XML
<cac:Item>
  <cac:StandardItemIdentification>
    <cbc:ID schemeID="GTIN">04012345678901</cbc:ID>
  </cac:StandardItemIdentification>
</cac:Item>

Affected Fields

Validation Tools