Decides a batch of cancellation requests into approve, return, cancel, or escalate from order status, fraud flag, inventory, customer tier, and reason, counting those not cleanly approved, with a per-status summary. For e-commerce operators processing cancellations.
Parity builds Order Cancellation Register — a register with columns like Line items, By order status, Exception count, Total requests, plus computed totals.
| Output | Type | |
|---|---|---|
| Line items | array | |
| By order status | object | |
| Exception count | numeric | |
| Total requests | numeric |
| Input | Type | |
|---|---|---|
| Requests | array · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.