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

# 9 - Generate Single Slip

It allows you to generate a single slip for the installments informed, defining the due date and discount amount, and may or may not notify the customer.


## OpenAPI

````yaml post /AgendaRecebivel/GerarUnicoBoleto
openapi: 3.0.1
info:
  title: BMPDigitalCore.ApiExterna.AgendaRecebivel.API
  version: '1.0'
servers:
  - url: https://api.bmpdigital.moneyp.dev.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /AgendaRecebivel/GerarUnicoBoleto:
    post:
      tags:
        - AgendaRecebivel
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgendaRecebivelGeraUnicoBoletoCommand'
          text/json:
            schema:
              $ref: '#/components/schemas/AgendaRecebivelGeraUnicoBoletoCommand'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AgendaRecebivelGeraUnicoBoletoCommand'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ActionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '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:
    AgendaRecebivelGeraUnicoBoletoCommand:
      type: object
      properties:
        dto:
          $ref: '#/components/schemas/FindAgendaRecebivelParcelasDTO'
        dtoGerarUnicoBoleto:
          $ref: '#/components/schemas/AgendaRecebivelGerarUnicoBoletoDTO'
      additionalProperties: false
    ActionResponse:
      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
        parametros:
          type: array
          items:
            $ref: '#/components/schemas/ParametroDTO'
          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
    FindAgendaRecebivelParcelasDTO:
      required:
        - nroParcelas
      type: object
      properties:
        codigoProposta:
          type: string
          description: Código identificador da proposta na BMP.
          format: uuid
          nullable: true
        codigoOperacao:
          maxLength: 50
          minLength: 0
          type: string
          description: Código identificador da proposta (valor exclusivo do integrador).
          nullable: true
        nroParcelas:
          type: array
          items:
            type: integer
            format: int32
          description: Array contendo o número das parcelas a serem consultadas.
          nullable: true
      additionalProperties: false
    AgendaRecebivelGerarUnicoBoletoDTO:
      required:
        - descricaoBoleto
        - dtVencimento
      type: object
      properties:
        dtVencimento:
          type: string
          description: Data de vencimento do boleto.
          format: date-time
          nullable: true
        dtExpiracao:
          type: string
          description: Define a data limite de pagamento do boleto.
          format: date-time
          nullable: true
        liquidacao:
          type: boolean
          description: Indica se o boleto deve liquidar a parcela.
        descricaoBoleto:
          maxLength: 200
          minLength: 1
          type: string
          description: Define uma descrição para o boleto gerado.
          nullable: true
        vlrBoleto:
          type: number
          description: >-
            Define o valor do boleto. Obs.: para boletos de liquidação, este
            campo não deve ser informado.
          format: double
          nullable: true
        vlrDesconto:
          type: number
          description: Define um valor de desconto para o boleto.
          format: double
          nullable: true
        permiteDescapitalizacao:
          type: boolean
          description: >-
            Define se o valor da parcela deve ser descapitalizado para a data do
            pagamento.
          nullable: true
        tipoRegistro:
          type: integer
          description: 'Define a modalidade de registro automático: 1 - Online; 2 - Offline.'
          format: int32
          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
    ParametroDTO:
      required:
        - nome
        - valor
      type: object
      properties:
        nome:
          type: string
          nullable: true
        valor:
          type: string
          nullable: true
      additionalProperties: false
    ErrorType:
      enum:
        - 1
        - 2
        - 3
      type: integer
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Informe o token
      name: Authorization
      in: header

````