{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-schema/avatax-brazil-calculation-line-schema.json", "title": "CalculationLine", "description": "CalculationLine schema from Avalara API", "type": "object", "properties": { "lineCode": { "type": "string" }, "itemCode": { "type": "string" }, "numberOfItems": { "type": "number", "format": "double" }, "lineAmount": { "type": "number", "format": "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)" } } }