billing
Zuora CLI for Coding Agents
Use the Zuora CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Manual OAuth token auth
Zuora CLI for Coding Agents
Let coding agents discover schemas and execute integration functions through CLI commands or MCP.
Use this pattern when another coding agent needs exact commands and schema discovery. The Zuora CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Zuora CLI for Coding Agents
kosmokrator integrations:configure zuora --set access_token="$ZUORA_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call zuora.zuora_list_accounts '{"page_size":1,"cursor":"example_cursor","filter":"example_filter"}' --json Discovery Before Execution
Agents and scripts can inspect Zuora docs and schemas before choosing a function.
kosmo integrations:docs zuora --json
kosmo integrations:docs zuora.zuora_list_accounts --json
kosmo integrations:schema zuora.zuora_list_accounts --json
kosmo integrations:search "Zuora" --json
kosmo integrations:list --json Useful Zuora CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
zuora.zuora_list_accounts | Read | page_size, cursor, filter | List Zuora customer accounts. Returns account IDs, names, numbers, and status. Supports filtering and pagination. |
zuora.zuora_get_account | Read | account_id | Get details of a specific Zuora account by its ID. Returns account name, number, status, balance, and billing information. |
zuora.zuora_list_subscriptions | Read | page_size, cursor, filter | List Zuora subscriptions. Returns subscription IDs, numbers, status, and key dates. Supports filtering by account, status, and more. |
zuora.zuora_get_subscription | Read | subscription_id | Get details of a specific Zuora subscription by its ID. Returns subscription status, rate plans, charges, and key dates. |
zuora.zuora_list_invoices | Read | page_size, cursor, filter | List Zuora invoices. Returns invoice IDs, numbers, amounts, status, and dates. Supports filtering by account, status, and date. |
zuora.zuora_list_payments | Read | page_size, cursor, filter | List Zuora payments. Returns payment IDs, numbers, amounts, status, and methods. Supports filtering by account, status, and date. |
zuora.zuora_get_current_user | Read | none | Get the profile of the currently authenticated Zuora user. Returns user name, email, and tenant information. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.