Avalara Tax Codes API

The Tax Codes API from Avalara — 3 operation(s) for tax codes.

Business capability
Indirect Tax Management BC-220.20

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v2/companies/{companyId}/taxcodes Create custom tax codes · Avalara CreateTaxCodes #
Ask an LLM
“How do I add my own tax code for a product type?”
“Can I create several tax codes at once for a company?”
Tell an agent
Create tax codes for company {companyId}.
Add a new custom product tax code to company {companyId}.
GET /api/v2/companies/{companyId}/taxcodes List a company's custom tax codes · Avalara ListTaxCodesByCompany #
Ask an LLM
“Which custom tax codes has my company defined?”
“Can I see the product tax codes attached to one company?”
Tell an agent
List tax codes for company {companyId}.
Show every custom tax code of company {companyId}.
DELETE /api/v2/companies/{companyId}/taxcodes/{id} Delete a custom tax code · Avalara DeleteTaxCode #
Ask an LLM
“How do I remove a custom tax code I no longer use?”
“Is a deleted tax code marked deleted rather than erased?”
Tell an agent destructive · confirm first
Delete tax code {id} from company {companyId}.
Mark custom tax code {id} of company {companyId} as deleted.
GET /api/v2/companies/{companyId}/taxcodes/{id} Get one tax code · Avalara GetTaxCode #
Ask an LLM
“Can I look up a single custom tax code by ID?”
“What product type does a particular tax code represent?”
Tell an agent
Get tax code {id} of company {companyId}.
Show details of tax code {id} in company {companyId}.
PUT /api/v2/companies/{companyId}/taxcodes/{id} Update a custom tax code · Avalara UpdateTaxCode #
Ask an LLM
“How do I change the description of a custom tax code?”
“Does updating a tax code replace all its fields?”
Tell an agent
Update tax code {id} for company {companyId}.
Replace custom tax code {id} in company {companyId}.
GET /api/v2/taxcodes Query tax codes across all companies · Avalara QueryTaxCodes #
Ask an LLM
“Can I search custom tax codes across every company?”
“Which companies use a particular tax code?”
Tell an agent
Query tax codes across all companies.
Search every company's custom tax codes.

Documentation

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/avalara:avalara-tax-codes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

avalara-tax-codes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Avalara AvaTax Tax Codes API
  description: Welcome to the AvaTax API Postman Collection!
  version: 1.0.0
