Validation rules

BR-22

An invoice line has no invoiced quantity (BT-129).

Rule
BR-22official EN 16931 / XRechnung rule
Severity
error
Business term
BT-129 — Invoiced quantity
Field in your JSON
invoice.lines[*].qty
Detected by
tier 3 — KoSIT validator (authoritative)
Reachability
Only reachable when validating your own XML — normbill-generated documents cannot trigger it

The request schema requires line.qty on every line.

How to fix it

Add cbc:InvoicedQuantity to the line.

BR-22 auf Deutsch — was bedeutet der Fehler?

Eine Rechnungsposition hat keine abgerechnete Menge (BT-129).

So beheben Sie den Fehler

Ergänzen Sie cbc:InvoicedQuantity in der Position.

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.