Avalara · JSON Structure

Avatax Brazil Calculation Line Structure

CalculationLine schema from Avalara API

Type: object Properties: 10
Taxes

CalculationLine 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

lineCode itemCode numberOfItems lineAmount itemDescription ncmCode cstCode cfopCode originState destinationState

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/avatax-brazil-calculation-line-structure.json",
  "description": "CalculationLine schema from Avalara API",
  "type": "object",
  "properties": {
    "lineCode": {
      "type": "string"
    },
    "itemCode": {
      "type": "string"
    },
    "numberOfItems": {
      "type": "double"
    },
    "lineAmount": {
      "type": "double"
    },
    "itemDescription": {
      "type": "string"
    },
    "ncmCode": {
      "type": "string",
      "description": "NCM (Nomenclatura Comum do Mercosul) code"
    },
    "cstCode": {
      "type": "string",
      "description": "CST (Codigo de Situacao Tributaria) code"
    },
    "cfopCode": {
      "type": "string",
      "description": "CFOP (Codigo Fiscal de Operacoes e Prestacoes) code"
    },
    "originState": {
      "type": "string",
      "description": "Origin state code (UF)"
    },
    "destinationState": {
      "type": "string",
      "description": "Destination state code (UF)"
    }
  },
  "name": "CalculationLine"
}