> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Consultar lista de cobranzas recurrentes

> Lista cobranzas recurrentes por fecha de inicio, fecha de fin, idRec y status. API Pix GET /cobr.



## OpenAPI

````yaml es/openapi/v3-current/spi-brcode.yaml get /api/v1/brcode/cobr
openapi: 3.1.0
info:
  contact:
    email: contact@lerian.studio
    name: Lerian Studio
    url: https://lerian.studio
  description: >-
    Servicio de BR Code para la generación y decodificación de códigos QR (EMV
    QRCPS-MPM).
  license:
    name: Lerian Studio General License
  title: Lerian SPI — BR Code API
  version: 1.0.0
servers:
  - url: https://spi.sandbox.lerian.net
security: []
tags:
  - description: >-
      Generación, decodificación, validación, información y consulta de payloads
      de BR Code EMV.
    name: BRCode
  - description: >-
      Cobranzas Pix (Cob/CobV/LoteCobV): crear, consultar por TxID, listar,
      cancelar, conciliar y resolver payloads públicos.
    name: Charges
  - description: >-
      Flujo (orden obligatorio): crear cob/cobv → generar QR/payload. Un payload
      dinámico de BR Code hace referencia a una cobranza, por lo que la cobranza
      cob/cobv DEBE crearse primero; el payload se vincula a ella mediante
      txid/locator.
    name: charge
paths:
  /api/v1/brcode/cobr:
    get:
      tags:
        - CobR
      summary: Consultar lista de cobranzas recurrentes
      description: >-
        Lista cobranzas recurrentes por fecha de inicio, fecha de fin, idRec y
        status. API Pix GET /cobr.
      operationId: listCobR
      parameters:
        - description: Início do filtro de criação (RFC 3339).
          explode: false
          in: query
          name: inicio
          schema:
            description: Início do filtro de criação (RFC 3339).
            type: string
        - description: Fim do filtro de criação (RFC 3339).
          explode: false
          in: query
          name: fim
          schema:
            description: Fim do filtro de criação (RFC 3339).
            type: string
        - description: Filtro pela recorrência.
          explode: false
          in: query
          name: idRec
          schema:
            description: Filtro pela recorrência.
            pattern: ^[a-zA-Z0-9]{29}$
            type: string
        - description: Filtro pelo status da cobrança recorrente.
          explode: false
          in: query
          name: status
          schema:
            description: Filtro pelo status da cobrança recorrente.
            type: string
        - description: Página a ser retornada (0-based).
          explode: false
          in: query
          name: paginacao.paginaAtual
          schema:
            description: Página a ser retornada (0-based).
            format: int64
            minimum: 0
            type: integer
        - description: Itens por página (1..1000).
          explode: false
          in: query
          name: paginacao.itensPorPagina
          schema:
            description: Itens por página (1..1000).
            format: int64
            maximum: 1000
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CobsRConsultadas'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Detail'
          description: Error
      security:
        - BearerAuth: []
