Rēķinu Kontrole
← Back to catalog
BR-22EN 16931critical error

BR-22 — Missing invoiced quantity

What it means

Each invoice line must state a quantity (BT-129). Without it, there's no way to check whether the line amount (quantity × price) was calculated correctly — that's why BR-22 is one of the basic checks that runs before the cross-field amount rules (e.g. PEPPOL-EN16931-R120).

Common causes

How to fix it

Check that each InvoiceLine has an InvoicedQuantity element filled in with a numeric value and a valid unit-of-measure code in the unitCode attribute. If the line is a service rather than a good, a quantity is still required — typically 1 with unit EA (each) or HUR (hour), depending on the type of service.

Example

Wrong: the InvoicedQuantity element is missing. Correct: <cbc:InvoicedQuantity unitCode="HUR">10</cbc:InvoicedQuantity>.

See also BR-23 (unit-of-measure code) — the two errors often appear together, since quantity and unit come from the same field in the accounting software.

Technical information

Official rule text (EN)

Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129).

Related codes