Added invoice item flags to return