I have a scenario, i nee to calculate invoice discount on Amount including vat.
Ex:- amount ex vat 2000, tax amount 200 & amount including vat 2200. now i need to calculate discount on 2200.
But i have faced the discount is calculating on 2000 & tax amount is calculating on after discount amount value.
How can handle this scenario. Can anyone please help me.