Even though I've been working with Magento for some years now, the combination of discount rules and tax rules has always been some kind of mathematical mystery. In basic, there are 2 parameters:

  • Apply customer tax before or after the discount.
  • Apply discount rules on prices on prices including or excluding tax.

The combination of these parameters has always been of some interesting results, but whenever the client asked me 'why?', I had the break my brain once more on what it all exactly meant.

So that's why I decided to spent some time examining these rules and their combinations, analyzing the results and in the end, I came up with this:

The Possible Combinations

Basicly there are 4 combinations possible:

  1. Apply Customer Tax before discount, and apply discount on prices excluding tax.
  2. Apply Customer Tax before discount, and apply discount on prices including tax.
  3. Apply Customer Tax after discount, and apply discount on prices excluding tax.
  4. Apply Customer Tax after discount, and apply discount on prices including tax.

There are also 2 kind of discounts to consider:

  1. A discount with a fixed amount (10 EURO for example).
  2. A discount with a percentual amount (10% for example).

This together makes room for 8 different combinations. I've recently wrote an article about this that might be a bit too long to copy/paste entirely in this question, but I'll share my conclusion here:

The Conclusion

So I tested all the above combinations and I (tried) to analyse their results. However, I could only come to the conclusion that you would only ever want to use the combination 'Apply Tax after discount / apply discount on prices including tax'. All other combination would result in 'weird' results: discount that is not the value that is expected, or a tax rate that does not makes much sense at first glance.

All these results made me wonder: 'Why all these settings when there is only one possible correct solution?'. Perhaps there are countries where the tax rules states that discounts may not be taxed?. Otherwise I wouldn't know why you would ever any of those other combinations.

My Question

If you know (or have ever dealt with) a good use case why you would use any other combination of customer tax / discount rules than the one described above, could you please explain to me why? Because right now it seems like there's only one good setting which makes me wonder why it's configurable at all!

1 Answer 1


According to our accounts department, if you're reducing the price of an item by a percentage then you need to apply tax on the reduced price.

If you are issuing a face value voucher or coupon this needs to be applied to the post VAT price as it is treated as a method of payment.

With the settings you suggest here, VAT is applied to the price after the voucher value has been taken off meaning that not enough VAT is charged on the order.

We're in the UK.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.