If there is a difference in the gross amount due to the splitting of the rows on the invoice, it is possible to use the "Correct sums" functionality to correct differences of less than 1 euro.
The functionality can be activated by selecting Settings ->Invoice settings ->Purchase invoice settings.
If necessary, the amounts can also be adjusted manually by selecting the Actions -> Additional information. It is possible to change both the VAT amount and the cost, i.e. the gross amount.