Feature: Claim overtime through approvals 

Description 

Where overtime needs approval, the time a final day exceeds the target and the daily tolerance becomes an overtime claim of subject type overtime in the approval engine: automatically when the day becomes final, or claimed by the employee (createOvertimeClaim) where the company submits by request. An approved claim is credited to the working-time account, a rejected or withdrawn one books nothing, and a pending one counts as pending overtime.

Claims follow their day: a pending claim takes the new excess, an approved one is corrected by a further entry when the excess falls, and a growing excess starts a further claim. Claims carry the seconds worked at night, on Sundays and on public holidays as data for payroll. listOvertimeClaims, getOvertimeClaim and withdrawOvertimeClaim complete the API, and AttendanceWorkedTimeQuery gives other modules the worked time of a period including a punch still running today.

Impact 

Companies with the overtime policy approvalRequired get approvals of the new subject type; approval rules may test their size in seconds.