E-invoice rule explained · Peppol BIS

PEPPOL-EN16931-R121: Price base quantity is zero or negative

Official message

Base quantity MUST be a positive number above zero.
Severity
Error (the invoice is rejected)
Checked in
UBL, CII
Business terms
BT-149

What does PEPPOL-EN16931-R121 mean?

If a line's price gives a base quantity (BT-149, the number of units the price is for), it must be greater than zero. Leaving it out is fine: it then counts as 1. In CII the rule checks the base quantity of both the net and the gross price.

Usual causes

How do I fix PEPPOL-EN16931-R121?

  1. Set cbc:BaseQuantity (UBL) or ram:BasisQuantity (CII) to the number of units the price is for, usually 1.
  2. Keep negative signs on the quantity or amount, never on the base quantity.
  3. If the price is simply per unit, you can remove the base quantity altogether.

Corrected XML (minimal example we wrote)

UBL

<cac:Price>  <cbc:PriceAmount currencyID="EUR">25.00</cbc:PriceAmount>  <cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity></cac:Price>

CII

<ram:NetPriceProductTradePrice>  <ram:ChargeAmount>25.00</ram:ChargeAmount>  <ram:BasisQuantity unitCode="C62">1</ram:BasisQuantity></ram:NetPriceProductTradePrice>

Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.

Check your file for free

The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.

Open the free checker

In development — early access

Fix-and-explain for accountants and invoicing teams

A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access

Source

Rule id and official message from the OpenPeppol BIS Billing 3 rules, 3.0.22 (MPL-2.0), compiled from upstream commit 38d693d. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. OpenPeppol BIS Billing 3 rules 3.0.22