Tax on discount

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
tonif
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 01 Jun 2011, 13:45

Tax on discount

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48399
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Tax on discount

Post by Jan »

Hi, I think this needs to be customized in the code of the addon, in:
plugins\phocapdf\virtuemart\virtuemartpdfoutput.php
:idea:
Jan
If you find Phoca extensions useful, please support the project
Post Reply