Policy & Rules Engine

Write the policy once. It runs every morning.

Grace minutes, late slabs, OT limits, rain days, leave quotas, PF and ESI. You set them in plain words in Company Settings, and NEX HRMS applies them to every punch, leave request and payslip. No formulas hiding in an Excel sheet.

12 rule groups Rule ek baar, har din. NEX HRMS policy and rules engine with rule groups for shifts, OT, penalties and leave
General Shift · 9:00 to 18:00Grace period 15 min
12 rule groupsfrom shifts to statutory rules
Plain wordsHR can read the rule out loud
Every moduleattendance, leave and payroll
Straight to payrolllate, OT and penalties applied
Try it · rule playground

Be the HR head for one minute.

Move the shift, the grace, the slabs and the OT limit. Five of this morning's punches get re-checked as you go, and the policy rewrites itself in plain English underneath.

fiddle with these!
Late slabs
Slab 109:15 to 09:45₹100
Slab 209:45 to 10:15₹200
Slab 3after 10:15₹500
This morning's punchesGeneral Shift
  • ASAarav S.In 08:56 · Out 19:16 · 10h 20m worked+ ₹200On timeOT 1h 20m
  • PKPriya K.In 09:11 · Out 18:08 · 8h 57m worked₹0In grace · 11m
  • RMRohan M.In 09:32 · Out 19:10 · 9h 38m worked− ₹100 + ₹95Late slab 1 · 32mOT 38m
  • NJNeha J.In 09:52 · Out 18:30 · 8h 38m worked− ₹200Late slab 2 · 52m
  • VKVikram K.In 10:24 · Out 19:00 · 8h 36m worked− ₹500Late slab 3 · 84m
LATE TODAY3 of 5
PENALTIES₹800
OVERTIME1h 58m
OT PAY₹295
YOUR POLICY, IN PLAIN WORDSShift starts at 9:00. Anyone in after 9:15 is late. Up to 9:45 costs ₹100, up to 10:15 costs ₹200, and after 10:15 it's ₹500. Work beyond 9 hours in a day counts as overtime.

Illustrative example. Names, times, slab amounts and the ₹150-an-hour OT rate are made up for this demo and are not statutory or legal advice. Breaks are left out to keep the maths simple. In NEX HRMS you set your own rules.

Why a rules engine

Your rules sit together, written the way HR says them out loud. Change the grace from 15 to 10 minutes on Monday, and from Tuesday every punch, leave request and payslip follows the new rule.

Shifts Shift Thresholds OT Rules Emergency / Rain Days Penalties Break Rules Early Out Payroll Logic Leave Rules Statutory Rules Form Rules Company
Rules in action

Six rule groups, up close.

Each one is a short settings card with an "in plain words" line underneath, so anyone can check what the system will do.

Shifts & thresholds

A start time, an end time, a fair grace.

Each shift gets its own timings and grace minutes. Every punch is judged against them.

  • Multiple shifts, each with its own timings.
  • Grace period before a punch counts as late.
  • Shift thresholds for how worked hours are judged.
  • Week-offs set per shift.
General ShiftActive
07:0011:0015:0019:0023:00
Shift timingStart and end09:00 – 18:00
Grace periodBefore a punch is late15 min
Week-offApplied to the registerSunday
IN PLAIN WORDSA punch after 09:15 is marked late. Sunday is a week-off for everyone on this shift.

Illustrative example

OT rules

Overtime inside a clear window.

Set when overtime starts and ends. OT is counted from the punch-out time and lands on the payslip.

  • OT window after the shift ends.
  • Counted from punches, not from a supervisor's note.
  • Paid through payroll as an overtime line.
OT RulesActive
07:0011:0015:0019:0023:00
OT windowCounted as overtime18:30 – 22:00
Applies toShiftGeneral Shift
Send OT to payrollOvertime line on payslip
IN PLAIN WORDSWork done between 18:30 and 22:00 counts as overtime and is paid in this month's payroll.

Illustrative example

Penalties

Late slabs that apply themselves.

Decide what each level of lateness costs. Nobody counts late marks by hand on the 30th.

  • Late slabs by minutes late.
  • Penalties and bonuses handled by rules.
  • Applied in payroll as an LOP / penalty line.
Late penalty slabs3 slabs
Late byPenalty
Up to 15 minGrace
16 – 30 min₹ 100
31 – 60 minQuarter day
More than 60 minHalf day
IN PLAIN WORDSComing in 40 minutes late costs a quarter day. Payroll deducts it on its own.

Illustrative example

Early out & exit policy

Leaving at 17:40 means the same thing for everyone.

A few minutes of early-out grace, then penalty slabs take over. Deductions land in payroll on their own.

  • Early-out grace minutes before a penalty applies.
  • Penalty slabs for leaving early.
  • Auto-deducted in payroll, so nothing slips.
Early OutActive
Early-out graceBefore shift end10 min
Auto-deduct in payrollUses the slabs below
Left early byDeduction
11 – 30 min₹ 100
31 – 90 minQuarter day
More than 90 minHalf day
IN PLAIN WORDSLeaving at 17:40 on an 18:00 shift is 20 minutes early, so ₹ 100 is deducted this month.