servers:
- url: http://{{baseurl}}
security:
- basicAuth: []
tags:
- name: Tax Codes
paths:
  /api/v2/companies/{companyId}/taxcodes:
    post:
      tags:
      - Tax Codes
      summary: Avalara CreateTaxCodes
      description: 'Create one or more new taxcode objects attached to this company.

        A ''TaxCode'' represents a uniquely identified type of product, good, or service.

        Avalara supports correct tax rates and taxability rules for all TaxCodes in all supported jurisdictions.

        If you identify your products by tax code in your ''Create Transaction'' API calls, Avalara will correctly calculate tax rates and

        taxability rules for this product in all supported jurisdictions.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                id: 56789
                companyId: 12345
                taxCode: PS081282
                taxCodeTypeId: P
                description: Yarn
                parentTaxCode: PS080100
                isPhysical: true
                goodsServiceCode: 0
                entityUseCode: ''
                isActive: true
                isSSTCertified: false
      parameters:
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      - name: X-Avalara-Client
        in: header
        schema:
          type: string
        description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/).
        example: AvaTax Postman Collection
      - name: companyId
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      operationId: postApiV2CompaniesByCompanyIdTaxcodes
      x-operation-id-source: derived
    get:
      tags:
      - Tax Codes
      summary: Avalara ListTaxCodesByCompany
      description: 'List all taxcode objects attached to this company.

        A ''TaxCode'' represents a uniquely identified type of product, good, or service.

        Avalara supports correct tax rates and taxability rules for all TaxCodes in all supported jurisdictions.

        If you identify your products by tax code in your ''Create Transaction'' API calls, Avalara will correctly calculate tax rates and

        taxability rules for this product in all supported jurisdictions.


        Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on Filtering in REST .

        Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.'
      parameters:
      - name: X-Avalara-Client
        in: header
        schema:
          type: string
        description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/).
        example: AvaTax Postman Collection
      - name: companyId
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      operationId: getApiV2CompaniesByCompanyIdTaxcodes
      x-operation-id-source: derived
  /api/v2/companies/{companyId}/taxcodes/{id}:
    delete:
      tags:
      - Tax Codes
      summary: Avalara DeleteTaxCode
      description: 'Marks the existing TaxCode object at this URL as deleted.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.'
      parameters:
      - name: X-Avalara-Client
        in: header
        schema:
          type: string
        description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/).
        example: AvaTax Postman Collection
      - name: companyId
        in: path
        schema:
          type: string
        required: true
      - name: id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      operationId: deleteApiV2CompaniesByCompanyIdTaxcodesById
      x-operation-id-source: derived
    get:
      tags:
      - Tax Codes
      summary: Avalara GetTaxCode
      description: 'Get the taxcode object identified by this URL.

        A ''TaxCode'' represents a uniquely identified type of product, good, or service.

        Avalara supports correct tax rates and taxability rules for all TaxCodes in all supported jurisdictions.

        If you identify your products by tax code in your ''Create Transaction'' API calls, Avalara will correctly calculate tax rates and

        taxability rules for this product in all supported jurisdictions.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.'
      parameters:
      - name: X-Avalara-Client
        in: header
        schema:
          type: string
        description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/).
        example: AvaTax Postman Collection
      - name: companyId
        in: path
        schema:
          type: string
        required: true
      - name: id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      operationId: getApiV2CompaniesByCompanyIdTaxcodesById
      x-operation-id-source: derived
    put:
      tags:
      - Tax Codes
      summary: Avalara UpdateTaxCode
      description: 'Replace the existing taxcode object at this URL with an updated object.

        A ''TaxCode'' represents a uniquely identified type of product, good, or service.

        Avalara supports correct tax rates and taxability rules for all TaxCodes in all supported jurisdictions.

        If you identify your products by tax code in your ''Create Transaction'' API calls, Avalara will correctly calculate tax rates and

        taxability rules for this product in all supported jurisdictions.

        All data from the existing object will be replaced with data in the object you PUT.

        To set a field''s value to null, you may either set its value to null or omit that field from the object you post.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                id: 56789
                companyId: 12345
                taxCode: PS081282
                taxCodeTypeId: P
                description: Yarn
                parentTaxCode: PS080100
                isPhysical: true
                goodsServiceCode: 0
                entityUseCode: ''
                isActive: true
                isSSTCertified: false
      parameters:
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      - name: X-Avalara-Client
        in: header
        schema:
          type: string
        description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/).
        example: AvaTax Postman Collection
      - name: companyId
        in: path
        schema:
          type: string
        required: true
      - name: id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      operationId: putApiV2CompaniesByCompanyIdTaxcodesById
      x-operation-id-source: derived
  /api/v2/taxcodes:
    get:
      tags:
      - Tax Codes
      summary: Avalara QueryTaxCodes
      description: 'Get multiple taxcode objects across all companies.

        A ''TaxCode'' represents a uniquely identified type of product, good, or service.

        Avalara supports correct tax rates and taxability rules for all TaxCodes in all supported jurisdictions.

        If you identify your products by tax code in your ''Create Transaction'' API calls, Avalara will correctly calculate tax rates and

        taxability rules for this product in all supported jurisdictions.


        Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on Filtering in REST .

        Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.'
      parameters:
      - name: X-Avalara-Client
        in: header
        schema:
          type: string
        description: Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/).
        example: AvaTax Postman Collection
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      operationId: getApiV2Taxcodes
      x-operation-id-source: derived
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic