# BR-64 Item standard identifier must have a scheme identifier

The Item standard identifier (BT-157) shall have a Scheme identifier so the identifier’s registration scheme is unambiguous.

## Problem Description

> **ERROR**: EN 16931 core business rule (CEN)

> **Where BR-64 is checked**
>
> A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-64: EN 16931 core rule, reported in the stage “EN 16931 rules”.

## Solution

Set the schemeID attribute on cac:StandardItemIdentification/cbc:ID (CII: ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID) to an ISO/IEC 6523 code, for example 0160 for a GTIN.

- [Check XML for free](/en/xrechnung-validator)

## Context and Significance

This is an EN 16931 core rule. A standard item identifier (BT-157), most often a GTIN (formerly EAN), is only unambiguous together with its scheme. The error usually appears when an EAN barcode number is exported in cac:StandardItemIdentification without schemeID; for a GTIN use 0160. The value must belong to the ISO 6523 ICD list (BR-CL-21). Classification codes such as UNSPSC belong in BT-158 and are covered by BR-65.

## Valid Examples

- BT-157 = 04012345678901 with schemeID="0160" (GTIN)

## Invalid Examples

- BT-157 standard item ID present but with no schemeID attribute

## 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>04012345678901</cbc:ID>
  </cac:StandardItemIdentification>
</cac:Item>
```

## Affected Fields

- [BT-157 Item standard identifier](/en/resources/xrechnung/bt-157-item-standard-identifier)

## Related Rules

- [BR-65](/en/resources/kosit-validator-errors/br-65-item-classification-identifier-scheme-required)

## Validation Tools

- [Official KoSIT Validator](https://github.com/itplr-kosit/validator): Run the official KoSIT validator with the XRechnung configuration to check EN 16931 and XRechnung rules.
- [Convert PDF to XRechnung](/en/pdf-to-xrechnung): Find validation errors during conversion and review each correction.

## Related Resources

- [Official Specification](https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [All validation errors](/en/resources/kosit-validator-errors): Overview of the EN 16931, XRechnung and Peppol validation rules explained here.
