Avalara · Arazzo Workflow

Avalara Retrieve a Company Report

Version 1.0.0

List a company's available reports, then retrieve the details of the first one.

1 workflow 1 source API 1 provider
View Spec View on GitHub TaxesArazzoWorkflows

Provider

avalara

Workflows

retrieve-company-report
List a company's reports and retrieve the first available report.
Lists the reports for a company and, when at least one report is available, retrieves its details by id; otherwise the workflow ends.
2 steps inputs: companyId outputs: report, reports
1
listReports
List the reports that AvaTax has generated for the company.
2
getReport
Retrieve the details of the first report returned by the listing.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Avalara Retrieve a Company Report
  summary: List a company's available reports, then retrieve the details of the first one.
  description: >-
    Surfaces the filing and reconciliation reports AvaTax has generated for a
    company. The workflow lists the reports available for a company, branches on
    whether any reports exist, and when at least one is present retrieves that
    report's details by id. This adapts the filing/returns theme to the
    reporting operations the AvaTax REST specification actually exposes. 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
sourceDescriptions:
- name: reportsApi
  url: ../openapi/avalara-reports-api-openapi.yml
  type: openapi
workflows:
- workflowId: retrieve-company-report
  summary: List a company's reports and retrieve the first available report.
  description: >-
    Lists the reports for a company and, when at least one report is available,
    retrieves its details by id; otherwise the workflow ends.
  inputs:
    type: object
    required:
    - companyId
    properties:
      companyId:
        type: integer
        description: Numeric ID of the company whose reports are listed.
  steps:
  - stepId: listReports
    description: >-
      List the reports that AvaTax has generated for the company.
    operationId: listReports
    parameters:
    - name: companyId
      in: path
      value: $inputs.companyId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      reports: $response.body
      firstReportId: $response.body#/0/id
    onSuccess:
    - name: hasReports
      type: goto
      stepId: getReport
      criteria:
      - context: $response.body
        condition: $.length > 0
        type: jsonpath
    - name: noReports
      type: end
      criteria:
      - context: $response.body
        condition: $.length == 0
        type: jsonpath
  - stepId: getReport
    description: >-
      Retrieve the details of the first report returned by the listing.
    operationId: getReport
    parameters:
    - name: id
      in: path
      value: $steps.listReports.outputs.firstReportId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      report: $response.body
  outputs:
    reports: $steps.listReports.outputs.reports
    report: $steps.getReport.outputs.report

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-retrieve-company-report-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.