How can i give a customer adiscount on their total account

how can i give a customer adiscount on their total account without deducting it from specific invoice ?

Give them a credit note?

Maybe use the early payment discount thats on the invoice.

image