Draft a payroll run
NOT available to API keys — requires an interactive admin/approver session. Computes a draft payroll run for the period from current employees, tax cards, and employer settings. Drafting does not pay anyone — a separate approval is required. Pass idempotency_key to make retries safe.
Authorizations
Firebase ID token from an interactive portal session. Required for admin/approver-only operations (payroll approval, company settings, API-key management).
Body
Response
Updated payroll workspace including the draft run.
The payroll workspace for a period: employees, employer settings, and runs. Amounts are integer cents; rates are basis points. Interior shapes beyond the top level vary and are returned as-is.