components:
  schemas:
    CobsRConsultadas:
      additionalProperties: false
      properties:
        cobsr:
          items:
            $ref: '#/components/schemas/CobRCompleta'
          type:
            - array
            - 'null'
        parametros:
          $ref: '#/components/schemas/Parametros'
      required:
        - parametros
        - cobsr
      type: object
    Detail:
      additionalProperties: false
      properties:
        code:
          description: >-
            Stable, machine-readable domain error code scoped to the emitting
            service (format: <SERVICE>-NNNN).
          examples:
            - ERR-0001
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    CobRCompleta:
      additionalProperties: false
      properties:
        ajusteDiaUtil:
          type: boolean
        atualizacao:
          items:
            $ref: '#/components/schemas/CobRAtualizacaoDTO'
          type:
            - array
            - 'null'
        calendario:
          $ref: '#/components/schemas/CobRCalendarioDTO'
        devedor:
          $ref: '#/components/schemas/CobRDevedorDTO'
        encerramento:
          $ref: '#/components/schemas/CobREncerramentoDTO'
        idRec:
          pattern: ^[a-zA-Z0-9]{29}$
          type: string
        infoAdicional:
          maxLength: 140
          type: string
        recebedor:
          $ref: '#/components/schemas/CobRRecebedorDTO'
        revisao:
          format: int64
          type: integer
        status:
          enum:
            - CRIADA
            - ATIVA
            - CONCLUIDA
            - EXPIRADA
            - REJEITADA
            - CANCELADA
          type: string
        tentativas:
          description: Histórico de tentativas de liquidação.
          items:
            $ref: '#/components/schemas/CobRTentativaDTO'
          type: array
        txid:
          pattern: ^[a-zA-Z0-9]{26,35}$
          type: string
        valor:
          $ref: '#/components/schemas/CobRValorDTO'
      required:
        - idRec
        - txid
        - calendario
        - ajusteDiaUtil
        - valor
        - recebedor
        - status
        - revisao
      type: object
    Parametros:
      additionalProperties: false
      properties:
        fim:
          description: Fim do filtro (RFC 3339).
          type: string
        inicio:
          description: Início do filtro (RFC 3339).
          type: string
        paginacao:
          $ref: '#/components/schemas/Paginacao'
      required:
        - inicio
        - fim
        - paginacao
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    CobRAtualizacaoDTO:
      additionalProperties: false
      properties:
        data:
          description: Instante da atualização (RFC 3339).
          type: string
        status:
          enum:
            - CRIADA
            - ATIVA
            - CONCLUIDA
            - EXPIRADA
            - REJEITADA
            - CANCELADA
          type: string
      required:
        - status
        - data
      type: object
    CobRCalendarioDTO:
      additionalProperties: false
      properties:
        criacao:
          description: Data de criação da cobrança (YYYY-MM-DD).
          type: string
        dataDeVencimento:
          description: Data de vencimento (YYYY-MM-DD).
          type: string
      required:
        - dataDeVencimento
      type: object
    CobRDevedorDTO:
      additionalProperties: false
      properties:
        cep:
          description: CEP do devedor.
          maxLength: 8
          type: string
        cidade:
          description: Cidade do devedor.
          maxLength: 200
          type: string
        email:
          description: Email do devedor.
          type: string
        logradouro:
          description: Logradouro do devedor.
          maxLength: 200
          type: string
        uf:
          description: UF do devedor.
          maxLength: 2
          type: string
      type: object
    CobREncerramentoDTO:
      additionalProperties: false
      properties:
        cancelamento:
          $ref: '#/components/schemas/CobRCancelamentoDTO'
        rejeicao:
          $ref: '#/components/schemas/CobRRejeicaoDTO'
      type: object
    CobRRecebedorDTO:
      additionalProperties: false
      properties:
        agencia:
          description: Agência do recebedor.
          maxLength: 4
          type: string
        conta:
          description: Conta do recebedor.
          maxLength: 20
          type: string
        tipoConta:
          enum:
            - CORRENTE
            - POUPANCA
            - PAGAMENTO
          type: string
      required:
        - conta
        - tipoConta
      type: object
    CobRTentativaDTO:
      additionalProperties: false
      properties:
        atualizacao:
          items:
            $ref: '#/components/schemas/CobRTentativaAtualizacaoDTO'
          type:
            - array
            - 'null'
        dataLiquidacao:
          description: Data de liquidação da tentativa (YYYY-MM-DD).
          type: string
        endToEndId:
          pattern: '[a-zA-Z0-9]{32}'
          type: string
        rejeicao:
          $ref: '#/components/schemas/CobRRejeicaoDTO'
        status:
          enum:
            - SOLICITADA
            - AGENDADA
            - PAGA
            - CANCELADA
            - REJEITADA
            - EXPIRADA
          type: string
        tipo:
          enum:
            - AGND
            - NTAG
            - RIFL
          type: string
      required:
        - dataLiquidacao
        - tipo
        - status
        - endToEndId
      type: object
    CobRValorDTO:
      additionalProperties: false
      properties:
        original:
          description: Valor original da cobrança recorrente.
          pattern: ^\d{1,10}\.\d{2}$
          type: string
      required:
        - original
      type: object
    Paginacao:
      additionalProperties: false
      properties:
        itensPorPagina:
          description: Quantidade de registros na página.
          format: int64
          type: integer
        paginaAtual:
          description: Página recuperada (0-based).
          format: int64
          type: integer
        quantidadeDePaginas:
          description: Quantidade de páginas disponíveis.
          format: int64
          type: integer
        quantidadeTotalDeItens:
          description: Quantidade total de itens disponíveis.
          format: int64
          type: integer
      required:
        - paginaAtual
        - itensPorPagina
        - quantidadeDePaginas
        - quantidadeTotalDeItens
      type: object
    CobRCancelamentoDTO:
      additionalProperties: false
      properties:
        codigo:
          type: string
        descricao:
          type: string
        solicitante:
          type: string
      required:
        - solicitante
        - codigo
        - descricao
      type: object
    CobRRejeicaoDTO:
      additionalProperties: false
      properties:
        codigo:
          type: string
        descricao:
          type: string
      required:
        - codigo
        - descricao
      type: object
    CobRTentativaAtualizacaoDTO:
      additionalProperties: false
      properties:
        data:
          description: Instante da atualização (RFC 3339).
          type: string
        status:
          enum:
            - SOLICITADA
            - AGENDADA
            - PAGA
            - CANCELADA
            - REJEITADA
            - EXPIRADA
          type: string
      required:
        - status
        - data
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````