If you are "non-Chinese" and work for the foreign embassy or
If you are "non-Chinese" and work for the foreign embassy or consulate you are exempt from the China tax rules. This was announced a couple years ago from the FAO (Foreign Affairs Office of China).