VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: biltong on October 11, 2016, 19:04:35 PM

Title: Country filter not working on tax calculation
Post by: biltong on October 11, 2016, 19:04:35 PM
Using VM 3.0.18

I have created a tax rule of 0%VAT for shoppers who's country is United Kingdom.

I then set the logged in shopper's country to France but the 0% tax rule is still applied and it should not because I have specified United Kingdom in the tax rule. Surely this means that the rule should only apply to shoppers with country = United Kingdom?

Any ideas please??

Tax rule:
http://awesomescreenshot.com/09f65lc062 (http://awesomescreenshot.com/09f65lc062)

Checkout showing 0%vat rule still being applied:
http://awesomescreenshot.com/0d365lc3f9 (http://awesomescreenshot.com/0d365lc3f9)
Title: Re: Country filter not working on tax calculation
Post by: jjk on October 12, 2016, 19:16:16 PM
Just curious, in which case do British customers of wigs have to pay no VAT but French customer's do (assuming that both are not VAT registered)?

Normally you would add a 20% VAT tax rule for the 28 EU countries and no tax rule for the rest of the world.
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 13, 2016, 07:15:54 AM
If I recall correctly, You can apply several rules at once.
How does the other rule look like like that applies instead ?
For example 0 % + 20 % = 20 %, 20 % wins :)

regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 13, 2016, 10:13:09 AM
Quote from: jjk on October 12, 2016, 19:16:16 PM
Just curious, in which case do British customers of wigs have to pay no VAT but French customer's do (assuming that both are not VAT registered)?

Normally you would add a 20% VAT tax rule for the 28 EU countries and no tax rule for the rest of the world.

UK citizens get full vat exemption for medical reasons for wigs, e.g. alopecia, chemotherapy - see http://trendco.co.uk/vat-exemption.html.
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 13, 2016, 10:18:40 AM
Quote from: Jörgen on October 13, 2016, 07:15:54 AM
If I recall correctly, You can apply several rules at once.
How does the other rule look like like that applies instead ?
For example 0 % + 20 % = 20 %, 20 % wins :)

regards

Jörgen @ Kreativ Fotografi

The other rule applies 20% vat to everyone.

The 0% vat rule applies only to Country=United Kingdom (and also to specific product categories and shopper group).

So surely the 20% vat rule should win when country = France.
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 13, 2016, 13:10:24 PM
Hello

If You deactivate the 0 % rule do You get 20 % then ? Is the 20 % rule active ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 14, 2016, 10:47:20 AM
Hi,

After unpublishing the 0% rule, the 20% rule is not active because the 20% rule only applies to Shopper Groups: Guest Shopper Group and Default Shopper Group. The logged in shopper on the frtonend is in the VAT Exempt Shopper Group so the 20% rule is not applied.

i.e. the 0% rule and the 20% rule are mutually exclusive by way of the Shopper Group Filter for each.

I was wrong in saying
QuoteThe other rule applies 20% vat to everyone.
It applies to everyone except the VAT Exempt Shopper Group.
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 20, 2016, 08:05:46 AM
If I understand You correctly, this is not an error, right ?

Regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 20, 2016, 10:48:45 AM
As per my original post, I'm sure there is an error with the country filter on the 0% rule not working.
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 20, 2016, 11:16:20 AM
Then I Think You have to show an example that explains it better. Because I don´t get it.

QuoteThe logged in shopper on the frtonend is in the VAT Exempt Shopper Group so the 20% rule is not applied.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 20, 2016, 11:54:42 AM
OK, Try this example:

Go to https://starfish.directrouter.com/~vc2598u2m59543r9/ and add a product to the basket from the homepage then go to the Basket / Checkout page.

Select Checkout as Guest, type in email address. Guest is in Default Shopper Group.

Now notice that in the basket, VAT is added to the price. 20%VAT rule applies to Default Shopper Group.

Under Name and Billing Address, tick the VAT Exemption box. Shopper Group is automatically changed to VAT Exempt by BIT Change Shopper Group plugin. 0%VAT rule now applies (it only applies to VAT Exempt shopper group and country = United Kingdom).

Now notice in the basket that VAT is not added to the price.

Now change the Country under Name and Billing Address to e.g. Spain.

0%VAT rule should no longer apply (even though the Shopper Group is still VAT Exempt the Contry is not United Kingdom) and 20%VAT should now be added to the price but this does not happen.

Thanks
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 20, 2016, 13:09:37 PM
I still don´t get it, You have to show the tax rule for of 20 % tax. That is where You might have Your problem.
Can not shoot in the dark.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 20, 2016, 13:24:51 PM
Here is the 20%VAT tax rule settings:

http://awesomescreenshot.com/02665vpmae (http://awesomescreenshot.com/02665vpmae)
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 20, 2016, 13:28:10 PM
The Vat exempt shopper Group is not included.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 20, 2016, 14:46:23 PM
It should not be included because the 20% vat rule should not apply to shoppers in the VAT Exempt shopper group.
Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 20, 2016, 15:33:34 PM
But They are in the vat exempt user Group, I really don´t get it ....

QuoteUnder Name and Billing Address, tick the VAT Exemption box. Shopper Group is automatically changed to VAT Exempt by BIT Change Shopper Group plugin. 0%VAT rule now applies (it only applies to VAT Exempt shopper group and country = United Kingdom).

Turn on VM debug

regards

Jörgen @ Kreativ Fotografi
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 20, 2016, 16:10:19 PM
Done
Title: Re: Country filter not working on tax calculation
Post by: biltong on October 20, 2016, 17:47:50 PM
I'll try to explain again....the requirements really is very simple.

If the shopper ticks the VAT Exempt box and their address is in United Kingdom then the price should have no vat applied.

If they tick the box but their country is not United Kingdom, VAT must still be charged.

If they don't tick the box, VAT must still be charged.

Title: Re: Country filter not working on tax calculation
Post by: Jörgen on October 20, 2016, 22:59:15 PM
Quote from: biltong on October 20, 2016, 17:47:50 PM
I'll try to explain again....the requirements really is very simple.

If the shopper ticks the VAT Exempt box and their address is in United Kingdom then the price should have no vat applied.

If they tick the box but their country is not United Kingdom, VAT must still be charged.

If they don't tick the box, VAT must still be charged.

The setup should maybe be like this:

0 % TAX
Shopper group: VAT EXEMPT
Country: ENGLAND

20 % TAX
Shopper group: All GROUPS
Country: Every Country that should have 20 %

It´s late and I maybe thinking crossed eyed, but try this anyway

regards

Jörgen @ Kreativ Fotografi