Error codes › BR-CL-23 · Deutsch
BR-CL-23: Unit of measure is not in the code list
A rule from EN 16931. What the message means and how to fix it.
What the message means
The unit of measure (BT-130) has to be a code from UN/ECE Recommendation 20 or 21, not an abbreviation like “pcs”, “Stk” or “h”.
How to fix it
Common codes: H87 or C62 = piece, HUR = hour, DAY = day, MON = month, KGM = kilogram, MTR = metre, LS = lump sum.
Where the field is in the file
- UBL:
cac:InvoiceLine/cbc:InvoicedQuantity/@unitCode - CII:
ram:SpecifiedLineTradeDelivery/ram:BilledQuantity/@unitCode
The rule applies to every format built on EN 16931: Peppol BIS Billing 3.0, XRechnung, ZUGFeRD and Factur-X, and other national CIUS.
Check the invoice again: The free validator runs the official KoSIT rule files (EN 16931 rules for UBL and CII, plus the German XRechnung rules) in your browser. Your invoice never leaves your computer, and the report links to the English explanations.
Technical notes on the data format, not tax or legal advice. Whether VAT rate, supply and amounts are correct in substance is a question for your tax adviser.