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

#   Invalid VAT number for individuals, what can I do?

##

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

Less More

- Posts: 79
- Thank you received: 3
-
-

10 years 7 months ago -  10 years 7 months ago [\#234657](#234657) by [pljuarez](/forum/user/34788-pljuarez "View pljuarez's Profile")  Replied by *[pljuarez](/forum/user/34788-pljuarez "View pljuarez's Profile")* on topic *[\[solved\] Invalid VAT number for individuals](/forum/27-checkout/875355-invalid-vat-number-for-individuals-what-can-i-do?start=20#234657 "-- HikaShop version -- : Business: 2.3.5 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3  Hello, I have select &quot;online Vat number check&quot; in Configuration-&gt;Taxes-&gt;VAT number check, and when I edit a &quot;Company&quot; Address with a Valid Company vat number works correctly, but when I edit a &quot;Individual&quot; address with a valid document number, I obtain an &quot;Invalid VAT number&quot; error.  I need this information for booth, individuals and Companies  Should I configure VAT number field in a special manner?  Regards")*

Thank you for your advice, it has really helped me because I could see the error in my code.
In switch statement I was comparing text option instead the numeric value of each option.
I fix it and it works again.

Thanks for your support
Regards.

Last edit: 10 years 7 months ago by [pljuarez](/forum/user/34788-pljuarez "View pljuarez's Profile").

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

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