Rules engine & calculation API

Overtime rules, as an API

Configure jurisdiction and contract-specific overtime rules once, in a guided rule editor — then call one API to get correct, auditable OT calculations back. No more hardcoded per-client logic buried in your own codebase.

No card required to build and test a ruleset. Free Starter plan, ~100 evaluations a month.

A RuleVerdict rule editor with a grouped-condition overtime rule — daily hours AND a night-shift hour range — feeding a JSON response from the /v1/evaluate/ API

Purpose-built for

  • Payroll platforms
  • Time & attendance products
  • Workforce management
  • HR & PEO software
  • Staffing & scheduling tools
How it works

Three steps, no redeploy when a rule changes

A dedicated rules engine — daily/weekly thresholds, rest-hours and short-turnaround detection, holiday and shift-differential premiums, grouped conditions and hour-range matching — reviewable and testable before it ever touches a real paycheck.

Your product sends staff time entries to RuleVerdict in one API call and gets reconciled regular and overtime hours back

Configure your rules

Build daily/weekly thresholds, rest-hours and short-turnaround detection, holiday and shift-differential premiums in a guided rule editor — no code, no redeploy. Group conditions with AND/OR, match hour ranges like a night shift crossing midnight, and track custom fields your contract needs alongside the built-ins. Or paste in a contract or CBA and let AI draft the starting rule set for you, ready to review before anything publishes.

Test, then publish

Run real time entries against a draft before it ever affects a paycheck. A published version is immutable and versioned — every change is auditable.

Call one API

Send staff time entries to /v1/evaluate/ and get back correct, reconciled regular/overtime hours — the same engine your rule editor tested against.

The engine

What it handles for you

The parts of overtime that are easy to get subtly wrong — evaluated consistently, the same way every time, with a record of exactly which rules applied. Every draft and publish is its own immutable version, so "what applied on this date" is always a real answer.

A stack of published and draft ruleset versions on an audit timeline

Daily & weekly thresholds

Federal and state-style tiered overtime, evaluated per day and per week.

Rest hours & short turnaround

Detects insufficient rest between shifts, including shifts that cross midnight.

Holiday & shift-differential premiums

Named-holiday and time-of-day premium pay, configured per contract.

Configurable rounding

Round clock times or computed hours to the nearest 15 / 30 / 60 minutes — your call.

Condition groups & hour ranges

Group conditions with AND/OR, match hour ranges that cross midnight, and add custom fields your contract needs.

Versioned, auditable rules

Every draft, publish, and edit is logged — reconstruct exactly what applied on any date.

Need the whole app?

Looking for more than an API?

TockLogic is the complete workforce app built on this same overtime engine: scheduling, time tracking, leave, pay and bill rates, client invoices and reports, with web and mobile apps.

Explore TockLogic

Ship overtime you can defend

Build a ruleset, run it against real time entries, and call it from your product today.