Avalara · Schema

TransactionModel

Taxes

Properties

Name Type Description
id integer Unique ID of the transaction
code string Transaction code
companyId integer Company ID that owns this transaction
date string Date of the transaction
status string Current status of the transaction
type string Document type
totalAmount number Total amount of the transaction before tax
totalTax number Total tax calculated for the transaction
totalTaxable number Total taxable amount
totalExempt number Total exempt amount
lines array
addresses array
summary array
View JSON Schema on GitHub

JSON Schema

avalara-transactionmodel-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TransactionModel",
  "title": "TransactionModel",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique ID of the transaction"
    },
    "code": {
      "type": "string",
      "description": "Transaction code"
    },
    "companyId": {
      "type": "integer",
      "description": "Company ID that owns this transaction"
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Date of the transaction"
    },
    "status": {
      "type": "string",
      "enum": [
        "Temporary",
        "Saved",
        "Posted",
        "Committed",
        "Cancelled",
        "Adjusted"
      ],
      "description": "Current status of the transaction"
    },
    "type": {
      "type": "string",
      "description": "Document type"
    },
    "totalAmount": {
      "type": "number",
      "format": "double",
      "description": "Total amount of the transaction before tax"
    },
    "totalTax": {
      "type": "number",
      "format": "double",
      "description": "Total tax calculated for the transaction"
    },
    "totalTaxable": {
      "type": "number",
      "format": "double",
      "description": "Total taxable amount"
    },
    "totalExempt": {
      "type": "number",
      "format": "double",
      "description": "Total exempt amount"
    },
    "lines": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TransactionLineModel"
      }
    },
    "addresses": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TransactionAddressModel"
      }
    },
    "summary": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TransactionSummary"
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/avalara-transactionmodel"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.