There is no need to find the TimeInvoice again. It is already available, use the @time_invoice object to get its details