KosmoKrator

sales

Avalara CLI for Headless Automation

Use the Avalara CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Bearer token auth

Avalara CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Avalara CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Avalara CLI for Headless Automation
kosmokrator integrations:configure avalara --set access_token="$AVALARA_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call avalara.avalara_list_transactions '{"top":1,"skip":1,"filter":"example_filter","orderBy":"example_orderBy"}' --json

Discovery Before Execution

Agents and scripts can inspect Avalara docs and schemas before choosing a function.

kosmo integrations:docs avalara --json
kosmo integrations:docs avalara.avalara_list_transactions --json
kosmo integrations:schema avalara.avalara_list_transactions --json
kosmo integrations:search "Avalara" --json
kosmo integrations:list --json

Useful Avalara CLI Functions

FunctionTypeParametersDescription
avalara.avalara_list_transactions Read top, skip, filter, orderBy List transactions from Avalara. Supports filtering by date, status, and other criteria with pagination.
avalara.avalara_get_transaction Read id Retrieve details of a single transaction in Avalara by its ID.
avalara.avalara_create_transaction Write companyCode, type, date, code, customerCode, lines, addresses, commit, description Create a new transaction (sales order or invoice) in Avalara for tax calculation. Requires company code, transaction type, date, and line items.
avalara.avalara_list_companies Read top, skip, filter List companies configured in your Avalara account. Supports filtering and pagination.
avalara.avalara_get_company Read id Retrieve details of a single company configured in Avalara by its ID.
avalara.avalara_list_tax_codes Read top, skip, filter List tax codes available in Avalara. Tax codes classify products and services for tax purposes. Supports filtering and pagination.
avalara.avalara_get_current_user Read none Retrieve the current authenticated Avalara user information.

Automation Notes

Related Avalara CLI Pages