All rules · en16931 · error

BR-22

Every invoice line must have an invoiced quantity.

Reviewed

Why this rule exists

The line amount is checked as quantity times price. With no quantity there is nothing to check it against.

Why it usually happens

How to fix it

Use quantity 1 with the unit code EA for lump-sum lines, rather than omitting the quantity.

Right
<cbc:InvoicedQuantity unitCode="EA">1</cbc:InvoicedQuantity>

The official rule

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

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

exists(cbc:InvoicedQuantity) or exists(cbc:CreditedQuantity)

Applied to nodes matching cac:InvoiceLine | cac:CreditNoteLine

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-eu-1.1.1en16931errorbilling/creditnote, billing/invoice

Related rules

ibr-023 · ibr-026 · ibr-147-ae

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator