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

How to clear PEPPOL-EN16931-R121 when the official OpenPeppol BIS Billing 3.0 schematron rejects your invoice.

3 invoices/month free · Pro €12 (100) · Office €49 (1,000) · pay via Paddle, cancel any time.

PEPPOL-EN16931-R121 · Fatal error

[PEPPOL-EN16931-R121]-Base quantity MUST be a positive number above zero.

What it means and how to fix it

The official rule: a base quantity must be a positive number above zero.

The official test is: either there is no cac:Price/cbc:BaseQuantity, or its decimal value is greater than zero. A base quantity of 0 or a negative value fails.

Common causes

  • BaseQuantity is exported as 0 (sometimes a default in an ERP when the price is “per 1”).
  • A negative base quantity on a credit note; the official test still requires a value above zero if the element is present.
  • A non-numeric value that cannot be read as a decimal.

If the element is omitted, the price applies to one unit of the invoiced quantity. The unit of a present BaseQuantity must also match the invoiced quantity unit (R130).

The source is the official OpenPeppol BIS Billing 3.0.22 schematron. This is not legal or tax advice.

<cac:InvoiceLine>
  <cbc:ID>1</cbc:ID>
  <cbc:InvoicedQuantity unitCode="H87">2</cbc:InvoicedQuantity>
  <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
  <cac:Item>
    <cbc:Name>Item</cbc:Name>
  </cac:Item>
  <cac:Price>
    <cbc:PriceAmount currencyID="EUR">50.00</cbc:PriceAmount>
    <cbc:BaseQuantity unitCode="H87">1</cbc:BaseQuantity>
  </cac:Price>
</cac:InvoiceLine>

Where it sits in UBL

Official test (UBL XPath): not(cac:Price/cbc:BaseQuantity) or xs:decimal(cac:Price/cbc:BaseQuantity) > 0. Element: context: cac:InvoiceLine | cac:CreditNoteLine. cac:Price/cbc:BaseQuantity (BT-149).

Related rules

Source

OpenPeppol BIS Billing 3.0 (BIS Billing 3.0.22 schematron). Facts checked 30.11.2026. Not legal advice.

FAQ

May I omit BaseQuantity?

Yes. The first alternative of the official test is that the element is absent.

What about the unit code?

That is R130 (unit of the price base quantity must equal the invoiced quantity unit).

Validate the XML for free Pricing: 3 free, Pro €12, Office €49