It depends on your days of stay in Taiwan within a calendar year. If 183 days or above, then, you are considered as a tax resident and are subject to individual income tax same as those local residents. Or, you are considered as a non-tax-resident and are subject to 18% income tax withholding from your salary