All Collections
Setting up the integration
Rounding differences in totals: Enable rounding in Visma e-conomic
Rounding differences in totals: Enable rounding in Visma e-conomic

Add an order line to even out rounding differences

Updated over a week ago

As a security precaution the integration validates totals between the webshop order and the invoice in Visma e-conomic 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 Visma e-conomic, create a product that is to be used for the order line. The product could be something like "diff". The product has to be created in a product group that is not taxable.

  • Go to -> Visma e-conomic -> Settings -> Order settings -> Enable rounding

  • Fill out the line text (e.g. Difference due to rounding), insert the product number that was created, 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.

For examples on common rounding errors see our article:
โ€‹What does error in totals validation mean

Did this answer your question?