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

#   VAT only applied to addresses with company name

##

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

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 7 months ago [\#199305](#199305) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[VAT only applied to addresses with company name](/forum/27-checkout/876502-vat-only-applied-to-addresses-with-company-name#199305 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any  Hi,  We have noticed that if a customer has two addresses in their address book, one with company name and another without the company name VAT is only applied if the customer selects the address with the company name?  VAT rules should be applied regardless of company name?  Many thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3
-- Browser(s) name and version -- : any

Hi,

We have noticed that if a customer has two addresses in their address book, one with company name and another without the company name VAT is only applied if the customer selects the address with the company name?

VAT rules should be applied regardless of company name?

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjUwMi12YXQtb25seS1hcHBsaWVkLXRvLWFkZHJlc3Nlcy13aXRoLWNvbXBhbnktbmFtZT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 7 months ago [\#199329](#199329) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT only applied to addresses with company name](/forum/27-checkout/876502-vat-only-applied-to-addresses-with-company-name#199329 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any  Hi,  We have noticed that if a customer has two addresses in their address book, one with company name and another without the company name VAT is only applied if the customer selects the address with the company name?  VAT rules should be applied regardless of company name?  Many thanks.")*

Hi,

VAT is applied based on the address selected for the billing or shipping of the order based on how the "Type of address used for tax" option of the HikaShop configuration is configured.
A user account is a virtual identity and can be used both by a company and an individual for purchased for the company and for the individual. So other addresses not selected for the current order should not be used for the calculation of the tax of the current order.

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

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

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 7 months ago [\#199429](#199429) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[VAT only applied to addresses with company name](/forum/27-checkout/876502-vat-only-applied-to-addresses-with-company-name#199429 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any  Hi,  We have noticed that if a customer has two addresses in their address book, one with company name and another without the company name VAT is only applied if the customer selects the address with the company name?  VAT rules should be applied regardless of company name?  Many thanks.")*

Hi,
Thanks for your reply.

"Type of address used for tax" simple specifies if the billing address or the shipping address is used for TAX purposes, it does not determain if VAT should be charged if the "Company" name field is filled on not. It doesn't matter wich setting "Type of address used for tax" is on the issue still occurs.

I understand that both individual and company accounts are very similar, however, would it not be better to have a drop down "Individual or Company" rather than expecting companies to fill out their company name?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjUwMi12YXQtb25seS1hcHBsaWVkLXRvLWFkZHJlc3Nlcy13aXRoLWNvbXBhbnktbmFtZT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 7 months ago [\#199440](#199440) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[VAT only applied to addresses with company name](/forum/27-checkout/876502-vat-only-applied-to-addresses-with-company-name#199440 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any  Hi,  We have noticed that if a customer has two addresses in their address book, one with company name and another without the company name VAT is only applied if the customer selects the address with the company name?  VAT rules should be applied regardless of company name?  Many thanks.")*

Hi,

You're talking about an "issue that still occurs", but I don't see any issue.
Yes, the client type is based on the address_company field. But that's something different than choosing to base the system on the shipping or billing address. I don't see the issue ?

If you want a dropdown then that's not a problem. Just edit the field via the menu Display&gt;Custom fields and change its type to a dropdown with one value without its "value" field filled and another one with its "value" field filled and it will be used the same by the system but you'll have a yes/no choice for the customer.
You can even create a new field and limit it to the yes choice of the address_company field so that the customers could enter their company name in that field which would appear when they select they are a company.
Then, you would edit the "address_template" view files for both the frontend and backend and replace the address_company tag with the tag of your new field for the company name and you'll have a complete solution to what you want to do.

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

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

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

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 7 months ago [\#199586](#199586) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[VAT only applied to addresses with company name](/forum/27-checkout/876502-vat-only-applied-to-addresses-with-company-name#199586 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3 -- Browser(s) name and version -- : any  Hi,  We have noticed that if a customer has two addresses in their address book, one with company name and another without the company name VAT is only applied if the customer selects the address with the company name?  VAT rules should be applied regardless of company name?  Many thanks.")*

Hi,

Sorry I think I may have miscommunicated about the original issue that I had. It was not to do with the shipping/billing address. Anyway, seems you have done a great job and answered the question anyway! Thanks ![:)](/media/kunena/emoticons/3.png ":)")

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

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