Illustrative example

Emergency / rain days

The trains stopped. The late marks shouldn't pile up.

Heavy rain, a transport strike or a local emergency. Declare the day once and the rule handles everyone.

  • Its own rule group for disrupted days.
  • Applied to your locations in one step.
  • No one-by-one corrections for the whole team.
Emergency / Rain DayDeclared
DateDisrupted day14 Aug
ReasonHeavy rain
Applies toWork locationsAll locations
Waive late penaltiesFor this day
IN PLAIN WORDSOn 14 Aug, nobody gets a late penalty at any location because of the rain.

Illustrative example

Leave rules

12 CL, 15 EL, 10 SL. Written down once.

Set yearly quotas per leave type, carry-forward and notice rules. Leave requests and payroll follow them.

  • CL, SL, EL and LWP with custom quotas.
  • Accrual and carry-forward worked out for you.
  • Max consecutive days, notice days and the sandwich rule.
Explore Leave
Leave RulesActive
CL12 days
EL15 days
SL10 days
Carry-forward ELInto next year
Minimum noticeSL exempt2 days
Sandwich ruleWeek-offs in between count

Illustrative example

One screen for every policy

Stop keeping rules in one person's head.

When the late policy lives in one person's memory, every month-end turns into a debate. Rule groups sit side by side on one settings screen, so HR, managers and your auditor read the same policy the system applies.

  • 12 rule groups covering attendance, leave, payroll and statutory rules.
  • Plain language instead of formulas in a spreadsheet.
  • Applied every time to punches, leave and the payroll run.
Rules tab in Company Settings
Company

Pick a code your staff can type.

Employees enter a short company login code with their username and password. Make it something they remember on the first try.

  • Company login code: 3 to 10 letters or digits.
  • Unique to your company, so staff land in the right account.
  • Departments, week-offs and holidays set alongside.
CompanyProfile
Company nameYour Company Pvt. Ltd.
Company login code3–10 letters or digits · must be unique
NEXDEMO
Code available Unique

Illustrative example

Payroll logic

Rule in, payslip out.

Late slabs, early-out deductions, overtime, bonuses and statutory rules all end up in the same place: the monthly payroll run.

  • Loss of pay pulled from attendance.
  • PF (12%) and ESI from your statutory rules.
  • Overtime, penalties and bonuses added by rule.
Punch Rule Payslip
PAYSLIP

Net Pay

₹ 48,250

Basic + Allowances₹ 52,000
Overtime+ ₹ 1,800
PF (12%)– ₹ 3,120
ESI– ₹ 430
LOP / Penalty– ₹ 2,000

Illustrative example

Late slab · 31–60 minAdded to LOP / Penalty
Company Settings

The rest of your setup, one menu away.

Rules sit next to branding, locations and notifications, under the same Company Settings tabs.

SETTINGS · 01

Company Branding

Your logo at the top of every payslip, not ours.

SETTINGS · 02

Payslip Templates

Pick the payslip layout once. Every PDF that month follows it.

SETTINGS · 03

Work Locations

Head Office, Site A, Store 3: each one a geofence that punches are checked against.

SETTINGS · 04

Reports Download

Pull September's attendance register when your CA asks for it.

SETTINGS · 05

Common Biometric

Switch on kiosk mode and one tablet at the gate recognises every enrolled face (1:N).

SETTINGS · 06

Notifications

Approved leave buzzes the employee's phone the moment HR clicks.

The rules HR already follows

Nine rules, written down once.

Applied the same way for the first employee and the five-hundredth.

Plain-language rules

"A punch after 09:15 is late." That is the rule, word for word.

Shifts & grace periods

General Shift 9:00 to 18:00 with 15 minutes of grace. The night shift gets its own.

Shift thresholds

Set how worked hours are judged on each shift, so a short day is flagged the same way every time.

OT windows

Work between 18:30 and 22:00 is overtime, paid in this month's run.

Break rules

Decide whether a 40-minute lunch eats into worked hours.

Late & early-out slabs

Leave at 17:40 on an 18:00 shift and the ₹100 early-out slab applies.

Emergency / rain days

Declare 14 Aug a rain day for all locations. That day's late penalties are waived.

Payroll logic

Loss of pay, penalties and bonuses added by rule, not typed in by hand.

Statutory rules

PF at 12% and ESI worked out in every payroll run.

FAQ

Rules engine questions.

More questions? Talk to us.

Which rules can we configure?
Twelve rule groups: Shifts, Shift Thresholds, OT Rules, Emergency / Rain Days, Penalties, Break Rules, Early Out, Payroll Logic, Leave Rules, Statutory Rules, Form Rules and Company.
Do we need to write formulas?
No. Rules are simple values such as shift timings, grace minutes, slabs and quotas, and they read in plain language.
How do late and early-out penalties reach payroll?
Late marks and early exits are worked out from each employee's shift and grace period. The matching penalty slab is then deducted in the monthly payroll run.
What is the company login code?
A short, unique code of 3 to 10 letters or digits, set in Company Settings. Employees enter it with their username and password when they sign in to the app.
Will you help us set up our rules?
Yes. When we set up your trial, we configure your shifts, locations, leave types and payroll rules with you.