PEPPOL-EN16931-R120
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
What does this rule mean?
The line net amount (BT-131) does not follow from quantity × price ± line allowances/charges.
The line-level arithmetic check: quantity × (net price ÷ price base quantity) + charges − allowances.
Official rule message (standard)
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
Where the rule applies
Syntax: CII · UBL
The same rule, expressed twice: UBL and CII name the same fields with different paths. Running a CII file against the UBL rules is why you get errors that mean nothing.
UBL
cac:InvoiceLine | cac:CreditNoteLine
CII
ram:IncludedSupplyChainTradeLineItem
Technical test
The rule passes when this Schematron expression holds true:
u:slack($lineExtensionAmount, ($quantity * ($priceAmount div $baseQuantity)) + $chargesTotal - $allowancesTotal, 0.02)How to fix it
A missing or incorrect business entry only you can supply. Add or correct it, then re-check.
Check the quantity, net price, price base quantity and the line allowances/charges. Amounts are never changed automatically.
Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.
Check an e-invoice here
Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.