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

# 69 - History of Protested Invoices

> <p>Scopes:</p>
<b>api.ext api.boleto.protesto.consultar</b>

Using this endpoint, you can download the protested bill's history.

This document contains detailed information about the notary's office where the bill was designated for protest, as well as a history of commands performed, such as "send for protest," "cancellation," "approval," and others.


## OpenAPI

````yaml get /api/ProtestoBoleto/HistoricoBoletoProtestado
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/ProtestoBoleto/HistoricoBoletoProtestado:
    get:
      tags:
        - ProtestoBoleto
      summary: Consulta o histórico de protesto do boleto.
      description: "<p>Scopes:</p>\r\n<b>api.ext api.boleto.protesto.consultar</b>"
      parameters:
        - name: numCodBarras
          in: query
          description: Número do código de barras do boleto protestado.
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BMPSPB.Domain.Messaging.API.Shared.ResponseBase
        '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.Shared.ResponseBase:
      type: object
      properties:
        sucesso:
          type: boolean
        mensagem:
          type: string
          nullable: true
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````