You are a foreigner based in China and your job search here has been successful?
Then unless you possess the China Five-Star Card (commonly called China Green Card), or benefits from very few exceptions, a work permit is a must-have before starting your job.
