PEPPOL-EN16931-R121

The price base quantity must be a positive number above zero. It states how many units the price refers to — 100 for a price per hundred pieces.

Severity
Error
Applies to
CII, UBL
Rule set
v2026-01-31

Official rule text

Base quantity MUST be a positive number above zero.

Why does PEPPOL-EN16931-R121 happen?

The field is filled with the default of your own data type, and for an unmaintained number that is often 0. A price per zero units is a division by zero and makes any recalculation impossible.

How do you fix PEPPOL-EN16931-R121?

Omit cac:Price/cbc:BaseQuantity where the price is per single unit — that is the default and needs no statement. Otherwise set the real reference quantity, or ram:BasisQuantity in CII.

In the XML

A UBL fragment. The CII path is named above — same change, different element names.

Fails
<cac:Price>
  <cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
  <cbc:BaseQuantity unitCode="C62">0</cbc:BaseQuantity>
</cac:Price>
Fixed
<cac:Price>
  <cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
  <cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
</cac:Price>

NormAPI provides technical validation, not tax or legal advice.