Regulations for the Approval and Management of Employment of Foreign Nationals by Embassies, Consulates, Foreign Offices, International Organizations, and their Personnel in the Republic of China (Taiwan) Article 11

When completing employment and leaving the country, a foreign national employed under these regulations shall complete the exit procedures with the relevant authority and, if in possession of an identification card for a foreign attendant to the head of a diplomatic mission/foreign office, return the identification card.
中文原文 駐華使領館外國機構國際組織及其人員聘僱外國人許可及管理辦法第11條
依本辦法所聘僱之外國人,於結束聘僱離華時,應向有關機關辦理出境手續,持有隨從證者並繳回隨從證。

English translation for reference only; the Chinese text prevails. Not legal advice.