Avalara Nexus API

Manage tax nexus declarations for companies

Business capability
Indirect Tax Management BC-220.20

Operations 15

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

GET /api/v2/companies/{companyId}/nexus List a company's nexus declarations · Avalara List Nexus for a Company #
Ask an LLM
“Which states have I declared nexus in?”
“Can I filter my company's nexus declarations?”
Tell an agent
List nexus for company {companyId}.
Show nexus declarations for company {companyId} matching {filter}.
POST /api/v2/companies/{companyId}/nexus Declare nexus for a company · Avalara Create Nexus for a Company #
Ask an LLM
“How do I declare that my company has nexus in a new state?”
“Can I add nexus declarations to a company?”
Tell an agent
Declare nexus for company {companyId}.
Add a new nexus declaration to company {companyId}.
POST /api/v2/companies/{companyId}/nexus/{nexusId}/parameters Add parameters to a nexus · Avalara CreateNexusParameters #
Ask an LLM
“How do I flag a nexus as a remote seller with a parameter?”
“Can I attach several tax-affecting parameters to one nexus at once?”
Tell an agent
Add parameters to nexus {nexusId} in company {companyId}.
Attach a remote seller parameter to nexus {nexusId}.
DELETE /api/v2/companies/{companyId}/nexus/{nexusId}/parameters Remove every parameter from a nexus · Avalara DeleteNexusParameters #
Ask an LLM
“How do I clear all the parameters off a nexus in one call?”
“Is there a way to wipe a nexus back to having no parameters?”
Tell an agent destructive · confirm first
Delete all parameters from nexus {nexusId} in company {companyId}.
Clear every parameter on nexus {nexusId}.
GET /api/v2/companies/{companyId}/nexus/{nexusId}/parameters List the parameters set on a nexus · Avalara ListNexusParameters #
Ask an LLM
“Which tax-affecting parameters, like remote seller status, are attached to my nexus?”
“Can I see every parameter defined on one nexus declaration?”
Tell an agent
List the parameters on nexus {nexusId} for company {companyId}.
Show all nexus parameters attached to nexus {nexusId}.
POST /api/v2/companies/{companyId}/nexus/byaddress Declare nexus for the jurisdictions at an address · Avalara DeclareNexusByAddress #
Ask an LLM
“Can AvaTax work out and declare every nexus that applies to a street address?”
“How do I extend the effective date on nexus I already declared for an address?”
Tell an agent
Declare all applicable nexus for company {companyId} from a list of addresses.
Add nexus by address for company {companyId} over a date range.
DELETE /api/v2/companies/{companyId}/nexus/{id} Delete a nexus declaration · Avalara DeleteNexus #
Ask an LLM
“How do I remove a nexus I declared by mistake?”
“Can I stop collecting tax in a state by deleting its nexus?”
Tell an agent destructive · confirm first
Delete nexus {id} from company {companyId}.
Mark nexus declaration {id} as deleted.
GET /api/v2/companies/{companyId}/nexus/{id} Retrieve a single nexus declaration · Avalara GetNexus #
Ask an LLM
“What are the details of one specific nexus declaration?”
“Can I look up a nexus record by its ID to check its effective dates?”
Tell an agent
Get nexus {id} for company {companyId}.
Show the nexus declaration with ID {id}.
PUT /api/v2/companies/{companyId}/nexus/{id} Update an existing nexus declaration · Avalara UpdateNexus #
Ask an LLM
“Can I change the end date on a nexus I already declared?”
“What happens to the fields I leave out when I replace a nexus record?”
Tell an agent
Update nexus {id} in company {companyId}.
Replace nexus declaration {id} with new effective dates.
DELETE /api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id} Delete one nexus parameter · Avalara DeleteNexusParameter #
Ask an LLM
“How do I remove just one parameter from a nexus and keep the rest?”
“Can I drop a single remote seller flag from a nexus?”
Tell an agent destructive · confirm first
Delete parameter {id} from nexus {nexusId} in company {companyId}.
Remove nexus parameter {id}.
GET /api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id} Retrieve one nexus parameter · Avalara GetNexusParameter #
Ask an LLM
“What value is set on a single parameter of my nexus?”
“Can I fetch one nexus parameter by its own ID?”
Tell an agent
Get parameter {id} on nexus {nexusId} for company {companyId}.
Show nexus parameter {id}.
PUT /api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id} Update one nexus parameter · Avalara UpdateNexusParameter #
Ask an LLM
“Can I change the value of a single parameter on a nexus?”
“How do I correct one nexus parameter without touching the others?”
Tell an agent
Update parameter {id} on nexus {nexusId} in company {companyId}.
Change the value of nexus parameter {id}.
GET /api/v2/companies/{companyId}/nexus/byform/{formCode} List nexus tied to a tax form · Avalara GetNexusByFormCode #
Ask an LLM
“Which of my nexus declarations relate to a particular tax return form?”
“Can I find the nexus I need before filing a given form code?”
Tell an agent
List nexus for company {companyId} related to form {formCode}.
Show the nexus behind tax form {formCode}.
GET /api/v2/companies/{companyId}/nexus/byTaxTypeGroup/{taxTypeGroup} List a company's nexus for one tax type group · Avalara ListNexusByCompanyAndTaxTypeGroup #
Ask an LLM
“Where do I have nexus for sales and use tax only?”
“Can I narrow my nexus list to a single tax type group like lodging?”
Tell an agent
List nexus for company {companyId} in tax type group {taxTypeGroup}.
Show only {taxTypeGroup} nexus declarations.
GET /api/v2/nexus Search nexus across all companies · Avalara QueryNexus #
Ask an LLM
“Which nexus declarations exist across every company in my account?”
“Can I query nexus without picking a single company first?”
Tell an agent
List nexus declarations across all my companies.
Query nexus for every company in the account.

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-nexus-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-nexus-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Avalara Nexus API
  version: '1.0'
  description: 'Operations tagged Nexus across 2 of this provider''s published API definitions: avalara-avatax-rest-openapi.yml, avatax-apis-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://rest.avatax.com
  description: AvaTax Production
