peppezic Posted June 19, 2024 Share Posted June 19, 2024 1 minute ago, Inform-All said: Yes, the latest version is now 2.1.2 (as in the first post) And i would indeed advice you to first uninstall and then reinstall the newest version. Perfect, do the settings will be migrated even if I uninstall and re-install the new version? Link to comment Share on other sites More sharing options...
Inform-All Posted June 19, 2024 Author Share Posted June 19, 2024 1 minute ago, peppezic said: Perfect, do the settings will be migrated even if I uninstall and re-install the new version? In the newest version you would have to select the 0% tax group. (most likely also create a 0% tax group) So i would advice you to check the settings either way. Link to comment Share on other sites More sharing options...
Sergei.dev Posted June 26, 2024 Share Posted June 26, 2024 Hi, This works with goods, but the shipping costs are still taxed? v2.1.2 Link to comment Share on other sites More sharing options...
Inform-All Posted June 26, 2024 Author Share Posted June 26, 2024 2 hours ago, Sergei.dev said: Hi, This works with goods, but the shipping costs are still taxed? v2.1.2 That is correct, currently we don't do anything with the shipping costs. It's a real big issue in Prestashop because if you have a order that contains a product with 6% and 21% tax, the shipping costs should officially be split into multiple lines and shared for each product. This is something that Prestashop can't support at the moment. Link to comment Share on other sites More sharing options...
Sergei.dev Posted June 27, 2024 Share Posted June 27, 2024 17 hours ago, Inform-All said: That is correct, currently we don't do anything with the shipping costs. It's a real big issue in Prestashop because if you have a order that contains a product with 6% and 21% tax, the shipping costs should officially be split into multiple lines and shared for each product. This is something that Prestashop can't support at the moment. Then the old version v2.0.1 suits me better. I decided to update because the old module stopped receiving responses. After a long download, the response “EU VIES server not responding” comes. This is the situation with two sites on the same hosting "Hostinger". Another site on another hosting works fine. Since initially everything worked and then stopped, we thought about blocking and contacted VIES support, where we received an answer that neither our IP nor our domains were on the blacklist. Link to comment Share on other sites More sharing options...
Sergei.dev Posted July 1, 2024 Share Posted July 1, 2024 Any ideas why I get the error EU VIES server not responding? Previously, everything worked properly and we are not blocked from the Vies side. Link to comment Share on other sites More sharing options...
Inform-All Posted July 1, 2024 Author Share Posted July 1, 2024 1 hour ago, Sergei.dev said: Any ideas why I get the error EU VIES server not responding? Previously, everything worked properly and we are not blocked from the Vies side. Could be a couple of things: Sometimes the VIES database is offline, and be aware this could be partially offline. Meaning it could be offline for checking the VAT number of only one specific country, while other countries are still available for checking. Your hosting could block outgoing calls to the VIES database. You and your customers made to many calls in a short period of time. Your SOAP PHP extension is not installed/active. Link to comment Share on other sites More sharing options...
Sergei.dev Posted July 2, 2024 Share Posted July 2, 2024 On 6/26/2024 at 4:36 PM, Inform-All said: That is correct, currently we don't do anything with the shipping costs. It's a real big issue in Prestashop because if you have a order that contains a product with 6% and 21% tax, the shipping costs should officially be split into multiple lines and shared for each product. This is something that Prestashop can't support at the moment. What if I don’t have tax division? I have one tax of 22% for everyone, and for those who have VAT in Europe it should be 0% for the entire cart and delivery. In the previous version it worked for you. Link to comment Share on other sites More sharing options...
peppezic Posted July 2, 2024 Share Posted July 2, 2024 On 6/26/2024 at 3:36 PM, Inform-All said: That is correct, currently we don't do anything with the shipping costs. It's a real big issue in Prestashop because if you have a order that contains a product with 6% and 21% tax, the shipping costs should officially be split into multiple lines and shared for each product. This is something that Prestashop can't support at the moment. I don't understand why on v2.0.4 (which I successfully run on my live env) the module could exclude VAT both on goods and shipping but with 2.1.2 doesn't. It's such a pity...the new 2.1.2 version is much better because it handles the customer default group and tax rule... Link to comment Share on other sites More sharing options...
Inform-All Posted July 3, 2024 Author Share Posted July 3, 2024 17 hours ago, peppezic said: I don't understand why on v2.0.4 (which I successfully run on my live env) the module could exclude VAT both on goods and shipping but with 2.1.2 doesn't. It's such a pity...the new 2.1.2 version is much better because it handles the customer default group and tax rule... You can still exclude VAT from shipping. You would just have to make a carrier that has 0% VAT. Link to comment Share on other sites More sharing options...
Sergei.dev Posted July 3, 2024 Share Posted July 3, 2024 On 6/19/2024 at 4:44 PM, peppezic said: Great to know. So latest version is 2.1.2 as in the first post? Last question: do we need to uninstall the old version (in my case 2.0.4) before installing the new one? I have v2.0.1, and in this version there is a bug with offline validation. After your message, I thought maybe this would be fixed in other versions. The developer has version 2.1.1 on Github. It works like my old version (in the new module I did not add a separate group) Try it, I think this is what we were looking for. The first test showed a positive result, I will check again. Let our know if it helps you. Link to comment Share on other sites More sharing options...
peppezic Posted July 3, 2024 Share Posted July 3, 2024 4 hours ago, Sergei.dev said: .. It works like my old version (in the new module I did not add a separate group) Try it, I think this is what we were looking for. The first test showed a positive result, I will check again. Let our know if it helps you. You mean the 2.1.1 version of the module keeps excluding the VAT from shipping if the customer is valid? Link to comment Share on other sites More sharing options...
Claudiocool Posted July 13, 2024 Share Posted July 13, 2024 (edited) Would it then not be possible to downgrade to 2.11? The tax on shipping, which is 0% anyway because the goods are also 0%, should be left as it is. Edit: Solved! there can be set the shipping fees to the same tax as the goods, this works fine! Furthermore, it would be good if the check is only made when you complete the address entry, if the country is further down, then everything except DE.... problems, because Germany is preset Edited July 15, 2024 by Claudiocool (see edit history) Link to comment Share on other sites More sharing options...
malo6 Posted July 19, 2024 Share Posted July 19, 2024 Hello, Is it possible to automatically update cart totals on checkout page after processing vies check? Link to comment Share on other sites More sharing options...
Inform-All Posted July 19, 2024 Author Share Posted July 19, 2024 1 minute ago, malo6 said: Hello, Is it possible to automatically update cart totals on checkout page after processing vies check? This updates the cart totals already. If not you should check your template if it blocking it somehow. (and of course make sure your VAT settings and number are valid) Link to comment Share on other sites More sharing options...
VitaliKo2021 Posted October 15, 2024 Share Posted October 15, 2024 Hello, Please help. After payment a call back to the site is made and after that an invoice is generated with all the taxes according to the selected country. The customer pays with VAT0 correctly, but prestashop generates an invoice with taxes. What could be the problem? Link to comment Share on other sites More sharing options...
Inform-All Posted October 15, 2024 Author Share Posted October 15, 2024 1 hour ago, VitaliKo2021 said: Hello, Please help. After payment a call back to the site is made and after that an invoice is generated with all the taxes according to the selected country. The customer pays with VAT0 correctly, but prestashop generates an invoice with taxes. What could be the problem? What module version are you using? You might need to manually override the pdf template. Link to comment Share on other sites More sharing options...
Bolsemack Posted November 20, 2024 Share Posted November 20, 2024 Hello! I’m not sure if this can be done with this module or not, but I have a question. I’ve tested it, and when I enter a VAT number that isn’t in VIES, I get an error, and it marks it as required (even though I have it set as optional). I’ve tried entering a VAT number from my own country (and from others) that isn’t in VIES, and it doesn’t allow me to complete the purchase. Wouldn’t it make more sense for it to simply apply the corresponding VAT if the number isn’t in VIES, notifying the user about it? Is this possible? Link to comment Share on other sites More sharing options...
Inform-All Posted November 20, 2024 Author Share Posted November 20, 2024 4 minutes ago, Bolsemack said: Hello! I’m not sure if this can be done with this module or not, but I have a question. I’ve tested it, and when I enter a VAT number that isn’t in VIES, I get an error, and it marks it as required (even though I have it set as optional). I’ve tried entering a VAT number from my own country (and from others) that isn’t in VIES, and it doesn’t allow me to complete the purchase. Wouldn’t it make more sense for it to simply apply the corresponding VAT if the number isn’t in VIES, notifying the user about it? Is this possible? Hi, In the module there is an option "Validation required" this only means that IF the customer fills in a vat number it NEEDS to be validated in the VIES database. If your customers VAT field can be completly empty is a Prestashop setting that you can set for each country separately (international > Locations > Countries). 1 Link to comment Share on other sites More sharing options...
Bolsemack Posted November 20, 2024 Share Posted November 20, 2024 16 minutes ago, Inform-All said: In the module there is an option "Validation required" Yes, I’ve seen the option in the screenshots, but it doesn’t show up for me... PS 1.7.8.8 Link to comment Share on other sites More sharing options...
trazze Posted December 17, 2024 Share Posted December 17, 2024 Hello, I try to setup VAT Checker plugin, with a VAT rule for country at 0% but my setup don't works... May someone help me? Link to comment Share on other sites More sharing options...
IgorB Posted December 23, 2024 Share Posted December 23, 2024 Hi, any chance to fix tax rule for shipping costs ? 0% VAT applies to products but not to shipping costs. Link to comment Share on other sites More sharing options...
Inform-All Posted December 27, 2024 Author Share Posted December 27, 2024 On 12/23/2024 at 1:44 PM, IgorB said: Hi, any chance to fix tax rule for shipping costs ? 0% VAT applies to products but not to shipping costs. Hi IgorB, Currently it's not an option in the module (yet) but in the near future it might be. I could advise you to make an shipper with 0% tax for the time being. Link to comment Share on other sites More sharing options...
Inform-All Posted December 27, 2024 Author Share Posted December 27, 2024 On 12/17/2024 at 12:46 PM, trazze said: Hello, I try to setup VAT Checker plugin, with a VAT rule for country at 0% but my setup don't works... May someone help me? Please elaborate, what is not working? I can't really help you if i don't know what is happening. Link to comment Share on other sites More sharing options...
Sand74500 Posted February 24 Share Posted February 24 Hello, On my local test shop, your module work perfectly (Prestashop 8.1.5) but on my production shop (8.2) it don't work. VAT number is validated, customer group is assigned, but products prices are still with VAT although I created a 0% tax rule. I wonder if it is because of the version of Prestashop, or if I may looking for a php setting. Link to comment Share on other sites More sharing options...
pbelmontealonso Posted February 25 Share Posted February 25 On 7/28/2022 at 3:39 PM, Inform-All said: This module is all you need for intra-Community supply orders. The module does the following: Automatically checks an VAT number for delivery address Checks if it's a valid VAT number on the official VIES database Gives 0% tax if a VAT is verified Properly adds the 0% tax on the invoice Allows you to disable 0% for specific products In the settings of the module you fill in your companies Origin Country. Because you can't ship with 0% tax in the same country your company is based. Every order is checked for their shipping address, NOT the invoice address. Since the VIES database has some reoccurring offline time, there is an option in how to handle this. Prestashop 1.7 & 8 Download: vatchecker.zip 73.83 kB · 132 downloads Got any ideas or updates? Feel free to commit on GIT. Latest minor version release: 2.1.2 Like my work? Consider donating here. I"I installed the module, but it doesn't seem to check anything. With my account set to my country, Spain, I changed the shipping address to Portugal, and it changed the tax to 0%. When I switch back to another address in Spain, it applies 21% again. Can you help me? Link to comment Share on other sites More sharing options...
Inform-All Posted February 26 Author Share Posted February 26 20 hours ago, pbelmontealonso said: I"I installed the module, but it doesn't seem to check anything. With my account set to my country, Spain, I changed the shipping address to Portugal, and it changed the tax to 0%. When I switch back to another address in Spain, it applies 21% again. Can you help me? This is correct according to the EU law, you can only have 0% tax when you actually ship it abroad. So this works as intended. Link to comment Share on other sites More sharing options...
Inform-All Posted February 26 Author Share Posted February 26 On 2/24/2025 at 4:33 PM, Sand74500 said: Hello, On my local test shop, your module work perfectly (Prestashop 8.1.5) but on my production shop (8.2) it don't work. VAT number is validated, customer group is assigned, but products prices are still with VAT although I created a 0% tax rule. I wonder if it is because of the version of Prestashop, or if I may looking for a php setting. Can you check with your hosting company if you are allowed to make external SOAP calls? And maybe check if your IP is not blacklisted for the VIES database. Link to comment Share on other sites More sharing options...
Sand74500 Posted February 26 Share Posted February 26 I'm not sure the VIES validation is the problem, because customers go to the assigned group I choose. VAT validation is ok, but the VAT is still charged on my production shop. On my local test shop (with a lot of restrictions and IP filter) it work as itended. The difference between the 2 shops is Prestashop version, and PHP / mysql version. So I wonder if this is not the Prestashop version the problem, 8.2 ? Link to comment Share on other sites More sharing options...
Sand74500 Posted February 27 Share Posted February 27 Solved, : it was the Prestashop cache. Thank you for your extension, and for your help. Link to comment Share on other sites More sharing options...
pbelmontealonso Posted February 27 Share Posted February 27 On 2/26/2025 at 1:59 PM, Inform-All said: This is correct according to the EU law, you can only have 0% tax when you actually ship it abroad. So this works as intended. This is correct if my VAT Number is ok in VIES page, but my VAT number is not validated in VIES, so if we change the address must not change mi VAT tax. That's the EU law, isn't it? Link to comment Share on other sites More sharing options...
Inform-All Posted February 28 Author Share Posted February 28 18 hours ago, pbelmontealonso said: This is correct if my VAT Number is ok in VIES page, but my VAT number is not validated in VIES, so if we change the address must not change mi VAT tax. That's the EU law, isn't it? The module checks every single time you select an (shipping) address if this address is allowed/valid for 0% tax. Simply because if you have a customer that has multiple addresses in multiple countries, you are not allowed to send with 0% tax if the currently selected shipping address is in the same country as you are shipping from. So this means even though a different shipping address is a valid 0% tax address, this does not mean every order can be 0% tax. If you don't think this is correct, please provide me some (official) documentation about the matter so i can read into it. Link to comment Share on other sites More sharing options...
pbelmontealonso Posted February 28 Share Posted February 28 1 hour ago, Inform-All said: The module checks every single time you select an (shipping) address if this address is allowed/valid for 0% tax. Simply because if you have a customer that has multiple addresses in multiple countries, you are not allowed to send with 0% tax if the currently selected shipping address is in the same country as you are shipping from. So this means even though a different shipping address is a valid 0% tax address, this does not mean every order can be 0% tax. If you don't think this is correct, please provide me some (official) documentation about the matter so i can read into it. All you say is correct, just while the VAT Number of a customer is validated by VIES webpage. But if the cutomer has a VAT number NOT validated by VIES your VAT tax cannot be 0%. https://ec.europa.eu/taxation_customs/vies/#/faq Link to comment Share on other sites More sharing options...
Inform-All Posted March 3 Author Share Posted March 3 On 2/28/2025 at 1:56 PM, pbelmontealonso said: All you say is correct, just while the VAT Number of a customer is validated by VIES webpage. But if the cutomer has a VAT number NOT validated by VIES your VAT tax cannot be 0%. https://ec.europa.eu/taxation_customs/vies/#/faq That is correct, it should not put customers in the 0% tax if the tax number is not validated. Can you check you module settings, especially the "Offline validation". And also check if you can validate a number for the same country, because the VIES database can be offline (not functioning properly) for a specific country. Link to comment Share on other sites More sharing options...
Inform-All Posted March 11 Author Share Posted March 11 Just updated the fist post with the newest version of the VAT checker module. 3.1.1 With this new version you can: Force company name validation The module now allows you to also validate the company name with the VIES database. (Note: Not all countries provide this information) Apply your tax rule to carriers An extra setting that will also set carrier tax for valid VAT customers. Link to comment Share on other sites More sharing options...
riderlol Posted March 11 Share Posted March 11 Hi friend, I wanted to ask you a question... Is it possible to base taxes on the billing address instead of the shipping address? Best regards. Link to comment Share on other sites More sharing options...
pbelmontealonso Posted March 11 Share Posted March 11 1 hour ago, riderlol said: Hi friend, I wanted to ask you a question... Is it possible to base taxes on the billing address instead of the shipping address? Best regards. With this module, no. In fact, VAT exemption has nothing to do with the billing or shipping address; it depends on the VAT number. If the VAT number is validated as active on https://ec.europa.eu/taxation_customs/vies/#/vat-validation, it is exempt from VAT. If not, it applies the VAT of the country of origin. Link to comment Share on other sites More sharing options...
pbelmontealonso Posted March 11 Share Posted March 11 2 hours ago, Inform-All said: Just updated the fist post with the newest version of the VAT checker module. 3.1.1 With this new version you can: Force company name validation The module now allows you to also validate the company name with the VIES database. (Note: Not all countries provide this information) Apply your tax rule to carriers An extra setting that will also set carrier tax for valid VAT customers. Thanks, I am testing it, and I think is working correctly. Link to comment Share on other sites More sharing options...
Isla01 Posted March 12 Share Posted March 12 Works well, but I have been using this vat checker which is been working for me fine. Link to comment Share on other sites More sharing options...
Ashley Nurse Posted March 12 Share Posted March 12 should I uninstall the older version? Link to comment Share on other sites More sharing options...
Inform-All Posted March 12 Author Share Posted March 12 18 hours ago, riderlol said: Hi friend, I wanted to ask you a question... Is it possible to base taxes on the billing address instead of the shipping address? Best regards. As far as my knowledge goes it would make no sense, and it would not make it a valid intra community supply. Meaning you can only set tax to 0% if you actually ship to a country abroad. So we would have to check if the shipping is actually abroad. Please provide official (and english) documentation if you do not agree, then i can have a look. Link to comment Share on other sites More sharing options...
gs2k Posted March 12 Share Posted March 12 Hello, I'll join the conversation. It should look exactly like this. VAT 0% applies according to the billing address, provided that the shipping country is also in the EU. It will be easier with a specific example. The seller's country is Poland (my country). Option 1 The customer orders from France. The invoice and delivery address are French. Here it does not matter which address we take into account. Everything is OK. Option 2 A rare case, but I have had it a few times myself (checked, tax offices fully accept it). The customer has a company registered in France and provides the VAT number FR111111111 for the invoice (the module uses 0% VAT based on the billing address) - everything is OK. The customer provides an address to Italy as the shipping address (he lives there). He has every right to do so. To sum up. VAT is calculated based on the billing address, and the delivery country address must be one of the European Union countries and does not have to be the country where the company is registered. Of course, it cannot be the seller's country. I hope everything is clear now :) Best regards gs2k Link to comment Share on other sites More sharing options...
riderlol Posted March 12 Share Posted March 12 43 minutes ago, gs2k said: Hello, I'll join the conversation. It should look exactly like this. VAT 0% applies according to the billing address, provided that the shipping country is also in the EU. It will be easier with a specific example. The seller's country is Poland (my country). Option 1 The customer orders from France. The invoice and delivery address are French. Here it does not matter which address we take into account. Everything is OK. Option 2 A rare case, but I have had it a few times myself (checked, tax offices fully accept it). The customer has a company registered in France and provides the VAT number FR111111111 for the invoice (the module uses 0% VAT based on the billing address) - everything is OK. The customer provides an address to Italy as the shipping address (he lives there). He has every right to do so. To sum up. VAT is calculated based on the billing address, and the delivery country address must be one of the European Union countries and does not have to be the country where the company is registered. Of course, it cannot be the seller's country. I hope everything is clear now Best regards gs2k Exactly, that's why it is necessary to be able to choose that the master address for calculating VAT is the billing address. Link to comment Share on other sites More sharing options...
riderlol Posted March 12 Share Posted March 12 1 hour ago, Inform-All said: As far as my knowledge goes it would make no sense, and it would not make it a valid intra community supply. Meaning you can only set tax to 0% if you actually ship to a country abroad. So we would have to check if the shipping is actually abroad. Please provide official (and english) documentation if you do not agree, then i can have a look. User GS2k has explained exactly the case, I think it is essential that the module complies with this to be truly operational. Link to comment Share on other sites More sharing options...
gs2k Posted March 12 Share Posted March 12 (edited) 56 minutes ago, riderlol said: Exactly, that's why it is necessary to be able to choose that the master address for calculating VAT is the billing address. Now from what I know you need to change in Prestashop International > Taxes > Tax Options > Option Based on, change to billing address (attachment). Now the Module should use the billing address for VAT. The second thing is to set it so that the Prestashop checkout does not allow adding a shipping address other than the ones given in the examples above. If you are using OPC The Checkout, I think the module developer will configure this for you using custom code (I don't know about other OPCs). Edited March 12 by gs2k (see edit history) Link to comment Share on other sites More sharing options...
Inform-All Posted March 12 Author Share Posted March 12 2 hours ago, gs2k said: Hello, I'll join the conversation. It should look exactly like this. VAT 0% applies according to the billing address, provided that the shipping country is also in the EU. It will be easier with a specific example. The seller's country is Poland (my country). Option 1 The customer orders from France. The invoice and delivery address are French. Here it does not matter which address we take into account. Everything is OK. Option 2 A rare case, but I have had it a few times myself (checked, tax offices fully accept it). The customer has a company registered in France and provides the VAT number FR111111111 for the invoice (the module uses 0% VAT based on the billing address) - everything is OK. The customer provides an address to Italy as the shipping address (he lives there). He has every right to do so. To sum up. VAT is calculated based on the billing address, and the delivery country address must be one of the European Union countries and does not have to be the country where the company is registered. Of course, it cannot be the seller's country. I hope everything is clear now Best regards gs2k I understand your use case, and yes as you describe option 2 is 100% valid. But if the customer also fills in his/her VAT info on the Italian (shipping) address they will still have 0% tax, so the module will still function properly. The big reason why i wouldn't want this, is because of this scenario: Country of origin: Poland. If a customer has a billing address with validated vat in France they can order with 0% tax. If the customer now creates a new shipping address that is in Poland, they would still have 0% and that is in no way allowed. Link to comment Share on other sites More sharing options...
Inform-All Posted March 12 Author Share Posted March 12 6 hours ago, Ashley Nurse said: should I uninstall the older version? For this module it is not necessary, but still a good practice to first uninstall and delete the previous module version folder. So, either way is fine. Link to comment Share on other sites More sharing options...
riderlol Posted March 12 Share Posted March 12 16 minutes ago, Inform-All said: Entiendo tu caso práctico y sí, como describes, la opción 2 es totalmente válida. Sin embargo, si el cliente también completa su información de IVA en la dirección de envío italiana, seguirá teniendo un 0% de impuestos, por lo que el módulo seguirá funcionando correctamente. La principal razón por la que no querría esto es por este escenario: País de origen: Polonia. Si un cliente tiene una dirección de facturación con IVA validado en Francia, puede realizar pedidos con 0% de IVA. Si el cliente crea una nueva dirección de envío en Polonia, seguirá teniendo 0% de IVA, lo cual no está permitido. Hi friend, I think that wouldn't be a problem at the programming level... You could apply a programming rule that says if the shipping country is the same as the online store's country, the 0% VAT rate won't apply even if the billing address is an intra-community company. Link to comment Share on other sites More sharing options...
Inform-All Posted March 12 Author Share Posted March 12 1 minute ago, riderlol said: Hi friend, I think that wouldn't be a problem at the programming level... You could apply a programming rule that says if the shipping country is the same as the online store's country, the 0% VAT rate won't apply even if the billing address is an intra-community company. Oké, well i'm not here to discuss official EU laws. If you are interested in optionally setting the billing address as 0% tax, please send me a private message so i can make an quotation. This module, and all the updates are paid by other forum members (Prestashop users) and will be publicised afterwards. Link to comment Share on other sites More sharing options...
riderlol Posted March 12 Share Posted March 12 In my particular case (and I believe that of many others as well), a tax identification number is not required for the shipping address, and only for the billing address. The reason for this is that for non-business customers, a full invoice is not issued; only a simplified invoice is issued, which legally does not require a tax identification number. However, if you are a business, you activate the "Set a billing address" field, and that is where you do have the field to enter a tax identification number. Link to comment Share on other sites More sharing options...
gs2k Posted March 12 Share Posted March 12 (edited) 43 minutes ago, Inform-All said: But if the customer also fills in his/her VAT info on the Italian (shipping) address they will still have 0% tax, so the module will still function properly. 1. Will it work when the delivery country is Italy and the VAT has the prefix FR? Will there be no conflict when checking via API? When the invoice and shipping address are the same and you enter VAT FR11111 and select the country Italy, the VAT will be checked but not deducted (correct operation). I ask out of curiosity. The consideration is purely theoretical, after all, the customer will not provide a wrong address on purpose. 2. I use OPC TheCheckout in the billing and delivery address configuration (only here there is a VAT field) and if you have a different delivery address, enter it in the second form (there is no option to enter VAT - the matter is solved). When the customer enters a country other than the EU or Poland in the delivery address, then I settle the matter directly with the customer, informing them that it is illegal (I have not had such a situation yet). Theoretically, I could settle the matter using the checkout and block such a condition (custom code), but as I mentioned, it has never happened yet. 3. I wrote my statement only to clearly describe what is the correct way to issue EU 0% invoices (without focusing on whether we do it through a store or directly in a conversation with the customer). Regards So thank you very much for the module, in my case it works very well. Regards Edited March 12 by gs2k (see edit history) Link to comment Share on other sites More sharing options...
karsen Posted March 21 Share Posted March 21 Hello, the freelancer who created my store installed your VAT Checker module. I have two languages in PrestaShop - the main one is Polish and the other is German. The module works correctly in the German version, but unfortunately, in the Polish version, it also checks VAT numbers and gives a message for companies not registered in VIES: "Invalid VAT number for cross-border transactions within the EU (EU VAT)." I believe this message should not appear for customers from Poland. Can you help? Link to comment Share on other sites More sharing options...
Inform-All Posted March 24 Author Share Posted March 24 On 3/21/2025 at 11:49 PM, karsen said: Hello, the freelancer who created my store installed your VAT Checker module. I have two languages in PrestaShop - the main one is Polish and the other is German. The module works correctly in the German version, but unfortunately, in the Polish version, it also checks VAT numbers and gives a message for companies not registered in VIES: "Invalid VAT number for cross-border transactions within the EU (EU VAT)." I believe this message should not appear for customers from Poland. Can you help? I also saw your email about this question, the message you are getting is not from the VatChecker module. This might be a response from the VIES database, or something else in your shop. Just to make sure, can you check if your VatChecker settings are correct, especially if the country of origin is set properly? Link to comment Share on other sites More sharing options...
viri008 Posted April 1 Share Posted April 1 (edited) Hello,@Inform-All I installed this module and configured it as per the attachment. At the moment, it validates Portuguese VAT numbers, but it does not validate foreign ones. For example, if I enter a Spanish VAT number, it doesn't validate. Could you help me identify what the issue might be? I'm using PrestaShop 8.2.1, the store are in Portugal and the configuration is as attached. I also attach an image showing the same VAT number being validated as valid on the VIES website. Thank you so much for your help and your time on this module Edited April 3 by viri008 (see edit history) Link to comment Share on other sites More sharing options...
Inform-All Posted April 3 Author Share Posted April 3 On 4/1/2025 at 8:24 PM, viri008 said: Hello,@Inform-All I installed this module and configured it as per the attachment. At the moment, it validates Portuguese VAT numbers, but it does not validate foreign ones. For example, if I enter a Spanish VAT number, it doesn't validate. Could you help me identify what the issue might be? I'm using PrestaShop 8.2.1, the store are in Portugal and the configuration is as attached. I also attach an image showing the same VAT number being validated as valid on the VIES website. Thank you so much for your help and your time on this module In your example you check if the VAT number is correct for a address in Portugal. So that is correct, the VAT number is valid for Spain and not Portugal. In other words, you should set the country correctly when checking the VAT number. Link to comment Share on other sites More sharing options...
viri008 Posted April 3 Share Posted April 3 39 minutes ago, Inform-All said: In your example you check if the VAT number is correct for a address in Portugal. So that is correct, the VAT number is valid for Spain and not Portugal. In other words, you should set the country correctly when checking the VAT number. Hi, First of all, thank you for your quick reply. From what I understand, the module only verifies VAT numbers from the country selected in the "Origin country" field, is that correct? The checkboxes for the other countries below are just so they get a 0% VAT rate? Is there a way for it to perform verification for all EU countries? Imagine my store is based in Portugal, and when a company (from any EU country) enters their VAT number, if it's validated, they're added to a specific customer group. This group would then receive, for example, exclusive discounts on purchases. Only verified companies would be added to this group. The goal is that any business in Europe can be validated via their VAT number and then added to this group. Thank you for your help Link to comment Share on other sites More sharing options...
Inform-All Posted April 3 Author Share Posted April 3 1 hour ago, viri008 said: Hi, First of all, thank you for your quick reply. From what I understand, the module only verifies VAT numbers from the country selected in the "Origin country" field, is that correct? The checkboxes for the other countries below are just so they get a 0% VAT rate? Is there a way for it to perform verification for all EU countries? Imagine my store is based in Portugal, and when a company (from any EU country) enters their VAT number, if it's validated, they're added to a specific customer group. This group would then receive, for example, exclusive discounts on purchases. Only verified companies would be added to this group. The goal is that any business in Europe can be validated via their VAT number and then added to this group. Thank you for your help I will explain a couple of settings, because what you describe is exactly what this module does. If you set your country of origin to Portugal, people that have their shipping address set to Portugal will not be VAT validated. But every other country that you have selected in the list will be checked and validated. If a customer is validated you can have that customer automatically set in a customer group. (with the module setting) So the modules checks if the customer has a valid vat number for the country of shipping address AND if the vat number is for the corresponding country. And the module will not check VAT numbers for you country of origin. Link to comment Share on other sites More sharing options...
viri008 Posted April 3 Share Posted April 3 (edited) 23 minutes ago, Inform-All said: I will explain a couple of settings, because what you describe is exactly what this module does. If you set your country of origin to Portugal, people that have their shipping address set to Portugal will not be VAT validated. But every other country that you have selected in the list will be checked and validated. If a customer is validated you can have that customer automatically set in a customer group. (with the module setting) So the modules checks if the customer has a valid vat number for the country of shipping address AND if the vat number is for the corresponding country. And the module will not check VAT numbers for you country of origin. Okay, I understand now. The verification is done not only through the VAT number field but also together with the selected country. A silly mistake on my part. I've already checked and it's working correctly. I was entering the VAT number but had the address set to a different country, so the verification was incorrect. Thank you, and once again, sorry for the confusion. Edit: This verification can't be done at the moment of customer registration, only during checkout, right? I have B2B enabled and this would be a great feature. Edited April 3 by viri008 (see edit history) Link to comment Share on other sites More sharing options...
Fabry Posted April 3 Share Posted April 3 (edited) 35 minutes ago, Inform-All said: I will explain a couple of settings, because what you describe is exactly what this module does. If you set your country of origin to Portugal, people that have their shipping address set to Portugal will not be VAT validated. But every other country that you have selected in the list will be checked and validated. If a customer is validated you can have that customer automatically set in a customer group. (with the module setting) So the modules checks if the customer has a valid vat number for the country of shipping address AND if the vat number is for the corresponding country. And the module will not check VAT numbers for you country of origin. Yes!...i use your nice module in 2 portugues shops since some years and it works perfectly,,,a big thank you! @Viri your configuration is wrong!...you have to uncheck portugal from the list ( b2b in portugal must pay Vat:-) Edited April 3 by Fabry error (see edit history) Link to comment Share on other sites More sharing options...
viri008 Posted April 3 Share Posted April 3 2 hours ago, Fabry said: Yes!...i use your nice module in 2 portugues shops since some years and it works perfectly,,,a big thank you! @Viri your configuration is wrong!...you have to uncheck portugal from the list ( b2b in portugal must pay Vat:-) Thank you. I really understand now how the module works. Thanks to both of you! 😊 Link to comment Share on other sites More sharing options...
Diwad Posted April 8 Share Posted April 8 Amazing work! I bought multiple modules from addons and other sites for like 400 euro total. Every single one had some problems. Now I installed yours and it's flawless. Will donate soon. Great work buddy! Link to comment Share on other sites More sharing options...
Inform-All Posted April 8 Author Share Posted April 8 3 hours ago, Diwad said: Amazing work! I bought multiple modules from addons and other sites for like 400 euro total. Every single one had some problems. Now I installed yours and it's flawless. Will donate soon. Great work buddy! No problem, good to hear it's working For any (other) questions you can always PM me too. Link to comment Share on other sites More sharing options...
Belyce32 Posted May 10 Share Posted May 10 Hi, Is there a specific place where I can find the links to downlaod the module please ? Thank you Céline Link to comment Share on other sites More sharing options...
Inform-All Posted May 12 Author Share Posted May 12 On 5/10/2025 at 11:35 AM, Belyce32 said: Hi, Is there a specific place where I can find the links to downlaod the module please ? Thank you Céline Hi Céline, all the modules i create can be found in the first post of this forum topic. Link to comment Share on other sites More sharing options...
bonsaiko Posted May 15 Share Posted May 15 Hello, I have an issue with your plugin... When I use an address out of France, the VAT taxes are 0 even if not VAT number is added. VAT should be 0 in case of address out of France + VAT number added, right ? How can I fix this issue ? Link to comment Share on other sites More sharing options...
Inform-All Posted May 15 Author Share Posted May 15 9 minutes ago, bonsaiko said: Hello, I have an issue with your plugin... When I use an address out of France, the VAT taxes are 0 even if not VAT number is added. VAT should be 0 in case of address out of France + VAT number added, right ? How can I fix this issue ? What module version are you using? And can you share you module settings with us? Link to comment Share on other sites More sharing options...
bonsaiko Posted May 15 Share Posted May 15 VAT Checker v3.1.1 Link to comment Share on other sites More sharing options...
Inform-All Posted May 15 Author Share Posted May 15 6 minutes ago, bonsaiko said: VAT Checker v3.1.1 Could you test again when you change your settings to "Always mark VAT as invalid". It might be that you can't make a good connection (SOAP CALL) to the VIES database, and with this setting it marks the VAT (empty) as valid. If it did not resolve your issue, please provide me with some backoffice details in a private message so i can have a look. Link to comment Share on other sites More sharing options...
bonsaiko Posted May 15 Share Posted May 15 That's very nice of you. I'll send you a pm because I already tested "Always mark as invalid" and the problem remained... Link to comment Share on other sites More sharing options...
2grosiek7 Posted June 10 Share Posted June 10 How can I disable VAT check for country where my shop comes from? Some of customers do have their VAT number but they don't refunds VAT tax. To our customers we are not decreasing VAT to 0% as we don't export, it is just domestic buy. Link to comment Share on other sites More sharing options...
2grosiek7 Posted June 10 Share Posted June 10 I made change in js script: vatchecker.validate = function( vat_number, id_country, company, $elem, $reloader ) { // Stop execution if id_country is XX if ( parseInt(id_country) === XX ) { return; } Link to comment Share on other sites More sharing options...
IgorB Posted June 10 Share Posted June 10 @Inform-All Hi I have an issue with module while using OPC module - even if I have correct vat number module will not change tax on products and shipping. It's like there is lack of form reload after checking vat in VIES. It work properly when I change country of delivery and then come back to original country where vat is registred. In prvious version there was no such issue. Any hints? Link to comment Share on other sites More sharing options...
Inform-All Posted June 11 Author Share Posted June 11 14 hours ago, 2grosiek7 said: How can I disable VAT check for country where my shop comes from? Some of customers do have their VAT number but they don't refunds VAT tax. To our customers we are not decreasing VAT to 0% as we don't export, it is just domestic buy. This is done automatically if you set your country of origin in the module settings. Link to comment Share on other sites More sharing options...
Inform-All Posted June 11 Author Share Posted June 11 13 hours ago, IgorB said: @Inform-All Hi I have an issue with module while using OPC module - even if I have correct vat number module will not change tax on products and shipping. It's like there is lack of form reload after checking vat in VIES. It work properly when I change country of delivery and then come back to original country where vat is registred. In prvious version there was no such issue. Any hints? Might be that OPC changed the field names or has some interfering js that does not work well together. I would first check in the module at views/js/front.js to see if can still target everything correctly. (send me a pm if you would like a quotation for help) Link to comment Share on other sites More sharing options...
bonsaiko Posted June 20 Share Posted June 20 Hello, I'm contacting you because one of my client's customers added his VAT number with spaces. The number was then considered as invalid... Is there a way to trim all the spaces before validation ? Thanks for your help. Link to comment Share on other sites More sharing options...
Hart Posted June 21 Share Posted June 21 (edited) hi, works also in PS 9.0.0? Edited June 21 by Hart (see edit history) Link to comment Share on other sites More sharing options...
Inform-All Posted June 23 Author Share Posted June 23 On 6/20/2025 at 6:48 PM, bonsaiko said: Hello, I'm contacting you because one of my client's customers added his VAT number with spaces. The number was then considered as invalid... Is there a way to trim all the spaces before validation ? Thanks for your help. The VIES database already does this automatically. So i think the VAT number that was used was actually incorrect. Please check here If not, please send a private message. Link to comment Share on other sites More sharing options...
Inform-All Posted June 23 Author Share Posted June 23 (edited) On 6/21/2025 at 6:16 PM, Hart said: hi, works also in PS 9.0.0? I have not tested this yet, and i guess with the new theme it requires an update. Edited June 23 by Inform-All (see edit history) Link to comment Share on other sites More sharing options...
Hart Posted June 23 Share Posted June 23 53 minutes ago, Inform-All said: The VIES database already does this automatically. So i think the VAT number that was used was actually incorrect. Please check here If not, please send a private message. to be safe you can add a trim here right? public function hookActionValidateCustomerAddressForm( &$params ) { if ( empty( $params['form'] ) || ! Configuration::get( 'VATCHECKER_LIVE_MODE' ) ) { return true; } /** @var CustomerAddressFormCore $form */ $form = $params['form']; $countryId = $form->getField( 'id_country' )->getValue(); // Check if this is an EU country and a VAT number field exists. if ( ! $this->isEnabledCountry( $countryId ) || ! $form->getField( 'vat_number' ) ) { return true; } $vatNumber = $form->getField( 'vat_number' )->getValue(); $vatNumber = trim( $vatNumber ); Link to comment Share on other sites More sharing options...
bonsaiko Posted June 23 Share Posted June 23 1 hour ago, Inform-All said: The VIES database already does this automatically. So i think the VAT number that was used was actually incorrect. Please check here If not, please send a private message. Yes I will DM you because the VAT number was valid. Link to comment Share on other sites More sharing options...
Inform-All Posted July 1 Author Share Posted July 1 Minor bugfix update in the first post and on GitHub. Link to comment Share on other sites More sharing options...
the_supermac Posted July 25 Share Posted July 25 (edited) I got an error in logs: VAT check failed! (params: DE, 288583960 , error: MS_MAX_CONCURRENT_REQ) but VAT is correct (I checked it in VIES database)... Settings marks VAT valid when VIES is unavailable, is this the case? Edited July 25 by the_supermac (see edit history) Link to comment Share on other sites More sharing options...
Inform-All Posted July 25 Author Share Posted July 25 3 minutes ago, the_supermac said: I got an error in logs: VAT check failed! (params: DE, 288583960 , error: MS_MAX_CONCURRENT_REQ) but VAT is correct (I checked it in VIES database)... HI Supermac, This is a error directly from the VIES database, i'm sorry i can't help you with that. More information here. Link to comment Share on other sites More sharing options...
the_supermac Posted July 25 Share Posted July 25 Sorry I edited my question too late: my question was if, in this situation, user has been locked due to VIES reply or not. He didn't made an order and I was trying to understand if this is due to VATchecker stop or if he decided to abort the order for other reasons... VAT checker is configured to mark VAT as valid when VIES is unavailable but here VIES replied with an error so I don't know hot VATchecker managed this situation, may you explain please? thank you Link to comment Share on other sites More sharing options...
Inform-All Posted July 25 Author Share Posted July 25 1 minute ago, the_supermac said: Sorry I edited my question too late: my question was if, in this situation, user has been locked due to VIES reply or not. He didn't made an order and I was trying to understand if this is due to VATchecker stop or if he decided to abort the order for other reasons... VAT checker is configured to mark VAT as valid when VIES is unavailable but here VIES replied with an error so I don't know hot VATchecker managed this situation, may you explain please? thank you The module should indeed mark the VAT number as valid if you have "Always mark vat as valid" option enabled. Link to comment Share on other sites More sharing options...
the_supermac Posted July 25 Share Posted July 25 I have "Always mark vat as valid" option enabled but it's related to VIES service offline or unreachable (so is written under the option in settings), in this case VIES was online and replied with an error, you confirm me VATchecker marked VAT as valid and didn't stopped checkout? (I stress on this only to decide if, as extreme workaround, I've to remove Germany from VAT checking or not) Thank you a lot Link to comment Share on other sites More sharing options...
Inform-All Posted August 11 Author Share Posted August 11 Updated the module (first post of this topic and Github) for Prestashop 9 compatibility. Link to comment Share on other sites More sharing options...
prekmurec Posted September 3 Share Posted September 3 Hello, I installed the latest version of the module, but something is not working correctly. Despite a valid VAT number from another country, the store is still charging tax. What else needs to be fixed or set up for it to work properly? There is no error when selecting the delivery address. When registering and entering the tax number, a message says that the tax number is correct - successful verification. How can I check the module's operation in another way? Link to comment Share on other sites More sharing options...
Inform-All Posted Friday at 12:12 PM Author Share Posted Friday at 12:12 PM On 9/3/2025 at 11:31 AM, prekmurec said: Hello, I installed the latest version of the module, but something is not working correctly. Despite a valid VAT number from another country, the store is still charging tax. What else needs to be fixed or set up for it to work properly? There is no error when selecting the delivery address. When registering and entering the tax number, a message says that the tax number is correct - successful verification. How can I check the module's operation in another way? Sorry for my late response, can you provide more information on what you are doing. Also screenshot for the test address and information (better idea to send this in a private message). Link to comment Share on other sites More sharing options...
Fabry Posted Friday at 12:37 PM Share Posted Friday at 12:37 PM (edited) On 9/3/2025 at 10:31 AM, prekmurec said: Hello, I installed the latest version of the module, but something is not working correctly. Despite a valid VAT number from another country, the store is still charging tax. What else needs to be fixed or set up for it to work properly? There is no error when selecting the delivery address. When registering and entering the tax number, a message says that the tax number is correct - successful verification. How can I check the module's operation in another way? Hello, wrong config:-)..if your shop is fiscally localized in Slovenia you have to uncheck it in the list. This way b2b customers will pay for vat in Slovenia if they are national b2b and no vat will be applied for rest of europe and outside europe for b2b. I use this module in many international shop and also in last Prestashop9 ( B2B) and it works perfect!! Also be sure to apply a 0 tax correctly Edited Friday at 12:40 PM by Fabry more info (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now