Skip to content

Fatal: fails the selected checks

BR-AG-08: IPSI taxable amount must equal lines plus charges minus discounts

In short

BR-AG-08 means the taxable amount in an IPSI VAT breakdown does not match the lines, charges and discounts that use the same IPSI rate. Fix it by recalculating each IPSI row as line net amounts plus charges minus discounts.

On this page

What it means

For each IPSI rate (BT-119) in the VAT breakdown (BG-23), the taxable amount (BT-116) must equal the sum of the line net amounts (BT-131) with the category IPSI and that rate, plus the whole-invoice charges (BT-99) with that category and rate, minus the whole-invoice discounts (BT-92) with that category and rate. IPSI is code M in the file, the tax of Ceuta and Melilla. The check tolerates a small rounding difference of less than 1 in the invoice currency.

Why it matters

The taxable amount is the base the VAT is calculated on. If it does not match the lines, the VAT is built on the wrong base. The recipient cannot book the invoice with confidence, so it is rejected.

How to fix it

Group your IPSI lines, charges and discounts by VAT rate. For each rate, add up the line net amounts and the charges, subtract the discounts, and use that figure as the taxable amount of the breakdown row for that rate. Also check that every IPSI line, charge and discount carries the same rate as the row it belongs to, because they are matched by category and rate.

The rule as published

For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).

Business terms: BG-23, BT-92, BT-95, BT-96, BT-99, BT-102, BT-103, BT-116, BT-118, BT-119, BT-131, BT-151, BT-152

Where this rule applies

Rule set Version
Peppol BIS Billing 3.0 (invoice) 2026.5
Peppol BIS Billing 3.0 (credit note) 2026.5
Factur-X 1.09 BASIC 1.0.9-2
Factur-X 1.09 EN 16931 1.0.9-2
ZUGFeRD 2.5 BASIC 2.5.2
ZUGFeRD 2.5 EN 16931 2.5.2
SI-UBL 2.0 / NLCIUS (invoice) 2.0.3.13
SI-UBL 2.0 / NLCIUS (credit note) 2.0.3.13
NLCIUS (CII) 1.0.3.13
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-AG-08 still fails, and which other rules do.