- url: https://sandbox-rest.avatax.com
  description: AvaTax Sandbox
- url: http://{{baseurl}}
tags:
- name: Nexus
  description: Manage tax nexus declarations for companies
paths:
  /api/v2/companies/{companyId}/nexus:
    get:
      operationId: listNexusByCompany
      summary: Avalara List Nexus for a Company
      description: Retrieves all nexus declarations for the specified company.
      tags:
      - Nexus
      parameters:
      - $ref: '#/components/parameters/companyId'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      responses:
        '200':
          description: List of nexus declarations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FetchResult_NexusModel'
      security:
      - basicAuth: []
      - bearerAuth: []
    post:
      operationId: createNexus
      summary: Avalara Create Nexus for a Company
      tags:
      - Nexus
      parameters:
      - $ref: '#/components/parameters/companyId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/NexusModel'
      responses:
        '201':
          description: Nexus created
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NexusModel'
      security:
      - basicAuth: []
      - bearerAuth: []
    servers:
    - url: https://rest.avatax.com
      description: AvaTax Production
    - url: https://sandbox-rest.avatax.com
      description: AvaTax Sandbox
  /api/v2/companies/{companyId}/nexus/{nexusId}/parameters:
    post:
      tags:
      - Nexus
      summary: Avalara CreateNexusParameters
      description: 'Add parameters to the nexus.

        Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".


        A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.


        A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.


        To see available parameters for this item, call `/api/v2/definitions/parameters?$filter=attributeType eq Nexus`


        Some parameters are only available for use if you have subscribed to specific AvaTax services. To see which parameters you are able to use, add the query parameter "$showSubscribed=true" to the parameter definition call above.


        ### 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: 0
                name: IsRemoteSeller
                value: 'true'
      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: nexusId
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: postApiV2CompaniesByCompanyIdNexusByNexusIdParameters
      x-operation-id-source: derived
    delete:
      tags:
      - Nexus
      summary: Avalara DeleteNexusParameters
      description: 'Delete all the parameters for a given nexus.

        Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".


        A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.


        A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.


        ### 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: nexusId
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: deleteApiV2CompaniesByCompanyIdNexusByNexusIdParameters
      x-operation-id-source: derived
    get:
      tags:
      - Nexus
      summary: Avalara ListNexusParameters
      description: 'List parameters for a nexus.

        Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".


        A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.


        A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.


        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, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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: nexusId
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: getApiV2CompaniesByCompanyIdNexusByNexusIdParameters
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
  /api/v2/companies/{companyId}/nexus/byaddress:
    post:
      tags:
      - Nexus
      summary: Avalara DeclareNexusByAddress
      description: 'This call is intended to simplify adding all applicable nexus to a company, for an address or addresses. Calling this

        API declares nexus for this company, for the list of addresses provided,

        for the date range provided. You may also use this API to extend effective date on an already-declared nexus.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.


        Note that not all fields within a nexus can be updated; Avalara publishes a list of all defined nexus at the

        ''/api/v2/definitions/nexus'' endpoint.


        You may only define nexus matching the official list of declared nexus.


        Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance

        of calculating tax for a location.


        ### 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:
                effectiveDate: '2018-01-01T00:00:00'
                endDate: '2020-12-31T00:00:00'
                line1: 2000 Main Street
                city: Irvine
                region: CA
                country: US
                postalCode: '92614'
      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: {}
      security:
      - basicAuth: []
      operationId: postApiV2CompaniesByCompanyIdNexusByaddress
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
  /api/v2/companies/{companyId}/nexus/{id}:
    delete:
      tags:
      - Nexus
      summary: Avalara DeleteNexus
      description: 'Marks the existing nexus object at this URL as deleted.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.


        Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance

        of calculating tax for a location.


        ### 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: {}
      security:
      - basicAuth: []
      operationId: deleteApiV2CompaniesByCompanyIdNexusById
      x-operation-id-source: derived
    get:
      tags:
      - Nexus
      summary: Avalara GetNexus
      description: 'Get the nexus object identified by this URL.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.

        You may specify one or more of the following values in the ''$include'' parameter to fetch additional nested data, using commas to separate multiple values:


        * Parameters


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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: {}
      security:
      - basicAuth: []
      operationId: getApiV2CompaniesByCompanyIdNexusById
      x-operation-id-source: derived
    put:
      tags:
      - Nexus
      summary: Avalara UpdateNexus
      description: 'Replace the existing nexus declaration object at this URL with an updated object.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.


        To create a nexus declaration for your company, you must first call the Definitions API `ListNexus` to obtain a

        list of Avalara-defined nexus. Once you have determined which nexus you wish to declare, you should customize

        only the user-selectable fields in this object.


        The user selectable fields for the nexus object are `companyId`, `effectiveDate`, `endDate`, `localNexusTypeId`,

        `taxId`, `nexusTypeId`, `hasPermanentEstablishment`, and `isSellerImporterOfRecord`.


        When calling `CreateNexus` or `UpdateNexus`, all values in your nexus object except for the user-selectable fields

        must match an Avalara-defined system nexus object. You can retrieve a list of Avalara-defined system nexus objects

        by calling `ListNexus`. If any data does not match, AvaTax may not recognize your nexus declaration.


        Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance

        of calculating tax for a location.


        ### 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: 0
                companyId: 0
                country: US
                region: CA
                jurisTypeId: STA
                jurisdictionTypeId: State
                jurisCode: '06'
                jurisName: CALIFORNIA
                shortName: CA
                signatureCode: ''
                stateAssignedNo: ''
                nexusTypeId: SalesOrSellersUseTax
                hasLocalNexus: true
                hasPermanentEstablishment: true
                streamlinedSalesTax: false
                isSSTActive: false
                createdDate: '2006-10-09T05:55:50.25'
                createdUserId: 0
                modifiedDate: '2018-01-24T03:43:37.31'
                modifiedUserId: 0
                taxTypeGroup: SalesAndUse
                nexusTaxTypeGroup: SalesAndUse
                isSellerImporterOfRecord: 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: {}
      security:
      - basicAuth: []
      operationId: putApiV2CompaniesByCompanyIdNexusById
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
  /api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id}:
    delete:
      tags:
      - Nexus
      summary: Avalara DeleteNexusParameter
      description: 'Delete a single nexus parameter.

        Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".


        A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.


        A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.


        ### 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: nexusId
        in: path
        schema:
          type: string
        required: true
      - name: id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: deleteApiV2CompaniesByCompanyIdNexusByNexusIdParametersById
      x-operation-id-source: derived
    get:
      tags:
      - Nexus
      summary: Avalara GetNexusParameter
      description: 'Retrieve a single nexus parameter.

        Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller.In AvaTax, these tax-affecting properties are called "parameters".


        A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.


        A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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: nexusId
        in: path
        schema:
          type: string
        required: true
      - name: id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: getApiV2CompaniesByCompanyIdNexusByNexusIdParametersById
      x-operation-id-source: derived
    put:
      tags:
      - Nexus
      summary: Avalara UpdateNexusParameter
      description: 'Update an nexus parameter.


        Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".


        A parameter added to a nexus will be used in tax calculation based on the locationcode and parameter value the transaction state line might have lines added.


        A parameter specified on a transaction line will override an item parameter if they share the same parameter name.????? I dont know about this?


        ### 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: 0
                name: IsRemoteSeller
                value: 'true'
      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: nexusId
        in: path
        schema:
          type: string
        required: true
      - name: id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: putApiV2CompaniesByCompanyIdNexusByNexusIdParametersById
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
  /api/v2/companies/{companyId}/nexus/byform/{formCode}:
    get:
      tags:
      - Nexus
      summary: Avalara GetNexusByFormCode
      description: 'Retrieves a list of nexus related to a tax form.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.


        This API is intended to provide useful information when examining a tax form. If you are about to begin filing

        a tax form, you may want to know whether you have declared nexus in all the jurisdictions related to that tax

        form in order to better understand how the form will be filled out.

        You may specify one or more of the following values in the ''$include'' parameter to fetch additional nested data, using commas to separate multiple values:


        * Parameters


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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: formCode
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: getApiV2CompaniesByCompanyIdNexusByformByFormCode
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
  /api/v2/companies/{companyId}/nexus/byTaxTypeGroup/{taxTypeGroup}:
    get:
      tags:
      - Nexus
      summary: Avalara ListNexusByCompanyAndTaxTypeGroup
      description: 'List all nexus objects defined for this company filtered by TaxTypeGroup.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.


        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.

        You may specify one or more of the following values in the ''$include'' parameter to fetch additional nested data, using commas to separate multiple values:


        * Parameters


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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: taxTypeGroup
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
      security:
      - basicAuth: []
      operationId: getApiV2CompaniesByCompanyIdNexusByTaxTypeGroupByTaxTypeGroup
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
  /api/v2/nexus:
    get:
      tags:
      - Nexus
      summary: Avalara QueryNexus
      description: 'Get multiple nexus objects across all companies.


        The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional

        taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your

        accountant or lawyer prior to declaring nexus.


        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.

        You may specify one or more of the following values in the ''$include'' parameter to fetch additional nested data, using commas to separate multiple values:


        * Parameters


        ### Security Policies


        * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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: {}
      security:
      - basicAuth: []
      operationId: getApiV2Nexus
      x-operation-id-source: derived
    servers:
    - url: http://{{baseurl}}
