Issue Loan or Adv to Employee and adjusted Automatically at salary

Only Payslip Earnings are tied to Expense Accounts, Payslip Deductions are tied to Liability accounts and that is where staff loans / advances can be handled.

Read this topic Advance salary option?