Returns every Commission for (user_id, period_id) in the caller’s org plus the period summary and total. Use this as the single aggregate document at period close.
Provide your API key as Authorization: Bearer <key>. Generate keys in the OpenQuota admin under Settings → API Keys.
The rep's statement for the period.
Aggregate view of a rep's commissions for a single period — the rep's canonical document at period close.
Period the statement covers. status is open while live, locked post-close.
Sum of amount_cents across every Line in the statement.
Number of Lines (commissions) in the statement.
Every Commission (Line) for (user_id, period_id) in the caller's org, created-first order.