{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-structure/avatax-brazil-calculation-response-structure.json",
  "description": "CalculationResponse schema from Avalara API",
  "type": "object",
  "properties": {
    "header": {
      "type": "object",
      "properties": {
        "transactionId": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "lines": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CalculationResultLine"
      }
    }
  },
  "name": "CalculationResponse"
}