refactored invoice and item methods on invoice_item to use repo methods