Avalara · Arazzo Workflow

Avalara Classify an Item and Test Its Tax

Version 1.0.0

Look up tax codes, register a product item with a tax code, then quote tax for that item.

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

Provider

avalara

Workflows

classify-item-and-test-tax
Register a product item with a tax code and quote tax for it.
Lists Avalara tax codes, creates an item under a company with a chosen tax code, then creates an uncommitted sales order using that item code to test the resulting tax.
3 steps inputs: amount, companyCode, companyId, customerCode, date, itemCode, itemDescription, taxCode, taxCodeFilter outputs: taxCodes, testTransactionCode, totalTax
1
listTaxCodes
Retrieve the Avalara-supported tax codes so a valid classification can be chosen for the item.
2
createItem
Register the product item under the company with the chosen tax code.
3
testTax
Create an uncommitted sales order that references the new item code to confirm how it is taxed.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Avalara Classify an Item and Test Its Tax
  summary: Look up tax codes, register a product item with a tax code, then quote tax for that item.
  description: >-
    Onboards a product into the AvaTax item catalog and verifies how it is
    taxed. The workflow lists the available Avalara tax codes, registers a new
    item under a company with a chosen tax code and item code, and then creates
    an uncommitted sales order referencing that item code to confirm the tax
    calculation behaves as expected. 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-transactions-api-openapi.yml
      confidence: 0.75
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: definitionsApi
  url: ../openapi/avalara-definitions-api-openapi.yml
  type: openapi
- name: itemsApi
  url: ../openapi/avalara-items-api-openapi.yml
  type: openapi
- name: transactionsApi
  url: ../openapi/avalara-transactions-api-openapi.yml
  type: openapi
workflows:
- workflowId: classify-item-and-test-tax
  summary: Register a product item with a tax code and quote tax for it.
  description: >-
    Lists Avalara tax codes, creates an item under a company with a chosen tax
    code, then creates an uncommitted sales order using that item code to test
    the resulting tax.
  inputs:
    type: object
    required:
    - companyId
    - companyCode
    - itemCode
    - taxCode
    - customerCode
    - date
    - amount
    properties:
      companyId:
        type: integer
        description: Numeric ID of the company the item belongs to.
      companyCode:
        type: string
        description: Company code used when quoting tax for the item.
      itemCode:
        type: string
        description: Unique code for the new product item.
      taxCode:
        type: string
        description: Avalara tax code to classify the item with.
      itemDescription:
        type: string
        description: Description of the item.
      customerCode:
        type: string
        description: Customer code used for the test quote.
      date:
        type: string
        description: Date of the test quote (YYYY-MM-DD).
      amount:
        type: number
        description: Line amount to quote tax on.
      taxCodeFilter:
        type: string
        description: Optional OData filter to narrow the tax code lookup.
  steps:
  - stepId: listTaxCodes
    description: >-
      Retrieve the Avalara-supported tax codes so a valid classification can be
      chosen for the item.
    operationId: listTaxCodes
    parameters:
    - name: $filter
      in: query
      value: $inputs.taxCodeFilter
    - name: $top
      in: query
      value: 50
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taxCodes: $response.body#/value
  - stepId: createItem
    description: >-
      Register the product item under the company with the chosen tax code.
    operationId: createItems
    parameters:
    - name: companyId
      in: path
      value: $inputs.companyId
    requestBody:
      contentType: application/json
      payload:
      - itemCode: $inputs.itemCode
        taxCode: $inputs.taxCode
        description: $inputs.itemDescription
    successCriteria:
    - condition: $statusCode == 201
  - stepId: testTax
    description: >-
      Create an uncommitted sales order that references the new item code to
      confirm how it is taxed.
    operationId: createTransaction
    requestBody:
      contentType: application/json
      payload:
        type: SalesOrder
        companyCode: $inputs.companyCode
        date: $inputs.date
        customerCode: $inputs.customerCode
        commit: false
        lines:
        - amount: $inputs.amount
          itemCode: $inputs.itemCode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      transactionCode: $response.body#/code
      totalTax: $response.body#/totalTax
  outputs:
    taxCodes: $steps.listTaxCodes.outputs.taxCodes
    testTransactionCode: $steps.testTax.outputs.transactionCode
    totalTax: $steps.testTax.outputs.totalTax

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-classify-item-and-test-tax-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.