discount methods in invoice