When creating an invoice a discount can be applied using the discount field in the individual line items as a percentage.