Add search invoices functionality