> ## Documentation Index
> Fetch the complete documentation index at: https://bmpdocs.moneyp.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# 29 - Consultar Estendida

Por meio deste endpoint o parceiro consulta as informações referente a todas as alterações realizadas na proposta, neste caso podem requerer ou não a intervenção do parceiro.

## Mensagens de erro

A tabela abaixo representa as mensagens de erro que podem ser retornadas ao tentar realizar uma requisição.

<Expandable title="Mensagens de requisições com erro">
  O retorno de uma requisição com status HTTP 400 (Bad Request) pode incluir as seguintes mensagens de erro:

  <Note>No exemplo de retorno ao lado, o campo `code` representa a coluna **Código** desta tabela; o campo `context` representa a coluna **Código Detalhado**; e o campo `message` representa a coluna **Mensagem**.</Note>

  | Categoria | Operação                  | Ação               | Código | Código Detalhado | Mensagem                                                                                                        |
  | --------- | ------------------------- | ------------------ | ------ | ---------------- | --------------------------------------------------------------------------------------------------------------- |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0019  | V0001            | Produto não configurado para esta integração                                                                    |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0113  | V0001            | Proposta não encontrada                                                                                         |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0113  | V0002            | A Proposta não pertence à esta Integração                                                                       |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0000            | Análise realizada com sucesso                                                                                   |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0001            | Data de nascimento não informada no cadastro do cliente da proposta                                             |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0002            | Data de nascimento declarada no documento de identidade não condiz com o cadastro do cliente da proposta        |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0003            | CPF não informado no cadastro do cliente da proposta                                                            |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0004            | CPF declarado no documento de identidade não condiz com o cadastro do cliente da proposta                       |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0005            | Nome não informado no cadastro do cliente da proposta                                                           |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0006            | Nome declarado no documento de identidade não condiz com o cadastro do cliente da proposta                      |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0007            | Data de nascimento não informada no cadastro do cliente da proposta                                             |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0008            | Data de nascimento declarada no documento de identidade não condiz com o cadastro do cliente da proposta        |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0009            | CPF não informado no cadastro do cliente da proposta                                                            |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0010            | CPF declarado no documento de identidade não condiz com o cadastro do cliente da proposta                       |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0011            | Nome não informado no cadastro do cliente da proposta                                                           |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0012            | Nome declarado no documento de identidade não condiz com o cadastro do cliente da proposta                      |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0013            | Chassi não informado no cadastro do veículo vinculado à proposta                                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0014            | Chassi declarado no DUT não condiz com o cadastro do veículo vinculado à proposta                               |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0015            | Ano de fabricação não informado no cadastro do veículo vinculado à proposta                                     |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0016            | Ano de fabricação declarado no DUT não condiz com o cadastro do veículo vinculado à proposta                    |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0017            | Ano do modelo não informado no cadastro do veículo vinculado à proposta                                         |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0018            | Ano do modelo declarado no DUT não condiz com o cadastro do veículo vinculado à proposta                        |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0019            | Modelo não informado no cadastro do veículo vinculado à proposta                                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0020            | Modelo declarado no DUT não condiz com o cadastro do veículo vinculado à proposta                               |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0021            | Marca não informada no cadastro do veículo vinculado à proposta                                                 |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0022            | Marca declarada no DUT não condiz com o cadastro do veículo vinculado à proposta                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0023            | CEP não informado no cadastro do cliente da proposta                                                            |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0024            | CEP declarado no comprovante de residência não condiz com o cadastro do cliente da proposta                     |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0025            | Logradouro não informado no cadastro do cliente da proposta                                                     |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0026            | Logradouro declarado no comprovante de residência não condiz com o cadastro do cliente da proposta              |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0027            | Placa não informada no cadastro do veículo vinculado à proposta                                                 |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0028            | Placa declarada no DUT não condiz com o cadastro do veículo vinculado à proposta                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0029            | Chassi não informado no cadastro da Nota Fiscal do veículo vinculado à proposta                                 |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0030            | Chassi declarado na Nota Fiscal do veículo não condiz com o cadastro do veículo vinculado à proposta            |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0031            | Ano de fabricação não informado no cadastro do veículo vinculado à proposta                                     |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0032            | Ano de fabricação declarado na Nota Fiscal do veículo não condiz com o cadastro do veículo vinculado à proposta |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0033            | Marca não informada no cadastro do veículo vinculado à proposta                                                 |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0034            | Marca declarada na Nota Fiscal do veículo não condiz com o cadastro do veículo vinculado à proposta             |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0035            | Renavam não informado no cadastro do veículo vinculado à proposta                                               |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | C0306  | V0036            | Renavam declarada no DUT não condiz com o cadastro do veículo vinculado à proposta                              |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0000            | Sucesso                                                                                                         |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0001            | Não é um arquivo válido para análise                                                                            |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0002            | Arquivo enviado em cópia preto e branco                                                                         |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0003            | Arquivo desatualizado                                                                                           |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0004            | Informações ilegíveis                                                                                           |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0005            | Nome do titular inválido                                                                                        |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0006            | Data de nascimento inválida                                                                                     |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0007            | Número do documento inválido                                                                                    |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0008            | Data de expedição inválida                                                                                      |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0009            | Data de expiração inválida                                                                                      |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0010            | Data da primeira emissão inválida                                                                               |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0011            | Categoria inválida                                                                                              |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0012            | Arquivo inválido para analise. Parâmetro: Código                                                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0013            | Arquivo inválido para analise. Parâmetro: Tipo                                                                  |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0014            | Arquivo inválido para analise. Parâmetro: Base64                                                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0015            | Arquivo inválido para analise. Parâmetro: TipoBureau                                                            |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0016            | Bureau inválido para o documento consultado                                                                     |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0017            | Quantidade de arquivos inválida                                                                                 |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0018            | Consulta não implementada                                                                                       |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0019            | `{Mensagem dinâmica}`                                                                                           |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0020            | Retorno de analise inválida. Parâmetro: Código                                                                  |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0021            | Retorno de analise inválida. Parâmetro: Tipo                                                                    |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0022            | Retorno de analise inválida. Parâmetro: Situacao                                                                |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0023            | `{Mensagem dinâmica}`                                                                                           |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0024            | Tipo de arquivo de retorno inválido                                                                             |
  | Proposta  | ConsultaPropostaEstendida | ConsultarEstendida | B0001  | V0099            | Erro não catalogado                                                                                             |
