Jump to content

Tax execemption for EU countries other than Origin Country with a Valid VAT number


Recommended Posts

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

image.thumb.png.ff9b2da0a7a43a810456285203ade2f2.png

 

International > Taxes > Taxes
I have a Tax named 'VAT-PL' set to 0%

image.thumb.png.b468c4da89da5af9f007b8583639e7b8.png

 

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
image.thumb.png.6c9e913f345598ac739b3cb1787bfb1d.png

 

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?

 

image.png

image.png

Edited by p0p0
Missed file uploads (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...