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

#   SOLVED Tax on order is different from tax rates

##

- **[renem](/forum/user/47055-renem "View renem's Profile")**
- [![renem's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar47055.jpg)](/forum/user/47055-renem "View renem's Profile") Topic Author
- [ Offline](/forum/user/47055-renem)

Less More

- Posts: 198
- Thank you received: 7
-
-
- [](http://www.muldermedia.nl)
-

9 years 1 month ago -  9 years 1 month ago [\#279745](#279745) by [renem](/forum/user/47055-renem "View renem's Profile")  *[SOLVED Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279745 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")* was created by *[renem](/forum/user/47055-renem "View renem's Profile")*

-- HikaShop version -- : 3.2.0

Hi,

Please see the screenshots:
[ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestelling.png](/forum/attachment/40705) ](/forum/attachment/40705 "...Bestelling.png")

[ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieTarieven.png](/forum/attachment/40706) ](/forum/attachment/40706 "...ieTarieven.png")

How come?

Kind regards René

- [ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestelling.png](/forum/attachment/40705) ](/forum/attachment/40705 "...Bestelling.png") [ ](/forum/attachment/40705?download=1 "...Bestelling.png")
- [ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieTarieven.png](/forum/attachment/40706) ](/forum/attachment/40706 "...ieTarieven.png") [ ](/forum/attachment/40706?download=1 "...ieTarieven.png")

