Act of Military Service for Officers and Non-commissioned Officers of the Armed Forces Article 27

In accordance with disbandment of offices, shifting in organization, or retrenchment of business, the discharged personnel complying with the orders of simplification are entitled to receive a Lump Sum Relief Payment of the highest seven months except for those retired who have reached the maximum years of Active Service or the discharge age. The personnel who have reached the maximum years of Active Service or are seven months before the effective day of discharge age are entitled to receive the Lump Sum Relief Payment according to the number of months discharged in advance.If the personnel stipulated in the preceding Paragraph take or re-take the any positions stipulated in Paragraph 1 of Article 34 with monthly salary higher than legal minimum wage within seven months from the effective day of retirement, the offices providing the positions the personnel take or re-take shall after deducting the Lump Sum Relief Payment according to the number of months of retirement take the residual and hand it back to the original ratified agency.
中文原文 陸海空軍軍官士官服役條例第27條
因配合機關裁撤、組織變更或業務緊縮,依法令辦理精簡而退伍人員,除屆滿現役最大年限或年齡退伍者外,得最高一次加發七個月之俸給總額慰助金。
已達現役最大年限或年齡退伍生效日前七個月者,加發之俸給總額慰助金按提前退伍之月數發給。
前項人員於退伍生效日起七個月內,就任或再任第三十四條第一項所列職務之一,且每月支領待遇超過法定基本工資,應由就任或再任機關扣除其退伍月數之俸給總額慰助金後,收繳其餘額,並繳回原核定機關。

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