Avalara · Schema

LineItem

LineItem schema from Avalara API

Taxes

Properties

Name Type Description
ref string Line item reference
from object
to object
chg number Charge amount
line integer Number of lines
loc integer Number of locations
min number Minutes
sale integer Sale type (0=Wholesale, 1=Retail, 2=Consumed)
tran integer Transaction type
serv integer Service type
View JSON Schema on GitHub

JSON Schema

communications-line-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-schema/communications-line-item-schema.json",
  "title": "LineItem",
  "description": "LineItem schema from Avalara API",
  "type": "object",
  "properties": {
    "ref": {
      "type": "string",
      "description": "Line item reference"
    },
    "from": {
      "$ref": "#/components/schemas/Location"
    },
    "to": {
      "$ref": "#/components/schemas/Location"
    },
    "chg": {
      "type": "number",
      "format": "double",
      "description": "Charge amount"
    },
    "line": {
      "type": "integer",
      "description": "Number of lines"
    },
    "loc": {
      "type": "integer",
      "description": "Number of locations"
    },
    "min": {
      "type": "number",
      "format": "double",
      "description": "Minutes"
    },
    "sale": {
      "type": "integer",
      "description": "Sale type (0=Wholesale, 1=Retail, 2=Consumed)"
    },
    "tran": {
      "type": "integer",
      "description": "Transaction type"
    },
    "serv": {
      "type": "integer",
      "description": "Service type"
    }
  }
}

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/communications-line-item"
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.