fixed customer invoices method & relationships