Clear the Tax Code's Include Discount flag to assess no sales tax on the order level and line item discount amounts. Select this field to tax both types of discount amounts at the tax code rate.