A line can identify its item by a standard identifier, such as the GTIN printed under a barcode. A code says which kind of identifier it is: 0160 for a GTIN, for example. The rule checks that a standard identifier always comes with this code.
Common causes
An item's standard identifier copied as a plain value, without its code.
An export that writes the value and drops its attributes.
How to fix it
Choose the kind of identifier in your software, if it asks.
Check that the e-invoice writes its code next to the value.
If the code is missing from the e-invoice, report it to the software's publisher, quoting BR-64.
Why it matters
BR-64 is a rule of the European e-invoicing standard, EN 16931. The French, German (XRechnung) and European (Peppol) rules build on this standard, so an invoice that fails BR-64 also fails each of them.
In public procurement, buyers in the European Union must accept e-invoices that follow this standard (Directive 2014/55/EU).
Does your invoice pass BR-64?
Check it against this rule only. The check runs in your browser, so nothing is sent.
Technical details
If you are interested in the technical side: the data the rule checks in the invoice file.
The item standard identifier is BT-157, its scheme identifier BT-157-1. In CII, the rule reads the schemeID of ram:GlobalID in a line's ram:SpecifiedTradeProduct; in UBL, the schemeID of cbc:ID in cac:StandardItemIdentification. Its codes come from the ISO 6523 ICD list, as rule BR-CL-21 requires.
The example invoice gives an item's standard identifier without its scheme. The CII syntax rule CII-SR-046, which asks for the same scheme, fails too. The Factur-X EN 16931 profile has its own rules, which check that the scheme is there too: in a Factur-X invoice, its rule FX-SCH-A-000551 fails next to BR-64, as in the example invoice.
EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.