adjusted rest api for tax classes