> ## 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.

# 41 - Enviar Proposta PF

Utilize este endpoint para solicitar análise de crédito. Após a requisição, há um retorno síncrono com o status de aceitação e um retorno assíncrono (callback) com o resultado completo da análise.

Campos obrigatórios:

* `webhookID`: identificador do webhook cadastrado previamente junto ao time de Implantação da BMP. Será usado para dispara o callback com o resultado da análise.
* `CPF`: documento do cliente pessoa física que será submetido à análise de crédito.
* `Politica`: nome da política de crédito configurada junto ao time de crédito.
* `CodigoInstituicao`: codigo atribuído pela plataforma BMP ao se criar a política, em conjunto com o time de crédito.
* `CodigoPropostaCliente`: ID único da proposta, fornecido pelo cliente, que servirá de identificador para toda a operação de análise.

Tabelas:

<Expandable title="Pessoa Física">
  | Objeto                 | Campo                        | Tipo de Dado | Descrição                                                                                                  |
  | ---------------------- | ---------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
  | `PropostaPessoaFisica` | `CodigoPropostaCliente`      | string       | Identificador único da proposta no sistema do cliente.                                                     |
  | `PropostaPessoaFisica` | `CodigoInstituicao`          | string       | Identificador do cliente. Formato GUID: `XXXX-XXXX-XXXX-XXXX`.                                             |
  | `PropostaPessoaFisica` | `ValorSolicitado`            | number       | Valor de limite de crédito solicitado pelo proponente.                                                     |
  | `PropostaPessoaFisica` | `PrazoMeses`                 | int          | Prazo em meses solicitado pelo proponente para a tomada de crédito.                                        |
  | `PropostaPessoaFisica` | `FormaPagamento`             | number       | ID que indica a forma de pagamento, referencia na tabela Formas de Pagamento.                              |
  | `DadosProponentes`     | `Nome`                       | string       | Nome completo do proponente.                                                                               |
  | `DadosProponentes`     | `CPF`                        | string       | Número do CPF (apenas os números, 11 dígitos).                                                             |
  | `DadosProponentes`     | `NumeroRegistroPessoaFisica` | string       | Número de registro.                                                                                        |
  | `ComprovanteRenda`     | `PossuiComprovante`          | int          | 1 para SIM e 2 para NÂO.                                                                                   |
  | `ComprovanteRenda`     | `Codigo`                     | string       | Código comprovante informado pelo sistema cliente.                                                         |
  | `ComprovanteRenda`     | `Descricao`                  | string       | Descrição comprovante informado pelo sistema cliente.                                                      |
  | `ComprovanteRenda`     | `RendaMensal`                | number       | Renda mensal do proponente.                                                                                |
  | `ComprovanteRenda`     | `DataNascimento`             | string/date  | Data de nascimento (Exemplo: `1967-06-17T00:00:00.000Z`).                                                  |
  | `ComprovanteRenda`     | `Genero`                     | string       | Descrição do genero. Referência na tabela Genero.                                                          |
  | `ComprovanteRenda`     | `NomeMae`                    | string       | Nome completo da mãe.                                                                                      |
  | `DadosEmpregaticios`   | `Empresa`                    | string       | Nome da empresa atual.                                                                                     |
  | `DadosEmpregaticios`   | `TempoAtividade`             | int          | Tempo de atividade.                                                                                        |
  | `DadosEmpregaticios`   | `TipoTempoAtividade`         | int          | Descrição do tipo de tempo. Pode ser Dias, Meses, Anos e Indefinido. Referência na tabela Tempo Atividade. |
  | `DadosEmpregaticios`   | `DataAdimissao`              | string/date  | Data de adimissão na empresa (Exemplo: 1967-06-17T00:00:00.000Z).                                          |
  | `DadosEmpregaticios`   | `SituacaoEmpregaticia`       | number       | Descrição da situação empregatícia. Referência na tabela Situação Empregatícia.                            |
  | `DadosEmpregaticios`   | `Qualificacao`               | string       | Objeto que contempla os campos `codigoCBO` e `descricao`.                                                  |
  | `DadosEmpregaticios`   | `Cargo`                      | string       | Descrição do cargo.                                                                                        |
  | `DadosEmpregaticios`   | `CNPJ`                       | string       | Número do CPF (apenas os números, 11 dígitos).                                                             |
  | `Endereco`             | `CEP`                        | string       | Código do endereçamento postal, somente os números (Exemplo: 9999999).                                     |
  | `Endereco`             | `Logradouro`                 | string       | Descrição do endereço.                                                                                     |
  | `Endereco`             | `Numero`                     | string       | Número da residência ou estabelecimento.                                                                   |
  | `Endereco`             | `Complemento`                | string       | Descrição do complemento do endereço.                                                                      |
  | `Endereco`             | `Bairro`                     | string       | Descrição do bairro.                                                                                       |
  | `Endereco`             | `Cidade`                     | string       | Descrição da cidade.                                                                                       |
  | `Endereco`             | `UF`                         | string       | Descrição da Unidade Federativa.                                                                           |
  | `Endereco`             | `Tipo`                       | string       | Descrição do tipo do endereço.                                                                             |
  | `Telefone`             | `DDD`                        | string       | Número do DDD.                                                                                             |
  | `Telefone`             | `Numero`                     | string       | Número de telefone.                                                                                        |
  | `Telefone`             | `Ramal`                      | string       | Ramal do número do telefone.                                                                               |
  | `Telefone`             | `Tipo`                       | string       | Referência na tabela Tipo de Telefone.                                                                     |
  | `CNH`                  | `Categoria`                  | string       | Referência na tabela CNH.                                                                                  |
  | `CNH`                  | `NumeroRegistro`             | string       | Número do registro da CNH.                                                                                 |
  | `CNH`                  | `NumeroSeguranca`            | string       | Número de segurança da CNH.                                                                                |
  | `CNH`                  | `Email`                      | string       | E-mail principal                                                                                           |
  | `EstadoCivil`          | `Id`                         | int          | Número do identificador interno.                                                                           |
  | `EstadoCivil`          | `Codigo`                     | int          | Código do identificador interno.                                                                           |
  | `EstadoCivil`          | `Descricao`                  | string       | Descrição do estado civil.                                                                                 |
  | `Nacionalidade`        | `Id`                         | int          | Número do identificador interno.                                                                           |
  | `Nacionalidade`        | `Código`                     | int          | Código do indentificador interno.                                                                          |
  | `Nacionalidade`        | `Descricao`                  | string       | Descrição da nacionalidade.                                                                                |
  | `Conjuge`              | `Nome`                       | string       | Nome completo.                                                                                             |
  | `Conjuge`              | `CPF`                        | string       | Número do CPF (apenas os números, 11 dígitos. Exemplo: 99999999999).                                       |
  | `DadosAvalistas`       | `Nome`                       | string       | Nome completo do proponente.                                                                               |
  | `DadosAvalistas`       | `CPF`                        | string       | Número do CPF.                                                                                             |
  | `DadosAvalistas`       | `NumeroRegistroPessoaFisica` | string       | Valor referente ao tipo de documento acima.                                                                |
  | `DadosAvalistas`       | `RendaMensal`                | number       | Renda mensal do proponente.                                                                                |
  | `ComprovanteRenda`     | `PossuiComprovante`          | int          | 1 para SIM e 2 para NÂO.                                                                                   |
  | `ComprovanteRenda`     | `Codigo`                     | string       | Código comprovante informado pelo sistema.                                                                 |
  | `ComprovanteRenda`     | `Descricao`                  | string       | Descrição comprovante informado pelo sistema cliente.                                                      |
  | `ComprovanteRenda`     | `DataNascimento`             | string/date  | Data de nascimento. Exemplo: `1967-06-17T00:00:00.000Z`                                                    |
  | `ComprovanteRenda`     | `Genero`                     | string       | Referência na tabela Genero.                                                                               |
  | `ComprovanteRenda`     | `NomeMae`                    | string       | Nome completo da mãe.                                                                                      |
  | `ComprovanteRenda`     | `DadosEmpregaticios`         | list         | Objeto com campos dos dados empregatícios.                                                                 |
  | `ComprovanteRenda`     | `Enderecos`                  | list         | Objeto com campos de endereço.                                                                             |
  | `ComprovanteRenda`     | `Telefones`                  | list         | Objeto com campos de telefone.                                                                             |
  | `ComprovanteRenda`     | `CNH`                        | list         | Objeto com campos de CNH.                                                                                  |
  | `ComprovanteRenda`     | `Email`                      | string       | Email principal.                                                                                           |
  | `ComprovanteRenda`     | `EstadoCivil`                | string       | Referência na tabela Estado Civil.                                                                         |
  | `ComprovanteRenda`     | `Nacionalidade`              | string       | Referência na tabela Nacionlidade.                                                                         |
  | `ComprovanteRenda`     | `Conjuge`                    | list         | Objeto com os campos `nome` e `cpf` do cônjuge.                                                            |
  | `ComprovanteRenda`     | `ReferenciasBancarias`       | list         | Objeto com os as referências bancárias.                                                                    |
  | `ComprovanteRenda`     | `ReferenciasPessoais`        | list         | Objeto com os campos `nome` e dados de telefone.                                                           |
  | `ComprovanteRenda`     | `PatrimonioDeclarado`        | number       | Valor bruto do patriômio do avalista.                                                                      |
  | `ComprovanteRenda`     | `Naturalidade`               | string       | Descrição da naturalidade. Exemplo: Paulistano.                                                            |
  | `ComprovanteRenda`     | `QtdeDependentes`            | int          | Quantidade de dependentes do avalista                                                                      |
  | `ComprovanteRenda`     | `Escolaridade`               | list         | Referência na tabela Grau de Escolaridade.                                                                 |
  | `ComprovanteRenda`     | `Id`                         | int          | Número do identificador interno.                                                                           |
  | `ComprovanteRenda`     | `Codigo`                     | string       | Código do identificador interno.                                                                           |
  | `ComprovanteRenda`     | `Descricao`                  | string       | Descrição do comprovante de renda.                                                                         |
  | `ComprovanteRenda`     | `Nacionalidade`              | string       | Referência na tabela Nacionalidade.                                                                        |
  | `ReferenciasBancarias` | `CodigoBanco`                | string       | Código do banco de acordo com a tabela da Febraban.                                                        |
  | `ReferenciasBancarias` | `CodigoAgencia`              | string       | Número da agência do banco.                                                                                |
  | `ReferenciasBancarias` | `CodigoConta`                | string       | string                                                                                                     |
  | `ReferenciasBancarias` | `ContaDesde`                 | string       | string                                                                                                     |
  | `ReferenciasPessoais`  | `Nome`                       | string       | string                                                                                                     |
  | `Telefone`             | `DDD`                        | string       | Número do DDD.                                                                                             |
  | `Telefone`             | `Numero`                     | string       | Número do telefone.                                                                                        |
  | `Telefone`             | `Tipo`                       | string       | Referência na tabela Tipo de Telefone.                                                                     |
  | `Telefone`             | `TipoRelacaoPessoal`         | int          | Referência na tabela Tipo de Relação Pessoal.                                                              |
  | `Telefone`             | `PatrimonioDeclarado`        | number       | Valor financeiro declarado.                                                                                |
  | `InformacaoAdicional`  | `Grupo`                      | string       | Descrição do grupamento.                                                                                   |
  | `InformacaoAdicional`  | `Descricao`                  | string       | Descrição do campo personalizado no sistema do cliente.                                                    |
  | `InformacaoAdicional`  | `Valor`                      | string       | Valore referente a descrição (exemplo: Grupo CEP\_LOJA, Valor: “06030040”).                                |
