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

# 70 - Download of Protest Instrument

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

Through this endpoint, you can download the Protest Instrument.

The protest instrument is a document proving the execution of the collection process carried out by the notary's office and can be used in a future legal collection action against the debtor.


## OpenAPI

````yaml get /api/ProtestoBoleto/Instrumento/{numCodBarras}
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/Instrumento/{numCodBarras}:
    get:
      tags:
        - ProtestoBoleto
      summary: Baixa o arquivo do instrumento do protesto do boleto.
      description: "<p>Scopes:</p>\r\n<b>api.ext api.boleto.protesto.consultar</b>"
      parameters:
        - name: numCodBarras
          in: path
          description: Número do código de barras do boleto protestado.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '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:
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````