VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: steigerhout on June 24, 2013, 21:18:26 PM

Title: Shipping tax not calculate with different taxes
Post by: steigerhout on June 24, 2013, 21:18:26 PM
Dear,

I've a VM2 shop with two different tax rules. The first is 6% and the other 21%.
The shipping tax is calculated on the default tax rules.
So when I have only products with 6% tax in my basket, then the shipping tax is 6%.
When I have only products with 21% tax in my basket, then the shipping tax is 21%.
So far so good.

But when I have both products in my basket, then the shipping cost is displayed without tax.
When two different types of tax are in the basket, then the highest tax must be applied on the shipping cost.

How must I configure this?

Title: Re: Shipping tax not calculate with different taxes
Post by: h-bo on January 18, 2014, 17:32:46 PM
Is This problem solved,
I would like to have the correct settings

Thanks so far
Title: Re: Shipping tax not calculate with different taxes
Post by: reinhold on January 18, 2014, 18:59:51 PM
At least according to Austrian law, the shipping is taxed in the same proportion as the goods, not with the highest tax. E.g. if you have two articles, one for 10€ and 10% tax, while the other is 20€ and 20% tax, then 1/3 of the order is taxed with 10% and 2/3 are taxed with 20%. The shipping costs are taxed in that same proportion.

VM has implemented this in the latest version (both the weight and countries default shipping method distributed with VM, as well as my third-party Shipping by Rules plugin). You just need to select "default rule" as the tax.

Reinhold
Title: Re: Shipping tax not calculate with different taxes
Post by: h-bo on January 18, 2014, 19:53:34 PM
Hi Reinhold,

In the Netherlands it is arranged differently, because you should always use the highest rate when you place an order.
This can perhaps be solved in a different way?


h-bo
Title: Re: Shipping tax not calculate with different taxes
Post by: h-bo on January 19, 2014, 20:32:07 PM

Can I fix this with an override.

And is there anyone who can explain how to do it.

I have no knowledge of programming and where I should place it.

I would like some help.

thanks
Title: Re: Shipping tax not calculate with different taxes
Post by: steigerhout on March 15, 2014, 09:20:16 AM
Dear,

I've tried everything, but I don't resolve this problem.
So now I calculate on every order 21% tax to the shipping cost.
Better to much tax than less.

Kind Regards
Title: Re: Shipping tax not calculate with different taxes
Post by: thelake on March 15, 2014, 12:14:48 PM
well this doesn't fit with german law......

There must be a solution!?!
Title: Re: Shipping tax not calculate with different taxes
Post by: Milbo on March 15, 2014, 16:55:59 PM
TheLake
in germany it is almost like in Austria. The simple way is to use the tax which is mainly used in your cart (by value!). But it should be also correct to use the austrian way.
Title: Re: Shipping tax not calculate with different taxes
Post by: thelake on March 16, 2014, 09:06:23 AM
sorry I don't get it,
two shipping fees
7%
19%

as soon as i have two products with different  taxes the user is able to choose between this two. This doesn't make sense

How to tell virtuemart to take the higher tax?
Title: Re: Shipping tax not calculate with different taxes
Post by: Milbo on March 18, 2014, 00:38:05 AM
You need only one shipment.
Title: Re: Shipping tax not calculate with different taxes
Post by: thelake on March 18, 2014, 09:30:23 AM
Sorry, but Austrian law is not german law.

My tax consultant won't accept some percentage calculation

product with 19% - tax on shipping 19%
product with 7%  tax on shipping 7%
product with 19% and 7% - tax on shipping 19%

I have to do this somehow!?!?
Title: Re: Shipping tax not calculate with different taxes
Post by: h-bo on April 25, 2014, 11:39:48 AM
Quote from: thelake on March 18, 2014, 09:30:23 AM
Sorry, but Austrian law is not german law.

My tax consultant won't accept some percentage calculation

product with 19% - tax on shipping 19%
product with 7%  tax on shipping 7%
product with 19% and 7% - tax on shipping 19%

I have to do this somehow!?!?


I live in the Netherlands and if there are two different rates (6% and 21%) tax then you have the highest rate to be charged on shipping with different rates.

I have asked before but try again:
Is there a file that I can change, so that always the highest rate will be calculated for shipping if there are two rates in the shop.
can anyone help us on our way to realize this.
thanks.
Title: Re: Shipping tax not calculate with different taxes
Post by: edthenet on September 10, 2014, 07:08:38 AM
Does somebody have a solution for the Netherlands.
Now the wrong tax is being calculated
Title: Re: Shipping tax not calculate with different taxes
Post by: Stefan Korth on October 26, 2015, 14:14:02 PM
the virtuemart developer should fix this, hint hint. Problem is they are programmers, and seem not to bother that the shop does not create invoices that are legal. As soon as you have items with two different taxes applied, the shop should give you the options according to the country you live in. As this is an issue you walk into when you e.g. have books, food and other items in your store, I bet there have been many walkarounds programmed so far, so it would be clever to do it once properly and have it implemented in the next release. But as logical as it might seem, duh, I would not hold my breath for it to happen.
Title: Re: Shipping tax not calculate with different taxes
Post by: haakplein on June 11, 2020, 20:28:58 PM
I solved for NL by adding an additional shipping method linked to a 9% vat category to which I assign books etc...
I have a category for all products that have a 21% vat.
the shipping 9% option excludes all products that have 21% VAT, so if 2 products are selected, the 9% vat shipping method does not appear.

However, if someone only selects a 9% article, he will see both shipping options. You would expect people to select the cheapest option, but this appears to be a challenging choice... :(

It would be good if the developers would solve this annoying issue.
Title: Re: [SOLVED] Shipping tax not calculate with different taxes
Post by: haakplein on June 11, 2020, 21:33:32 PM
Hi all, I solved this using this extension (it's free): https://extensions.virtuemart.net/checkout/shipments/advanced-shipping-by-rules-detail

So my initial thought was good, you create a category for low and high vat and assign your products to this.

Then you use Advanced Shipping By Rules to create new rules, for example 'brievenbuspakje':
You can set the weight and other variables and then set the shippingcost with tax to 4.36 if it the order does not contain any product from the 21% category.
Category id 13 is 21% VAT, category 12 is 9% VAT

Example of code:
350<Weight<2001; Condition=contains_none(Categories, 13); ShippingWithTax=4.36

Next you create a shipping rule for mixed orders, code:
350<Weight<2001; Condition=contains_all(Categories, 12, 13); ShippingWithTax=4.84

and then finally you create a shipping rule for only 21% vat orders:
350<Weight<2001; Condition=contains_none(Categories, 12); ShippingWithTax=4.84

As you'll have a product on more than one category, don't use the contains_only option, because you will have to update the shipping method every time you add a new category.

It's a lot of work, but it is a well working workaround!
Hope you can make it work!!