</Expandable>

<Expandable title="Domínio - Status da Proposta">
  | ID | Descrição                                  |
  | -- | ------------------------------------------ |
  | 76 | AGUARDANDO ALÇADA CFO                      |
  | 75 | AGUARDANDO ALÇADA GERENTE                  |
  | 74 | SUSPEITA DE FRAUDE                         |
  | 72 | AGUARDANDO ALÇADA                          |
  | 71 | PENDENTE - ATUALIZAÇÂO CADASTRAL           |
  | 70 | PAGO COM AVALISTA                          |
  | 69 | AGUARDANDO POSITIVAÇÃO                     |
  | 68 | LIMITE CONCEDIDO                           |
  | 67 | APROVADO PARA CONCESSÃO                    |
  | 66 | NECESSARIO INFORMAÇÕES ADICIONAIS          |
  | 65 | APROVADO - AGUARDANDO ASS. DE CONTRATO     |
  | 64 | PENDÊNCIA DOCUMENTAÇÂO PARA ANÁLISE        |
  | 63 | PENDÊNCIA CONTATO                          |
  | 62 | DERIVAR MESA                               |
  | 61 | AGUARDANDO CAUÇÃO                          |
  | 60 | PAGAMENTO ANTECIPADO                       |
  | 59 | LIMITE MANTIDO                             |
  | 58 | REPROVADO - SOLICITAR AVALISTA             |
  | 57 | APROVADO ALÇADA                            |
  | 56 | PENDÊNCIA INTERNA                          |
  | 55 | PRÉ-APROVADO                               |
  | 49 | AGUARDANDO DIRETORIA                       |
  | 48 | APROVADO - ATESTADO                        |
  | 47 | PARECER COMERCIAL                          |
  | 43 | EM ESPERA                                  |
  | 41 | APROVADO - PROCESSO ENCERRADO              |
  | 40 | APROVADO - AGUARDANDO FINALIZAÇÃO DA SAFRA |
  | 38 | AGUARDANDO ANÁLISE - FINANÇAS              |
  | 37 | AGUARDANDO ANÁLISE - CADASTRO              |
  | 36 | APROVADO SOMENTE NA CONDIÇÃO À VISTA       |
  | 34 | CLIENTE RECORRENTE                         |
  | 33 | PRÉ-ANÁLISE                                |
  | 30 | APROVADO - AGUARDANDO VALIDAÇÃO            |
  | 27 | CANCELADO                                  |
  | 26 | AGUARDANDO ALÇADA                          |
  | 25 | APROVADO COM AVALISTA                      |
  | 24 | NÃO RECOMENDADO                            |
  | 23 | RECOMENDADO                                |
  | 22 | FAVORÁVEL                                  |
  | 21 | V. APROVADO COM ALTERAÇÃO                  |
  | 20 | APROVADO CRÉDITO                           |
  | 19 | CONFIRMAÇÃO ADICIONAL                      |
  | 18 | PAGO                                       |
  | 17 | PAGAMENTO OK                               |
  | 16 | ENVIADO PAGAMENTO                          |
  | 15 | AGUARDANDO COMITÊ                          |
  | 14 | PROSSEGUIR CADASTRO                        |
  | 13 | SOLICITA DOCUMENTAÇÃO DE APOIO             |
  | 12 | RECUSADO AUTOMATICAMENTE                   |
  | 11 | PENDENTE                                   |
  | 10 | EXCLUSÃO                                   |
  | 9  | EM REVISÃO                                 |
  | 8  | APROVADO COM RESSALVA                      |
  | 7  | APROVADO COM ALTERAÇÃO                     |
  | 6  | APROVADO AUTOMATICAMENTE                   |
  | 4  | RECUSADO                                   |
  | 3  | APROVADO                                   |
  | 2  | EM ANÁLISE                                 |
  | 1  | AGUARDANDO ANÁLISE                         |
  | 0  | EM PROCESSAMENTO                           |
