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

# 35 - Salvar Proposta Garantia Bem Documento

Por meio deste endpoint o parceiro inclui mais de um Bem do tipo móvel ou imóvel, como garantia para o valor financiado.

<Expandable title=" Tabela TipoDocumento">
  | ID | Descrição                      |
  | -- | ------------------------------ |
  | 1  | Fotoidentificação Pessoa       |
  | 2  | Fotoidentificação Veículo      |
  | 3  | Fotoidentificação Maquinário   |
  | 4  | RG                             |
  | 5  | CPF                            |
  | 6  | Comprovante Endereço           |
  | 7  | Comprovante Renda              |
  | 8  | CNH                            |
  | 9  | Carteira Reservista            |
  | 10 | Título Eleitor                 |
  | 11 | Passaporte                     |
  | 12 | Carteira Trabalho              |
  | 13 | Contrato Social                |
  | 14 | CNPJ                           |
  | 15 | Extrato Bancário               |
  | 16 | Certidão Casamento             |
  | 17 | Certidão Divórcio              |
  | 18 | Certidão Óbito                 |
  | 19 | Ata de Eleição                 |
  | 20 | Procurações Públicas           |
  | 21 | Balanço Patrimonial com DRE    |
  | 22 | CCB                            |
  | 23 | Protocolo                      |
  | 24 | Balancete com DRE              |
  | 25 | Faturamento                    |
  | 26 | Declaração IR                  |
  | 27 | Nota Fiscal Garantia           |
  | 28 | Quitação de Garantia           |
  | 29 | Laudo Técnico                  |
  | 30 | Certidão de Nascimento         |
  | 31 | Averbação de Divórcio          |
  | 40 | Documento Veículo (DUT)        |
  | 41 | Nota Fiscal Garantia Adicional |
  | 42 | Orçamento                      |
  | 50 | Nota Fiscal                    |
  | 51 | Apólice de Seguro              |
  | 52 | Nota Promissória               |
  | 53 | CRV/CRLV                       |
  | 54 | Foto Veículo/Máquina           |
  | 55 | Ficha Cadastral                |
  | 56 | Consulta Bureau                |
  | 57 | Frota                          |
  | 58 | Foto do Estabelecimento        |
  | 59 | Formulário de Cadastro         |
  | 60 | Contrato Prestação de Serviço  |
  | 61 | Documento Sócio                |
  | 62 | Dossiê de Análise              |
  | 63 | Contrato                       |
  | 64 | Comprovante Despachante        |
  | 65 | Comprovante de Débito          |
  | 66 | Comprovante Crédito Cliente    |
</Expandable>


## OpenAPI

````yaml post /Proposta/SalvarPropostaGarantiaBemDocumento
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/SalvarPropostaGarantiaBemDocumento:
    post:
      tags:
        - Proposta
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/CreateUpdatePropostaGarantiaBemDocumentoCommand
          text/json:
            schema:
              $ref: >-
                #/components/schemas/CreateUpdatePropostaGarantiaBemDocumentoCommand
          application/*+json:
            schema:
              $ref: >-
                #/components/schemas/CreateUpdatePropostaGarantiaBemDocumentoCommand
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CreateUpdateMultiResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/CreateUpdateMultiResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/CreateUpdateMultiResponse'
        '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:
    CreateUpdatePropostaGarantiaBemDocumentoCommand:
      type: object
      properties:
        dto:
          $ref: '#/components/schemas/PropostaGarantiaBemDocumentoDTO'
        parametros:
          type: array
          items:
            $ref: '#/components/schemas/ParametroDTO'
          nullable: true
      additionalProperties: false
    CreateUpdateMultiResponse:
      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
        results:
          type: array
          items:
            $ref: '#/components/schemas/CreateUpdateResponse'
          nullable: true
      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
    PropostaGarantiaBemDocumentoDTO:
      required:
        - extensao
        - nomeArquivo
        - tipoDocumento
      type: object
      properties:
        codigo:
          type: string
          description: Identificador único do documento do bem de garantia da proposta.
          format: uuid
        codigoPropostaGarantiaBem:
          type: string
          description: >-
            Identificador único da proposta à qual o bem de garantia se
            relaciona.
          format: uuid
        tipoDocumento:
          type: integer
          description: Consultar tabela de tipo de documento.
          format: int32
        nomeArquivo:
          maxLength: 255
          minLength: 1
          type: string
          description: Nome do arquivo.
          nullable: true
        extensao:
          maxLength: 255
          minLength: 1
          type: string
          description: Extensão do arquivo.
          nullable: true
        dtValidade:
          type: string
          description: Data de validade do arquivo.
          format: date-time
          nullable: true
        conferido:
          type: boolean
          description: Indica se o documento do bem de garantia foi conferido.
          nullable: true
        dtConferido:
          type: string
          description: Data em que o documento foi conferido.
          format: date-time
          nullable: true
        codigoUsuarioConferido:
          type: integer
          description: >-
            Código do usuário responsável pela conferência do documento do bem
            de garantia.
          format: int32
          nullable: true
      additionalProperties: false
    ParametroDTO:
      type: object
      properties:
        nome:
          type: string
          description: Refere-se ao nome do parâmetro.
          nullable: true
        valor:
          type: string
          description: Refere-se ao valor do parâmetro.
          nullable: true
      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
    CreateUpdateResponse:
      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
        numero:
          type: integer
          format: int64
      additionalProperties: false
    ErrorType:
      enum:
        - 1
        - 2
        - 3
      type: integer
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Informe o token
      name: Authorization
      in: header

````