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

#   Variable VAT calculation required in shipping costs

##

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

Less More

- Posts: 40
- Thank you received: 0
-
-

9 years 10 months ago -  9 years 10 months ago [\#257116](#257116) by [W13ear](/forum/user/46011-w13ear "View W13ear's Profile")  *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#257116 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")* was created by *[W13ear](/forum/user/46011-w13ear "View W13ear's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Firefox latest version
-- Error-message(debug-mod must be tuned on) -- : None

Hi,

In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped.
Thus products with 6% VAT results in shippingcosts with 6% VAT.
And products with 21% VAT results in shippingcosts with 21% VAT.
Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included.
So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.

In this case the VAT shippingcosts are 10/60*6/106*6 + 50/60*21/121*6
In words:
VAT Shippingcosts =
TotalAmountProducts6% / TotalAmountProducts * VAT6% / (TotalAmountProducts6%+VAT6%) * Shippingcosts +
TotalAmountProducts21% / TotalAmountProducts * VAT21% / (TotalAmountProducts21%+VAT21%) * Shippingcosts

Is this feature somewhere in HikaShop available?
If not is it possible to add this as a new feature in the near future?

Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount.
How and where can I change this in HikaShop?

Thanks in advance ![:)](/media/kunena/emoticons/8.png ":)")

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzgzMi12YXJpYWJsZS12YXQtY2FsY3VsYXRpb24tcmVxdWlyZWQtaW4tc2hpcHBpbmctY29zdHM/dG1wbD1tYXJrZG93bg==) 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: 86286
- Thank you received: 14263
-
-