</Expandable>

<Expandable title="Nacionalidade">
  | ID  | Descrição              |
  | --- | ---------------------- |
  | 104 | Arábia Saud            |
  | 103 | Vietnamita             |
  | 102 | Venezuelano            |
  | 101 | Uruguaio               |
  | 100 | Ucraniano              |
  | 99  | Turco                  |
  | 98  | Togolês                |
  | 97  | Tanzaniano             |
  | 96  | Tailandês              |
  | 95  | Sírio                  |
  | 94  | Suíço                  |
  | 93  | Sul-coreano            |
  | 92  | Sul-africano           |
  | 91  | Sueco                  |
  | 90  | Sudanês                |
  | 89  | Somali                 |
  | 88  | Senegalês              |
  | 87  | Salvadorenho           |
  | 86  | Russo                  |
  | 85  | Romeno                 |
  | 84  | Queniano               |
  | 83  | Português              |
  | 82  | Porto Riquenh          |
  | 81  | Polonês                |
  | 80  | Polaco                 |
  | 79  | Peruano                |
  | 78  | Paraguaio              |
  | 77  | Paquistanês            |
  | 76  | Panamenho              |
  | 75  | Outro                  |
  | 74  | Norueguês              |
  | 73  | Norte-coreano          |
  | 72  | Nigeriano              |
  | 71  | Nicaraguense           |
  | 70  | Morroquino             |
  | 69  | Mongol                 |
  | 68  | Mexicano               |
  | 67  | Malaio                 |
  | 66  | Líbio                  |
  | 65  | Lituano                |
  | 64  | Libanês                |
  | 63  | Letão                  |
  | 62  | Kuwaitiano             |
  | 61  | Japonês                |
  | 60  | Jamaicano              |
  | 59  | Italiano               |
  | 58  | Israelense             |
  | 57  | Irlandês               |
  | 56  | Iraquiano              |
  | 55  | Iraniano               |
  | 54  | Ioguslavo              |
  | 53  | Inglês                 |
  | 52  | Indonésio              |
  | 51  | Indiano                |
  | 50  | Húngaro                |
  | 49  | Hondurenho             |
  | 48  | Holandês               |
  | 47  | Haitiano               |
  | 46  | Guatemalteco           |
  | 45  | Grego                  |
  | 44  | Francês                |
  | 43  | Finlandês              |
  | 42  | Filipino               |
  | 41  | Europeu                |
  | 40  | Etíope                 |
  | 39  | Espanhol               |
  | 38  | Esloveno               |
  | 37  | Eslovaco               |
  | 36  | Escocês                |
  | 35  | Equatoriano            |
  | 34  | Emirados Árabes Unidos |
  | 33  | Egípcio                |
  | 32  | Dinamarquês            |
  | 31  | Cubano                 |
  | 30  | Croata                 |
  | 29  | Costa-riquenh          |
  | 28  | Congolês               |
  | 27  | Colombiano             |
  | 26  | Cipriota               |
  | 25  | Chinês                 |
  | 24  | Chileno                |
  | 23  | Checo                  |
  | 22  | Canadense              |
  | 21  | Cambojano              |
  | 20  | Camaronês              |
  | 19  | Búlgaro                |
  | 18  | Bósnio                 |
  | 17  | Britânico              |
  | 16  | Brasileiro             |
  | 15  | Boliviano              |
  | 14  | Bielo-russo            |
  | 13  | Belga                  |
  | 12  | Austríaco              |
  | 11  | Australiano            |
  | 10  | Asiático               |
  | 9   | Armenio                |
  | 8   | Argentino              |
  | 7   | Argelino               |
  | 6   | Angolano               |
  | 5   | Americano              |
  | 4   | Alemão                 |
  | 3   | Albanês                |
  | 2   | Africano               |
  | 1   | Afegão                 |
