How to fix BR-CL-23
Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension.
What this rule checks
Every unitCode attribute on cbc:InvoicedQuantity, cbc:CreditedQuantity and cbc:BaseQuantity must be a code from UN/ECE Recommendation 20, or a Recommendation 21 packaging code with the X prefix. Values like PCE, pcs or Stk are not on the list. In XRechnung the KoSIT rules lower BR-CL-23 to a warning; in Peppol BIS Billing 3.0 it is a fatal error.
How to fix it
Replace the unitCode value with a valid code, for example C62 (one / unit), H87 (piece), KGM (kilogram), HUR (hour) or XBX (box). Use the same code on cbc:BaseQuantity and the invoiced quantity.
Does this rule apply to ZUGFeRD / Factur-X?
Not in the Factur-X profiles. BR-CL-23 is in the CEN EN 16931 Schematron for CII, but not in the Factur-X 1.09.2 / ZUGFeRD 2.5.2 Schematron of any profile. It applies to a CII invoice without a Factur-X profile, for example an XRechnung in CII (ZUGFeRD XRECHNUNG profile).
Check your file with the ZUGFeRD validator or the Factur-X validator.
Rule sets
BR-CL-23 is in these rule sets. Each page lists all its rules and the pinned version.
Sources
BR-CL-23 comes from these official rule sources. Our validator runs exactly these versions.
Validate your invoice
Upload your corrected invoice to check it passes BR-CL-23 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.