KosmoKrator

sales

Avalara CLI for CI

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

7 functions 6 read 1 write Bearer token auth

Avalara CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. 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 CI
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