Rounding error in taxes

  • Posts: 1
  • Thank you received: 0
10 years 6 months ago #153548

-- url of the page with the problem -- : http://http://demo.hikashop.com
-- HikaShop version -- : 2.3
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.3.18-nmm1
-- Browser(s) name and version -- : FF 28

Hi Team!

I created a German Book Tax of 7% in YOUR demo shop and assigned it to a book in "Fashion-Men".
The net price of the book is 1.8691588€ and thus the taxed pice is 2€
So, if I order 10 books in your shop I get taxes of 1.30€ but is should be 1.40€ = 7% of 20€
(This is exact the same what I did in my own shop).

This could be a general rounding error in Hikashop.

Thanks and Regards,
Frank

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 6 months ago #153570

Hi,

Unfortunately, your calculations are not correct.
If the untaxed price of your book is 1.8691588€ with a tax rate of 7%, the taxed price is 2€. So it means a tax of 0.1308412 per product (so 0.13€ per product).
If you multiple this by 10, you get a tax rate of 1.30€ which correspond to what HikaShop is displaying.
Please remember that taxes are calculated on the untaxed price, not on the taxed price. So you shouldn't calculate the 7% taxes with the 20€ but with the 10*1.8691588€ price.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum