You can directly set up the cash advance repayment deduction item to the employee's profile.
From the Workers menu, choose the Employees tab.
Locate and click on the employee's name.
In the Pay section, click on the pencil icon.
Click on + Add a new deduction under Does (employee's name) have any deduction? (Examples: retirement, health care).
Set the following information:
Deduction/contribution or garnishment: Deduction/contribution Deduction/contribution type: Other deductions Type: Cash Advance Repayment
Then, enter the rest of the information.
Once done, click on OK.
Otherwise, record the cash through a journal entry. Beforehand, I'd recommend reaching out to an accountant or tax adviser for further guidance and discuss which accounts to be used in recording a journal entry.