PEPPOL-EN16931-R120 — Invoice line net amount MUST equal quantity × price ± line allowances and charges
What it means
Peppol recalculates every line: invoiced quantity × (item net price ÷ price base quantity) + line charges − line allowances must equal the line net amount (BT-131), within 0.02. EN 16931 alone only checks that the stated line amounts add up to the total (BR-CO-10), so a wrong line can pass there and fail here.
What triggers it
Rounding the unit price before multiplying, forgetting the base quantity (price per 100 pieces), or a line discount that is applied in the amount but not written as a line allowance.
How to fix it
Write the line so the arithmetic holds — e.g. 3 × 33.333 = 99.999 → 100.00:
{ "id": "1", "quantity": "3", "unitPrice": "33.333", "netAmount": "100.00",
"vat": { "categoryCode": "S", "rate": "19" } } <cac:InvoiceLine> <cbc:ID>1</cbc:ID> <cbc:InvoicedQuantity unitCode="C62">3</cbc:InvoicedQuantity> <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount> … <cac:Price><cbc:PriceAmount currencyID="EUR">33.333</cbc:PriceAmount></cac:Price> </cac:InvoiceLine>
With a discount on the line, add it as a line allowance (BG-27) so it appears in the formula. Leave netAmount out of the JSON and FakturWire computes it for you.
Check your invoice now. Paste it into the free validator — it flags PEPPOL-EN16931-R120 and every other EN 16931, Peppol and XRechnung rule, each with the fix.
Or run the same check via API:
curl -X POST https://fakturwire.com/v1/validate \
-H "authorization: Bearer $FW_KEY" \
-d '{"invoice": { ... }, "profile": "peppol-bis-3"}'