Jump to content

UE Vat Number module's problem


BabyMonkey

Recommended Posts

Hi There,

I found a mistake in the logic of module "UE Vat number" in prestashop addons:

Prestashop calculates the taxes controlling only one address: or shipping address or billing address (you choose in setting). This is a problem In European Union:

Prestashop should control the VAT number in the billing address, and the country where you ship in the shipping address.

For Example I'm an italian shop, and I've this customer:

- billing address                                                  - shipping address

Name: .................                                                Name: ...........................

Surname: ................                                            Surname: .................................

Company name: ........................                       Company Name: ............ or NULL

Vat Number: IT12345678901                           VAT Number: NULL

address: ....                                                         Address: .................................

Country: Italy                                                     Country: Spain

In this case Vat tax should be 0%, but if I set billing address about tax rules I've 22% Italy's Vat, if I use shipping address I've 22% Because there's not VAT number....

 if I make the order in the backend I can force the shipping VAT number to have 0%, but my customer in the front ??? to resolve it I've modified a lot of core's files, it's possible to fix this rules?

Best regards,

Grassi Diego

Link to comment
Share on other sites

If you are in Italy, and your customer is an Italian business then you should be charging VAT. You would only charge 0% if the Spanish address has a SPANISH VAT number

 

That is my understanding

Link to comment
Share on other sites

Ok, you are right: my example was wrong, but there is a problem anyway:

1- IT VAT1 sells to IT VAT2 shipping to ES VAT3 : iva 0% (I''ve to set up in VAT rule only Shipping address)

2- IT VAT1 sells to IT VAT2 shipping to ES noVAT : iva IT 22% (I can set up in VAT rule Shipping address or billing address)

3- IT VAT1 sells to ES VAT2 shipping to ES VAT3 : iva 0% (I can set up in VAT rule Shipping address or billing address)

4- IT VAT1 sells to ES VAT2 shipping to ES noVAT : iva 0% (I''ve to set up in VAT rule only billing address)

The cases 1 and 4 are the problem.

Best regards,

Grassi Diego

Link to comment
Share on other sites

I am not a tax expert, but I think you may be over complicating it. 

Your customer is the company purchasing the items so you charge VAT. If they ask you to deliver to Spain, that is irrelevant. I think i was slighly wrong earlier. When saying you would need the Spanish VAT number. You don't. You would only not charge VAT if you were exporting outside the VAT for your customer

It is more complex because prestasop allows vat for shipping or billing address but customers do not always make things easy and will often only add a delivery address. 

I think sometimes it is impossible to be totally accurate with every tax rule combinations. All you can do is try your best and sometimes you need to make a manual adjustment

I would ask your tax accountant to ensure they agree with however you set it up to work in the majority of cases

Link to comment
Share on other sites

Yes, it's complicated, but my business consultant is sure that it's so (in European Union).

They are defined "triangulations". In my opinion prestashop's VAT rule has to control the VAT number in the billing address, the country defined in the shipping address and VAT number in the shipping address too. Now it's impossible, but prestashop has to control it: I want to start selling dropshipping, and it's very important the tax rule with resellers.

My previous examples would become:
1- IT VAT1 sells to IT VAT2 shipping to ES VAT3 : iva 0% (Prestashop controls VAT2 in billing address, controls VAT3 in shipping address (only if VAT2 is Italy), controls country in shipping address)

2- IT VAT1 sells to IT VAT2 shipping to ES noVAT : iva IT 22% (Prestashop controls VAT2 in billing address, controls VAT3 in shipping address (only if VAT2 is Italy), controls country in shipping address)

