01 / Field-Service Ops · Case Study

Enforcement‑First Field‑Service OS

An operations platform for an electrical, security, AV & telecom group: five portals over one decision gate, spanning quote-to-cash, procurement, workforce, assets and dual-sided billing.

RoleSoftware Engineer II · Slidey LLC
ScopeSole architect: greenfield build
TimelineMay 2026 to Present
ClientAustralian multi-entity trade group
Shape3 apps · 24 packages
ETG admin dashboard and technician app
The Brief

Stop margin leakage before it ships.

Unbilled supplier costs and scheduled-vs-actual billing gaps were leaking an estimated $5k a week. ETG puts one pure, unit-testable decision gate between the API and every workflow: every dispatch, closeout and invoice transition is evaluated, and every block or manager override lands in an audit trail.

Five portals: ops, technician, client, subcontractor, and tokenised public links
Quote-to-cash: work requests, quotes, projects, field jobs, invoicing, receivables
Procurement: purchase orders, supplier invoices and credits, stock, scored bank reconciliation
Workforce: scheduling, timesheets, closeouts, licences and inductions, AU award rules
Assets & compliance: registers, site credentials, field checklists, document control
Governance: approvals, alerts, enforcement events, SLA targets, audit log
Architecture & Stack

One enforcement gate behind every workflow.

Clients
Web portalsNext.js 16 · React 19
Technician mobileAccept, clock on, close out
API
Fastify 5 · tRPC 11Type-safe API · Better Auth
Gate
evaluateDecision()One gate: dispatch, closeout, billing
Data & jobs
Prisma 7 · PostgreSQLBigInt cents, ex-GST
BullMQ worker · RedisReconciliation sweeps · DLQ
Stack
Frontend
Next.js 16React 19
Backend
Fastify 5tRPC 11Prisma 7
Data
PostgreSQLBullMQRedis
Infra
Better AuthAirwallexDockerRailway
Key Decisions
01One shared enforcement gate (evaluateDecision) across dispatch, closeout & billing: structured failure codes, audited overrides
02Money modelled as BigInt integer cents (ex-GST)
03Event-driven workers with dead-letter queues
Walkthrough

Five portals, one rulebook.

Technician App · Mobile
ETG technician home with the day's jobs
Today: jobs & what needs attention
ETG technician travel timer
Travel timer on the way to site
ETG technician on the clock
On the clock at the site
ETG technician closeout checks
Closeout checks before finishing
ETG technician timesheet
A timesheet week sent back for a fix
ETG technician schedule
Upcoming schedule
Operations · Web
ETG admin dashboard
Dashboard: what needs action now
ETG dispatch board, week view
Dispatch board, week view
ETG field jobs list
Field jobs, blocked first
ETG shared inbox thread
Shared inbox: an email linked to its job
The Rulebook at Work
ETG blocked stage change with manager override
A blocked stage change & the manager override
ETG closeout blocked until evidence is recorded
Closeout blocked until the evidence is on record
ETG enforcement rules
Where the rules fire across the job lifecycle
ETG draft invoice checks
Checks on a draft invoice before issue
Bills & Bank
ETG supplier bill read from its PDF
A supplier bill read from its PDF, awaiting confirmation
ETG bank payment compared with its bill
A bank payment matched against its bill

Screens from a local build running on demo data.

$5k/wkBilling leakage closed
1,500+tRPC procedures
52K+Automated tests

Stops an estimated $5k a week of margin leakage by blocking unbillable or non-compliant work before it ships. The same gate runs behind all five portals, so field, client and back office never disagree about a job’s state, backed by 52,000+ tests across 4,700+ files.

Next case study

Hyss: AV & Live Events Staffing Platform

→