Handling the invoices.next item in the table.