1. How Payroll Works in MAttendance
Payroll in MAttendance is attendance-driven. The salary for each employee is calculated based on their actual attendance for the month — absences, late arrivals, overtime, and leave all factor in automatically.
Setup sequence (do this once):
- Create Pay Components (Basic, HRA, PF, etc.)
- Create Pay Grades and link components to each grade
- Assign each employee a Pay Grade + Basic Salary via Employee Pay Info
- Configure Late Deduction Rules and Overtime Rules (optional)
- Each month: Generate Payroll → download / distribute payslips
2. Setting Up Pay Grades
A Pay Grade is a template that groups salary components together. You assign a grade to employees of similar seniority or role.
Navigate to Settings → Pay Grades → Add Pay Grade.
| Field | Description |
|---|---|
| Grade Name | E.g., "Grade A", "Junior", "Senior Manager" |
| Description | Optional notes |
3. Configuring Pay Components
Navigate to Settings → Pay Components → Add Component.
Each component has a type and a calculation method:
| Component Type | What It Is | Calculation |
|---|---|---|
| Basic | Base salary — all percentages calculate from this | Fixed (set per employee) |
| Allowance | HRA, DA, Transport, etc. | % of basic or fixed amount |
| Deduction | PF, Professional Tax, etc. | % of basic or fixed amount |
4. Linking Components to a Pay Grade
After creating components, link them to each pay grade.
Navigate to Settings → Pay Grades → [Grade] → Components → Add Component.
Select the component and confirm. Repeat for all components that apply to this grade.
5. Assigning Pay Info to Employees
Navigate to Employees → [Employee] → Pay Info → Add.
| Field | Description |
|---|---|
| Pay Grade | Select the appropriate grade |
| Basic Salary | The employee's base salary amount (₹) |
| From Date | When this pay structure takes effect |
| Professional Tax | Override PT amount if different from component default |
6. Late Deduction Rules
Configure rules that automatically deduct from salary when employees are late too often in a month.
Navigate to Settings → Rules → Late Deduction → Add Rule.
| Field | Description |
|---|---|
| Late Days Threshold | Number of late days in a month to trigger this rule |
| Deduction Type | Fixed amount or % of basic salary |
| Amount / Percent | The deduction value |
7. Overtime Rules
Navigate to Settings → Rules → Overtime → Add Rule.
| Field | Description |
|---|---|
| Daily OT Limit (minutes) | Max overtime allowed per day |
| Weekly OT Limit (minutes) | Max overtime allowed per week |
| Monthly OT Limit (minutes) | Max overtime allowed per month |
| Alert Threshold % | Warn manager when employee reaches this % of limit (default 80%) |
| Overtime Rate | Multiplier for OT pay (e.g., 1.5 = time-and-a-half) |
8. Generating Monthly Payroll
At the end of each month, generate salaries for all employees.
Navigate to Payroll → Generate → Select Month → Generate.
- Select the year and month.
- Click Generate Payroll.
- The system processes every active employee and calculates their salary.
- A summary shows: total employees processed, total payroll amount, any errors.
Can I regenerate? Yes. Running Generate Payroll again for the same month overwrites the previous calculation. Useful if you need to correct an error before finalizing.
9. Payslips
After payroll is generated, payslips are available immediately.
Employee Self-Service
Employees can view and download their payslip from:
- Web Portal → My Payslip → Select Month
- Mobile App → Payroll → My Payslip
HR Download
HR can download payslips for any employee or export the full payroll register:
- Payroll → Monthly Summary — organization-wide totals
- Payroll → [Employee] → Payslip — individual payslip
- Payroll → Export — Excel or PDF bulk export
10. Understanding Salary Proration
If an employee joins or leaves mid-month, their salary is prorated based on actual working days.
Proration applies automatically — no manual adjustment needed. The system counts the employee's present days (including approved paid leave) against the total working days in the month.