If need two salary structure for one Employee in erpnext

if company is service provider so employee is working for different customer in a month & for that paying structure is diffrent so is there is any way to assign more than one structure to one employee??

you can add both salaries earning and deduction in the salary structure and use formula and condition to make your desired output


Only one salary structure can be assigned at one time for a particular employee.

In these scenario, workaround should be to have 2 employees.

You can assign a single salary structure for a particular payroll (month). However, you can assign multiple salary structures (not for the same period) for an employee.

Based on the “To Date” in the Salary Structure Assignment, the Salary structure will be considered for that Employee for that month.

Hope this helps.


Creating 2 employees is not the right solution or even a workaround.


there is no to date in salary structure assignment.

Easiest option in case the employee only shifts to companies already having a salary structure created in the system would be to just cancel the salary structure assignment of the old company and create a new assignment for the employee with the required salary structure of the new company.

This works because the salary slips are only linked with the salary structure and not the salary structure assignment.

Won’t it be easier to create Salary Slips from Timesheets if they are being created for different customers? Considering that there are field for Customer in Timesheets already.