Using the salary structure in the HR module.
All deductions should be linked to an account into ERPNext.
At the moment, deductions are taken out (in the salary structure) but they are not put anywhere.
If deductions are for taxes or other government liabilities (pension scheme, health care) , they should be put into these liabilities account.
If a deduction is because of a loan to the employee, then again it should be link to the employee (as a debtors)
So I suggest that in the salary structure, each deduction line (with deduction type) is linked to an account. When the salary slip is processed, then these deductions have to be credited / debited in the account indicated on the deduction line.
At the moment, the deduction lines are not very useful, as the amounts are not deducted form anywhere.
Any suggestion on how to make the salary structure / slips more useful accounting wise?