Peppol BIS Billing 3.0 · rule
BR-CL-23
What does BR-CL-23 mean? Unit code MUST be coded according to the UN/ECE Recommendation 20 with
Why did my invoice fail BR-CL-23?
Unit of measure codes must be coded according to UN/ECE Recommendation 20 (with the Rec 21 extension prefixed per the standard). This makes quantities like pieces, hours or kilograms machine-interpretable. In UBL it is the unitCode attribute on cbc:InvoicedQuantity and cbc:BaseQuantity.
Official rule text
Unit code MUST be coded according to the UN/ECE Recommendation 20 with
Common causes
- Human-readable units ("pcs", "hours", "kg ") instead of Rec 20 codes (C62/H87, HUR, KGM)
- Lowercase codes
- Internal ERP unit identifiers exported directly
How do I fix it?
<cbc:InvoicedQuantity unitCode="H87">10</cbc:InvoicedQuantity>
Related rules
BR-CL-01 · BR-CL-03 · BR-CL-04 · BR-CL-05 · BR-CL-06 · BR-CL-07 · BR-CL-08 · BR-CL-10
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.