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

#   Shipping tax based on shipping address and not on billing address

##

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

Less More

- Posts: 78
- Thank you received: 6
-
-

2 years 1 month ago [\#363236](#363236) by [nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")  *[Shipping tax based on shipping address and not on billing address](/forum/28-shipping-methods/908622-shipping-tax-based-on-shipping-address-and-not-on-billing-address#363236 "-- url of the page with the problem -- :   www.shangshungpublications.com/  -- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : All  Hi, I've got a serious issue on billing. In hikashop configuration I've setted the value of the field &quot;Type of address used for tax&quot; to &quot;Billing address&quot; but, in the cart, Hikashop applies the tax of the shipping address on the shipping price. Why?")* was created by *[nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")*

-- url of the page with the problem -- : [ www.shangshungpublications.com/](https://www.shangshungpublications.com/)
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2
-- Browser(s) name and version -- : All

Hi,
**I've got a serious issue on billing.** In hikashop configuration I've setted the value of the field "Type of address used for tax" to "Billing address" but, in the cart, Hikashop applies the tax of the shipping address on the shipping price. Why?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA4NjIyLXNoaXBwaW5nLXRheC1iYXNlZC1vbi1zaGlwcGluZy1hZGRyZXNzLWFuZC1ub3Qtb24tYmlsbGluZy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

2 years 1 month ago [\#363239](#363239) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping tax based on shipping address and not on billing address](/forum/28-shipping-methods/908622-shipping-tax-based-on-shipping-address-and-not-on-billing-address#363239 "-- url of the page with the problem -- :   www.shangshungpublications.com/  -- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : All  Hi, I've got a serious issue on billing. In hikashop configuration I've setted the value of the field &quot;Type of address used for tax&quot; to &quot;Billing address&quot; but, in the cart, Hikashop applies the tax of the shipping address on the shipping price. Why?")*

Hi,

That's a good point. I looked at the history of the changes around this and as far as I can go back, it has always been like that for no particular reason.
I think this could be changed by changing the line: Code:

$cart-&gt;package['zone'] = $zone_id;

to: Code:

$cart-&gt;package['zone'] = $tax_zone_id;

and the line: Code:

$currencyClass-&gt;processShippings($cart-&gt;usable_methods-&gt;shipping, $cart, $zone_id);

to: Code:

$currencyClass-&gt;processShippings($cart-&gt;usable_methods-&gt;shipping, $cart, $tax_zone_id);

in the file administrator/components/com_hikashop/classes/cart.php
Can you confirm that this solves the problem for you ?

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

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

Less More

- Posts: 78
- Thank you received: 6
-
-

2 years 1 month ago -  2 years 1 month ago [\#363260](#363260) by [nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")  Replied by *[nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")* on topic *[Shipping tax based on shipping address and not on billing address](/forum/28-shipping-methods/908622-shipping-tax-based-on-shipping-address-and-not-on-billing-address#363260 "-- url of the page with the problem -- :   www.shangshungpublications.com/  -- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : All  Hi, I've got a serious issue on billing. In hikashop configuration I've setted the value of the field &quot;Type of address used for tax&quot; to &quot;Billing address&quot; but, in the cart, Hikashop applies the tax of the shipping address on the shipping price. Why?")*

Hi,
now it works perfectly
Thank you

Last edit: 2 years 1 month ago by [nico1979](/forum/user/31330-nico1979 "View nico1979's Profile").

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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