added setinvoicesyncstatus