E-invoice validation error codes (EN 16931 / XRechnung) → BR-23
BR-23
An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).
Field
BT-130 — Invoiced quantity unit of measure code (InvoicedQuantity/@unitCode)
What it means
The quantity must say what unit it is in (pieces, hours, kilograms…), using a UN/ECE Recommendation 20 code.
Typical cause
The unitCode attribute on InvoicedQuantity is missing.
How to fix it
Add a unitCode, e.g. C62 for "piece / unit", HUR for "hour", KGM for "kilogram".
Example
Wrong
<cbc:InvoicedQuantity>3</cbc:InvoicedQuantity>
Right
<cbc:InvoicedQuantity unitCode="C62">3</cbc:InvoicedQuantity>