</Expandable>

<Expandable title="Estado Civil">
  | ID | Descrição     |
  | -- | ------------- |
  | 8  | AMASIADO      |
  | 7  | SEPARADO      |
  | 6  | UNIÃO ESTÁVEL |
  | 5  | VIÚVO         |
  | 4  | DESQUITADO    |
  | 3  | DIVORCIADO    |
  | 2  | CASADO        |
  | 1  | SOLTEIRO      |
</Expandable>

<Expandable title="Situação Empregatícia">
  | ID | Descrição              |
  | -- | ---------------------- |
  | 6  | Outros                 |
  | 5  | Aposentado/Pensionista |
  | 4  | Socio-Proprietario     |
  | 3  | Profissional Liberal   |
  | 2  | Autonomo               |
  | 1  | Assalariado            |
</Expandable>

<Expandable title="Grau de Escolaridade">
  | ID | Descrição                        |
  | -- | -------------------------------- |
  | SI | SUPERIOR INCOMPLETO              |
  | SE | SUPERIOR EM ECÔNOMIA OU FINANÇAS |
  | S  | SUPERIOR                         |
  | PG | PÓS GRADUAÇÃO                    |
  | P  | PRIMÁRIO                         |
  | N  | NÃO ALFABETIZADO                 |
  | G  | GINASIO                          |
  | F  | MÉDIO INCOMPLETO                 |
  | E  | ENSINO MEDIO                     |
  | C  | COLEGIAL                         |
  | A  | OUTROS                           |
</Expandable>

<Expandable title="Classificação Brasileira de Ocupações (CBO)">
  Acesse a tabela completa no [site do Ministério do Trabalho Brasileiro](https://www.mtecbo.gov.br/cbosite/pages/home.jsf).
</Expandable>

<Expandable title="CNH">
  | ID  | Descrição  |
  | --- | ---------- |
  | I   | Indefinido |
  | A   | A          |
  | B   | B          |
  | C   | C          |
  | D   | D          |
  | E   | E          |
  | AB  | AB         |
  | AC  | AC         |
  | AD  | AD         |
  | AE  | AE         |
  | ACC | ACC        |
</Expandable>

<Expandable title="Gênero">
  | ID | Descrição   |
  | -- | ----------- |
  | I  | Indefinido. |
  | M  | Masculino.  |
  | F  | Feminino.   |
</Expandable>

<Expandable title="Tipo de Telefone">
  | ID | Descrição   |
  | -- | ----------- |
  | I  | Indefinido  |
  | R  | Residencial |
  | C  | Comercial   |
  | M  | Celular     |
  | E  | Recados     |
  | O  | Outros      |
</Expandable>

<Expandable title="Formas de Pagamento">
  | ID | Descrição     |
  | -- | ------------- |
  | 7  | Cripto Moedas |
  | 6  | Dinheiro      |
  | 5  | DEPÓSITO      |
  | 4  | A VISTA       |
  | 3  | BOLETO        |
  | 2  | CHEQUE        |
  | 1  | CARTÃO        |
</Expandable>

<Expandable title="Tipo Tempo Atividade">
  | ID | Descrição  |
  | -- | ---------- |
  | D  | Dias       |
  | M  | Meses      |
  | A  | Anos       |
  | I  | Indefinido |
</Expandable>

<Expandable title="Tipos de Relação Pessoal">
  | ID | Descrição   |
  | -- | ----------- |
  | 7  | OUTROS      |
  | 6  | AMIGO(A)    |
  | 5  | SOBRINHO(A) |
  | 4  | FILHO(A)    |
  | 3  | PRIMO(A)    |
  | 2  | MÃE         |
  | 1  | PAI         |
</Expandable>

<Expandable title="Tipos de Moradia">
  | ID | Descrição         |
  | -- | ----------------- |
  | P  | PROPRIA           |
  | C  | COM PARENTES      |
  | E  | FUNCIONAL/EMPRESA |
  | F  | FINANCIADA        |
  | A  | ALUGADA           |
</Expandable>

<Expandable title="Tipos de Documento PF">
  | ID | Descrição         |
  | -- | ----------------- |
  | 1  | CPF               |
  | 2  | RG                |
  | 3  | CNH               |
  | 4  | RNE               |
  | 5  | TÍTULO DE ELEITOR |
</Expandable>


## OpenAPI

````yaml post /Bureau/EnviarAnalisePropostaAssincPF
openapi: 3.0.1
info:
  title: BMPDigitalCore.ApiExterna.Bureau.API
  version: '1.0'
servers:
  - url: https://api.bmpdigital.moneyp.dev.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /Bureau/EnviarAnalisePropostaAssincPF:
    post:
      tags:
        - BureauAsync
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvioPropostaPFB2ECommand'
          text/json:
            schema:
              $ref: '#/components/schemas/EnvioPropostaPFB2ECommand'
          application/*+json:
            schema:
              $ref: '#/components/schemas/EnvioPropostaPFB2ECommand'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ConsultaB2EResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ConsultaB2EResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ConsultaB2EResponse'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ConsultaB2EResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ConsultaB2EResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ConsultaB2EResponse'
components:
  schemas:
    EnvioPropostaPFB2ECommand:
      type: object
      properties:
        consulta:
          $ref: '#/components/schemas/B2EEnvioPropostaPF'
      additionalProperties: false
    ConsultaB2EResponse:
      type: object
      properties:
        msg:
          type: string
          nullable: true
        result:
          type: boolean
          writeOnly: true
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
          nullable: true
        hasError:
          type: boolean
        falha:
          type: boolean
        json:
          type: string
          nullable: true
      additionalProperties: false
    B2EEnvioPropostaPF:
      type: object
      properties:
        webhookId:
          type: string
          nullable: true
        codigoPropostaCliente:
          type: string
          nullable: true
        valorSolicitado:
          type: number
          format: double
          nullable: true
        prazoMeses:
          type: integer
          format: int32
          nullable: true
        codigoInstituicao:
          type: string
          nullable: true
        formaPagamento:
          $ref: '#/components/schemas/FormaPagamento'
        politica:
          type: string
          nullable: true
        informacoesAdicionais:
          type: array
          items:
            $ref: '#/components/schemas/InformacaoAdicional'
          nullable: true
        dadosProponente:
          $ref: '#/components/schemas/ProponentePF'
      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
    FormaPagamento:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/FormaPagamentoEnum'
      additionalProperties: false
    InformacaoAdicional:
      type: object
      properties:
        grupo:
          type: string
          nullable: true
        nome:
          type: string
          nullable: true
        valor:
          type: string
          nullable: true
      additionalProperties: false
    ProponentePF:
      type: object
      properties:
        nome:
          type: string
          nullable: true
        cpf:
          type: string
          nullable: true
        rendaMensal:
          type: number
          format: double
          nullable: true
        dataNascimento:
          type: string
          format: date-time
          nullable: true
        genero:
          $ref: '#/components/schemas/Genero'
        nomeMae:
          type: string
          nullable: true
        dadosEmpregaticios:
          type: array
          items:
            $ref: '#/components/schemas/DadoEmpregaticio'
          nullable: true
        enderecos:
          type: array
          items:
            $ref: '#/components/schemas/EnderecoPessoaFisica'
          nullable: true
        telefones:
          type: array
          items:
            $ref: '#/components/schemas/Telefone'
          nullable: true
        cnh:
          $ref: '#/components/schemas/CNH'
        email:
          type: string
          nullable: true
        estadoCivil:
          $ref: '#/components/schemas/EstadoCivil'
        nacionalidade:
          $ref: '#/components/schemas/Nacionalidade'
        conjuge:
          $ref: '#/components/schemas/Conjuge'
        referenciasBancarias:
          type: array
          items:
            $ref: '#/components/schemas/ReferenciaBancaria'
          nullable: true
        patrimonioDeclarado:
          type: number
          format: double
          nullable: true
        naturalidade:
          type: string
          nullable: true
        qtdeDependentes:
          type: integer
          format: int32
          nullable: true
        informacoesAdicionais:
          type: array
          items:
            $ref: '#/components/schemas/InformacaoAdicional'
          nullable: true
        numeroRegistroPessoaFisica:
          type: string
          nullable: true
        comprovanteRenda:
          $ref: '#/components/schemas/ComprovanteRenda'
        escolaridade:
          $ref: '#/components/schemas/Escolaridade'
        referenciasPessoais:
          type: array
          items:
            $ref: '#/components/schemas/ReferenciaPessoal'
          nullable: true
        dadosAvalistas:
          type: array
          items:
            $ref: '#/components/schemas/Avalista'
          nullable: true
      additionalProperties: false
    ErrorType:
      enum:
        - 1
        - 2
        - 3
      type: integer
      format: int32
    FormaPagamentoEnum:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
      type: integer
      format: int32
    Genero:
      enum:
        - I
        - M
        - F
      type: string
    DadoEmpregaticio:
      type: object
      properties:
        empresa:
          type: string
          nullable: true
        tempoAtividade:
          type: integer
          format: int32
          nullable: true
        tipoTempoAtividade:
          $ref: '#/components/schemas/TipoTempoAtividade'
        dataAdmissao:
          type: string
          format: date-time
          nullable: true
        situacaoEmpregaticia:
          $ref: '#/components/schemas/SituacaoEmpregaticia'
        qualificacao:
          $ref: '#/components/schemas/Qualificacao'
        cargo:
          type: string
          nullable: true
        cnpj:
          type: string
          nullable: true
        enderecos:
          type: array
          items:
            $ref: '#/components/schemas/EnderecoPessoaJuridica'
          nullable: true
        telefones:
          type: array
          items:
            $ref: '#/components/schemas/Telefone'
          nullable: true
      additionalProperties: false
    EnderecoPessoaFisica:
      type: object
      properties:
        tipo:
          $ref: '#/components/schemas/TipoEndereco'
        cep:
          type: string
          nullable: true
        logradouro:
          type: string
          nullable: true
        numero:
          type: string
          nullable: true
        complemento:
          type: string
          nullable: true
        bairro:
          type: string
          nullable: true
        cidade:
          type: string
          nullable: true
        uf:
          type: string
          nullable: true
        tempoEndereco:
          type: integer
          format: int32
        tipoTempoEndereco:
          $ref: '#/components/schemas/TipoTempoEndereco'
        tipoMoradia:
          $ref: '#/components/schemas/TipoMoradia'
      additionalProperties: false
    Telefone:
      type: object
      properties:
        ddd:
          type: integer
          format: int32
        numero:
          type: integer
          format: int32
        ramal:
          type: integer
          format: int32
        tipo:
          $ref: '#/components/schemas/TipoTelefone'
      additionalProperties: false
    CNH:
      type: object
      properties:
        categoria:
          $ref: '#/components/schemas/CategoriaCNH'
        numeroRegistro:
          type: string
          nullable: true
      additionalProperties: false
    EstadoCivil:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/EstadoCivilEnum'
      additionalProperties: false
    Nacionalidade:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/NacionalidadeEnum'
      additionalProperties: false
    Conjuge:
      type: object
      properties:
        nome:
          type: string
          nullable: true
        cpf:
          type: string
          nullable: true
      additionalProperties: false
    ReferenciaBancaria:
      type: object
      properties:
        codigoBanco:
          type: string
          nullable: true
        codigoAgencia:
          type: string
          nullable: true
        codigoConta:
          type: string
          nullable: true
        contaDesde:
          type: string
          nullable: true
      additionalProperties: false
    ComprovanteRenda:
      type: object
      properties:
        possuiComprovante:
          $ref: '#/components/schemas/PossuiComprovante'
        codigo:
          type: string
          nullable: true
        descricao:
          type: string
          nullable: true
      additionalProperties: false
    Escolaridade:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/EscolaridadeEnum'
      additionalProperties: false
    ReferenciaPessoal:
      type: object
      properties:
        nome:
          type: string
          nullable: true
        telefone:
          $ref: '#/components/schemas/TelefoneContato'
        tipoRelacaoPessoal:
          $ref: '#/components/schemas/TipoRelacaoPessoal'
      additionalProperties: false
    Avalista:
      type: object
      properties:
        nome:
          type: string
          nullable: true
        cpf:
          type: string
          nullable: true
        rendaMensal:
          type: number
          format: double
          nullable: true
        dataNascimento:
          type: string
          format: date-time
          nullable: true
        genero:
          $ref: '#/components/schemas/Genero'
        nomeMae:
          type: string
          nullable: true
        dadosEmpregaticios:
          type: array
          items:
            $ref: '#/components/schemas/DadoEmpregaticio'
          nullable: true
        enderecos:
          type: array
          items:
            $ref: '#/components/schemas/EnderecoPessoaFisica'
          nullable: true
        telefones:
          type: array
          items:
            $ref: '#/components/schemas/Telefone'
          nullable: true
        cnh:
          $ref: '#/components/schemas/CNH'
        email:
          type: string
          nullable: true
        estadoCivil:
          $ref: '#/components/schemas/EstadoCivil'
        nacionalidade:
          $ref: '#/components/schemas/Nacionalidade'
        conjuge:
          $ref: '#/components/schemas/Conjuge'
        referenciasBancarias:
          type: array
          items:
            $ref: '#/components/schemas/ReferenciaBancaria'
          nullable: true
        patrimonioDeclarado:
          type: number
          format: double
          nullable: true
        naturalidade:
          type: string
          nullable: true
        qtdeDependentes:
          type: integer
          format: int32
          nullable: true
        informacoesAdicionais:
          type: array
          items:
            $ref: '#/components/schemas/InformacaoAdicional'
          nullable: true
        numeroRegistroPessoaFisica:
          type: string
          nullable: true
        comprovanteRenda:
          $ref: '#/components/schemas/ComprovanteRenda'
        escolaridade:
          $ref: '#/components/schemas/Escolaridade'
        referenciasPessoais:
          type: array
          items:
            $ref: '#/components/schemas/ReferenciaPessoal'
          nullable: true
      additionalProperties: false
    TipoTempoAtividade:
      enum:
        - D
        - M
        - A
        - I
      type: string
    SituacaoEmpregaticia:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/SituacaoEmpregaticiaEnum'
      additionalProperties: false
    Qualificacao:
      type: object
      properties:
        codigoCBO:
          type: string
          nullable: true
        descricao:
          type: string
          nullable: true
      additionalProperties: false
    EnderecoPessoaJuridica:
      type: object
      properties:
        tipo:
          $ref: '#/components/schemas/TipoEndereco'
        cep:
          type: string
          nullable: true
        logradouro:
          type: string
          nullable: true
        numero:
          type: string
          nullable: true
        complemento:
          type: string
          nullable: true
        bairro:
          type: string
          nullable: true
        cidade:
          type: string
          nullable: true
        uf:
          type: string
          nullable: true
      additionalProperties: false
    TipoEndereco:
      enum:
        - I
        - R
        - C
        - B
        - E
        - O
      type: string
    TipoTempoEndereco:
      enum:
        - D
        - M
        - A
        - I
      type: string
    TipoMoradia:
      enum:
        - P
        - C
        - E
        - F
        - A
      type: string
    TipoTelefone:
      enum:
        - I
        - R
        - C
        - M
        - E
        - O
      type: string
    CategoriaCNH:
      enum:
        - I
        - A
        - B
        - C
        - D
        - E
        - AB
        - AC
        - AD
        - AE
        - ACC
      type: string
    EstadoCivilEnum:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
      type: integer
      format: int32
    NacionalidadeEnum:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
        - 13
        - 14
        - 15
        - 16
        - 17
        - 18
        - 19
        - 20
        - 21
        - 22
        - 23
        - 24
        - 25
        - 26
        - 27
        - 28
        - 29
        - 30
        - 31
        - 32
        - 33
        - 34
        - 35
        - 36
        - 37
        - 38
        - 39
        - 40
        - 41
        - 42
        - 43
        - 44
        - 45
        - 46
        - 47
        - 48
        - 49
        - 50
        - 51
        - 52
        - 53
        - 54
        - 55
        - 56
        - 57
        - 58
        - 59
        - 60
        - 61
        - 62
        - 63
        - 64
        - 65
        - 66
        - 67
        - 68
        - 69
        - 70
        - 71
        - 72
        - 73
        - 74
        - 75
        - 76
        - 77
        - 78
        - 79
        - 80
        - 81
        - 82
        - 83
        - 84
        - 85
        - 86
        - 87
        - 88
        - 89
        - 90
        - 91
        - 92
        - 93
        - 94
        - 95
        - 96
        - 97
        - 98
        - 99
        - 100
        - 101
        - 102
        - 103
        - 104
      type: integer
      format: int32
    PossuiComprovante:
      enum:
        - 1
        - 2
      type: integer
      format: int32
    EscolaridadeEnum:
      enum:
        - SI
        - SE
        - S
        - PG
        - P
        - 'N'
        - G
        - F
        - E
        - C
        - A
      type: string
    TelefoneContato:
      type: object
      properties:
        ddd:
          type: integer
          format: int32
        numero:
          type: integer
          format: int32
        ramal:
          type: integer
          format: int32
        tipo:
          type: string
          nullable: true
      additionalProperties: false
    TipoRelacaoPessoal:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
      type: integer
      format: int32
    SituacaoEmpregaticiaEnum:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
      type: integer
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Informe o token
      name: Authorization
      in: header

````