Let's start with the above example: a 2% discount on an invoice due in 30 days if the customer were to pay within the first 5 days.