A line can classify its item in a classification system, such as UNSPSC or the EU's Common Procurement Vocabulary (CPV). A code says which system the classification comes from: TST for UNSPSC, STI for CPV. The rule checks that a classification always comes with this code.
Common causes
An item's classification 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 classification 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-65.
Why it matters
BR-65 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-65 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-65?
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 classification identifier is BT-158, its scheme identifier BT-158-1. In CII, the rule reads the listID of ram:ClassCode in a line's ram:DesignatedProductClassification; in UBL, the listID of cbc:ItemClassificationCode in cac:CommodityClassification. Its codes come from the UNTDID 7143 list, as rule BR-CL-13 requires.
The example invoice gives an item's classification without its scheme. 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-000296 fails next to BR-65, 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.