E-invoice rule explained · Peppol BIS

PEPPOL-EN16931-R120: Line net amount does not match quantity, price and line allowances or charges

Official message

Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount
Severity
Error (the invoice is rejected)
Checked in
UBL, CII
Business terms
BT-131, BT-129, BT-146, BT-149, BT-136, BT-141

What does PEPPOL-EN16931-R120 mean?

For each line, the net amount (BT-131) must equal quantity (BT-129) times net price (BT-146) divided by the price base quantity (BT-149), plus line charges (BT-141) minus line allowances (BT-136). A difference of up to 0.02 is tolerated. The line allowances and charges are summed and rounded to two decimals; a missing quantity or base quantity counts as 1, a missing price as 0.

Usual causes

How do I fix PEPPOL-EN16931-R120?

  1. Recalculate: quantity x price / base quantity + line charges - line allowances, rounded to two decimals, and write that as cbc:LineExtensionAmount.
  2. If the price is per 100 units, give cbc:BaseQuantity 100 with the same unit code as the quantity.
  3. Write the unit price with enough decimals that the product works out, or apply each discount only once (in the price or as a line allowance).

Corrected XML (minimal example we wrote)

UBL

<cac:InvoiceLine>  <cbc:ID>1</cbc:ID>  <cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity>  <cbc:LineExtensionAmount currencyID="EUR">245.00</cbc:LineExtensionAmount>  <cac:AllowanceCharge>    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>    <cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>    <cbc:Amount currencyID="EUR">5.00</cbc:Amount>  </cac:AllowanceCharge>  <cac:Item>    <cbc:Name>Widget</cbc:Name>    <cac:ClassifiedTaxCategory>      <cbc:ID>S</cbc:ID>      <cbc:Percent>19</cbc:Percent>      <cac:TaxScheme>        <cbc:ID>VAT</cbc:ID>      </cac:TaxScheme>    </cac:ClassifiedTaxCategory>  </cac:Item>  <cac:Price>    <cbc:PriceAmount currencyID="EUR">25.00</cbc:PriceAmount>    <cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>  </cac:Price></cac:InvoiceLine>

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