Computes revenue, cost, and margin per work order from a work-order export, rolled up by job type with totals and overall margin—the job-margin report. For service ops and finance leads.
Parity builds Work Order Profitability Register — a register with columns like Threshold applied, Report scope, Wo lines, By job type, Total revenue usd, plus computed totals.
| Output | Type | |
|---|---|---|
| Threshold applied | string | — one of: Yes, No |
| Report scope | string | — one of: Filtered by minimum, All work orders |
| Wo lines | array | |
| By job type | object | |
| Total revenue usd | numeric | |
| Total cost usd | numeric | |
| Total margin usd | numeric | |
| Overall margin pct | numeric |
| Input | Type | |
|---|---|---|
| Min revenue usd | numeric · required | |
| Period label | string · required | |
| Work orders | array · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.