Skip to main content

AttendanceOverview

Contains data for all employee absences/attendances/breaks for a given month.

type AttendanceOverview {
absenceSummary: [AbsenceSummary]!
breakTime: Int!
dailyAttendanceSummary: [DailyAttendanceSummary!]
overtimeForMonth: Int!
surchargeSummary: [SurchargeData!]
totalOvertime: Int!
totalSurcharges: Int!
workingTime: Int!
}

Fields​

AttendanceOverview.absenceSummary ● [AbsenceSummary]! non-null object​

Monthly summary about the employee's absences

AttendanceOverview.breakTime ● Int! non-null scalar​

Monthly total break time of the employee in minutes

AttendanceOverview.dailyAttendanceSummary ● [DailyAttendanceSummary!] list object​

List of attendance summaries for every day of the month

AttendanceOverview.overtimeForMonth ● Int! non-null scalar​

Sum of the overtime the employee acquired within the queried month, in minutes. Aggregated from the daily overtime records, so it covers only this month — unlike totalOvertime, which is the running all-time balance.

AttendanceOverview.surchargeSummary ● [SurchargeData!] list object​

Type and total time for every surcharge applied to the client for the given month

AttendanceOverview.totalOvertime ● Int! non-null scalar​

The employee's running overtime balance in minutes, over their whole history — not just the queried month. Read straight from Odoo (hr.employee.total_overtime), so it matches the balance shown on the Odoo employee page. Negative when the employee is in undertime. Use overtimeForMonth for the overtime acquired within the queried month.

AttendanceOverview.totalSurcharges ● Int! non-null scalar​

Monthly total surcharges (of all types) of the employee in minutes

AttendanceOverview.workingTime ● Int! non-null scalar​

Monthly total working time of the employee in minutes

Member Of​

Employee object