Different VAT tax for each product variant

Adrian77
New Member
12 0 0

Hi to you all,
Is there a possibility to set custom VAT tax rate on each product variant?
If I sell a t-shirt, let's say the red variant would have a 5% VAT tax and the green variant only 3%?
Thank you.

0 Likes
Nick
Community Moderator
Community Moderator
4014 388 803

Hi @Adrian77,

 

Nick here from Shopify. Great question! 

 

It is possible to display two different VAT prices for your products but it would only be possible for products with one variant as well as the price on your product page is not updated via JavaScript. You can see a where Shopify mention this in one of their help documents below:

 

19-06-5ngaj-acaug

You can see the help document about showing VAT prices on your products from Shopify here. Something to note is that this is an advanced tutorial which isn't supported by Shopify. Because of this, your best bet to apply this if you aren't comfortable doing it yourself is by reaching out to a Shopify Expert here

 

Hope this helps and answers your question! 

 

All the best, Nick

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Adrian77
New Member
12 0 0

Thank you for your answer.

I red the note and I am comfortable doing it myself. But I don't need the price with VAT just to be displayed,
I need the different VAT percentage on different product variants to be able to generate invoices correctly.
This is why I wand the VAT percentage for the product variant to be saved into the DB somewhere, to retrieve it
at the checkout when I want to generate the invoice.

The twist is that I do have the same product with many variants and some of the variants have different VAT tax,
I don't need for my customers to see the amount that represent VAT, I need that amount just to generate invoices.
They don't care about what percentage is the VAT. Customers will be interested in the amount they have to pay, regardless
of what percentage of that amount represents tax.

So, using the link you provided, is there a possibility to edit the template in such a way to get something like this:
{{ if (product.variant == 1) then product.price | times:1.XX | money }}, and to be able to save this value somewhere and use it
when shopify generates the invoice? Assuming there is just one product variant where I need different VAT value, and all the other
variants use the same VAT value.

But if this workaround would be useful just to display the value, and not use it when the invoice is generated it won't help me.

The resource you provided is helpful however, thank you for your patience.

0 Likes
Nick
Community Moderator
Community Moderator
4014 388 803

No problem at all @Adrian77, hope it helped in some way. 

 

Tax overrides work on a collection basis, so it would apply to the whole product, not one specific variant. You would need to create multiple products if you wanted to apply a tax override for multiple products. 

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Adrian77
New Member
12 0 0
Unfortunately I can not do that, I can't have two products and add them in separate collections because it would be the same exact product twice, first would have just one variant and the second 30 or more variants. And beside the excepted little variant anything else about the product would be exactly the same. Multiply this by many products and it would create a huge confusion among the clients. I can't see this as a viable solution.
0 Likes
Nick
Community Moderator
Community Moderator
4014 388 803

Hi @Adrian77,

 

I double checked this with our tax development team to see if it would be in any way possible to have different tax prices for different variants of the same product and they confirmed what I mentioned to you in the reply above. 

 

This is good feedback though, and what I will do is submit this as a possible feature request for the future to our development team on your behalf. You did mention about editing the code previously also. This is something which would be out of my expertise, but it might be worth talking to a Shopify Expert to see if it can be done from the back end of the website? But in terms of a tax override from the admin side of things, what you're looking to do isn't possible. 

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Adrian77
New Member
12 0 0

All right, thank you for your reply.
So it seems like I am down to this two potential solutions:

1. Is there a way to add a product variant to a collection? Just the product variant, not the whole product with all it's variants. I could simply override the tax for this particular collection. I found this thread: https://community.shopify.com/c/Shopify-Discussion/adding-product-variants-ONLY-to-collection/td-p/4... but there was no answer provided in there. After all this time there might be a solution for it.

2. It might be needed to try and make my own app for this problem.
Regarding this, I have two more questions:
- if I have my separate database with taxes for each product variant that needs different tax, is there a way for shopify to use my tax rate for the product variant after the order is submitted instead of tax value stored in my shopify database? I need this value for creating the invoice and when the client's card is charged. Is this scenario feasible?
- Is there a way to host my app on the same server the my shopify shop is install onto? I would like to avoid making API calls across different web servers to reduce delays and lag. During promotions or peak times this might create a failure point which would spell disaster.

0 Likes
Nick
Community Moderator
Community Moderator
4014 388 803

No problem at all. 

 

Let's take a look at your questions:

 

  1. To have a product variant in a collection the original product the variant is attached to must also be in the collection. Product variants are associated and attached to their primary product in this sense at least natively within the Shopify admin. I did some digging and found an app which might be able to help you out with this. The app is called SV-Variants on collection page and displays product variants as separate products on collection pages. I'm wondering if this could do what you need it to. 
  2. With regards to creating your own app, this is something that is not in my expertise and I wouldn't be the best person to ask. It might be worth asking this separately in the Shopify Apps community board here to find an answer for this. It would have better eyes and the audience in this topic board is more appropriate for the question. 

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Daniel-Triciclo
Shopify Partner
3 0 0

Hi there,

 

I was reading this post when trying to find a solution for B2B customers taxes in Spain. Some of them need to get charged and extra tax of 5.4% on top of 21% VAT ( IVA). 

Lets say you have a base of 100 € , normally it would be 121 € with taxes, but an additional 5.4% ( 100 * 5,4%) must be applied for some of them due to their fiscal position. Total 126,4 € 

 

I have managed to get this amount with tax overrides, but I need to enable that this rule applies only to those specific  customers, because majority will have only the 21%.

 

I don't want to duplicate products as they are connected to customers database with SKU. And creating different collections with tax overrides doesnt work. I cant also add a "fee" because I want it to be code as "tax"

 

Is there any work around to "tag" customers and make different rules for products, right now only "tax exempt" is available. Any app?

Thanks!

Daniel

0 Likes
Nick
Community Moderator
Community Moderator
4014 388 803

Hi @Daniel-Triciclo,

 

I'm wondering if the Tax Exempt Manager app will work for you here? What the app does essentially, is it collects and automatically checks your customer's VAT ID using the official EU database VIES for tax numbers of the European Commission. If the entered VAT ID corresponds to the correct sample, the customer can buy automatically without VAT. Something to note is that the customer does not have to create an account and you as store owner do not have to do anything to enable them to do so. 

 

Another app which might be useful for you here is Exemptify. The same basic concept applies. Because of this, it might be worth looking into both options to see which one you like and resonate with best. 

 

Hope this helps! 

 

 

Nick | Community Moderator @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes