We plan to make an app to customize payroll to record each employee Liability and pay them in cash instead of paying them through bank.
supposed features:
option in Payroll Entry to detect if it’s employee-wise.
on submitting salary slips form Payroll Entry create one Journal Entry that sum the debit (Earning) and credit (Deduction) for each Salary Component(Default Behavior) and distinguish employees’ Liability for each Salary Slip and set employee as party.
after submitting salary slips add button in Payroll Entry to create Payment Entry For each salary slip and add salary slip in Payment References table.
+1
A similar approach has already been addressed in Advanced payment, where the account Employee Advances (Asset) will be used for all advances. Upon creating a Payment Entry, the Party type is selected as employee, and the employee details are fetched. https://docs.erpnext.com/docs/v13/user/manual/en/human-resources/employee-advance
If the same can be applied here for Payroll Entry for each employee