Vat after discounted value

now vat is charge on the total value before discount, now i want to charge VAT on the value after discount , how can i do it?
Now VAT =(Gross Total*15%)
Now I need (Gross Total-Discount (Supose 10%))*15%

What should I do to change this method?

Disable Include Tax for discount calculation.

If it is not your case please add some screen shots of your discount & vat configuration so we can understand why it calculates like that.

tax working but bill printing issue , here is not show discount line

hi bro calculation done, but in invoice here is not show discount amount in bill.

discount screen shot

tax screen shot

new problem is that discount amount is not showed in invoice.

discounted amount is not shown as earlier, this screenshot is of earlier invoice. what changes are need?

Does your printer template includes {DISCOUNTS} section?

You can see a sample here.
http://sambapos.org/en/content/how-configure-multiple-taxes

i dont need multiple tax , in invoice here is not show discount amount in bill after i edit.
my printer template is here

[LAYOUT]
-- General layout
<BMP>
<C00>KIVA HAN COFFEE BOUTIQUE
<C00>HOUSE 1/A,ROAD-23
<C00>GULSHAN,DHAKA 1212 
<C00>PH-01755555844,TNT-028813399
<F>-
<J00>Vat Reg:18131072665
<J00>MUSAK-11
<T>Guest Bill
<J00>Number of guests:{TICKET TAG:Guest Count}
<J00>Date:{TICKET DATE}|Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
<J00>Qty Item Name |Price| P.Total
<F>-
{ORDERS}
<F>=
<EB>
<J00>Total:|{PLAIN TOTAL}
<J00>Total Payment:|{PAYMENT TOTAL}
<F>=
{TAXES}
{SERVICES}
<J01>Gross:|{TICKET TOTAL}
Payments:
{PAYMENTS}

<J00>-TOTAL PAYMENT:|{TENDERED TOTAL}
<J00>-RETURNED AMOUNT:|{CHANGE TOTAL}
<DB>
<F>=
<J0>www.facebook.com/kivahancafe
[TAXES]
<J00>{TAX NAME}:|{TAX AMOUNT}
[SERVICES]
<J00>{CALCULATION NAME} {CALCULATION AMOUNT}:|{CALCULATION TOTAL}
[PAYMENTS]
<J00>-{PAYMENT NAME}:|{PAYMENT AMOUNT}
[ORDERS:Void]
-- Nothing will print for void lines
[ORDERS:Gift]
-- Format for gifted orders
<J00>-{QUANTITY} {NAME}|**GIFT**
[ORDERS]
-- Default format for orders
<J00>-{QUANTITY} {NAME}|{PRICE}| {TOTAL AMOUNT}
[ORDER TAGS]
-- Format for order tags
<J00>     * {ORDER TAG NAME} | {ORDER TAG PRICE}
[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}
[ENTITIES:Customers]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
[ENTITIES:Waiter]
-- Customer entity format
<J00>Waiter:{ENTITY NAME}
[ENTITIES:Adminstrator]
-- Customer entity format
<J00>Guest Of:{ENTITY NAME}

There is no discounts in the template…How can it show discount if you dont tell it to?

Create a [DISCOUNTS] formatting section. then put {DISCOUNTS} where you want it to be.

i want after vat calculate then add discount where i add {DISCOUNTS} code?

Look at your template look how its structured. [DISCOUNTS] would be a formatting section so whatever you put under it will be inserted wherever you put {DISCOUNTS}

Taxes was done the same way…

So put {DISCOUNTS} after {TAXES} and then format it how you want under [DISCOUNTS]

HINT: its a calculation so try

[DISCOUNTS]
<J00>{CALCULATION NAME} {CALCULATION AMOUNT}:|{CALCULATION TOTAL}

yes got it thanks bro