added invoices method to the customer class