The ledger account used for cash discounts in general is specified on the form. On the ledger posting group, you can select a separate ledger account for cash discounts that involves sales taxes.

Select the and the check boxes in the form to calculate the cash discount including sales tax. The sales tax is reversed when a payment and a corresponding cash discount are posted.