---
title: "ECRLV"
method: POST
path: "/ecrlv"
tags: ["ECRLV"]
---

# ECRLV

`POST /ecrlv`

## Request body

- object
  - `Consulta` object
    - `IdConsulta` string, required
    - `Protocolo` string, required

## Response `200`

Resposta da consulta.
- Código 1: Sucesso
- Código 3: Erro na consulta.
- Código 6: Em processamento
- Código 7: Documento já emitido a mais de 5 dias úteis após último serviço

- object
  - `CONSULTA` object
    - `CODIGORESPOSTA` string
    - `DATAHORA` string
    - `LOGON` string
    - `IDCONSULTA` string
  - `RESPOSTA` object
    - `CODIGO` string
    - `CRLVE` object
      - `REGISTRO_1` object
        - `PDFBASE64` string
        - `URL` string
        - `ANOEXERCICIO` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/credify/apis/credify-api-auth.md) · [All operations](https://skmtc.net/credify/apis/credify-api-auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/credify/credify-api-auth/revisions/c8c11484ec88/schema)
