Overtime Payment

Hi everyone,

I’m trying to implement an automated overtime pay in Frappe HR (ERPNext). The requirement is:
If an employee optionally works on a Sunday (which is normally a holiday/week-off), the system should automatically calculate and allocate an extra overtime payment for that day in the payroll.

Could anyone guide me on:

• Is there a built-in configuration in Frappe HR / Payroll to handle this Sunday overtime scenario out of the box?
• If not, what would be the recommended approach — a custom Salary Component, an Additional Salary entry, a scheduled job, or a custom server script?
• Which DocTypes would be involved (e.g., Attendance, Holiday List, Salary Component, Additional Salary, Salary Slip)?

which verison of frappe, erpnext and HRMS are you using??

also, check this:

2 Likes

@sudhanshu Version-16

this link will help you to get this done

I once handled something similar by checking the shift type for Sundays in a server script and auto-creating an Additional Salary entry. It kept things clean without touching salary structures. If you already track attendance or check-ins, you can hook into those docs so the system fills the OT only when the employee actually worked. Way easier to maintain than a full custom app if your setup is simple.