1. Go to the customer list
2. Select customer
3. You will see a discount field for the customer
4. Specify the percentage discount to be applied
5. This discount will be applied to the quote/invoice preparation view.
Set a discount for a customer that is automatically applied to quotes and invoices