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

#   Add Vat number to invoices

##

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

1 year 8 months ago [\#365644](#365644) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365644 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 5.1.3
-- Joomla version -- : 5.1.2

Hi!

I want the Vat number custom field, which is a required field, to be added in the invoices.
How do i do that?

Thank you

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

1 year 8 months ago [\#365645](#365645) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365645 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi,

Go in the HikaShop configuration, and under the "Checkout" tab, add the corresponding tag in the "Address format" setting:
[ www.hikashop.com/support/documentation/5...ml#checkout\_shipping](https://www.hikashop.com/support/documentation/54-hikashop-config.html#checkout_shipping)
For the default VAT number field of HikaShop, it's the tag {address_vat} that you want to add there.

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

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

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

1 year 8 months ago [\#365666](#365666) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365666 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi,

I added the tag {address_vat} in the Address format, now i see it at the checkout but still not in the invoice.

Thank you

- [ ![invoice.jpg](/forum/attachment/60242) ](/forum/attachment/60242 "invoice.jpg") [ ](/forum/attachment/60242?download=1 "invoice.jpg")
- [ ![Addressformat.jpg](/forum/attachment/60243) ](/forum/attachment/60243 "Addressformat.jpg") [ ](/forum/attachment/60243?download=1 "Addressformat.jpg")

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

1 year 8 months ago [\#365667](#365667) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365667 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi,

Note that it will only be added to the invoice if the address in the order has the VAT number.
Also, the address format is saved as a view override of address / address_template on the frontend and order / address_template in the backend. So, if you don't see the change in the backend, it could be that the override could not be added for your template in the backend. You can always manually copy the file templates/YOUR_TEMPLATE/html/address/address_template.php to administrator/YOUR_BACKEND_TEMPLATE/html/order/address_template.php via FTP and it will be taken into account.

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

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

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

1 year 8 months ago [\#365673](#365673) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365673 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi nicolas,

The VAT number is a required field so it is always filed at every order.
I checked the overrides and the views as you said and the address_template.php has the same content both in administrator folder and my template frontend folder. So i am kinda confused here. Isn't there an easier way to do this?
May i send you credentials to see it yourself?

Thank you again!

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

1 year 8 months ago [\#365675](#365675) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365675 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi,

I suppose it works then.
It must be your browser which cached the old version of the invoice popup and is redisplaying it to you without contacting the server again.
Try with another browser and you should not have the issue, confirming that the change has been taken into account. You can then clear your browser's cache.

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

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

1 year 8 months ago [\#365682](#365682) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365682 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi!

I tried from Firefox still nothing. I cleaned cache etc.

This is the order backend override code (administrator/templates/atum/html/com_hikashop/order/address_template.php)
Code:

&lt;?php defined('_JEXEC') or die('Restricted access'); ?&gt; {address_company} {address_title} {address_firstname} {address_lastname} {address_street} {address_post_code} {address_city} {address_state} {address_country} {address_vat} &lt;?php if(!empty($this-&gt;address-&gt;address_telephone)) echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?&gt;

and this is the address frontend override code (templates/yootheme/html/com_hikashop/address/address_template.php)
Code:

&lt;?php defined('_JEXEC') or die('Restricted access'); ?&gt; {address_company} {address_title} {address_firstname} {address_lastname} {address_street} {address_post_code} {address_city} {address_state} {address_country} {address_vat} &lt;?php if(!empty($this-&gt;address-&gt;address_telephone)) echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?&gt;

Is it correct?

Thank you!

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

1 year 8 months ago [\#365685](#365685) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365685 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi,

If you're using the template atum in the backend, then yes.
Otherwise, you need to look at the override file for the corresponding template.

If that doesn't help, please provide a backend access via our contact form so that we can check the situation.

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

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

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

Less More

- Posts: 1189
- Thank you received: 13
-
-

1 year 8 months ago [\#365688](#365688) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365688 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

It is the atum template yes.
I sent you access and FTP.

Thank you!

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

1 year 8 months ago [\#365689](#365689) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Vat number to invoices](/forum/35-orders-management/909132-add-vat-number-to-invoices#365689 "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 5.1.2  Hi!  I want the Vat number custom field, which is a required field, to be added in the invoices. How do i do that?  Thank you")*

Hi,

Thanks. The issue is that you had only activated the frontend and the backend listing display settings of the custom field but not the backend form display setting. And the system bases itself on this display setting to load the data of the field for each address in the invoice. That's why you didn't see it in the backend invoice area.
I've activated the display setting of the custom field for you and now it displays in the invoice.

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

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

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

[](#top)
