Tip added to taxable amount in customer invoice

I have a question, why is the tip being added to the taxable amount?
For instance:
French fries (before tax) COP 9259
French fries (8% tax) COP 741
SubTotal COP 10.000
Tip 10% : COP 1000
Total: COP 11.000
Taxable amount COP 10.259
$9259 (taxable amount) + 1000 (gratuity)
How can I manage for the tip not to be added to the taxable amount?

If in your services bevor TAX, then your Tips are included with TAX and will be calculated.

If your services after TAX, then your Tips are NOT included with TAX and wont be calculated.

example, in germany the tips will be not calculated with TAX (19%)

here is my template


Sorry but I refuse to believe that the position in print template will effect this.
For one it definitely wont effect the accounts within samba.
There is a tax option on calculation types… that’s what you need.