Page 1 of 1

Tax on discount

Posted: 01 Jun 2011, 14:16
by tonif
Hello

I am searching since several hours nonstop and I haven't found any useable information.

I am running Virtuemart 1.1.4, the newest virtuemart pdf plugin and phoca pdf

The problem is: In case of a discount/coupon I have a tax problem.

Description
I have the possibility to enable: "Subtract payment discount before tax/shipping" in shop administration:

First Case: "Subtract payment discount before tax/shipping" is enabled
The tax in virtuemart will be calculated as following:
Total (of goods) minus discount and the Tax will be calcualted on (Total minus Discount)

In the pdf the calculation is as the follwing:
Total (of goods) - Discount and the Tax will be calucated only on Total.
In the pdf the tax should be calculated in the same way otherwise I have a difference in the pdf compared with virtuemart. The customer will get two prices.

Second Case
"Subtract payment discount before tax/shipping" is disabled in both cases the Tax will be calculated on the totals.
That is correct and is working as described:

What can I do?
I hope there is a solution outthere, otherwise I am not able to make discounts, becuase I will always have differences.

Kind regards

Toni

Re: Tax on discount

Posted: 06 Jun 2011, 22:23
by Jan
Hi, I think this needs to be customized in the code of the addon, in:
plugins\phocapdf\virtuemart\virtuemartpdfoutput.php
:idea:
Jan