What the rule requires
The net amount of a line (BT-131) may have at most two decimals.
How it is checked
The characters after the decimal point are counted as they are in the file. 12.50 and 12.5 are
fine, 12.500 is not — even though the value is the same.
Common causes
- The program writes amounts with four decimals because it calculates that way.
- An amount is written unformatted (
12.4999999from floating point).
How to fix it
Round the line amount to the cent and write it with at most two decimals. More decimals are allowed for the price (BT-146) — there is no such rule there. Then the sum of lines must be built from the rounded amounts (BR-CO-10).
Source: KoSIT validator configuration XRechnung 3.0.2.