PEPPOL-EN16931-R120

Invoice line net amount does not reconcile

Repaired automatically Field BT-131 PEPPOL UBL / CII

What it means

The line net amount (BT-131) must equal quantity × (net price ÷ price base quantity), plus line charges, minus line allowances. A mismatch is nearly always a rounding difference or a price base quantity that was ignored when the line was calculated — the individual values are right but the product was computed differently.

Can it be fixed automatically?

Nothing about your business is needed to fix this — the correct value is a constant, a code list entry, or is already present in the document.

This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.

How to fix it

Recompute the line net amount from the quantity, net price, price base quantity and any line-level allowances or charges already present on the line. Every operand is in the document, so no business input is needed.

Where it applies

CII//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount
UBL/Invoice/cac:InvoiceLine/cbc:LineExtensionAmount

Check your own invoice

curl -X POST https://einvoice.mgsoft.sk/v1/validate \
     -H 'Content-Type: application/xml' \
     --data-binary @invoice.xml

← All rules