Avalara · Arazzo Workflow

Avalara Adjust a Committed Transaction

Version 1.0.0

Retrieve a committed transaction and adjust it with a corrected, documented replacement.

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

Provider

avalara

Workflows

adjust-committed-transaction
Adjust a committed transaction with a corrected replacement document.
Looks up a committed transaction by code, then adjusts it by supplying an adjustment reason and a corrected replacement transaction.
2 steps inputs: adjustmentDescription, adjustmentReason, amount, companyCode, customerCode, date, taxCode, transactionCode outputs: adjustedTotalTax, adjustedTransactionCode, originalStatus
1
getOriginal
Retrieve the committed transaction by code, including its lines, to confirm what is being adjusted.
2
adjust
Adjust the committed transaction by supplying a documented reason and a corrected replacement transaction.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Avalara Adjust a Committed Transaction
  summary: Retrieve a committed transaction and adjust it with a corrected, documented replacement.
  description: >-
    Adjusts a transaction that has already been committed without losing its
    audit trail. The workflow retrieves the committed transaction by code to
    confirm its current state, then submits an adjustment with a documented
    reason that voids the original and creates a corrected replacement in a
    single operation. 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: transactionsApi
  url: ../openapi/avalara-transactions-api-openapi.yml
  type: openapi
workflows:
- workflowId: adjust-committed-transaction
  summary: Adjust a committed transaction with a corrected replacement document.
  description: >-
    Looks up a committed transaction by code, then adjusts it by supplying an
    adjustment reason and a corrected replacement transaction.
  inputs:
    type: object
    required:
    - companyCode
    - transactionCode
    - adjustmentReason
    - customerCode
    - date
    - amount
    properties:
      companyCode:
        type: string
        description: Company code that owns the transaction.
      transactionCode:
        type: string
        description: Code of the committed transaction to adjust.
      adjustmentReason:
        type: string
        description: Documented reason for the adjustment (e.g. PriceAdjusted).
      adjustmentDescription:
        type: string
        description: Free-text description of the adjustment.
      customerCode:
        type: string
        description: Customer code for the corrected transaction.
      date:
        type: string
        description: Date of the corrected transaction (YYYY-MM-DD).
      amount:
        type: number
        description: Corrected total amount for the line item.
      taxCode:
        type: string
        description: Avalara tax code for the corrected line item.
  steps:
  - stepId: getOriginal
    description: >-
      Retrieve the committed transaction by code, including its lines, to
      confirm what is being adjusted.
    operationId: getTransactionByCode
    parameters:
    - name: companyCode
      in: path
      value: $inputs.companyCode
    - name: transactionCode
      in: path
      value: $inputs.transactionCode
    - name: $include
      in: query
      value: Lines
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      originalStatus: $response.body#/status
      originalAmount: $response.body#/totalAmount
  - stepId: adjust
    description: >-
      Adjust the committed transaction by supplying a documented reason and a
      corrected replacement transaction.
    operationId: adjustTransaction
    parameters:
    - name: companyCode
      in: path
      value: $inputs.companyCode
    - name: transactionCode
      in: path
      value: $inputs.transactionCode
    requestBody:
      contentType: application/json
      payload:
        adjustmentReason: $inputs.adjustmentReason
        adjustmentDescription: $inputs.adjustmentDescription
        newTransaction:
          type: SalesInvoice
          companyCode: $inputs.companyCode
          date: $inputs.date
          customerCode: $inputs.customerCode
          commit: true
          lines:
          - amount: $inputs.amount
            taxCode: $inputs.taxCode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      adjustedStatus: $response.body#/status
      adjustedTotalTax: $response.body#/totalTax
      adjustedTransactionCode: $response.body#/code
  outputs:
    originalStatus: $steps.getOriginal.outputs.originalStatus
    adjustedTransactionCode: $steps.adjust.outputs.adjustedTransactionCode
    adjustedTotalTax: $steps.adjust.outputs.adjustedTotalTax

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-adjust-committed-transaction-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.