You need to update your foreign worker's ID type correctly as follows:
Go to the Core module and click Personal Details.
Change the Identity Type to Other and Save.
Change the Identity Type to Passport again and click Save.
Ensure the Residence Status is set as FW.
Go to the Payroll module.
Highlight the affected Pay Record and click Reprocess.
