News:

Support the VirtueMart project and become a member

Main Menu

No vat on discounted products

Started by tunasashimi, April 30, 2014, 14:06:17 PM

Previous topic - Next topic

tunasashimi

Hi

I've got a problem with vat on discounted products.
The rules below works as expected.

But if I have a product with a discount and costumer is from Germany or Austria,
then the discounted price includes the tax.


For example:
Product sales price is 10 CHF
Discounted price  is 8 CHF

This brings the following result in the cart:
Product sales price is 9.26 CHF (no vat), correct
Discounted price is 8 CHF (with 8% vat) not correct
You save 13% not correct

It should be like that:
Product sales price is 9.26 CHF (no vat)
Discounted price is 7.40 CHF (no vat)
You save 20%


FIRST RULE:
VAT for Switzerland
Name - VAT-CH
Vat per product
+%
8.0000
Default Shopper Group
Country - CH, FL


SECOND RULE:
VAT for DE, AT
Name - VAT-Export
Vat per product
+%
0.0000
Default Shopper Group
Country - DE, AT

Joomla v2.5.19
Virtuemart v2.0.26

Any ideas, thanks

tunasashimi

#1
This seams to work  :D

The first rule is for everybody visiting the shop. With 8.00% Vat / Tax

The second rule is for everybody from Switzerland and Liechtenstein. With 0.00% Vat / Tax (tax is already applied with rule one )

Rule number 3 is for Germany and Austria (No tax, export)
The -7.4074% is calculated from 100% / 108 (product with tax) x 100 (product no tax) = 92.592592592592593


FIRST RULE:
VAT for Worldwide
Name - VAT-WW
Vat per product
+%
8.0000
Default Shopper Group
Country - none selected

FIRST RULE:
VAT for CG
Name - VAT-CH
Vat per product
+%
0.0000
Default Shopper Group
Country - CH, FL

Third RULE:
VAT for DE, AT
Name - VAT-Export
Vat per product
-%
7.4074
Default Shopper Group
Country - DE, AT

Discounted products problem solved by not using saleprice override.
Override does not know any rules ...