document transaction search API