</Expandable>


## OpenAPI

````yaml post /Proposta/ConsultarEstendida
openapi: 3.0.1
info:
  title: BMPDigitalCore.ApiExterna.Proposta.API
  version: '1.0'
servers:
  - url: https://api.bmpdigital.moneyp.dev.br
security:
  - Bearer: []
paths:
  /Proposta/ConsultarEstendida:
    post:
      tags:
        - Proposta
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsultaPropostaEstendidaCommand'
          text/json:
            schema:
              $ref: '#/components/schemas/ConsultaPropostaEstendidaCommand'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ConsultaPropostaEstendidaCommand'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ConsultaPropostaEstendidaResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ConsultaPropostaEstendidaResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ConsultaPropostaEstendidaResponse'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ResponseBase'
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBase'
            text/json:
              schema:
                $ref: '#/components/schemas/ResponseBase'
components:
  schemas:
    ConsultaPropostaEstendidaCommand:
      type: object
      properties:
        dto:
          $ref: '#/components/schemas/FindPropostaDTO'
        dtoEstendida:
          $ref: '#/components/schemas/ConsultaEstendidaDTO'
      additionalProperties: false
    ConsultaPropostaEstendidaResponse:
      type: object
      properties:
        msg:
          type: string
          nullable: true
        result:
          type: boolean
          writeOnly: true
        hasError:
          type: boolean
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          nullable: true
        proposta:
          $ref: '#/components/schemas/ConsultaPropostaResponse'
        propostaDadosVeiculos:
          type: array
          items:
            $ref: '#/components/schemas/PropostaDadosVeiculoDTO'
          nullable: true
        propostaDocumentos:
          type: array
          items:
            $ref: '#/components/schemas/PropostaConsultaAnalisePropostaDocumentosDTO'
          nullable: true
        pessoaDocumentos:
          type: array
          items:
            $ref: '#/components/schemas/PropostaConsultaAnalisePessoaDocumentosDTO'
          nullable: true
        propostaAnaliseBMPCred:
          type: array
          items:
            $ref: '#/components/schemas/PropostaAnaliseBMPCredDTO'
          nullable: true
        propostaGarantias:
          $ref: '#/components/schemas/PropostaGarantiaDTO'
      additionalProperties: false
    ResponseBase:
      type: object
      properties:
        msg:
          type: string
          nullable: true
        result:
          type: boolean
          writeOnly: true
        hasError:
          type: boolean
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          nullable: true
      additionalProperties: false
    FindPropostaDTO:
      type: object
      properties:
        codigoProposta:
          type: string
          description: Código identificador da proposta
          format: uuid
          nullable: true
        codigoOperacao:
          type: string
          description: Código da operação do parceiro
          nullable: true
        numeroProposta:
          type: integer
          description: Número sequencial da proposta
          format: int64
          nullable: true
      additionalProperties: false
    ConsultaEstendidaDTO:
      type: object
      properties:
        carregarDadosVeiculo:
          type: boolean
          description: Dados do veículo
        carregarDadosAnaliseDocumentos:
          type: boolean
          description: Dados de análise dos documentos
        carregarDadosAnaliseBMPCred:
          type: boolean
          description: >-
            Informa se a consulta deve ou não carregar os dados da análise do
            produto BMPCred.
        carregarGarantias:
          type: boolean
          description: >-
            Informa se a consulta deve ou não carregar os dados da garantia da
            proposta
      additionalProperties: false
    Message:
      type: object
      properties:
        messageType:
          $ref: '#/components/schemas/ErrorType'
        code:
          type: string
          nullable: true
        context:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        field:
          type: string
          nullable: true
      additionalProperties: false
    ConsultaPropostaResponse:
      type: object
      properties:
        msg:
          type: string
          nullable: true
        result:
          type: boolean
          writeOnly: true
        hasError:
          type: boolean
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          nullable: true
        codigo:
          type: string
          format: uuid
        dtInclusao:
          type: string
          nullable: true
        situacao:
          type: integer
          format: int32
        vlrFinanciado:
          type: number
          format: double
          nullable: true
        qtdeParcelas:
          type: integer
          format: int32
          nullable: true
        vlrParcela:
          type: number
          format: double
          nullable: true
        vlrTAC:
          type: number
          format: double
          nullable: true
        vlrBoleto:
          type: number
          format: double
          nullable: true
        vlrSeguro:
          type: number
          format: double
          nullable: true
        vlrIOF:
          type: number
          format: double
          nullable: true
        vlrOutrasDespesas:
          type: number
          format: double
          nullable: true
        vlrOutrosServicos:
          type: number
          format: double
          nullable: true
        vlrTotalCredito:
          type: number
          format: double
          nullable: true
        vlrTotalDivida:
          type: number
          format: double
          nullable: true
        vlrDesembolso:
          type: number
          format: double
          nullable: true
        percCETMensal:
          type: number
          format: double
          nullable: true
        percCETAnual:
          type: number
          format: double
          nullable: true
        percJurosMensal:
          type: number
          format: double
          nullable: true
        percJurosAnual:
          type: number
          format: double
          nullable: true
        codigoOperacao:
          type: string
          nullable: true
        tipoContrato:
          type: string
          nullable: true
        dtPagamento:
          type: string
          format: date-time
          nullable: true
        codigoProposta:
          type: string
          nullable: true
        numeroCCB:
          type: string
          nullable: true
        motivoRejeicao:
          type: string
          nullable: true
        textoRetornoPagamento:
          type: string
          nullable: true
        autenticacaoBancaria:
          type: string
          nullable: true
        controleBancario:
          type: string
          nullable: true
        textoMotivoAnalise:
          type: string
          nullable: true
        propostaLancamentos:
          type: array
          items:
            $ref: '#/components/schemas/PropostaLancamentoResult'
          nullable: true
        propostaContaPagamento:
          $ref: '#/components/schemas/PropostaContaPagamentoDTO'
      additionalProperties: false
    PropostaDadosVeiculoDTO:
      required:
        - placa
      type: object
      properties:
        placa:
          maxLength: 10
          minLength: 0
          type: string
          description: Placa do veículo
          nullable: true
        marca:
          maxLength: 30
          minLength: 0
          type: string
          description: Marca do veículo
          nullable: true
        modelo:
          maxLength: 30
          minLength: 0
          type: string
          description: Modelo do veículo
          nullable: true
        versaoModelo:
          maxLength: 50
          minLength: 0
          type: string
          description: Caracterização do assinante
          nullable: true
        anoFab:
          type: integer
          description: Ano de fabricação
          format: int32
          nullable: true
        anoMod:
          type: integer
          description: Ano do modelo
          format: int32
          nullable: true
        cor:
          maxLength: 30
          minLength: 0
          type: string
          description: Cor do veículo
          nullable: true
        chassis:
          maxLength: 50
          minLength: 0
          type: string
          description: Chassis
          nullable: true
        renavam:
          maxLength: 30
          minLength: 0
          type: string
          description: Registro Nacional de Veículos Automotores (Renavam)
          nullable: true
        proprietario:
          maxLength: 60
          minLength: 0
          type: string
          description: Nome do proprietário
          nullable: true
        documentoFederalProprietario:
          maxLength: 20
          minLength: 0
          type: string
          description: Documento do proprietário
          nullable: true
        financiado:
          type: boolean
          description: 'Indica se veículo ainda está em financiamento '
          nullable: true
        saldoFinanciamento:
          maximum: 10000000000000000
          minimum: 0
          type: number
          description: Saldo do financiamento
          format: double
          nullable: true
        tipoPlaca:
          type: integer
          description: >-
            Tipo de placa: 1-Particular, 2-Comercial, 3-Oficial, 4-Diplomático,
            5-Especial, 6-Colecionador
          format: int32
          nullable: true
        tipoVeiculo:
          type: integer
          description: >-
            Tipo de veículo: 1-Carro, 2-Moto, 3-Caminhão, 4-Van/Utilitário,
            5-SUV
          format: int32
          nullable: true
        ufPlaca:
          maxLength: 2
          minLength: 0
          type: string
          description: Unidade Federal (UF) da placa
          nullable: true
        ufLicenciamento:
          maxLength: 2
          minLength: 0
          type: string
          description: Unidade Federal (UF) do Licenciamento
          nullable: true
        tipoRestricao:
          type: integer
          description: Tipo de restrição
          format: int32
          nullable: true
        tipoChassi:
          type: integer
          description: Tipo de chassi
          format: int32
          nullable: true
        codigoFipe:
          maxLength: 30
          minLength: 0
          type: string
          description: Código da Fundação Instituto de Pesquisas Econômicas (Fipe)
          nullable: true
        situacaoGravame:
          type: integer
          description: Situação do Gravame
          format: int32
          nullable: true
        descricaoGravame:
          maxLength: 1000
          minLength: 0
          type: string
          description: Descrição do Gravame
          nullable: true
        codigoRetornoGravame:
          type: integer
          description: Código Retorno Gravame
          format: int32
          nullable: true
        dtSituacaoGravame:
          type: string
          description: Data de situação do Gravame
          format: date-time
          nullable: true
        origemGravame:
          type: integer
          description: Indica a origem do gravame do veículo (interno, externo ou ambos).
          format: int32
          nullable: true
        nroGravame:
          type: integer
          description: Gravame
          format: int32
          nullable: true
        nroRegristroGecov:
          maxLength: 50
          minLength: 0
          type: string
          description: Número registro do GECOV – Gerenciador de contratos de veículos.
          nullable: true
        vlrFipe:
          maximum: 99999999.99
          minimum: 0
          type: number
          description: Valor da Fundação Instituto de Pesquisas Econômicas - Fipe.
          format: double
          nullable: true
        vlrVeiculo:
          maximum: 99999999.99
          minimum: 0
          type: number
          description: Valor do veiculo.
          format: double
          nullable: true
        zeroKM:
          type: boolean
          description: Indica se o veículo possui zero quilômetros rodados.
          nullable: true
        km:
          maximum: 999999
          minimum: 0
          type: integer
          description: Valor da quilometragem do veículo.
          format: int32
          nullable: true
      additionalProperties: false
    PropostaConsultaAnalisePropostaDocumentosDTO:
      type: object
      properties:
        codigoDocumento:
          type: string
          nullable: true
        tipo:
          type: integer
          format: int32
        conferido:
          type: boolean
          nullable: true
        situacao:
          type: integer
          format: int32
          nullable: true
        ocorrencias:
          type: array
          items:
            $ref: '#/components/schemas/OcorrenciaResult'
          nullable: true
      additionalProperties: false
    PropostaConsultaAnalisePessoaDocumentosDTO:
      type: object
      properties:
        codigoDocumento:
          type: string
          nullable: true
        tipo:
          type: integer
          format: int32
        conferido:
          type: boolean
          nullable: true
        situacao:
          type: integer
          format: int32
          nullable: true
        ocorrencias:
          type: array
          items:
            $ref: '#/components/schemas/OcorrenciaResult'
          nullable: true
      additionalProperties: false
    PropostaAnaliseBMPCredDTO:
      type: object
      properties:
        bmpCredResponse:
          $ref: '#/components/schemas/BMPCredRepsonse'
      additionalProperties: false
    PropostaGarantiaDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        codigoProposta:
          type: string
          format: uuid
        codigoIdentificador:
          type: string
          nullable: true
        nomeProprietario:
          type: string
          nullable: true
        documentoFederalProprietario:
          type: string
          nullable: true
        grupo:
          type: integer
          format: int32
        subgrupo:
          type: integer
          format: int32
        descricaoSubgrupo:
          type: string
          nullable: true
        vlrTotal:
          type: number
          format: double
          nullable: true
        descricao:
          type: string
          nullable: true
        propostaGarantiaBemFinan:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemFinanResponseDTO'
          nullable: true
        propostaGarantiaBemImovel:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemImovelResponseDTO'
          nullable: true
        propostaGarantiaBemMovel:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemMovelResponseDTO'
          nullable: true
        propostaGarantiaBemVeiculo:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemVeiculoResponseDTO'
          nullable: true
        propostaGarantiaBemRural:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemRuralResponseDTO'
          nullable: true
      additionalProperties: false
    ErrorType:
      enum:
        - 1
        - 2
        - 3
      type: integer
      format: int32
    PropostaLancamentoResult:
      type: object
      properties:
        campoID:
          type: string
          nullable: true
        descricaoCampo:
          type: string
          nullable: true
        vlrTransacao:
          type: number
          format: double
          nullable: true
        dtPrevPagto:
          type: string
          format: date-time
          nullable: true
        dtPagamento:
          type: string
          format: date-time
          nullable: true
        situacao:
          type: integer
          format: int32
          nullable: true
        linhaDigitavel:
          type: string
          nullable: true
        dtVenctoBoleto:
          type: string
          format: date-time
          nullable: true
        vlrBoleto:
          type: number
          format: double
          nullable: true
        codigoBanco:
          type: integer
          format: int32
          nullable: true
        numeroBanco:
          type: string
          nullable: true
        tipoConta:
          type: integer
          format: int32
          nullable: true
        agencia:
          type: string
          nullable: true
        agenciaDig:
          type: string
          nullable: true
        conta:
          type: string
          nullable: true
        contaDig:
          type: string
          nullable: true
        documentoFederal:
          type: string
          nullable: true
        nomePagamento:
          type: string
          nullable: true
        textoRetornoPagamento:
          type: string
          nullable: true
        autenticacaoBancaria:
          type: string
          nullable: true
        controleBancario:
          type: string
          nullable: true
        descricaoOcorrencia:
          type: string
          nullable: true
      additionalProperties: false
    PropostaContaPagamentoDTO:
      required:
        - agencia
        - conta
        - tipoConta
      type: object
      properties:
        codigoBanco:
          type: integer
          description: Código do banco
          format: int32
          nullable: true
        tipoConta:
          type: integer
          description: Tipo de conta
          format: int32
          nullable: true
        agencia:
          maxLength: 4
          minLength: 0
          type: string
          description: Número da Agência
          nullable: true
        agenciaDig:
          maxLength: 1
          minLength: 0
          type: string
          description: Dígito da agência
          nullable: true
        conta:
          maxLength: 20
          minLength: 0
          type: string
          description: Número da conta
          nullable: true
        contaDig:
          maxLength: 1
          minLength: 0
          type: string
          description: Dígito da conta
          nullable: true
        numeroBanco:
          type: string
          description: Número do banco
          nullable: true
        documentoFederalPagamento:
          maxLength: 20
          minLength: 0
          type: string
          description: >-
            Numero do Cadastro de Pessoa Física (CPF) ou  do Cadastro Nacional
            de Pessoa Física (CNPJ) indicado para pagamento (quando difere do
            Titular)
          nullable: true
        nomePagamento:
          maxLength: 60
          minLength: 0
          type: string
          description: Nome do titular do pagamento.
          nullable: true
      additionalProperties: false
    OcorrenciaResult:
      type: object
      properties:
        messageType:
          type: integer
          format: int32
        context:
          type: string
          nullable: true
        code:
          type: string
          nullable: true
        message:
          type: string
          nullable: true
      additionalProperties: false
    BMPCredRepsonse:
      type: object
      properties:
        tomadores:
          type: array
          items:
            $ref: '#/components/schemas/Tomador'
          nullable: true
        codigo:
          type: integer
          format: int32
        mensagem:
          type: string
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemFinanResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        numeroEC:
          type: string
          nullable: true
        seuNumero:
          type: string
          nullable: true
        dtPrimVencDuplic:
          type: string
          format: date-time
          nullable: true
        dtUltVencDuplic:
          type: string
          format: date-time
          nullable: true
        razaoSocial:
          type: string
          nullable: true
        cnpj:
          type: string
          nullable: true
        percCotasGarantia:
          type: number
          format: double
          nullable: true
        vlrCapitalSocial:
          type: number
          format: double
          nullable: true
        nomeFundo:
          type: string
          nullable: true
        cnpjFundo:
          type: string
          nullable: true
        qtdeCotasFundo:
          type: number
          format: double
          nullable: true
        qtdeCotasGarantiaFundo:
          type: number
          format: double
          nullable: true
        vlrCotasFundo:
          type: number
          format: double
          nullable: true
        dtTravaCarencia:
          type: string
          format: date-time
          nullable: true
        nomeLocador:
          type: string
          nullable: true
        documentoFederalLocador:
          type: string
          nullable: true
        nomeLocatario:
          type: string
          nullable: true
        documentoFederalLocatario:
          type: string
          nullable: true
        dtInicioLocacao:
          type: string
          format: date-time
          nullable: true
        dtTerminoLocacao:
          type: string
          format: date-time
          nullable: true
        moedaVirtual:
          type: boolean
          nullable: true
        nroBanco:
          type: string
          nullable: true
        tipoConta:
          type: integer
          format: int32
          nullable: true
        agencia:
          type: string
          nullable: true
        agenciaDig:
          type: string
          nullable: true
        conta:
          type: string
          nullable: true
        contaDig:
          type: string
          nullable: true
        titularidade:
          type: string
          nullable: true
        propostaGarantiaBemFinanCartao:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemFinanCartaoResponseDTO'
          nullable: true
        propostaGarantiaBemFinanSocio:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemFinanSocioResponseDTO'
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemImovelResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        cep:
          type: string
          nullable: true
        logradouro:
          type: string
          nullable: true
        nroLogradouro:
          type: string
          nullable: true
        bairro:
          type: string
          nullable: true
        complemento:
          type: string
          nullable: true
        cidade:
          type: string
          nullable: true
        uf:
          type: string
          nullable: true
        possuiRegistroCartorio:
          type: boolean
          nullable: true
        nomeCartorio:
          type: string
          nullable: true
        cidadeCartorio:
          type: string
          nullable: true
        nroCadastroCartorio:
          type: string
          nullable: true
        valorLeilao:
          type: number
          format: double
        nroMatricula:
          type: string
          nullable: true
        nroCIBNirf:
          type: string
          nullable: true
        nroCEICNO:
          type: string
          nullable: true
        qtdArea:
          type: number
          format: double
          nullable: true
        unidMedidaArea:
          type: string
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemMovelResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        nroRegistro:
          type: string
          nullable: true
        localizacaoPais:
          type: string
          nullable: true
        nroSerie:
          type: string
          nullable: true
        nroNotaFiscal:
          type: string
          nullable: true
        chaveNFe:
          type: string
          nullable: true
        marca:
          type: string
          nullable: true
        modelo:
          type: string
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemVeiculoResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        placa:
          type: string
          nullable: true
        marca:
          type: string
          nullable: true
        modelo:
          type: string
          nullable: true
        versaoModelo:
          type: string
          nullable: true
        anoFab:
          type: integer
          format: int32
          nullable: true
        anoMod:
          type: integer
          format: int32
          nullable: true
        cor:
          type: string
          nullable: true
        chassi:
          type: string
          nullable: true
        renavam:
          type: string
          nullable: true
        financiado:
          type: boolean
          nullable: true
        saldoFinanciamento:
          type: number
          format: double
          nullable: true
        tipoPlaca:
          type: integer
          format: int32
          nullable: true
        tipoVeiculo:
          type: integer
          format: int32
          nullable: true
        ufPlaca:
          type: string
          nullable: true
        ufLicenciamento:
          type: string
          nullable: true
        vlrFipe:
          type: number
          format: double
          nullable: true
        periodoFipe:
          type: string
          nullable: true
        zeroKM:
          type: boolean
          nullable: true
        frota:
          type: boolean
          nullable: true
        tipoChassi:
          type: integer
          format: int32
          nullable: true
        tipoRestricaoGravame:
          type: integer
          format: int32
          nullable: true
        dtRestricaoGravame:
          type: string
          format: date-time
          nullable: true
        codigoFipe:
          type: string
          nullable: true
        km:
          type: integer
          format: int32
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemRuralResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        indicaProcessoGarantia:
          type: string
          nullable: true
        propostaGarantiaBemRuralProduto:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemRuralProdutoResponseDTO'
          nullable: true
        propostaGarantiaBemRuralLocal:
          type: array
          items:
            $ref: '#/components/schemas/PropostaGarantiasBemRuralLocalResponseDTO'
          nullable: true
      additionalProperties: false
    Tomador:
      type: object
      properties:
        cpfcnpj:
          type: integer
          format: int64
        proposito:
          type: string
          nullable: true
        resultado:
          type: number
          format: double
        observacao:
          $ref: '#/components/schemas/Observacao'
      additionalProperties: false
    PropostaGarantiasBemFinanCartaoResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        credenciadora:
          type: string
          nullable: true
        subCredenciadora:
          type: string
          nullable: true
        arranjo:
          type: string
          nullable: true
        percArranjo:
          type: number
          format: double
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemFinanSocioResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        documentoFederal:
          type: string
          nullable: true
        nome:
          type: string
          nullable: true
        qtdeCotas:
          type: number
          format: double
          nullable: true
        vlrCotas:
          type: number
          format: double
          nullable: true
        percCotas:
          type: number
          format: double
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemRuralProdutoResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        nome:
          type: string
          nullable: true
        unidadeMedida:
          type: string
          nullable: true
        formaAcondicionamento:
          type: string
          nullable: true
        codigoProduto:
          type: string
          nullable: true
        classeProduto:
          type: string
          nullable: true
        safraProduto:
          type: string
          nullable: true
        caracteristicaProduto:
          type: string
          nullable: true
        quantidadeProduto:
          type: integer
          format: int32
          nullable: true
        statusProduto:
          type: integer
          format: int32
          nullable: true
        tipoProducao:
          type: integer
          format: int32
          nullable: true
      additionalProperties: false
    PropostaGarantiasBemRuralLocalResponseDTO:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        descricaoLocal:
          type: string
          nullable: true
        cartorio:
          type: string
          nullable: true
        matriculaImovel:
          type: string
          nullable: true
        municipio:
          type: string
          nullable: true
        uf:
          type: string
          nullable: true
        cep:
          type: string
          nullable: true
        logradouro:
          type: string
          nullable: true
        nroLogradouro:
          type: string
          nullable: true
        bairro:
          type: string
          nullable: true
        complemento:
          type: string
          nullable: true
      additionalProperties: false
    Observacao:
      type: object
      properties:
        cePsEncontradosBureauCadastral:
          type: array
          items:
            type: string
          nullable: true
        scoreBMP:
          type: integer
          format: int32
        flags:
          type: array
          items:
            type: string
          nullable: true
        motivo:
          type: string
          nullable: true
        motivoRecusaOnboarding:
          $ref: '#/components/schemas/MotivoRecusaOnboarding'
        prazo:
          type: integer
          format: int32
        taxa:
          type: number
          format: double
        valorParcela:
          type: number
          format: double
      additionalProperties: false
    MotivoRecusaOnboarding:
      type: object
      properties:
        mensagem:
          type: string
          nullable: true
        motivo:
          type: string
          nullable: true
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: Informe o token
      name: Authorization
      in: header

````