Avalara · JSON Structure

Excise Transaction Line Structure

TransactionLine schema from Avalara API

Type: object Properties: 10
Taxes

TransactionLine is a JSON Structure definition published by Avalara, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

lineNumber productCode unitOfMeasure quantity amount origin destination billOfLadingNumber carrierName modeOfTransport

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/excise-transaction-line-structure.json",
  "description": "TransactionLine schema from Avalara API",
  "type": "object",
  "properties": {
    "lineNumber": {
      "type": "string"
    },
    "productCode": {
      "type": "string",
      "description": "Excise product code"
    },
    "unitOfMeasure": {
      "type": "string",
      "enum": [
        "GAL",
        "LTR",
        "BBL",
        "TON",
        "EA"
      ],
      "description": "Unit of measure"
    },
    "quantity": {
      "type": "double",
      "description": "Quantity of product"
    },
    "amount": {
      "type": "double",
      "description": "Line amount"
    },
    "origin": {
      "$ref": "#/components/schemas/ExciseAddress"
    },
    "destination": {
      "$ref": "#/components/schemas/ExciseAddress"
    },
    "billOfLadingNumber": {
      "type": "string"
    },
    "carrierName": {
      "type": "string"
    },
    "modeOfTransport": {
      "type": "string",
      "enum": [
        "Truck",
        "Pipeline",
        "Rail",
        "Vessel"
      ]
    }
  },
  "name": "TransactionLine"
}