- Deploy an event listener (ADMS Push) over polling: Modern biometric devices support HTTP Push (ADMS). Configure the machine to POST punches to your webhook endpoint in real time rather than running slow scheduled scraping jobs.
- Normalize midnight shift boundaries: Night shifts starting at 8:00 PM on Day 1 and ending at 4:00 AM on Day 2 will corrupt attendance muster rolls if paired purely by calendar date. Cluster punches based on active shift windows.
- Statutory PF calculation subtleties: Ensure your calculation engine correctly handles the ₹15,000 statutory wage ceiling, the 8.33% EPS cap (maximum ₹1,250), and optional higher voluntary PF contributions.
- Generate direct bank bulk upload files: Eliminate manual net pay bank transfers. The payroll engine must auto-format payment instructions in exact HDFC CMS, ICICI CIB, or SBI corporate formats.
The Challenge: Disconnected Biometric Hardware and Excel Payroll
In thousands of Indian factories, warehouses, construction sites, and retail chains, biometric hardware (such as ZKTeco, eSSL, Realtime, or Matrix devices) functions merely as an offline clock.
At month-end, the HR department or accountant manually exports raw .dat, .csv, or Excel logs using a USB pen-drive or desktop software. They spend 4–7 business days manually calculating:
- Who came late beyond the 15-minute grace threshold?
- Who worked overtime, and which plant shifts crossed midnight?
- How many Loss-of-Pay (LOP) days occurred after exhausting paid leaves?
- What are the exact statutory deductions for Employee Provident Fund (EPF), Employee State Insurance (ESIC), Professional Tax (PT), and Labour Welfare Fund (LWF)?
This manual workflow is prone to human error, causes salary disbursement delays, and creates compliance liabilities during statutory labor audits. Here is how we engineer a real-time, automated hardware-to-bank pipeline.
Architecture 1: Real-Time Hardware Sync (ADMS Push API)
Most modern standalone biometric machines have an ADMS (Automatic Data Master Server) or Cloud Push capability. Rather than requiring software to dial the machine's IP, the hardware actively pushes punch events to a cloud webhook over standard HTTPS:
POST /api/v1/biometric/device-webhook HTTP/1.1
Host: hrms.yourcompany.com
Content-Type: application/json
X-Device-Serial: BMT9204821
{
"device_sn": "BMT9204821",
"user_id": "EMP-1042",
"timestamp": "2026-09-25 09:04:12",
"punch_type": "CHECK_IN",
"verify_mode": "FINGERPRINT", // or FACE, CARD, PIN
"device_location": "Plant-1 Gate 2"
}
Your cloud backend verifies the device signature, registers the raw punch in an append-only audit table, and schedules a lightweight queue job to evaluate the employee's assigned shift rules.
Architecture 2: Shift Logic & Anomaly Processing
Raw punches are noisy. Employees punch twice within 30 seconds, forget to punch out for lunch, or punch in for night shifts that bridge across two calendar days.
The 4 Core Cleaning Rules:
- De-duplication (Debounce Window): Discard repeated punches for the same employee within 3 minutes of a previous registration.
- Assigned Shift Windows: Assign punches to shifts based on expected start times rather than calendar dates. For a 10:00 PM to 6:00 AM shift, a 5:58 AM punch on Tuesday belongs to Monday's shift cycle.
- Grace Period & Late Mark Policies: Define configurable rules (e.g. 15 minutes grace time; 3 late arrivals in a month equal 0.5 day deduction from Casual Leave).
- Missing Punch Fallback: If an employee punches IN but misses OUT, the system flags the day for supervisor approval rather than silently marking absent.
Architecture 3: Indian Statutory Payroll Calculation Engine
Once final payable days (Total Days - LOP Days) are calculated on the 1st of the month, the automated calculation engine applies statutory rules:
| Statutory Head | Standard Formula (Indian Labor Law) | Key Rules & Ceilings |
|---|---|---|
| Employee Provident Fund (EPF) | 12% of (Basic + DA) | Mandatory up to statutory ceiling of ₹15,000/month (i.e. ₹1,800 max standard deduction). Employer 12% split: 8.33% to Pension (EPS max ₹1,250) and 3.67% to EPF. |
| Employee State Insurance (ESIC) | Employee: 0.75% of Gross Wages Employer: 3.25% of Gross Wages |
Applicable to employees earning gross salary up to ₹21,000 per month (₹25,000 for persons with disabilities). |
| Professional Tax (PT) | State-specific monthly slab schedules | e.g., Gujarat: ₹0 up to ₹12,000, ₹200 above ₹12,000. Maharashtra: ₹200/month (₹300 in February). |
| TDS (Income Tax Section 192) | Old vs. New Tax Regime monthly deduction | Projected annual taxable income divided across remaining financial year months. |
Architecture 4: 1-Click Bank Payout Generation
The final output of our payroll engine is not just a PDF payslip—it is the direct corporate bulk payout file ready for secure upload to corporate banking portals (HDFC E-Net CMS, ICICI Corporate Internet Banking, State Bank of India CMP).
Finance approvers simply authorize the uploaded batch with an OTP/token, and funds credit directly into employee accounts with automated WhatsApp payslip notifications dispatched instantly.
Tired of Monthly Per-User SaaS Fees for Your HR & Payroll?
Explore Arhant HRMS: One-time investment, full source-code ownership, native biometric hardware sync, and automated statutory Indian payroll.