After you have invoiced your customer for the full undiscounted price and VAT, when the customer pays you early and pays the discounted amount, create a credit note to record the difference between the amount invoiced and the amount received, as follows: