I’ll use an example:

If the subtotal is $37.58 after taxes, just put -$37.58 for tips. Since the total is just subtotal + tips, 37.58 + -37.58 = $0.00.