BR-22

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

error: the document is invalid Peppol documentation ↗

Why it fails

  • A line has no cbc:InvoicedQuantity (cbc:CreditedQuantity in a credit note, ram:BilledQuantity in CII), common for lump-sum services.

How to fix it

Give every line a quantity. For a lump sum, use 1 with the unit code C62 (one) or LS (lump sum).

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
//ram:IncludedSupplyChainTradeLineItem
Test
(ram:SpecifiedLineTradeDelivery/ram:BilledQuantity)

Checked with EN 16931 Invoice (CII)