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

# 51 - Check Bill Registration

> <p>Scopes:</p>
<b>api.ext api.boleto.consultarRegistro</b>

Through this endpoint, the partner can consult the registration of a specific bill with the responsible body.


## OpenAPI

````yaml get /api/Boleto/ConsultarRegistro
openapi: 3.0.1
info:
  title: BMPSPBExt
  description: '<p><strong>Build Number: </strong>#0.0</p>'
  version: v1
servers:
  - url: https://api.ext.dbs.moneyp.dev.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /api/Boleto/ConsultarRegistro:
    get:
      tags:
        - Boleto
      summary: Consulta os dados do registro de um boleto bancário.
      description: "<p>Scopes:</p>\r\n<b>api.ext api.boleto.consultarRegistro</b>"
      parameters:
        - name: CodigoRegistroBoleto
          in: query
          description: >-
            Código UUID de registro do boleto.


            Observação:

            - Quando o 'código UUID de registro do boleto'
            (```CodigoRegistroBoleto```) for informado, o 'código de barras do
            boleto' (```CodigoBarras```) não deve ser preenchido.
          schema:
            type: string
            description: >-
              Código UUID de registro do boleto.


              Observação:

              - Quando o 'código UUID de registro do boleto'
              (```CodigoRegistroBoleto```) for informado, o 'código de barras do
              boleto' (```CodigoBarras```) não deve ser preenchido.
            format: uuid
        - name: CodigoBarras
          in: query
          description: >-
            Código de barras do boleto.


            Observação:

            - Quando o 'código de barras do boleto' (```CodigoBarras```) for
            informado, o 'código UUID de registro do boleto'
            (```CodigoRegistroBoleto```) não deve ser preenchido.
          schema:
            type: string
            description: >-
              Código de barras do boleto.


              Observação:

              - Quando o 'código de barras do boleto' (```CodigoBarras```) for
              informado, o 'código UUID de registro do boleto'
              (```CodigoRegistroBoleto```) não deve ser preenchido.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.ConsultarRegistroBoletoResponse
        '400':
          description: Erro de negócio
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
        '500':
          description: Erro interno do servidor
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
components:
  schemas:
    BMPSPB.Domain.Messaging.API.Externa.DDA.ConsultarRegistroBoletoResponse:
      type: object
      properties:
        sucesso:
          type: boolean
        mensagem:
          type: string
          nullable: true
        codigo:
          type: string
          format: uuid
        numeroCedente:
          type: integer
          format: int64
        dtInclusao:
          type: string
          format: date-time
          nullable: true
        tpPessoaPagdr:
          type: string
          nullable: true
        cnpJ_CPFPagdr:
          type: string
          nullable: true
        nom_RzSocPagdr:
          type: string
          nullable: true
        nomFantsPagdr:
          type: string
          nullable: true
        logradPagdr:
          type: string
          nullable: true
        cidPagdr:
          type: string
          nullable: true
        ufPagdr:
          type: string
          nullable: true
        cepPagdr:
          type: string
          nullable: true
        codCartTit:
          type: string
          nullable: true
        codMoedaCNAB:
          type: string
          nullable: true
        identdNossoNum:
          type: string
          nullable: true
        numCodBarras:
          type: string
          nullable: true
        numLinhaDigtvl:
          type: string
          nullable: true
        dtVencTit:
          type: string
          format: date-time
          nullable: true
        vlrTit:
          type: number
          format: double
          nullable: true
        numDocTit:
          type: string
          nullable: true
        numeroDocumento:
          type: string
          nullable: true
        codEspTit:
          type: string
          nullable: true
        dtEmsTit:
          type: string
          format: date-time
          nullable: true
        dtLimPgtoTit:
          type: string
          format: date-time
          nullable: true
        indrBloqPgto:
          type: string
          nullable: true
        vlrAbattTit:
          type: number
          format: double
          nullable: true
        tpAutcRecbtVlrDivgte:
          type: string
          nullable: true
        dtMovto:
          type: string
          format: date-time
          nullable: true
        numIdentcTit:
          type: string
          nullable: true
        dtHrDDA:
          type: string
          format: date-time
          nullable: true
        codOperacaoCli:
          type: string
          nullable: true
        dtSituacao:
          type: string
          format: date-time
          nullable: true
        msgSituacao:
          type: string
          nullable: true
        situacaoBoleto:
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.SituacaoBoleto'
          nullable: true
        dadosJuros:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.DadosJurosDto
          nullable: true
        sacadorAvalista:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.DadosSacadorAvalistaDTO
          nullable: true
        dadosDesconto:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.DadosDescontoDto
          nullable: true
        dadosDescontos:
          type: array
          items:
            $ref: >-
              #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.DadosDescontoDto
          nullable: true
        dadosBaixa:
          allOf:
            - $ref: >-
                #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.DadosBaixaDto
          nullable: true
        hibrido:
          type: boolean
        emv:
          type: string
          nullable: true
        imagem:
          type: string
          nullable: true
      additionalProperties: false
    BMPSPB.Infra.Enums.SituacaoBoleto:
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
      type: integer
      description: ''
      format: int32
    BMPSPB.Domain.Messaging.API.Externa.DDA.DadosJurosDto:
      type: object
      properties:
        dtJurosTit:
          type: string
          format: date-time
          nullable: true
        codJurosTit:
          type: string
          nullable: true
        vlr_PercJurosTit:
          type: number
          format: double
          nullable: true
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.DDA.DadosSacadorAvalistaDTO:
      type: object
      properties:
        tipo:
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.TipoSacadorAvalista'
          nullable: true
        identificador:
          type: string
          nullable: true
        nomeSacadorAvalista:
          type: string
          nullable: true
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.DDA.DadosDescontoDto:
      type: object
      properties:
        dtDesctTit:
          type: string
          format: date-time
          nullable: true
        codDesctTit:
          type: string
          nullable: true
        vlr_PercDesctTit:
          type: number
          format: double
          nullable: true
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Externa.DDA.DadosBaixaDto:
      type: object
      properties:
        dtCreditoBoleto:
          type: string
          format: date-time
        codigoMovto:
          type: string
          format: uuid
        vlrBaixaOperacTit:
          type: number
          format: double
        dtHrDDA:
          type: string
          format: date-time
      additionalProperties: false
    BMPSPB.Infra.Enums.TipoSacadorAvalista:
      enum:
        - 0
        - 1
        - 2
        - 3
        - 9
      type: integer
      description: ''
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````