Jump to content

EU VAT Addon modifying VAT Label & VAT rate


mdeinhardt

Recommended Posts

if you look in the lang folder of the addon (/modules/addons/eu_vat/lang), there are two language files - English and Spanish - in either (or both depending on whether the other language is an option on your site), change the entries below by editing the text in the double quotes...

 

english.php

 

$_ADDONLANG['vatlabel'] = "VAT Label";
$_ADDONLANG['vatrate'] = "VAT Rate";

 

spanish.php

 

$_ADDONLANG['vatlabel'] = "Etiqueta Impuestos";
$_ADDONLANG['vatrate'] = "Tasa Impuestos";

btw - I think with the latest versions of WHMCS, it comes with the installation - so there might have been no need to download it separately.

Link to comment
Share on other sites

  • 2 weeks later...

Thanks Brian for taking the time to answer. My problem is not with the text itself (i.e with the translation) but with the function.

 

The "Automatic VAT Tax Rules Setup" is the last setting in the addon's settings and should be adpated to the local VAT (in our case 19%). But the VAT rate is pre-filled with 20% and I can't change it, it always reverts back to 20% when trying to save the changes.

Link to comment
Share on other sites

I think the fields are automatically filled with that value by the php code, not by any currently used setting. Unfortunately the code is encrypted so I can't verify.

 

This however is just an option to use single time during install. By using these fields you can "mass-adjust" the Tax rules under "Setup" > "Payments" > "Tax rules".

 

In my case, I use English and Dutch language. Dutch for NL country and English for all other countries. In Dutch VAT is called "BTW" and should be presented on the invoice with that exact label (even if the rest is in English). Also I have to charge 21% in my country.

So I use the form on the EU VAT addon to set the label name to "BTW" with "21%" (after which the page reloads with VAT and 20% ;)

Now all countries have 21% and have the label BTW.

 

If you would like a different label or percentage for some countries, adjust them on the Tax rule page.

Link to comment
Share on other sites

So you are saying it is working, but the form doesn't reflect the saved settings? Need to check that, that would be crazy...

 

Thanks

 

- - - Updated - - -

 

You are right and I'll be damned. WTF, who in their right mind would program a form like this?

 

Anyway, you helped my lot, thanks a million.

Link to comment
Share on other sites

  • 1 year later...

As far as I remember the EU VAT Addon doesn't allow you to define different names for the VAT. The only way to solve this issue is to manually edit records on phpMyAdmin. Of course once done you can't use the form to do any change or it will reset everything.

 

Alternatively there are modules that allow you to define country specific names for VAT so that you can have IVA for Italy, BTW for Belgium, ДДС Bulgaria, ΦΠΑ Cyprus, moms Denmark, 增值稅 Taiwan etc. Yep, I know the values of the entire world ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated