Approve or unlock a statement
approve_statementApprove a rep's statement to lock it for a period, or revert it to draft to unlock and resume recalculations.
Instructions
Approve a rep's statement for a period (status='approved'), or revert it to draft (status='draft') to unlock. ⚠️ Approval LOCKS the statement: recalculations skip this rep+period until reverted to draft. The body is exactly {period, status} — there is no 'approve: true' shorthand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repId | Yes | Rep whose statement to approve/unlock | |
| period | Yes | Statement period, e.g. '2026-06' | |
| status | Yes | 'approved' locks; 'draft' unlocks |