Take Expired Payment Discounts
Select the Preferences option and set the Take expired discounts? checkbox accordingly.
This is a toggle switch, which means you can set it to take discounts and then add a group of invoices that will take payment discounts. You can then toggle the switch off and add another group of invoices. This time the group of invoices added won't take expired payment discounts.