9 years 10 months ago [\#257120](#257120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#257120 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hi,

1. When you edit a shipping method in HikaShop you can see the "tax category" setting which allows you to select the tax category to be used for the shipping method fees. So as you can see, it can't dynamically use the tax category of the products.
What you can do to circumvent that is to create two warehouses, one for each tax rate and assign the warehouses to the products based on their tax category.
Then, create two shipping methods, one for each warehouse and select the corresponding tax category in each one.
That way, on the checkout, the products will be grouped per warehouse and the shipping methods corresponding to each group will use the same tax category as the products of that group for the shipping fee.
And the total shipping fee will be the sum of the shipping methods selected for each group.

2. You can use the minimum/maximum price restrictions of your shipping methods in order to display/remove them from the checkout.
Note however that if you have different groups of products, like explained on point 1, then the shipping methods restrictions will be based on the total of their group, not the total of the order.

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

9 years 10 months ago [\#257213](#257213) by [W13ear](/forum/user/46011-w13ear "View W13ear's Profile")  Replied by *[W13ear](/forum/user/46011-w13ear "View W13ear's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#257213 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hi Nicolas,

1. Not the solution for my situation. When ordering from two warehouses the shipping costs would be twice as much.
And it is still not as the taxrules demand it.

2. I tried this but it didnt seem to work. Maybe I have something misinterpret during installation and finetuning.
I will look into it once more and come back to you if the problem still appears.

Thanks so far!

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 10 months ago -  9 years 10 months ago [\#257219](#257219) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#257219 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hello,

We needs maybe more details, because in our mind of course you will have for example,
**Cart content :**
- 1 product **with** 6% VAT + **shipping cost with 6% VAT**
AND
- 1 product **with** 21% VAT + **shipping cost with 21% VAT**
And so, you will have a "**2 steps**" shipping cost, and so I'm quite surprised by "*the shipping costs would be twice as much*", maybe there is something we don't understand.

Awaiting news from you.

Regards

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

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

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

Less More

- Posts: 1
- Thank you received: 0
-
-

9 years 7 months ago [\#264908](#264908) by [janv01](/forum/user/48681-janv01 "View janv01's Profile")  Replied by *[janv01](/forum/user/48681-janv01 "View janv01's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#264908 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hello,

I am having the same issue as W13ear. When using two warehouses, shipping is indeed calculated twice. What Hikashop should need is a more complex tax formula, instead of just adding a tax-rate to shipping.
Would this be possible?
Alternatively I could remove the tax (subtotal) line in cart.php, but most customers like to have an order with tax amount.

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzgzMi12YXJpYWJsZS12YXQtY2FsY3VsYXRpb24tcmVxdWlyZWQtaW4tc2hpcHBpbmctY29zdHM/dG1wbD1tYXJrZG93bg==) 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: 86286
- Thank you received: 14263
-
-

9 years 7 months ago [\#265109](#265109) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#265109 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hi,

It sure is possible to have more complex formulas to calculate your shipping fees with HikaShop. Just implement your own shipping plugin and you'll be able to have formulas as complex as you want. We have some documentation for developers available here:
[ www.hikashop.com/support/documentation/6...r-documentation.html](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html)
And you can use the shipping plugins already in HikaShop as examples.

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

9 years 7 months ago [\#265113](#265113) by [W13ear](/forum/user/46011-w13ear "View W13ear's Profile")  Replied by *[W13ear](/forum/user/46011-w13ear "View W13ear's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#265113 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hi Nicolas,

Thank you for sharing this information.
I had a quick look at it and I am not sure wether I fully understand.
But I will try some stuff next coming days to see if I get the picture.
I might be back with some questions which I will place in this topic so others may find this usefull too.

First question I have already is: What plugin places the current shipping costs in the checkout?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzgzMi12YXJpYWJsZS12YXQtY2FsY3VsYXRpb24tcmVxdWlyZWQtaW4tc2hpcHBpbmctY29zdHM/dG1wbD1tYXJrZG93bg==) 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: 86286
- Thank you received: 14263
-
-

9 years 7 months ago -  9 years 7 months ago [\#265117](#265117) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#265117 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hi,

Each plugin (in the folder plugins/hikashopshipping/) places himself its shipping costs in the checkout.
Note that the plugins extend for the shipping helper class in the file administrator/components/com_hikashop/helpers/helper.php which contains many functions that do the grunt work.

Last edit: 9 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg4NzgzMi12YXJpYWJsZS12YXQtY2FsY3VsYXRpb24tcmVxdWlyZWQtaW4tc2hpcHBpbmctY29zdHM/dG1wbD1tYXJrZG93bg==) 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: 86286
- Thank you received: 14263
-
-

6 years 5 months ago [\#318110](#318110) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variable VAT calculation required in shipping costs](/forum/40-taxes/887832-variable-vat-calculation-required-in-shipping-costs#318110 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox latest version -- Error-message(debug-mod must be tuned on) -- : None  Hi,  In Holland tax-rules imply that shippingcosts should get the same VAT as the products being shipped. Thus products with 6% VAT results in shippingcosts with 6% VAT. And products with 21% VAT results in shippingcosts with 21% VAT. Besides these two: a combination of goods with both 6% and 21% VAT MUST have the same percentage of VAT included. So if the following products are shipped: 1 piece € 10,- 6% VAT excluded and 1 piece € 50,- 21% VAT excluded and shippingcosts are € 6,- VAT included, then the VAT-value of the shippingcosts MUST be calculated relatively over the two products.  In this case the VAT shippingcosts are 10/60&#42;6/106&#42;6 + 50/60&#42;21/121&#42;6 In words: VAT Shippingcosts = TotalAmountProducts6% / TotalAmountProducts &#42; VAT6% / (TotalAmountProducts6%+VAT6%) &#42; Shippingcosts + TotalAmountProducts21% / TotalAmountProducts &#42; VAT21% / (TotalAmountProducts21%+VAT21%) &#42; Shippingcosts  Is this feature somewhere in HikaShop available? If not is it possible to add this as a new feature in the near future?  Besides this i have another question: Shippingcosts should not be charged when the total amount of products is above a certain amount. How and where can I change this in HikaShop?  Thanks in advance :)")*

Hi,

In case you missed it, of if others found this thread in the future, please note that since several versions of HikaShop, there is a setting "Automatic taxes" in shipping methods where you can select "proportion".
In that case, the taxes calculated for the shipping method will be a proportion of each tax rate based on the proportion of each product total amount in the cart. So this will satisfy your need easily.

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

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

[](#top)
