Rounding logic removed from the Avalara Tax service
Previously, the Avalara Tax service had a rounding logic when calculating the taxes for the cart. The rounding logic is applied to the calculated tax value before the Avalara Tax service passes the value to the Cart Calculation service. When the rounding logic is applied here, the Cart Calculation service loses some calculation precision.
To improve the precision of the cart calculation, the Avalara Tax service now passes its values without any rounding or scaling logic. Previously a tax of 1.9545 would be returned as 1.95. Now the Avalara Tax service takes the entire value (1.9545) and passes that value to the Cart Calculation service.
This improvement is also applied to the Tax and Cart Calculation services so there is consistency between all of the services.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.