To set the advance payment as a non-taxable payment, please do as follows:
Go to the Payroll module, click Pay Element Setup.
Select Advanced pay and click the 3-dotted button.
From the right panel, arrow the Gross Salary Code from right to left.
From the left panel, move over Non-Taxable Code and click Save.
Go to the Pay Records of the employee and click Reprocess.
