KosmoKrator

productivity

TaxJar CLI for AI Agents

Use the TaxJar CLI from KosmoKrator to call TaxJar tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

TaxJar CLI Setup

TaxJar can be configured headlessly with `kosmokrator integrations:configure taxjar`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure taxjar --set access_token="$TAXJAR_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor taxjar --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token TAXJAR_ACCESS_TOKEN Secret secret yes Access Token

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call taxjar.taxjar_list_orders '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json
Provider shortcut
kosmo integrations:taxjar taxjar_list_orders '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs taxjar --json
kosmo integrations:docs taxjar.taxjar_list_orders --json
kosmo integrations:schema taxjar.taxjar_list_orders --json
kosmo integrations:search "TaxJar" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

taxjar.taxjar_list_orders

List order transactions from TaxJar with optional date filtering and pagination. Returns order details including transaction ID, amount, tax, and date.

Read read
Parameters
from_date, to_date, limit, offset
Generic call
kosmo integrations:call taxjar.taxjar_list_orders '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json
Shortcut
kosmo integrations:taxjar taxjar_list_orders '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json

taxjar.taxjar_get_order

Retrieve detailed information about a specific TaxJar order transaction by its ID, including amount, tax, shipping, line items, and addresses.

Read read
Parameters
id
Generic call
kosmo integrations:call taxjar.taxjar_get_order '{"id":"example_id"}' --json
Shortcut
kosmo integrations:taxjar taxjar_get_order '{"id":"example_id"}' --json

taxjar.taxjar_list_refunds

List refund transactions from TaxJar with optional date filtering and pagination. Returns refund details including transaction ID, amount, tax, and date.

Read read
Parameters
from_date, to_date, limit, offset
Generic call
kosmo integrations:call taxjar.taxjar_list_refunds '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json
Shortcut
kosmo integrations:taxjar taxjar_list_refunds '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json

taxjar.taxjar_list_transactions

List all transactions (orders and refunds) from TaxJar with optional date filtering and pagination. Returns transaction details including ID, amount, tax, date, and type.

Read read
Parameters
from_date, to_date, limit, offset
Generic call
kosmo integrations:call taxjar.taxjar_list_transactions '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json
Shortcut
kosmo integrations:taxjar taxjar_list_transactions '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json

taxjar.taxjar_get_transaction

Retrieve detailed information about a specific TaxJar transaction by its ID, including amount, tax, shipping, line items, and addresses.

Read read
Parameters
id
Generic call
kosmo integrations:call taxjar.taxjar_get_transaction '{"id":"example_id"}' --json
Shortcut
kosmo integrations:taxjar taxjar_get_transaction '{"id":"example_id"}' --json

taxjar.taxjar_list_categories

List all tax categories available in TaxJar. Returns category details including name, product tax code, and description.

Read read
Parameters
none
Generic call
kosmo integrations:call taxjar.taxjar_list_categories '{}' --json
Shortcut
kosmo integrations:taxjar taxjar_list_categories '{}' --json

taxjar.taxjar_get_current_user

Retrieve the current authenticated user information from TaxJar. Use this to verify credentials are working and check user details.

Read read
Parameters
none
Generic call
kosmo integrations:call taxjar.taxjar_get_current_user '{}' --json
Shortcut
kosmo integrations:taxjar taxjar_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

taxjar.taxjar_list_orders 4 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_list_orders --json
ParameterTypeRequiredDescription
from_date string no Filter by start date (ISO 8601 format, e.g. 2024-01-01).
to_date string no Filter by end date (ISO 8601 format, e.g. 2024-12-31).
limit integer no Number of results per page.
offset integer no Offset for pagination.
taxjar.taxjar_get_order 1 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_get_order --json
ParameterTypeRequiredDescription
id string yes The order transaction ID.
taxjar.taxjar_list_refunds 4 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_list_refunds --json
ParameterTypeRequiredDescription
from_date string no Filter by start date (ISO 8601 format, e.g. 2024-01-01).
to_date string no Filter by end date (ISO 8601 format, e.g. 2024-12-31).
limit integer no Number of results per page.
offset integer no Offset for pagination.
taxjar.taxjar_list_transactions 4 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_list_transactions --json
ParameterTypeRequiredDescription
from_date string no Filter by start date (ISO 8601 format, e.g. 2024-01-01).
to_date string no Filter by end date (ISO 8601 format, e.g. 2024-12-31).
limit integer no Number of results per page.
offset integer no Offset for pagination.
taxjar.taxjar_get_transaction 1 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_get_transaction --json
ParameterTypeRequiredDescription
id string yes The transaction ID.
taxjar.taxjar_list_categories 0 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_list_categories --json
ParameterTypeRequiredDescription
No parameters.
taxjar.taxjar_get_current_user 0 parameters
Schema command
kosmo integrations:schema taxjar.taxjar_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.