Skip to content

A Note on Biometric Integration in ERPNext

Karthikeyan S edited this page May 29, 2020 · 2 revisions

Note: this wiki page is not updated anymore and some portions of it may be outdated. Please refer to this ERPNext documentation page for updated information.

Currently "Auto Attendance" in ERPNext helps mark attendance based on IN/OUT logs of employees. These IN/OUT logs are stored in "Employee Checkin" Doctype. You can then setup the Shift Type and assign the shift to employees in order to enable the Auto Attendance.

The Check-in/Check-out Logs from a Biometric Device is also a type of IN/OUT logs of employees...

So, to be precise ERPNext itself does not directly Support Biometric devices, But it supports creating Attendance from any IN/OUT logs the are stored in "Employee Checkin" Doctype.

The question now becomes: What solutions are available to import Biometric Logs as "Employee Checkin" in ERPNext?

  • Solution 1:(This is independent of biometric device manufacturer) Use the Data Import Tool to import biometric logs into Employee Checkin Doctype.

  • Solution 2:(This solution is applicable if the user has a "ZKTeco"/"ESSL" biometric devices and they have a little bit of technical knowledge) A script needs to be installed on a computer that is on the same LAN network as the biometric device (i.e. Customer's PC). This script pulls biometric logs and pushes it to ERPNext at regular intervals. Please take a look at the github repo for more instructions.

  • Solution 3:(Custom API Integration) You can setup your biometric system to call the following api and create a Employee Checkin record. /api/method/erpnext.hr.doctype.employee_checkin.employee_checkin.add_log_based_on_employee_field