An e-invoice writes each unit of measure as a code from a United Nations list: C62 for one unit, H87 for a piece, HUR for an hour, DAY for a day, KGM for a kilogram… The rule checks that each unit is a code from that list, not an abbreviation such as "pcs".
Common causes
A local abbreviation instead of the code, such as Stk, pcs or U.
A unit created in the catalogue with no code mapped to it.
How to fix it
Map each unit of your software to its code in the list: "unit" to C62, "hour" to HUR.
Check that the e-invoice writes the code, not the unit's short name.
If your software writes another value, report it to the software's publisher, quoting BR-CL-23.
Why it matters
BR-CL-23 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-CL-23 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-CL-23?
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 invoiced quantity's unit of measure is BT-130, the price base quantity's BT-150. In CII, it is the unitCode of ram:BilledQuantity and of ram:BasisQuantity; in UBL, the unitCode of cbc:InvoicedQuantity (cbc:CreditedQuantity in a credit note) and of cbc:BaseQuantity. The list is UN/ECE Recommendation 20, with Recommendation 21's extension.
The example invoice gives its first line the unit Stk, a German abbreviation for a piece, instead of C62. The Factur-X EN 16931 profile checks the same list with its own rule FX-SCH-A-000613, which fails next to it in a Factur-X 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.