3- IT VAT1 sells to ES VAT2 shipping to ES VAT3 : iva 0% (Prestashop controls VAT2 in billing address, does't control VAT3 in shipping address (VAT2 is not Italy), controls country in shipping address)

4- IT VAT1 sells to ES VAT2 shipping to ES noVAT : iva 0% (Prestashop controls VAT2 in billing address, does't control VAT3 in shipping address (VAT2 is not Italy), controls country in shipping address)

If shipping address is not EU ALWAYS vat 0%.

If shipping address is Italy Always VAT 22%

 

Link to comment
Share on other sites

I still think your customer is the only one you need to think about. It is up to your customer to decide what to do between it and their customer

https://www.revenue.ie/en/vat/goods-and-services-to-and-from-abroad/intracommunity-supplies/what-is-triangulation.aspx

You only need to account for the VAT between you and your customer

Anyway I don't really know, and I know prestashop cannot do anything else. So perhaps talk to a company such as this: https://www.avalara.com/us/en/products/integrations/prestashop.html

 

 

Link to comment
Share on other sites

  • 8 months later...
On 3/6/2019 at 1:19 PM, BayMonkey said:

Yes, it's complicated, but my business consultant is sure that it's so (in European Union).

They are defined "triangulations". In my opinion prestashop's VAT rule has to control the VAT number in the billing address, the country defined in the shipping address and VAT number in the shipping address too. Now it's impossible, but prestashop has to control it: I want to start selling dropshipping, and it's very important the tax rule with resellers.

My previous examples would become:
1- IT VAT1 sells to IT VAT2 shipping to ES VAT3 : iva 0% (Prestashop controls VAT2 in billing address, controls VAT3 in shipping address (only if VAT2 is Italy), controls country in shipping address)

2- IT VAT1 sells to IT VAT2 shipping to ES noVAT : iva IT 22% (Prestashop controls VAT2 in billing address, controls VAT3 in shipping address (only if VAT2 is Italy), controls country in shipping address)

3- IT VAT1 sells to ES VAT2 shipping to ES VAT3 : iva 0% (Prestashop controls VAT2 in billing address, does't control VAT3 in shipping address (VAT2 is not Italy), controls country in shipping address)

4- IT VAT1 sells to ES VAT2 shipping to ES noVAT : iva 0% (Prestashop controls VAT2 in billing address, does't control VAT3 in shipping address (VAT2 is not Italy), controls country in shipping address)

If shipping address is not EU ALWAYS vat 0%.

If shipping address is Italy Always VAT 22%

 

Hello, did you solve this ?

Link to comment
Share on other sites

Hi Gipielle, I've asked to one programmer, and he had solved it (I don't know exactly what he did...) Unfurtunally he changed some core's files, and now I'm not able to upgrade prestashop without to loose this modify.

It was in 1.6, and now I want to install 1.7: I'm looking in these days if he could be able to solve it in some eleganter way.

If he finds the way I update you. I'll have to pay his modify: if he find a better solution, would you be interested to split the the costs?

Link to comment
Share on other sites

Le 06/03/2019 à 1:19 PM, BayMonkey a dit :

If shipping address is Italy Always VAT 22%

for me it's wrong, the VAT calculation must be done on the billing address, not on the delivery address.
If it is the delivery address, it forces to be delivered abroad (ES in your example) and then to deliver the product in IT, you see what I mean?

Link to comment
Share on other sites

  • 3 years later...

Hi, sorry to come back to an old post. When you say that "Seems in 1.7 it is ok" do you mean that the "UE Vat number" module available on addons, in the version for 1.7 has a different behavior from 1.6? Or that prestashop 1.7 does it natively (which it doesn't seem to)?

Link to comment
Share on other sites

  • 1 year later...
On 3/30/2023 at 9:59 AM, Shambola said:

Hi, sorry to come back to an old post. When you say that "Seems in 1.7 it is ok" do you mean that the "UE Vat number" module available on addons, in the version for 1.7 has a different behavior from 1.6? Or that prestashop 1.7 does it natively (which it doesn't seem to)?

I think they are talking about a old Prestashop (core) module. Prestashop removed that module to sell it on the addon store. 
But feel free to use this FREE VAT CHECKER MODULE

Link to comment
Share on other sites

6 minutes ago, Inform-All said:

I think they are talking about a old Prestashop (core) module. Prestashop removed that module to sell it on the addon store. 
But feel free to use this FREE VAT CHECKER MODULE

Thanks!

Great, I guess, since both modules were written by you, the Vat Checker is compatible with:

[FREE MODULE] Same Price

And that therefore by installing both of them I should get that customers all see the same price with VAT included, and if they enter a valid vat for that country (other than the seller's country), the price without VAT.
Do you agree?

Link to comment
Share on other sites

Just now, Shambola said:

Thanks!

Great, I guess, since both modules were written by you, the Vat Checker is compatible with:

[FREE MODULE] Same Price

And that therefore by installing both of them I should get that customers all see the same price with VAT included, and if they enter a valid vat for that country (other than the seller's country), the price without VAT.
Do you agree?

In the latest version of Vat Checker you can automatically set valid VAT free customers in a customer group. You can set the VAT of that customer group to 0% tax. This would solve your problem. 

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...