What the rule requires
The line net amount (BT-131) is quantity × net price per base quantity plus the line's charges minus its allowances:
BT-131 = BT-129 × (BT-146 / BT-149) + BT-141 − BT-136
The rule comes from Peppol and is part of KoSIT's XRechnung configuration.
How it is checked
With a tolerance of 0.02 (0.50 for forint). A missing base quantity (BT-149) counts as 1 (in CII the gross price's base quantity is tried first); a missing quantity counts as 1. The sums of allowances and charges are rounded to the cent first.
Important: in XRechnung this is a warning. The invoice is accepted anyway. But a difference shows that lines and totals do not fit together, and errors in the totals often follow (BR-CO-10).
Common causes
- Discount rounded per unit. Example from a question to KoSIT: 20 units at €1.97 with a 12 % discount. Rounding the discount per unit to €0.24 gives €34.60; rounding only at the end gives €34.76 (line discount €4.73). The check uses the net price and the allowances in the file.
- Discount not applied: the allowance is on the line but was not taken off the net amount — or the other way round.
- Price including VAT sent as the net price.
- Rounded unit price: the real price has more decimals, the file has it rounded to the cent.
- Base quantity forgotten: the price is per 100 units, BT-149 is missing.
How to fix it
A discount must be in the file the way it was calculated: either as a line allowance (BT-136) or already in the net price (BT-146, with gross price BT-148 and discount BT-147). The net price may have more than two decimals — that avoids rounded unit prices.
What our recalculation shows
We recalculate every line and name the likely cause: discount not applied, price including VAT, rounded unit price.
Source for the example: KoSIT, issue #128.