{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brasilnfe-com-br/json-schema/brasilnfe-com-br-post-services-fiscal-enviarconhecimentotransporte-request-schema.json",
  "title": "PostServicesFiscalEnviarconhecimentotransporteRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/brasilnfe-com-br-openapi-generated.yml#/components/schemas/PostServicesFiscalEnviarconhecimentotransporteRequest",
  "type": "object",
  "properties": {
    "Codigo": {
      "type": "integer"
    },
    "Lote": {
      "type": "integer"
    },
    "Serie": {
      "type": "integer"
    },
    "Numero": {
      "type": "integer"
    },
    "IdentificadorInterno": {
      "type": "string"
    },
    "ModeloDocumento": {
      "type": "integer"
    },
    "TipoAmbiente": {
      "type": "integer"
    },
    "TipoCte": {
      "type": "integer"
    },
    "ChaveSubstituida": {
      "type": [
        "string",
        "null"
      ]
    },
    "AlteraTomador": {
      "type": "boolean"
    },
    "ChavesComplementadas": {
      "type": [
        "string",
        "null"
      ]
    },
    "Retira": {
      "type": "boolean"
    },
    "DtEmissao": {
      "type": "string",
      "format": "date-time"
    },
    "Cfop": {
      "type": "integer"
    },
    "NaturezaOperacao": {
      "type": "string"
    },
    "Observacao": {
      "type": "string"
    },
    "Modal": {
      "type": "object",
      "properties": {
        "Tipo": {
          "type": "integer"
        },
        "Rodoviario": {
          "type": "object",
          "properties": {
            "OCCs": {
              "type": "array",
              "items": {}
            }
          }
        }
      }
    },
    "Carga": {
      "type": "object",
      "properties": {
        "ValorTotal": {
          "type": "integer"
        },
        "ValorCargaAverbacao": {
          "type": [
            "string",
            "null"
          ]
        },
        "ProdutoPredominante": {
          "type": "string"
        },
        "Detalhes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "CodUnidadeMedida": {
                "type": "integer"
              },
              "Quantidade": {
                "type": "integer"
              },
              "TipoMedida": {
                "type": "string"
              }
            }
          }
        },
        "Documentos": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Chave": {
                "type": "string"
              },
              "PIN": {
                "type": "string"
              }
            }
          }
        },
        "OutrosDocumentos": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "TipoDocumento": {
                "type": "integer"
              },
              "Descricao": {
                "type": "string"
              },
              "Numero": {
                "type": "string"
              },
              "DtEmissao": {
                "type": "string",
                "format": "date-time"
              },
              "Valor": {
                "type": "integer"
              },
              "DtPrevisao": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      }
    },
    "DocumentosAnteriores": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "CpfCnpj": {
            "type": "string"
          },
          "Ie": {
            "type": "string"
          },
          "Uf": {
            "type": "string"
          },
          "Nome": {
            "type": "string"
          },
          "ChavesCTe": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "Imposto": {
      "type": "object",
      "properties": {
        "ICMS": {
          "type": "object",
          "properties": {
            "CST": {
              "type": "string"
            },
            "BaseCalculo": {
              "type": "number"
            },
            "Aliquota": {
              "type": "integer"
            },
            "Valor": {
              "type": "number"
            },
            "PercentualReducaoBaseCalculo": {
              "type": "integer"
            },
            "AliquotaOutraUF": {
              "type": "integer"
            },
            "ValorICMSOutraUF": {
              "type": "integer"
            }
          }
        },
        "ValorTotalTributos": {
          "type": "integer"
        },
        "InformacoesAdicionaisFisco": {
          "type": "string"
        },
        "Difal": {
          "type": "object",
          "properties": {
            "BaseCalculoUfDestino": {
              "type": "number"
            },
            "PercentualFCPUfDestino": {
              "type": "integer"
            },
            "AliquotaICMSUfDestino": {
              "type": "integer"
            },
            "AliquotaInterestadual": {
              "type": "integer"
            },
            "PercentualPartilhaICMS": {
              "type": "integer"
            },
            "ValorFCPUfDestino": {
              "type": "number"
            },
            "ValorICMSUfDestino": {
              "type": "number"
            },
            "ValorICMSUfInicio": {
              "type": "integer"
            }
          }
        },
        "TributosFederal": {
          "type": "object",
          "properties": {
            "ValorPis": {
              "type": "integer"
            },
            "ValorCofins": {
              "type": "integer"
            },
            "ValorIr": {
              "type": "integer"
            },
            "ValorInss": {
              "type": "integer"
            },
            "ValorCsll": {
              "type": "integer"
            }
          }
        },
        "IBSCBS": {
          "type": "object",
          "properties": {
            "CodClassificacaoTributaria": {
              "type": "string"
            },
            "BaseCalculo": {
              "type": "integer"
            },
            "AliquotaIBSUF": {
              "type": "integer"
            },
            "AliquotaIBSMun": {
              "type": "integer"
            },
            "AliquotaCBS": {
              "type": "integer"
            },
            "PercentualReducaoIBS": {
              "type": "integer"
            },
            "PercentualReducaoCBS": {
              "type": "integer"
            },
            "PercentualDiferimento": {
              "type": "integer"
            }
          }
        }
      }
    },
    "Servico": {
      "type": "object",
      "properties": {
        "Tipo": {
          "type": "integer"
        },
        "CodMunicipioInicio": {
          "type": "integer"
        },
        "MunicipioInicio": {
          "type": "string"
        },
        "CodMunicipioFim": {
          "type": "integer"
        },
        "MunicipioFim": {
          "type": "string"
        },
        "ValorPrestacao": {
          "type": "number"
        },
        "ValorReceber": {
          "type": "integer"
        },
        "Componentes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Nome": {
                "type": "string"
              },
              "Valor": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "Tomador": {
      "type": "object",
      "properties": {
        "IndicadorIe": {
          "type": "integer"
        },
        "TipoTomador": {
          "type": "integer"
        },
        "CpfCnpj": {
          "type": "string"
        },
        "Nome": {
          "type": "string"
        },
        "NomeFantasia": {
          "type": "string"
        },
        "Ie": {
          "type": "string"
        },
        "Endereco": {
          "type": "object",
          "properties": {
            "Cep": {
              "type": "string"
            },
            "Logradouro": {
              "type": "string"
            },
            "Complemento": {
              "type": "string"
            },
            "Numero": {
              "type": "string"
            },
            "Bairro": {
              "type": "string"
            },
            "CodMunicipio": {
              "type": "string"
            },
            "Municipio": {
              "type": "string"
            },
            "Uf": {
              "type": "string"
            },
            "CodPais": {
              "type": "integer"
            },
            "Pais": {
              "type": "string"
            }
          }
        },
        "Contato": {
          "type": "object",
          "properties": {
            "Telefone": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            },
            "Fax": {
              "type": "string"
            }
          }
        }
      }
    },
    "Destinatario": {
      "type": "object",
      "properties": {
        "CpfCnpj": {
          "type": "string"
        },
        "Nome": {
          "type": "string"
        },
        "NomeFantasia": {
          "type": "string"
        },
        "Ie": {
          "type": "string"
        },
        "Endereco": {
          "type": "object",
          "properties": {
            "Cep": {
              "type": "string"
            },
            "Logradouro": {
              "type": "string"
            },
            "Complemento": {
              "type": "string"
            },
            "Numero": {
              "type": "string"
            },
            "Bairro": {
              "type": "string"
            },
            "CodMunicipio": {
              "type": "string"
            },
            "Municipio": {
              "type": "string"
            },
            "Uf": {
              "type": "string"
            },
            "CodPais": {
              "type": "integer"
            },
            "Pais": {
              "type": "string"
            }
          }
        },
        "Contato": {
          "type": "object",
          "properties": {
            "Telefone": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            },
            "Fax": {
              "type": "string"
            }
          }
        }
      }
    },
    "Remetente": {
      "type": "object",
      "properties": {
        "CpfCnpj": {
          "type": "string"
        },
        "Nome": {
          "type": "string"
        },
        "NomeFantasia": {
          "type": "string"
        },
        "Ie": {
          "type": "string"
        },
        "Endereco": {
          "type": "object",
          "properties": {
            "Cep": {
              "type": "string"
            },
            "Logradouro": {
              "type": "string"
            },
            "Complemento": {
              "type": "string"
            },
            "Numero": {
              "type": "string"
            },
            "Bairro": {
              "type": "string"
            },
            "CodMunicipio": {
              "type": "string"
            },
            "Municipio": {
              "type": "string"
            },
            "Uf": {
              "type": "string"
            },
            "CodPais": {
              "type": "integer"
            },
            "Pais": {
              "type": "string"
            }
          }
        },
        "Contato": {
          "type": "object",
          "properties": {
            "Telefone": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            },
            "Fax": {
              "type": "string"
            }
          }
        }
      }
    },
    "Expedidor": {
      "type": "object",
      "properties": {
        "CpfCnpj": {
          "type": "string"
        },
        "Nome": {
          "type": "string"
        },
        "NomeFantasia": {
          "type": "string"
        },
        "Ie": {
          "type": "string"
        },
        "Endereco": {
          "type": "object",
          "properties": {
            "Cep": {
              "type": "string"
            },
            "Logradouro": {
              "type": "string"
            },
            "Complemento": {
              "type": "string"
            },
            "Numero": {
              "type": "string"
            },
            "Bairro": {
              "type": "string"
            },
            "CodMunicipio": {
              "type": "string"
            },
            "Municipio": {
              "type": "string"
            },
            "Uf": {
              "type": "string"
            },
            "CodPais": {
              "type": "integer"
            },
            "Pais": {
              "type": "string"
            }
          }
        },
        "Contato": {
          "type": "object",
          "properties": {
            "Telefone": {
              "type": "string"
            },
            "Email": {
              "type": "string"
            },
            "Fax": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}