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 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.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
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.
kosmo integrations:call taxjar.taxjar_list_orders '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json 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.
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 - Parameters
- from_date, to_date, limit, offset
kosmo integrations:call taxjar.taxjar_list_orders '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json 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 - Parameters
- id
kosmo integrations:call taxjar.taxjar_get_order '{"id":"example_id"}' --json 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 - Parameters
- from_date, to_date, limit, offset
kosmo integrations:call taxjar.taxjar_list_refunds '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json 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 - Parameters
- from_date, to_date, limit, offset
kosmo integrations:call taxjar.taxjar_list_transactions '{"from_date":"example_from_date","to_date":"example_to_date","limit":1,"offset":1}' --json 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 - Parameters
- id
kosmo integrations:call taxjar.taxjar_get_transaction '{"id":"example_id"}' --json 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 - Parameters
- none
kosmo integrations:call taxjar.taxjar_list_categories '{}' --json 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 - Parameters
- none
kosmo integrations:call taxjar.taxjar_get_current_user '{}' --json 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
kosmo integrations:schema taxjar.taxjar_list_orders --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema taxjar.taxjar_get_order --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The order transaction ID. |
taxjar.taxjar_list_refunds 4 parameters
kosmo integrations:schema taxjar.taxjar_list_refunds --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema taxjar.taxjar_list_transactions --json | Parameter | Type | Required | Description |
|---|---|---|---|
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
kosmo integrations:schema taxjar.taxjar_get_transaction --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The transaction ID. |
taxjar.taxjar_list_categories 0 parameters
kosmo integrations:schema taxjar.taxjar_list_categories --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
taxjar.taxjar_get_current_user 0 parameters
kosmo integrations:schema taxjar.taxjar_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| 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.