[Skip to main content](#vessel-content)

#   US Taxes Not Calculated as Expected

##

- **[killnine](/forum/user/38536-killnine "View killnine's Profile")**
- [![killnine's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38536-killnine "View killnine's Profile") Topic Author
- [ Offline](/forum/user/38536-killnine)

Less More

- Posts: 32
- Thank you received: 1
-
-

9 years 10 months ago -  9 years 10 months ago [\#256252](#256252) by [killnine](/forum/user/38536-killnine "View killnine's Profile")  *[US Taxes Not Calculated as Expected](/forum/40-taxes/887675-us-taxes-not-calculated-as-expected#256252 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.4  I have a client whose site is calculating taxes for a specific region (6% tax in Florida, US).  For the most part its working but it's always off by a small amount. Looking at this closer, I think it has to do with a rounding error or something. For instance, look at the screenshot below:  Notice that each item is $0.29 + $0.02 Tax. That's a rounding on the $0.3074 cents per item that it should be. When you multiply that .0025 difference 800 times, it adds up!  Expectation: (800 &#42; 0.29) &#42; 1.06 = $245.92 Actual: (800 &#42; 0.31) = $248.00  Am I doing something wrong?")* was created by *[killnine](/forum/user/38536-killnine "View killnine's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.6.4

I have a client whose site is calculating taxes for a specific region (6% tax in Florida, US).

For the most part its working but it's always off by a small amount. Looking at this closer, I think it has to do with a rounding error or something. For instance, look at the screenshot below:

[ ![&#91;img](http://i.imgur.com/Pn4fVvO.png) ](http://i.imgur.com/Pn4fVvO.png "&#91;img")

Notice that each item is $0.29 + $0.02 Tax. That's a rounding on the $0.3074 cents per item that it should be. When you multiply that .0025 difference 800 times, it adds up!

**Expectation**: (800 * 0.29) * 1.06 = $245.92
**Actual**: (800 * 0.31) = $248.00

Am I doing something wrong?

Last edit: 9 years 10 months ago by [killnine](/forum/user/38536-killnine "View killnine's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzY3NS11cy10YXhlcy1ub3QtY2FsY3VsYXRlZC1hcy1leHBlY3RlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 10 months ago [\#256265](#256265) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[US Taxes Not Calculated as Expected](/forum/40-taxes/887675-us-taxes-not-calculated-as-expected#256265 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.4  I have a client whose site is calculating taxes for a specific region (6% tax in Florida, US).  For the most part its working but it's always off by a small amount. Looking at this closer, I think it has to do with a rounding error or something. For instance, look at the screenshot below:  Notice that each item is $0.29 + $0.02 Tax. That's a rounding on the $0.3074 cents per item that it should be. When you multiply that .0025 difference 800 times, it adds up!  Expectation: (800 &#42; 0.29) &#42; 1.06 = $245.92 Actual: (800 &#42; 0.31) = $248.00  Am I doing something wrong?")*

Hi,

There is nothing wrong with that. Both ways of calculating taxes are possible. The way you have it, it looks like you've turned on the "round taxes during calculations" setting of the HikaShop configuration.
That's actually also how PayPal calculate taxes.
So if you turn on the "send order details" setting of the PayPal payment method, you have to have that option turned on so that HikaShop calculate the taxes like PayPal.
If you turned off both options then PayPal will only see the total of the order which will be calculated like you want.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzY3NS11cy10YXhlcy1ub3QtY2FsY3VsYXRlZC1hcy1leHBlY3RlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[killnine](/forum/user/38536-killnine "View killnine's Profile")**
- [![killnine's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38536-killnine "View killnine's Profile") Topic Author
- [ Offline](/forum/user/38536-killnine)

Less More

- Posts: 32
- Thank you received: 1
-
-

9 years 10 months ago [\#256863](#256863) by [killnine](/forum/user/38536-killnine "View killnine's Profile")  Replied by *[killnine](/forum/user/38536-killnine "View killnine's Profile")* on topic *[US Taxes Not Calculated as Expected](/forum/40-taxes/887675-us-taxes-not-calculated-as-expected#256863 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.4  I have a client whose site is calculating taxes for a specific region (6% tax in Florida, US).  For the most part its working but it's always off by a small amount. Looking at this closer, I think it has to do with a rounding error or something. For instance, look at the screenshot below:  Notice that each item is $0.29 + $0.02 Tax. That's a rounding on the $0.3074 cents per item that it should be. When you multiply that .0025 difference 800 times, it adds up!  Expectation: (800 &#42; 0.29) &#42; 1.06 = $245.92 Actual: (800 &#42; 0.31) = $248.00  Am I doing something wrong?")*

Did anything with this change recently? My customer swears up and down this was working before recently. I couldn't see any changes in the change log, though.

Luckily he's not sending order details to PayPal so I just toggled the "round taxes..." feature off.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzY3NS11cy10YXhlcy1ub3QtY2FsY3VsYXRlZC1hcy1leHBlY3RlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 10 months ago [\#256879](#256879) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[US Taxes Not Calculated as Expected](/forum/40-taxes/887675-us-taxes-not-calculated-as-expected#256879 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.6.4  I have a client whose site is calculating taxes for a specific region (6% tax in Florida, US).  For the most part its working but it's always off by a small amount. Looking at this closer, I think it has to do with a rounding error or something. For instance, look at the screenshot below:  Notice that each item is $0.29 + $0.02 Tax. That's a rounding on the $0.3074 cents per item that it should be. When you multiply that .0025 difference 800 times, it adds up!  Expectation: (800 &#42; 0.29) &#42; 1.06 = $245.92 Actual: (800 &#42; 0.31) = $248.00  Am I doing something wrong?")*

Hi,

No, this has always been the case.
Note that it's highly possible that the calculations don't need any rounding based on how you configure your tax rates and the prices of your products. In that case, regardless of that option, it would produce the same results.
For example if the untaxed price of the product is 100 and the tax rate is 20%, regardless of that option it will always give a taxed price of 120. It's when you need rounding for the calculations that you can see the difference. So it's totally possible that your merchant didn't see that before because he was using prices and tax rates that didn't need rounding up until now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzY3NS11cy10YXhlcy1ub3QtY2FsY3VsYXRlZC1hcy1leHBlY3RlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.156 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
