At least 22 senior tax officers have been forced into retirement over their alleged roles in corruption cases and links with other charges.