The HR module has a setup process where you create the masters for all the major activities.
 To setup your Employee master you must first create:
To setup Leaves, create:
In ERPNext, salaries have two types of components, earnings (basic salary, expenses paid by the company, like telephone bill, travel allowance etc) and deductions (amounts deducted for taxes, social security etc). To setup payroll, you must first setup all the different types of earnings and deductions. These are
These are just labels, we will see how to use them when we discuss the payroll section.