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

# 12 - Extend Installment Maturity

Allows you to change the maturity of an installment by informing the new date and the reason for the change.


## OpenAPI

````yaml post /AgendaRecebivel/ProrrogarVencimentoParcela
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/ProrrogarVencimentoParcela:
    post:
      tags:
        - AgendaRecebivel
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/AgendaRecebivelProrrogaVencimentoParcelaCommand
          text/json:
            schema:
              $ref: >-
                #/components/schemas/AgendaRecebivelProrrogaVencimentoParcelaCommand
          application/*+json:
            schema:
              $ref: >-
                #/components/schemas/AgendaRecebivelProrrogaVencimentoParcelaCommand
      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:
    AgendaRecebivelProrrogaVencimentoParcelaCommand:
      type: object
      properties:
        dto:
          $ref: '#/components/schemas/FindAgendaRecebivelParcelaDTO'
        dtoProrrogaVencimentoParcela:
          $ref: '#/components/schemas/AgendaRecebivelProrrogaVencimentoParcelaDTO'
      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
    FindAgendaRecebivelParcelaDTO:
      required:
        - nroParcela
      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
        nroParcela:
          type: integer
          description: Número da parcela da agenda.
          format: int32
      additionalProperties: false
    AgendaRecebivelProrrogaVencimentoParcelaDTO:
      required:
        - motivoAlteracao
        - novoVencimento
      type: object
      properties:
        novoVencimento:
          type: string
          description: Define uma nova data de vencimento para a parcela em questão.
          format: date-time
        motivoAlteracao:
          maxLength: 200
          minLength: 1
          type: string
          description: Motivo da alteração da data de vencimento.
          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

````