Computes total gross (front + back) per deal from a DMS deal export and rolls it up by salesperson with totals and average gross per deal — the daily deal recap a GM or dealer principal reviews.
Parity builds Deal Gross Register — a register with columns like Threshold applied, Report scope, Deal lines, By salesperson, Total front gross usd, plus computed totals.
| Output | Type | |
|---|---|---|
| Threshold applied | string | — one of: Yes, No |
| Report scope | string | — one of: Filtered by minimum, All deals |
| Deal lines | array | |
| By salesperson | object | |
| Total front gross usd | numeric | |
| Total back gross usd | numeric | |
| Total gross usd | numeric | |
| Avg gross per deal usd | numeric |
| Input | Type | |
|---|---|---|
| Min gross usd | numeric · required | |
| Period label | string · required | |
| Deals | array · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.