Subtotal display in ticket

hi i want subtotal to appear in my ticket but at the moment it displays no value.

this is how i have configured it in my ticket
{TAXES}
VAT 16%:|{TAX AMOUNT:VAT 16%}
C.Levy 2%:|{TAX AMOUNT:C.Levy 2%}
Subtotal:|[=F(TN(‘{TICKET TOTAL}’)-TN(‘{TAX AMOUNT:VAT 16%}’)-TN(‘{TAX AMOUNT:C.Levy 2%}’))]
-
GRAND TOTAL:|{TICKET TOTAL}
-

Hello @MathiasMaghanga ,

The issue is most probably caused by using the ‘ smybol which happens when you copy-paste something from the forum.

Here is the corrected format of your expression;

Subtotal:|[=F(TN('{TICKET TOTAL}')-TN('{TAX AMOUNT:VAT 16%}')-TN('{TAX AMOUNT:C.Levy 2%}'))]