Rounding concerns on the calculation of VAT on invoice

Hello,
We are having a billing problem on our Dolibarr in version 13.0.2
If I create an invoice line with the following information:
20% VAT
UP 275.40
Qty 0.32

Dolibarr calculates an amount excluding VAT of 88.13€, a VAT amount of 17.62€
However, if we do the calculation manually, we obtain a VAT of 17.626, i.e. by rounding up 17.63€.

We have the following configurations in the “limits and details” tab
5
2
8

If we recreate this invoice in an accounting software, we obtain a VAT of €17.63.
Could you tell us where the problem might be?

I specify that I reproduced the problem on a dolibarr in 16.0.3 and I always get the same result.

Thank you

What do you get for amount including tax ?
You must not round the vat. You must first round the amount excluding vat then amount including vat and the vat must be the difference. If you round the VAT salone, you may get amount rounded exluding vat + vat rounded that differs of amount included vat rounded.

1 Like