Any cash discount is deducted before sales tax calculation (that is sales tax is calculated from invoice amount minus any ...