Payroll & Settlements
Payroll is where a freight company works out exactly what each driver has earned for a pay period — miles run, waiting time, fuel charged back, advances and loans — puts the numbers in front of a second person to sign off, and then records that the driver was actually paid.
From the Lanexa 2.0 capability register · version 2.0.37 · reviewed 2026-08-24
What happens on its own.
The work nobody does. These run in the database rather than the browser, which is why they still happen when someone forgets, closes the tab, or was never told they were supposed to.
Every payroll table records every change
A database trigger writes a change record on every insert, update and delete on pay items, pay profiles, pay stubs, fuel receipts and settlement runs — independent of anything the screens do.
Every write is permission-checked at the database, not just in the screen
Pay items and settlement runs carry a trigger requiring the payroll permission for the row's own company, on insert, update and delete. Automated back-end contexts and cascading system writes are exempt.,
Approval is separation-of-duties-checked at the database
The trigger fires on every settlement-run update where an approver is being stamped for the first time, and compares the acting user against the recorded creator. It also stamps the creator automatically on insert.
Closed accounting periods are enforced at the database
Every payroll write resolves its own effective date — the period end for settlement runs and stubs, the creation date for pay items, the transaction date for fuel receipts — and checks the period status. Hard-closed rejects; soft-closed all
What you can do here.
Every item below is live in production today. Anything not yet built is listed further down rather than left out.
What we haven’t built here — by design.
Publishing this is the point. Payroll & Settlements ships 47 capabilities today; these 6 are not built yet, and you should know that before a sales call rather than after one.
| Capability | Status |
|---|---|
| Jump from a settlement to its pay stub | In progress |
| Pay by the hour | Not built |
| Reimburse lumper fees | Not built |
| Pay drop/hook, layover, tarp, hazmat premium, border crossing and an accessorial share | Not built |
| Pay empty miles | Not built |
| Approve settlements for the whole fleet at once | Not built |