You are probably looking for this variable (under Settings/Others): MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND.
This lets you configure, if you round the lines first and add them later or calculate the sum first and round this. VAT is then determinded based on these values.
2026-04-15 07:01:38 DEBUG 92.53.60.252 3476991 1006 BEGIN Transaction
2026-04-15 07:01:38 WARNING 92.53.60.252 3476991 1006 We found a rounding difference after line 6736 between HT*VAT=19.44 and total in database=19 (calculated with UP*qty) but diff=-0.44 is too high (> 0.1) to be corrected. Some data in your lines may be corrupted. Try to edit each line manually to fix this before restarting.
2026-04-15 07:01:38 DEBUG 92.53.60.252 3476991 1006 ROLLBACK Transaction
2026-04-15 07:01:38 ERR 92.53.60.252 3476991 1006 Error url=/fourn/facture/card.php?id=2288&action=calculate&token=9a4f3efea1f189b8987d208aa7db53e4&calculationrule=roundoftotal, query_string=id=2288&action=calculate&token=9a4f3efea1f189b8987d208aa7db53e4&calculationrule=roundoftotal, sql=BEGIN, db_error=, msg=We found a rounding difference after line 6736 between HT*VAT=19.44 and total in database=19 (calculated with UP*qty) but diff=-0.44 is too high (> 0.1) to be corrected. Some data in your lines may be corrupted. Try to edit each line manually to fix this before restarting.
2026-04-15 07:01:38 INFO 92.53.60.252 3476991 1006 --- End access to /fourn/facture/card.php
so there is an rounding error somewhere.
Does this only happen on this particular vendor invoice, or also on other vendor invoices?