added invoice transaction query