Computes revenue per order line and builds a sales summary by channel (units, line count, revenue) with the period total, from an order-line export. For e-commerce operators building a daily or weekly sales report.
Parity builds Sales Performance Register — a register with columns like Threshold applied, Report scope, Sales lines, By channel, Total units, plus computed totals.
| Output | Type | |
|---|---|---|
| Threshold applied | string | — one of: Yes, No |
| Report scope | string | — one of: Filtered by minimum, All lines |
| Sales lines | array | |
| By channel | object | |
| Total units | numeric | |
| Total revenue usd | numeric | |
| Line count | numeric |
| Input | Type | |
|---|---|---|
| Min revenue usd | numeric · required | |
| Period label | string · required | |
| Order lines | array · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.