Last edit: 9 years 1 month ago by [renem](/forum/user/47055-renem "View renem's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MjIyMi1zb2x2ZWQtdGF4LW9uLW9yZGVyLWlzLWRpZmZlcmVudC1mcm9tLXRheC1yYXRlcz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86574
- Thank you received: 14318
-
-

9 years 1 month ago [\#279770](#279770) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279770 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi,

Maybe you have another order with a tax of 1.35-1.18.
Or it could be that the tax amount coming from the coupon reduction is not taken into account correctly there and the line:
$tax_amount = $taxes_info-&gt;tax_amount + @$taxes_info-&gt;tax_amount_for_shipping + @$taxes_info-&gt;tax_amount_for_payment - @$taxes_info-&gt;tax_amount_for_coupon;
should be:
$tax_amount = $taxes_info-&gt;tax_amount + @$taxes_info-&gt;tax_amount_for_shipping + @$taxes_info-&gt;tax_amount_for_payment + @$taxes_info-&gt;tax_amount_for_coupon;
in the file administrator/components/com_hikashop/views/tax/view.html.php

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

- **[renem](/forum/user/47055-renem "View renem's Profile")**
- [![renem's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar47055.jpg)](/forum/user/47055-renem "View renem's Profile") Topic Author
- [ Offline](/forum/user/47055-renem)

Less More

- Posts: 198
- Thank you received: 7
-
-
- [](http://www.muldermedia.nl)
-

9 years 1 month ago -  9 years 1 month ago [\#279856](#279856) by [renem](/forum/user/47055-renem "View renem's Profile")  Replied by *[renem](/forum/user/47055-renem "View renem's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279856 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi NIcolas,

On that moment there was just one order.
As you can see in the field tax amount there is a datum selection just for that day.

There are no coupons active:
[ ![Schermafbeelding2017-10-05om09.36.18.png](/forum/attachment/40730) ](/forum/attachment/40730 "...om09.36.18.png")

Regards René

- [ ![Schermafbeelding2017-10-05om09.36.18.png](/forum/attachment/40730) ](/forum/attachment/40730 "...om09.36.18.png") [ ](/forum/attachment/40730?download=1 "...om09.36.18.png")

Last edit: 9 years 1 month ago by [renem](/forum/user/47055-renem "View renem's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MjIyMi1zb2x2ZWQtdGF4LW9uLW9yZGVyLWlzLWRpZmZlcmVudC1mcm9tLXRheC1yYXRlcz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86574
- Thank you received: 14318
-
-

9 years 1 month ago [\#279862](#279862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279862 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

So could you try the modification I talked about in my previous message and report on the result ?

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

- **[renem](/forum/user/47055-renem "View renem's Profile")**
- [![renem's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar47055.jpg)](/forum/user/47055-renem "View renem's Profile") Topic Author
- [ Offline](/forum/user/47055-renem)

Less More

- Posts: 198
- Thank you received: 7
-
-
- [](http://www.muldermedia.nl)
-

9 years 1 month ago [\#279934](#279934) by [renem](/forum/user/47055-renem "View renem's Profile")  Replied by *[renem](/forum/user/47055-renem "View renem's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279934 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi Nicolas,

Sure, i've modified the file but no change at all.
It has something to do with the shipping costs , because virtual products don't have this tax problem.

Kind regards René

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MjIyMi1zb2x2ZWQtdGF4LW9uLW9yZGVyLWlzLWRpZmZlcmVudC1mcm9tLXRheC1yYXRlcz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86574
- Thank you received: 14318
-
-

9 years 1 month ago [\#279942](#279942) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279942 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi,

Then can you provide all the information of the order so that we can better understand the situation ?
If you edit the additional information of the order, what do you see in the popup ?
Could you provide also a screenshot of all the order details (you can blur/remove private information) ?
Could you provide a screenshot of the settings of the coupon (and not from the listing, but from when you edit it), as well as a screenshot of the settings of the product used in the order ?

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

- **[renem](/forum/user/47055-renem "View renem's Profile")**
- [![renem's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar47055.jpg)](/forum/user/47055-renem "View renem's Profile") Topic Author
- [ Offline](/forum/user/47055-renem)

Less More

- Posts: 198
- Thank you received: 7
-
-
- [](http://www.muldermedia.nl)
-

9 years 1 month ago -  9 years 1 month ago [\#279990](#279990) by [renem](/forum/user/47055-renem "View renem's Profile")  Replied by *[renem](/forum/user/47055-renem "View renem's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#279990 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi Nicolas,

At first we **don't** use coupons for now,

In the Netherlands every month we have to indicate taxes. Therefore, it is important that we have a good overview of it. With the tax rates in HS you have a nice overview of the different rates. In this case 6% and 21%. The weird thing is that the values match the orders, but not at the rates themselves. Something goes wrong with the calculation.

**In the first screen: Selection of the order on that day 4-10-2017**
[ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestellingen&#95;2017-10-07.png](/forum/attachment/40765) ](/forum/attachment/40765 "...2017-10-07.png")

**(Below) Detail of the order with 6% tax**
[ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestelling&#95;2017-10-07.png](/forum/attachment/40766) ](/forum/attachment/40766 "...2017-10-07.png")

**Popup of the order details**

[ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestelling2.png](/forum/attachment/40767) ](/forum/attachment/40767 "...estelling2.png")

**Tax overview of 4-10-2017 see the difference in price values**

[ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieTarieven&#95;2017-10-07.png](/forum/attachment/40768) ](/forum/attachment/40768 "...2017-10-07.png")

I hope is't more clear to you Nicolas, it's a really important issue.

Kind regards

- [ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestellingen&#95;2017-10-07.png](/forum/attachment/40765) ](/forum/attachment/40765 "...2017-10-07.png") [ ](/forum/attachment/40765?download=1 "...2017-10-07.png")
- [ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestelling&#95;2017-10-07.png](/forum/attachment/40766) ](/forum/attachment/40766 "...2017-10-07.png") [ ](/forum/attachment/40766?download=1 "...2017-10-07.png")
- [ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieBestelling2.png](/forum/attachment/40767) ](/forum/attachment/40767 "...estelling2.png") [ ](/forum/attachment/40767?download=1 "...estelling2.png")
- [ ![PuptrainingspecialistHondentraininghondentrainerDickStaalAdministratieTarieven&#95;2017-10-07.png](/forum/attachment/40768) ](/forum/attachment/40768 "...2017-10-07.png") [ ](/forum/attachment/40768?download=1 "...2017-10-07.png")

Last edit: 9 years 1 month ago by [renem](/forum/user/47055-renem "View renem's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MjIyMi1zb2x2ZWQtdGF4LW9uLW9yZGVyLWlzLWRpZmZlcmVudC1mcm9tLXRheC1yYXRlcz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86574
- Thank you received: 14318
-
-

9 years 1 month ago [\#280103](#280103) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#280103 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi,

It would have been great if you had also provided the details of the products in the order details page and a screenshot of the product edition page like I requested...
Because I have only parcelar information, so I can't be sure of what's going on.
However, I think I understand.
Try changing the line:
$tax_amount = $taxes_info-&gt;tax_amount + @$taxes_info-&gt;tax_amount_for_shipping + @$taxes_info-&gt;tax_amount_for_payment - @$taxes_info-&gt;tax_amount_for_coupon;
to:
$tax_amount = $taxes_info-&gt;tax_amount;
in the file administrator/components/com_hikashop/views/tax/view.html.php and that should help.
From what I understand, tax_amount already contains the total of the different tax amounts for the current tax rate and thus there is no need to add the shipping/payment/coupon amounts to it.
That seems to coroborate with your screenshots where 1.35 is equal to 1.18 + 0.17, meaning that the shipping taxes are added twice instead of only once.
Please let us know how that goes so that we can apply the fix for the next version.

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

- **[renem](/forum/user/47055-renem "View renem's Profile")**
- [![renem's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar47055.jpg)](/forum/user/47055-renem "View renem's Profile") Topic Author
- [ Offline](/forum/user/47055-renem)

Less More

- Posts: 198
- Thank you received: 7
-
-
- [](http://www.muldermedia.nl)
-

9 years 1 month ago [\#280152](#280152) by [renem](/forum/user/47055-renem "View renem's Profile")  Replied by *[renem](/forum/user/47055-renem "View renem's Profile")* on topic *[Tax on order is different from tax rates](/forum/25-install-update/892222-solved-tax-on-order-is-different-from-tax-rates#280152 "-- HikaShop version -- : 3.2.0  Hi,  Please see the screenshots:  How come?  Kind regards René")*

Hi Nicolas,

Yes now the tax is displaying correct!

Thanks as always great support, Regards René

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MjIyMi1zb2x2ZWQtdGF4LW9uLW9yZGVyLWlzLWRpZmZlcmVudC1mcm9tLXRheC1yYXRlcz90bXBsPW1hcmtkb3du) 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.095 seconds

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