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

#   two sort of TAX rates names with 0% show on PDF attached Invoice

##

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 7 months ago -  9 years 7 months ago [\#266502](#266502) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[two sort of TAX rates names with 0% show on PDF attached Invoice](/forum/30-integrations/889651-two-sort-of-tax-rates-names-with-0-show-on-pdf-attached-invoice#266502 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0  Hi Hikashop Team,  I have also replied on a topic with this same issue but only for the e-mails from Hikashop But this issue became very long and I want to separate the two questions. So this topic is only for the attached PDF invoice.  See:   www.hikashop.com/support/forum/taxes/871...ro-vat.html?start=20  So as shown below I have the same question.  I want to have the name of the tax rate shown instead of 'taxes'. I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.  If I do what Nicolas described I get this error:  I hope you can help me with this issue. Since this is mandatory in the Netherlands and Belgium and maybe more EU countries to indicate special text on the invoice to explain that the 0%TAX ar based on Intra-Community Delivery VAT inside the EU or export VAT if it is for customers outside the EU.  This is what I changed in the code, but as I wrote this give a error.  And here some extra configuration information if you need it:")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0

Hi Hikashop Team,

I have also replied on a topic with this same issue but only for the e-mails from Hikashop
But this issue became very long and I want to separate the two questions.
So this topic is only for the attached PDF invoice.

See: [ www.hikashop.com/support/forum/taxes/871...ro-vat.html?start=20](https://www.hikashop.com/support/forum/taxes/871674-display-zero-vat.html?start=20)

So as shown below I have the same question.

[ ![42.jpg](/forum/attachment/37395) ](/forum/attachment/37395 "42.jpg")

I want to have the name of the tax rate shown instead of 'taxes'.
I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.

[ ![43.jpg](/forum/attachment/37399) ](/forum/attachment/37399 "43.jpg")

If I do what Nicolas described I get this error:

[ ![41.jpg](/forum/attachment/37396) ](/forum/attachment/37396 "41.jpg")

I hope you can help me with this issue. Since this is mandatory in the Netherlands and Belgium and maybe more EU countries to indicate special text on the invoice to explain that the 0%TAX ar based on Intra-Community Delivery VAT inside the EU or export VAT if it is for customers outside the EU.

This is what I changed in the code, but as I wrote this give a error.

[ ![40.jpg](/forum/attachment/37397) ](/forum/attachment/37397 "40.jpg")

And here some extra configuration information if you need it:

[ ![45.jpg](/forum/attachment/37400) ](/forum/attachment/37400 "45.jpg")

---

Kind regards,
Lumiga

- [ ![42.jpg](/forum/attachment/37395) ](/forum/attachment/37395 "42.jpg") [ ](/forum/attachment/37395?download=1 "42.jpg")
- [ ![41.jpg](/forum/attachment/37396) ](/forum/attachment/37396 "41.jpg") [ ](/forum/attachment/37396?download=1 "41.jpg")
- [ ![40.jpg](/forum/attachment/37397) ](/forum/attachment/37397 "40.jpg") [ ](/forum/attachment/37397?download=1 "40.jpg")
- [ ![43.jpg](/forum/attachment/37399) ](/forum/attachment/37399 "43.jpg") [ ](/forum/attachment/37399?download=1 "43.jpg")
- [ ![45.jpg](/forum/attachment/37400) ](/forum/attachment/37400 "45.jpg") [ ](/forum/attachment/37400?download=1 "45.jpg")

Last edit: 9 years 7 months ago by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile"). Reason: Extra information

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#266518](#266518) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[two sort of TAX rates names with 0% show on PDF attached Invoice](/forum/30-integrations/889651-two-sort-of-tax-rates-names-with-0-show-on-pdf-attached-invoice#266518 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0  Hi Hikashop Team,  I have also replied on a topic with this same issue but only for the e-mails from Hikashop But this issue became very long and I want to separate the two questions. So this topic is only for the attached PDF invoice.  See:   www.hikashop.com/support/forum/taxes/871...ro-vat.html?start=20  So as shown below I have the same question.  I want to have the name of the tax rate shown instead of 'taxes'. I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.  If I do what Nicolas described I get this error:  I hope you can help me with this issue. Since this is mandatory in the Netherlands and Belgium and maybe more EU countries to indicate special text on the invoice to explain that the 0%TAX ar based on Intra-Community Delivery VAT inside the EU or export VAT if it is for customers outside the EU.  This is what I changed in the code, but as I wrote this give a error.  And here some extra configuration information if you need it:")*

Hello,

Yes, the PHP code in your PDF invoice view is incorrect.
And regarding the Nicolas' message, it looks like he copy/paste a part of the code without removing some extra elements.

Please remove the extra Code:

}

just before the content you pasted.
And please add an extra Code:

&lt;?php

After the code you pasted.

I also have to quote an element from the Nicolas' original post:

> For further customization of the views of HikaShop, please hire a developer if you're not one yourself. Otherwise, you can use this documentation as reference for how to modify the views of HikaShop:

Thank you for your understanding.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 7 months ago -  9 years 7 months ago [\#266618](#266618) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  Replied by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")* on topic *[two sort of TAX rates names with 0% show on PDF attached Invoice](/forum/30-integrations/889651-two-sort-of-tax-rates-names-with-0-show-on-pdf-attached-invoice#266618 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0  Hi Hikashop Team,  I have also replied on a topic with this same issue but only for the e-mails from Hikashop But this issue became very long and I want to separate the two questions. So this topic is only for the attached PDF invoice.  See:   www.hikashop.com/support/forum/taxes/871...ro-vat.html?start=20  So as shown below I have the same question.  I want to have the name of the tax rate shown instead of 'taxes'. I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.  If I do what Nicolas described I get this error:  I hope you can help me with this issue. Since this is mandatory in the Netherlands and Belgium and maybe more EU countries to indicate special text on the invoice to explain that the 0%TAX ar based on Intra-Community Delivery VAT inside the EU or export VAT if it is for customers outside the EU.  This is what I changed in the code, but as I wrote this give a error.  And here some extra configuration information if you need it:")*

Hi Jerome,

Thanks, I only had to add the &lt;?php after the code

So it's working now. See screenshot:

[ ![50.jpg](/forum/attachment/37418) ](/forum/attachment/37418 "50.jpg")

But I want to have the name of the tax rate shown instead of 'taxes'.
I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.

Nicolas provide this code to show the right tax namekey on the invoice but I don't see one of them.
As you can see the code looks like this now (file: plugins/hikashop/attachinvoice/attachinvoice/invoice.php)

[ ![51.jpg](/forum/attachment/37420) ](/forum/attachment/37420 "51.jpg")

---

Kind regards,
Lumiga

- [ ![50.jpg](/forum/attachment/37418) ](/forum/attachment/37418 "50.jpg") [ ](/forum/attachment/37418?download=1 "50.jpg")
- [ ![43&#95;2017-04-04.jpg](/forum/attachment/37419) ](/forum/attachment/37419 "43&#95;2017-04-04.jpg") [ ](/forum/attachment/37419?download=1 "43&#95;2017-04-04.jpg")
- [ ![51.jpg](/forum/attachment/37420) ](/forum/attachment/37420 "51.jpg") [ ](/forum/attachment/37420?download=1 "51.jpg")

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

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#266621](#266621) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[two sort of TAX rates names with 0% show on PDF attached Invoice](/forum/30-integrations/889651-two-sort-of-tax-rates-names-with-0-show-on-pdf-attached-invoice#266621 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0  Hi Hikashop Team,  I have also replied on a topic with this same issue but only for the e-mails from Hikashop But this issue became very long and I want to separate the two questions. So this topic is only for the attached PDF invoice.  See:   www.hikashop.com/support/forum/taxes/871...ro-vat.html?start=20  So as shown below I have the same question.  I want to have the name of the tax rate shown instead of 'taxes'. I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.  If I do what Nicolas described I get this error:  I hope you can help me with this issue. Since this is mandatory in the Netherlands and Belgium and maybe more EU countries to indicate special text on the invoice to explain that the 0%TAX ar based on Intra-Community Delivery VAT inside the EU or export VAT if it is for customers outside the EU.  This is what I changed in the code, but as I wrote this give a error.  And here some extra configuration information if you need it:")*

Hello,

If you take a look at the code just above, you will see what you'll need.
Now you can see to just change the condition of the if to always process the code within.

But please understand that your request is going outside the limit of our support.
As mentioned by Nicolas and as I quote previously:

> **For further customization of the views of HikaShop, please hire a developer if you're not one yourself.**

Thank you for your understanding.

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 645
- Thank you received: 26
-
-
-

9 years 7 months ago -  9 years 7 months ago [\#266956](#266956) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  Replied by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")* on topic *[two sort of TAX rates names with 0% show on PDF attached Invoice](/forum/30-integrations/889651-two-sort-of-tax-rates-names-with-0-show-on-pdf-attached-invoice#266956 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0  Hi Hikashop Team,  I have also replied on a topic with this same issue but only for the e-mails from Hikashop But this issue became very long and I want to separate the two questions. So this topic is only for the attached PDF invoice.  See:   www.hikashop.com/support/forum/taxes/871...ro-vat.html?start=20  So as shown below I have the same question.  I want to have the name of the tax rate shown instead of 'taxes'. I have two tax rates with different names (for EU- and non EU-Customers) both set to 0%.  If I do what Nicolas described I get this error:  I hope you can help me with this issue. Since this is mandatory in the Netherlands and Belgium and maybe more EU countries to indicate special text on the invoice to explain that the 0%TAX ar based on Intra-Community Delivery VAT inside the EU or export VAT if it is for customers outside the EU.  This is what I changed in the code, but as I wrote this give a error.  And here some extra configuration information if you need it:")*

Hi Jerome,

Sorry but I did make a mistake in the configuration of Hikashop.
So the solution is to changing this code from: file: plugins/hikashop/attachinvoice/attachinvoice/invoice.php
Code:

if($taxes &gt; 0){

to
Code:

if($taxes &gt;= 0){

Now I have a PDF invoice with the right Tax Namekey when it is VAT 0%.

For outside the EU I changed the language override file to "Export - VAT 0%"

So everything is working fine now.

Kind regards,
Lumiga

---

Kind regards,
Lumiga

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

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

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