add invoice items & transaction search stuff, including tests