add invoice search functionality