add invoice_ids on contract