Employee checkins
Record punches from devices, the desk or the employee app, with optional location checks.
An Employee Checkin is one punch: an employee and a time, with an optional IN or OUT. Shift Type's hourly auto attendance turns checkins into Attendance. See Attendance and shifts for that flow.
Where checkins come from
| Source | How |
|---|---|
| Employee app | The check-in panel at /hrms/, with the phone's position |
| Desk | A new Employee Checkin. Fetch Geolocation fills the coordinates from the browser |
| Attendance device | A POST to hrms.checkin.add_log with an API key |
An Employee cannot set their own checkin's time. It takes the current time. HR can set any time.
Fields
| Field | Notes |
|---|---|
| Employee, Time | Required. The time is cut to the second |
| Log Type | IN or OUT. Required when the shift's Determine Check-in and Check-out is "Strictly based on Log Type" |
| Location / Device ID | Free text, such as the device's name |
| Skip Auto Attendance | Auto attendance ignores this checkin |
| Shift | Filled by HRMS: the shift the time falls in, margins and night shifts included, else the Default Shift |
| Attendance Marked | The Attendance auto attendance linked it to |
| Latitude, Longitude | Required when geolocation tracking is on |
A checkin outside any shift is flagged off-shift. Fetch Shift on the form, or Fetch Shifts on the list, works the shift out again.
Rules
- An Inactive employee is refused.
- A second log of the employee with the same time and log type is refused.
- The time cannot change while an Attendance is linked. Cancel the attendance first.
Location checks
Turn on HR Settings' Allow Geolocation Tracking.
Create a Shift Location with a name, Latitude, Longitude and Checkin Radius in metres. Fetch Geolocation on its form fills the coordinates from the browser.
Set the Shift Location on the employee's Shift Assignment.
Every checkin then needs coordinates. A check-in farther from the assignment's Shift Location than its radius is refused with "You must be within" the radius.
Device integration
A biometric or RFID device, or a script reading one, posts each punch to /api/rpc/hrms.checkin.add_log. It signs the request with an API key whose user can create Employee Checkin and read the employee.
curl -X POST https://HOST/api/rpc/hrms.checkin.add_log \
-H "Authorization: token API_KEY:API_SECRET" \
-H "Content-Type: application/json" \
-d '{"employee_field_value": "1042", "timestamp": "2026-12-01 09:04:11", "device_id": "Kochi gate", "log_type": "IN"}'| Argument | Meaning |
|---|---|
| employee_field_value | The value that identifies the employee. Required |
| employee_fieldname | Which Employee field to match: attendance_device_id (default), name or employee |
| timestamp | The punch time in the site's time zone. Required |
| device_id, log_type, skip_auto_attendance, latitude, longitude | Optional, copied to the checkin |
The example finds the Employee whose Attendance Device ID is 1042 and records an IN at 09:04:11.
For a single device that sends every punch in order, tick Automatically update Last Sync of Checkin on the Shift Type. Otherwise set Last Sync of Checkin by hand once all devices have synced. Auto attendance only marks shifts that ended before the last sync.