components:
  parameters:
    companyId:
      name: companyId
      in: path
      required: true
      schema:
        type: integer
      description: The numeric ID of the company
    top:
      name: $top
      in: query
      schema:
        type: integer
        default: 1000
      description: Maximum number of results to return
    filter:
      name: $filter
      in: query
      schema:
        type: string
      description: OData filter expression for result filtering
    skip:
      name: $skip
      in: query
      schema:
        type: integer
        default: 0
      description: Number of results to skip for pagination
  schemas:
    NexusModel:
      type: object
      properties:
        id:
          type: integer
        companyId:
          type: integer
        country:
          type: string
          description: Two-character ISO 3166 country code
        region:
          type: string
          description: State or province code
        jurisTypeId:
          type: string
          enum:
          - STA
          - CTY
          - CIT
          - STJ
          - CNT
        jurisdictionTypeId:
          type: string
        jurisCode:
          type: string
        jurisName:
          type: string
        effectiveDate:
          type: string
          format: date
        endDate:
          type: string
          format: date
        nexusTypeId:
          type: string
          enum:
          - None
          - SalesOrSellersUseTax
          - SalesTax
          - SSTVolunteer
          - SSTNonVolunteer
        hasLocalNexus:
          type: boolean
    FetchResult_NexusModel:
      type: object
      properties:
        '@recordsetCount':
          type: integer
        value:
          type: array
          items:
            $ref: '#/components/schemas/NexusModel'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Use your AvaTax username/password or accountId/licenseKey as basic auth credentials
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 bearer token
externalDocs:
  description: AvaTax REST API v2 Documentation
  url: https://developer.avalara.com/api-reference/avatax/rest/v2/
x-refined-from:
- avalara-avatax-rest-openapi.yml
- avatax-apis-openapi.yml