Faktura

PEPPOL-EN16931-R120

fatalPeppol BIS Billing 3.0profileCIIUBL

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

Why it fails

The invoice line net amount (BT-131) does not equal quantity x (net price / base quantity), plus line charges, minus line allowances.

How to fix it

Recompute BT-131 = round(BT-129 x BT-146 / BT-149, 2) + line charges - line allowances, with BT-149 (base quantity) treated as 1 when absent. Peppol enforces this arithmetic per line; plain EN 16931 does not, which is why an invoice can pass one and fail the other.

What the validator checks

CII — context

u:slack($lineExtensionAmount, ($quantity * ($priceAmount div $baseQuantity)) + $chargesTotal - $allowancesTotal, $slackValue)

UBL — context

u:slack($lineExtensionAmount, ($quantity * ($priceAmount div $baseQuantity)) + $chargesTotal - $allowancesTotal, $slackValue)

Related rules

Part of PEPPOL-EN16931 — Peppol BIS Billing 3.0.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.