As a security precaution the integration validates totals between the webshop order and the invoice in Dinero to ensure, that the total amounts matches before booking the invoice.
If there is a difference in the amounts on the order and VAT totals, the integration will not book the invoice but instead create an invoice draft. In that case, the log will display the message "Error in totals validation".
For small differences due to rounding methods, you can set up the integration to add an orderline, that adds the given amount in difference. This will make sure, that your bookkeeping matches the amounts, that are paid in the webshop.
To do this:
In Dinero, an account should be created to handle the differences on the order line.
Go to app.iex.dk -> Dinero -> Settings -> Invoices to Dinero -> Enable difference handling
First you should select which account to use for handling differences. Fill out the line text (e.g. Difference due to rounding) and set a rounding threshold. E.g. this could be 0.10 for a max tolerance of a .10 difference.
(If the rounding threshold is surpassed, the invoice will be created as a draft, and you will get the message "Error in totals validation".
Save the new settings.