Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Avalara AvaTax

Scalekit connector
Open markdown

The Avalara AvaTax connector lets your AI agent work with Avalara AvaTax. Scalekit handles authentication for every call, so your agent never handles credentials. It comes with 25 tools.

Tools
25
What they doRead · write · destructive
16 · 8 · 116 read8 write1 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Avalara AvaTax connection

    In AgentKit > Connections, create an Avalara AvaTax connection. The name you give it is the connection_name your code passes. See Configure connections.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • avalara_address_resolveValidate and normalize a US or Canadian address against Avalara's address database.Read-only

    Resolve Address

    Validate and normalize a US or Canadian address against Avalara's address database. Returns validatedAddresses with the normalized address, latitude and longitude, resolutionQuality, the tax jurisdictions that apply, and any messages if it could not be resolved. Use avalara_address_resolve to clean an address before a transaction. Use avalara_tax_rates_by_address_get for an estimated rate.

    Inputs

    citystring
    City. Example: Irvine
    countrystring
    Two-letter ISO 3166 country code. Example: US
    line1string
    Street address line 1. Example: 2000 Main Street
    line2string
    Street address line 2. Example: Suite 200
    line3string
    Street address line 3. Example: Building B
    postal_codestring
    Postal or ZIP code. Example: 92614
    regionstring
    State, province or region, as a two-letter code or full name. Example: CA
    text_casestring
    Text case of the returned address: Default, Upper or Mixed. Example: Mixedone of DefaultUpperMixed
  • avalara_companies_listList the companies in the AvaTax account, with filtering, sorting and paging.Read-only

    List Companies

    List the companies in the AvaTax account, with filtering, sorting and paging. Returns value[] with id, companyCode, name, isDefault, isActive, taxpayerIdNumber and defaultCountry, plus @recordsetCount. Use avalara_companies_list to find a company's numeric id and companyCode. Use avalara_company_get for one company.

    Inputs

    filterstring
    AvaTax filter expression on the record fields (eq, ne, gt, lt, contains, startswith, and, or). See https://developer.avalara.com/avatax/filtering-in-rest/. Example: isActive eq true
    includestring
    Comma-separated extra data to return: child objects such as Contacts, Items, Locations, Nexus, Settings, TaxCodes, TaxRules, UPCs. Example: Locations,Nexus
    order_bystring
    Sort order as 'field ASC|DESC', comma-separated for several. Example: companyCode ASC
    skipinteger
    Number of records to skip before returning results, for paging. Example: 100
    topinteger
    Maximum records to return (up to 1000). Use with skip to page. Example: 100
  • avalara_company_getGet one AvaTax company by its numeric ID.Read-only

    Get Company

    Get one AvaTax company by its numeric ID. Returns the company's code, name, tax ID, default country, settings and, with include, its contacts, items, locations, nexus or tax codes. Use avalara_company_get for a known ID. Use avalara_companies_list to find IDs.

    Inputs

    company_idintegerrequired
    Numeric ID of the company to get. Use avalara_companies_list to find it (the id field, not companyCode). Example: 12345
    includestring
    Comma-separated extra data to return: Contacts, FilingCalendars, Items, Locations, Nexus, TaxCodes. Example: Locations,Nexus
  • avalara_item_getGet one item from an AvaTax company's catalog.Read-only

    Get Item

    Get one item from an AvaTax company's catalog. Returns its itemCode, description, taxCode, group, category and, with include, parameters and classifications. Use avalara_item_get before avalara_item_update to read the current values.

    Inputs

    company_idintegerrequired
    Numeric ID of the company that owns the item. Use avalara_companies_list to find it (the id field, not companyCode). Example: 12345
    item_idintegerrequired
    Numeric ID of the item. Example: 1234567
    includestring
    Comma-separated extra data to return: Parameters, Classifications, Tags. Example: Parameters,Classifications
  • avalara_items_listList the items (products and services) in an AvaTax company's catalog, with filtering and paging.Read-only

    List Items

    List the items (products and services) in an AvaTax company's catalog, with filtering and paging. Returns value[] with id, itemCode, description, taxCode, itemGroup and category. Use avalara_items_list to find item IDs or check tax codes. Use avalara_item_get for one item.

    Inputs

    company_idintegerrequired
    Numeric ID of the company that owns the records. Use avalara_companies_list to find it (the id field, not companyCode). Example: 12345
    filterstring
    AvaTax filter expression on the record fields (eq, ne, gt, lt, contains, startswith, and, or). See https://developer.avalara.com/avatax/filtering-in-rest/. Example: itemCode startswith 'SKU-'
    includestring
    Comma-separated extra data to return: Parameters, Classifications, Tags. Example: Parameters,Classifications
    order_bystring
    Sort order as 'field ASC|DESC', comma-separated for several. Example: itemCode ASC
    skipinteger
    Number of records to skip before returning results, for paging. Example: 100
    tag_namestring
    Only items with this tag. Example: seasonal
    topinteger
    Maximum records to return (up to 1000). Use with skip to page. Example: 100
  • avalara_location_getGet one business location of an AvaTax company.Read-only

    Get Location

    Get one business location of an AvaTax company. Returns the location's code, description, address and settings. Use avalara_location_get with an ID from avalara_locations_list.

    Inputs

    company_idintegerrequired
    Numeric ID of the company that owns the location. Use avalara_companies_list to find it (the id field, not companyCode). Example: 12345
    location_idintegerrequired
    Numeric ID of the location. Example: 56789
    includestring
    Comma-separated extra data to return: Settings, Parameters. Example: Settings
  • avalara_locations_listList the business locations (stores, warehouses, offices) of an AvaTax company.Read-only

    List Locations

    List the business locations (stores, warehouses, offices) of an AvaTax company. Returns value[] with id, locationCode, description, address fields and addressTypeId. Use avalara_locations_list to find location IDs and codes. Use avalara_location_get for one location.

    Inputs

    company_idintegerrequired
    Numeric ID of the company that owns the records. Use avalara_companies_list to find it (the id field, not companyCode). Example: 12345
    filterstring
    AvaTax filter expression on the record fields (eq, ne, gt, lt, contains, startswith, and, or). See https://developer.avalara.com/avatax/filtering-in-rest/. Example: region eq 'CA'
    includestring
    Comma-separated extra data to return: Settings, Parameters. Example: Settings
    order_bystring
    Sort order as 'field ASC|DESC', comma-separated for several. Example: locationCode ASC
    skipinteger
    Number of records to skip before returning results, for paging. Example: 100
    topinteger
    Maximum records to return (up to 1000). Use with skip to page. Example: 100
  • avalara_nexus_listList the jurisdictions where an AvaTax company has declared nexus (an obligation to collect tax).Read-only

    List Company Nexus

    List the jurisdictions where an AvaTax company has declared nexus (an obligation to collect tax). Returns value[] with id, country, region, jurisDname, jurisTypeId, nexusTypeId, effectiveDate and endDate. Use avalara_nexus_list to check where a company collects tax.

    Inputs

    company_idintegerrequired
    Numeric ID of the company that owns the records. Use avalara_companies_list to find it (the id field, not companyCode). Example: 12345
    filterstring
    AvaTax filter expression on the record fields (eq, ne, gt, lt, contains, startswith, and, or). See https://developer.avalara.com/avatax/filtering-in-rest/. Example: region eq 'WA'
    includestring
    Comma-separated extra data to return: Parameters. Example: Parameters
    order_bystring
    Sort order as 'field ASC|DESC', comma-separated for several. Example: region ASC
    skipinteger
    Number of records to skip before returning results, for paging. Example: 100
    topinteger
    Maximum records to return (up to 1000). Use with skip to page. Example: 100