BR-64: Item standard identifier scheme (BT-157-1) is missing
Official message
[BR-64] The Item standard identifier (BT-157) shall have a Scheme identifier.
[BR-64] The Item standard identifier (BT-157) shall have a Scheme identifier.
[BR-64] The Item standard identifier (BT-157) shall have a Scheme identifier.
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- EN 16931 (CII), EN 16931 (UBL), Factur-X / ZUGFeRD EN 16931
- Affected fields
- BT-157
What does this mean?
If an item standard identifier (BT-157) is given, e.g. a GTIN, it must have a scheme identifier (BT-157-1). The attribute schemeID is missing for at least one line; CII also rejects an empty attribute, UBL only a missing one.
Typical causes
The GTIN or EAN was given without a scheme.
An internal article number was given as standard identifier instead of as the seller's item identifier (BT-155).
How to fix the error
State the scheme code from the ISO 6523 ICD list for the item identifier, e.g. 0160 for a GTIN.
State internal article numbers as the seller's (BT-155) or buyer's (BT-156) item identifier, not as BT-157.
CII: ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID, UBL: cac:Item/cac:StandardItemIdentification/cbc:ID/@schemeID.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form ("Experte" view), section "Rechnungspositionen (BG-25)" (invoice lines), fill in the field "Global-ID-Schema (BT-157-1)" (global ID scheme) of the line, e.g. 0160 for a GTIN. If the identifier is an internal article number, enter it in "Artikelnr. Verkäufer (BT-155)" (seller's item number) instead and clear "Global-ID (BT-157)".
Example
Wrong
<ram:SpecifiedTradeProduct>
<ram:GlobalID>4012345000016</ram:GlobalID>
<ram:Name>Coffee beans 1 kg</ram:Name>
</ram:SpecifiedTradeProduct>
Correct
<ram:SpecifiedTradeProduct>
<ram:GlobalID schemeID="0160">4012345000016</ram:GlobalID>
<ram:Name>Coffee beans 1 kg</ram:Name>
</ram:SpecifiedTradeProduct>
For developers: test expression per syntax
EN 16931 (CII) (CII)
Context: //ram:IncludedSupplyChainTradeLineItem
normalize-space(ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID) != '' or not (ram:SpecifiedTradeProduct/ram:GlobalID)
EN 16931 (UBL) (UBL)
Context: cac:InvoiceLine/cac:Item/cac:StandardItemIdentification/cbc:ID | cac:CreditNoteLine/cac:Item/cac:StandardItemIdentification/cbc:ID
exists(@schemeID)
Factur-X / ZUGFeRD EN 16931 (CII)
Technical ID in the source: FX-SCH-A-000208
Context: //ram:IncludedSupplyChainTradeLineItem
ram:SpecifiedTradeProduct/ram:GlobalID/@schemeID!='' or not (ram:SpecifiedTradeProduct/ram:GlobalID)
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.