Tax based on bill total

I get what you are saying @sukasem. But I am just trying to make it work with 5% and (+8) 13% when plain total greater than 4, and excluding non-Tax Products, as per OP.

I found that it was not applying calculations properly, so changed to a Custom Calculation …

Revised Calculation (Custom):


Script for Custom Calculation:

Handler must be: Calculation_<calculationTemplateName>

Script:

result = (Ticket.PSum + Ticket.PreSum - Ticket.Tax) * 0.08


Revised Action:


Revised Rule:


REFERENCE: