Hi,
Some of the duties of a HR handling payroll would be:
1. Updating the employee database
2. Handling Attendance which will be used for computing salary
3. Processing payroll- Accurate salary computation for each employee taking in fixed wages, variable, bonus and deductions.
4. Releasing payslips every month for all employee
5. Salary revisions
6. Handling leaves
7. Reimbursements
8. Arrears
9. Full and final settlement during employee exit
10. Monitoring all PF and ESIC formalities and more
All these responsibilities are time consuming and prone to manual error. To avoid this, you can probably check out various Payroll software
https://www.greythr.com/in/ which manages all your payroll, PF, TDA, ESI for your employees.