For foreigners who have left the R.O.C. with tax paid based on non-resident tax rate but returned to the R.O.C. later and stayed for more than 183 days in the taxable year, their tax to be paid should be recalculated based on the tax rate of residents. The tax paid previously may be deducted from the final tax due.