E-invoice validation error codes (EN 16931 / XRechnung) → BR-22
BR-22
Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129).
Field
BT-129 — Invoiced quantity (cac:InvoiceLine/cbc:InvoicedQuantity)
What it means
Every line needs a quantity — how many units of the item are being billed.
Typical cause
InvoicedQuantity is missing, which usually also breaks BR-23 (unit code) at the same time.
How to fix it
Add InvoicedQuantity with a numeric value and a unitCode attribute.
Example
Wrong
<cac:InvoiceLine><cbc:ID>1</cbc:ID></cac:InvoiceLine>
Right
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="C62">3</cbc:InvoicedQuantity>
</cac:InvoiceLine>