# HR, attendance, leave, and payroll (HRM)

<p class="lead">Build your company structure, add employees, track attendance and leave, run payroll, and record each employee's entire work history.</p>

The **HRM** module covers the complete employee journey: from organizational structure to separation. This page follows that order: structure, employees, attendance and leave, payroll, employee lifecycle, and separation. The consolidated view is in *Dashboard > HRM Dashboard*.

[[roles: Company, Employee]]

!image[Employee list in HRM > Employees with branch, department, designation and joining date](/assets/img/erp/hrm.webp)

## Before you start

- Add the users who will have access to the system in [Users and roles](#/user-management) and define what each role can see in [Roles and permissions](#/user-roles).
- Review the currency and company details in [Company settings](#/settings).
- Have your list of branches, departments, and job titles on hand. They feed the lists on the employee form.

## 1. Structure: branches, departments, and job titles

The organizational structure comes first, because every employee is linked to a branch, a department, and a job title.

**Menu path:** *HRM > System Setup*

<ol class="steps">
<li>Open <strong>HRM > System Setup</strong>. The Branches screen opens.</li>
<li>Click the <strong>+</strong> button (Create), enter the branch name, and click <strong>Save</strong>.</li>
<li>In the setup's internal menu, open departments and add each one, linked to its branch.</li>
<li>Next, open job titles and add each one, linked to its department.</li>
<li>Review the other lists available in the setup, which feed other records in the module.</li>
</ol>

:::tip
Even with a single location, create a branch (for example, "Headquarters"). It is the basis for departments and job titles.
:::

## 2. Add employees

The employee is the foundation of HR: without employees there is no attendance, leave, or payroll.

**Menu path:** *HRM > Employees*

<ol class="steps">
<li>Open <strong>HRM > Employees</strong>.</li>
<li>Click the <strong>+</strong> button (Create).</li>
<li>Fill in the personal and contact details, and select the branch, department, and job title.</li>
<li>Enter the hiring details and, if you like, attach documents and bank details.</li>
<li>Click <strong>Save</strong>. The employee appears in the list and becomes available throughout the module.</li>
</ol>

:::note
If the branch, department, or job title lists are empty, go back to step 1 and add them first.
:::

## 3. Attendance: shifts and attendance records

Attendance tracking starts with shifts (work schedules) and continues with the daily attendance record.

**Menu path:** *HRM > Attendance > Shifts* and *HRM > Attendance > Attendances*

<ol class="steps">
<li>Open <strong>HRM > Attendance > Shifts</strong> and add the company's shifts, with clock-in and clock-out times.</li>
<li>Open <strong>HRM > Attendance > Attendances</strong> to view and record attendance.</li>
<li>Click the <strong>+</strong> button (Create), select the employee and the date, and enter the times.</li>
<li>Click <strong>Save</strong>. Use the list filters to review attendance by period or by person.</li>
</ol>

## 4. Vacation and leave

Leave covers vacation, sick leave, and days off. The flow has three parts: types, requests, and balance.

**Menu path:** *HRM > Leave Management*

<ol class="steps">
<li>In <strong>Leave Management > Leave Types</strong>, add the company's leave types and the number of days for each.</li>
<li>In <strong>Leave Management > Leave Applications</strong>, click <strong>+</strong> (Create) to record a request, with the employee, type, period, and reason.</li>
<li>The manager opens the request in the list and approves or rejects it.</li>
<li>In <strong>Leave Management > Leave Balance</strong>, check how many days each employee has used and how many remain.</li>
</ol>

Also add holidays in **HRM > Holidays**, so the team knows which days are not working days.

## 5. Payroll

Payroll uses the salary defined for each employee and generates the payslips for the period.

**Menu path:** *HRM > Payslip > Set Salary* and *HRM > Payslip > Payroll*

<ol class="steps">
<li>Open <strong>Payslip > Set Salary</strong> and, for each employee, set the salary and any applicable additional or deduction components.</li>
<li>Open <strong>Payslip > Payroll</strong> and create the payroll for the period you want.</li>
<li>Review the calculated amounts for each employee.</li>
<li>Generate the payslips and make them available to employees.</li>
</ol>

:::warn
Close out attendance and leave for the period before generating payroll. Adjusting afterward creates rework. ERP Instfy supports the calculation, but payroll taxes and legal obligations should be validated with your accountant.
:::

## 6. Employee lifecycle

Record career events to keep a reliable history for each person.

**Menu path:** *HRM* (items below)

| Menu item | What it is for |
|---|---|
| *Awards* | Recognition and awards granted |
| *Promotions* | Moves up to a higher position |
| *Transfers* | Change of branch or department |
| *Warnings* | Formal warnings |
| *Complaints* | Complaints filed by or against employees |
| *Documents* | Company documents and policies |
| *Acknowledgments* | Confirmation that the employee has read a document |
| *Announcements* | Notices to the team |
| *Events* | Internal events, such as celebrations and trainings |

<ol class="steps">
<li>Open the item you want in the <strong>HRM</strong> menu.</li>
<li>Click the <strong>+</strong> button (Create).</li>
<li>Select the employee (or the audience, for announcements and events) and fill in the record details.</li>
<li>Click <strong>Save</strong>. The record becomes part of the history.</li>
</ol>

## 7. Separation: resignations and terminations

Separation should also be recorded, whether it is initiated by the employee or by the company.

**Menu path:** *HRM > Resignations* and *HRM > Terminations*

<ol class="steps">
<li>For an employee resignation, open <strong>HRM > Resignations</strong> and click <strong>+</strong> (Create).</li>
<li>For a separation initiated by the company, open <strong>HRM > Terminations</strong> and click <strong>+</strong> (Create).</li>
<li>Select the employee and enter the dates and the reason.</li>
<li>Click <strong>Save</strong>. Then review the employee's leave balance and final payroll.</li>
</ol>

## Complete flow

1. Structure in *HRM > System Setup*: branches, departments, and job titles.
2. Employees in *HRM > Employees*.
3. Shifts and attendance in *Attendance*; types, requests, and balance in *Leave Management*; holidays in *Holidays*.
4. Salaries in *Set Salary* and payroll in *Payroll*.
5. Awards, promotions, transfers, announcements, and other records throughout the career.
6. Separation in *Resignations* or *Terminations*.
7. Overall tracking on the *HRM Dashboard*.

## Frequently asked questions

### Where do I start setting up HR?
Start with *HRM > System Setup*, adding branches, departments, and job titles. Then add the employees. Without this structure, the lists on the employee form are empty.

### What is the difference between Leave Applications and Leave Balance?
*Leave Applications* are leave requests, which go through approval. *Leave Balance* shows each employee's remaining days, already accounting for what has been approved.

### Does ERP Instfy calculate local payroll taxes and labor charges?
Payroll uses the salary and components you set up in *Set Salary*. Specific legal rules, such as employer taxes and filing obligations, should be checked with your accountant before payment.

### What is the difference between Resignations and Terminations?
*Resignations* records a resignation submitted by the employee. *Terminations* records a separation initiated by the company.

### Can employees see their own data?
Yes, when they have a user account in the system and their role allows it. Permissions are defined in *User Management > Roles*.

## Next steps

With HR in place, move on to reviews, training, and hiring.

:::related
performance, training, recruitment
:::
