Sales commission
Monthly engine per §13: completed jobs → revenue → eligible amount → commission rule → commission amount. Record schema: sales_id, period, job_order_id, base_amount, commission_rate, commission_amount, status.
Commission rules (configurable)
§13 · percentage · fixed_amount · threshold · margin_based| Rule | Type | Configuration | Applies to | Status |
|---|
Commission records
period 2026-08
| Sales | Period | Job order | Base amount | Rate | Commission | Status |
|---|
Engine boundary. The monthly run is a backend job over completed jobs only; records are created as Pending approval and never recalculated silently — a correction spawns a new record referencing the old one. Sales sees own records only (sales_id = current_user.id, §3.2); approval and rule configuration are Finance/Super Admin. Eligibility (eligible_amount vs base) uses the margin_based floor from Margin Configuration (EPIC 07, G5).