Avalara · Arazzo Workflow

Avalara Create Company With Nexus

Version 1.0.0

Create a new company and declare its first tax nexus, then confirm the nexus list.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub TaxesArazzoWorkflows

Provider

avalara

Workflows

create-company-with-nexus
Create a company and add a tax nexus declaration to it.
Creates a company within the authenticated account, then declares a tax nexus for that company in a given country and region, and finally lists the nexus declarations to verify the result.
3 steps inputs: companyCode, country, defaultCountry, effectiveDate, name, nexusTypeId, region, taxpayerIdNumber outputs: companyId, nexusId, nexusList
1
createCompany
Create the company that will own the nexus declaration and any future transactions.
2
declareNexus
Declare a tax nexus for the newly created company in the supplied country and region.
3
confirmNexus
List the nexus declarations for the company to confirm the new nexus is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Avalara Create Company With Nexus
  summary: Create a new company and declare its first tax nexus, then confirm the nexus list.
  description: >-
    Stands up a new tax-calculating legal entity in AvaTax and immediately
    declares where it has a tax obligation. The workflow creates a company,
    adds one or more nexus declarations for that company by its numeric id, and
    then reads back the company's nexus list to confirm the declaration was
    persisted. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-220.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-220.20
      capability_name: Indirect Tax Management
      spec: avalara-nexus-api-openapi.yml
      confidence: 0.72
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: companiesApi
  url: ../openapi/avalara-companies-api-openapi.yml
  type: openapi
- name: nexusApi
  url: ../openapi/avalara-nexus-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-company-with-nexus
  summary: Create a company and add a tax nexus declaration to it.
  description: >-
    Creates a company within the authenticated account, then declares a tax
    nexus for that company in a given country and region, and finally lists the
    nexus declarations to verify the result.
  inputs:
    type: object
    required:
    - companyCode
    - name
    - country
    - region
    properties:
      companyCode:
        type: string
        description: Short code identifying the new company.
      name:
        type: string
        description: Display name of the company.
      taxpayerIdNumber:
        type: string
        description: Tax identification number (EIN, TIN) for the company.
      defaultCountry:
        type: string
        description: Default two-character ISO 3166 country code for the company.
      country:
        type: string
        description: Two-character ISO 3166 country code for the nexus declaration.
      region:
        type: string
        description: State or province code for the nexus declaration.
      nexusTypeId:
        type: string
        description: Type of nexus to declare (e.g. SalesOrSellersUseTax).
      effectiveDate:
        type: string
        description: Date the nexus declaration becomes effective (YYYY-MM-DD).
  steps:
  - stepId: createCompany
    description: >-
      Create the company that will own the nexus declaration and any future
      transactions.
    operationId: createCompany
    requestBody:
      contentType: application/json
      payload:
        companyCode: $inputs.companyCode
        name: $inputs.name
        taxpayerIdNumber: $inputs.taxpayerIdNumber
        defaultCountry: $inputs.defaultCountry
        isActive: true
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      companyId: $response.body#/id
      companyCode: $response.body#/companyCode
  - stepId: declareNexus
    description: >-
      Declare a tax nexus for the newly created company in the supplied country
      and region.
    operationId: createNexus
    parameters:
    - name: companyId
      in: path
      value: $steps.createCompany.outputs.companyId
    requestBody:
      contentType: application/json
      payload:
      - country: $inputs.country
        region: $inputs.region
        nexusTypeId: $inputs.nexusTypeId
        effectiveDate: $inputs.effectiveDate
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      nexusId: $response.body#/0/id
  - stepId: confirmNexus
    description: >-
      List the nexus declarations for the company to confirm the new nexus is
      present.
    operationId: listNexusByCompany
    parameters:
    - name: companyId
      in: path
      value: $steps.createCompany.outputs.companyId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nexusList: $response.body#/value
      nexusCount: $response.body#/@recordsetCount
  outputs:
    companyId: $steps.createCompany.outputs.companyId
    nexusId: $steps.declareNexus.outputs.nexusId
    nexusList: $steps.confirmNexus.outputs.nexusList

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/avalara-create-company-with-nexus-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.