The tip is applied to the subtotal, the bill amount you type. If the restaurant already added a service charge, type the amount without it and set the tip, or type the total with the charge included and leave the tip at 0%. That keeps you from tipping on top of a tip.