p0p0 Posted November 12 Share Posted November 12 (edited) I am kinda new to Prestashop (v1.7.8.9) and I have a client that needs some things fixed during checkout of products. Here is the situation, I have 3 shipping addresses one based in Italy (base/home country), one based in Poland and one based in Afghanistan. All three addresses are using same VAT (valid) number VN0123456789. Now while in check out page, for Poland and Afghanistan (any country besides home country Italy in this case) tax should be added unless a Valid VAT is given then Tax is 0%, and for home country Tax is always applied regardless if the Vat is given or not. In my case for Afghanistan calculations are working correctly, But for Poland even with a valid VAT number, shop is NOT reducing the tax amount. In my Back office, Shop Parameters > Customer Settings > General Settings B2B mode is enabled International > Taxes > Taxes I have a Tax named 'VAT-PL' set to 0% Under International > Taxes > Rules I have a Tax Rules as "EU VAT For Virtual Products" Where tax %s are defined for each country I also have made a new Tax Rule name Poland with 0% tax rate I have tried these two solutions to no avail https://www.prestashop.com/forums/topic/1066616-free-module-vat-checker/ https://www.prestashop.com/forums/topic/635018-solved-free-vatnumber-module-fixed-for-ps-1700-1724/?_fromLogin=1 Is there a solution to this problem at all, without upgrading the prestashop version? Edited November 12 by p0p0 Missed file uploads (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 12 Share Posted November 12 The API changed for a long time you should use the following in method WebServiceCheck() $url='https://ec.europa.eu/taxation_customs/vies/rest-api/ms/'.urlencode($prefix).'/vat/'.urlencode($vat); Link to comment Share on other sites More sharing options...
p0p0 Posted November 12 Author Share Posted November 12 1 hour ago, Prestashop Addict said: The API changed for a long time you should use the following in method WebServiceCheck() $url='https://ec.europa.eu/taxation_customs/vies/rest-api/ms/'.urlencode($prefix).'/vat/'.urlencode($vat); So how am I to change the url? Besides 0% tax rules is not working for countries in EU 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