Change company billing state
manage_company_billingActivate a company, or request human approval for activation, after reviewing get_company_billing. Supply the exact quoted revision and price in the returned billing currency’s minor units (cents or öre); never guess them. AI/API activation additionally needs an administrator-granted automation budget even for workspace admins. Without that authority this creates a pending human approval request and does not activate or purchase capacity. Archive and restore require an authorized person to confirm in the company's web panel; this tool cannot perform them. Never invoke this merely to read, enrich, import or qualify a company. Annual capacity purchases are a separate billing-admin action.
When to use: Explicitly activate a reviewed company within an administrator-approved automation budget, or request human approval. Archive and restore require the company's web panel.
Example: Activate this company using the reviewed price, or request approval if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | activate makes the company a paid active account or creates a pending human approval request. archive and restore cannot be performed by this tool; an authorized person must confirm them in the company's web panel. | |
| account_id | Yes | The account (company) id to change — the same uuid you passed to get_company_billing for the quote you are acting on. | |
| idempotency_key | Yes | Keep this same key when retrying the same approved action. | |
| expected_revision | Yes | The `revision` from the get_company_billing result you reviewed; if the workspace's account usage changed since, the action is refused and needs a fresh quote. | |
| approved_price_minor | Yes | The reviewed `activationPriceMinor` from get_company_billing, in the billing currency's minor units (cents or öre); activate is refused when the live price differs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| account | No | ||
| revision | No | ||
| requestId | No | ||
| approvalUrl | No | ||
| workingCount | No | ||
| approvalRequired | No |