update invoice_repo to take reference to sales_engine