Regulations Governing Visiting, Residency, and Permanent Residency of Aliens Article 22

Within 15 days of the death of any foreign national within the territory of the ROC, any of his/her related persons, the embassy of his/her country of origin in Taiwan or an authorized organization shall register his/her death with the NIA, or the NIA may register his/her death after verifying it through an investigation.After a court/medical institution/prosecutorial agency/military prosecutorial agency has compiled the death information of a foreign national, the information shall be transmitted online to the Judicial Yuan/Ministry of Health and Welfare/Ministry of Justice/Ministry of National Defense, which shall, upon receipt of the information, transmit it online to the Ministry of the Interior for registration by the NIA.The death information of a foreign national and the time limit for its transmission under the preceding paragraph shall be subject to Articles 2 and 4 of the Regulations on the Notice of Death Information.Upon registration by the NIA under Paragraph 1 or 2, a notification of the registered information shall be immediately sent to the competent tax authority in the place where the central government with jurisdiction over the estate tax of the foreign national is located.
中文原文 外國人停留居留及永久居留辦法第22條
外國人在我國境內死亡,由其關係人或其本國駐臺使領館或授權機構於十五日內,向移民署辦理登記或由移民署查明後逕為登記。
法院、醫療機構、檢察機關、軍事檢察機關作成外國人之死亡資料後,應以網路分別傳輸司法院、衛生福利部、法務部、國防部,其接獲通報後,應再以網路傳輸內政部,並由移民署辦理登記。
前項外國人之死亡資料及其傳輸期限,準用死亡資料通報辦法第二條及第四條規定。
移民署依第一項或第二項規定辦理登記後,應即將登記事項通知其遺產稅中央政府所在地之主管稅捐稽徵機關。

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