Skip to main content

List discharge files

info

The files provided in the URLs returned by this endpoint follow the QI Tech Return File Layout standard with 400 positions. Download the manual here: Layout de Cobrança - QI Tech versão 2.1.

Discharge files are used for reconciliation. Each Transaction Record line (Type 1) refers to an instruction (whether for issuance, extension, discount, etc.) that was confirmed or rejected by CIP/Nuclea on the previous day.

Request

ENDPOINT
/account/ACCOUNT_KEY/requester_profile/REQUESTER_PROFILE_KEY/discharge_files
METHOD
GET

Path parameters

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key36
requester_profile_keyuuidv4Unique wallet identification key, in uuid v4 format36

Query parameters

FieldTypeDescriptionCharacters
discharge_file_keyuuidv4Unique discharge file identification key, in uuid v4 format36
pageintegerPage number-
page_sizeintegerPage size-
from_datestringStart date (format "YYYY-MM-DD")10
to_datestringEnd date (format "YYYY-MM-DD")10

Response

STATUS
200
Response Body
{
"data": [
{
"discharge_file_key": "f1a8fe59-29cd-49e5-8d18-55194869b45c",
"discharge_file_name": "CB15102401.RET",
"discharge_file_url": "https://storage.googleapis.com/local-bank-slip-api/2024/61a746ca-05bf-429d-99c3-3fba0f9fbea7/329-20-7336-3073959/discharge/CB15102401.RET",
"reference_date": "2024-10-15"
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 100
}
}

Response Body Params

FieldTypeDescriptionCharacters
dataobject arrayDischarge filesdischarge_file object
paginationobjectPagination informationpagination object

discharge_file object

FieldTypeDescriptionCharacters
discharge_file_key uuidv4Unique discharge file identification key in uuid v4 format36
discharge_file_namestringDischarge file name-
discharge_file_urlstringDischarge file URL-
reference_datestringDischarge file reference date in YYYY-MM-DD format10

pagination object

FieldTypeDescriptionCharacters
current_pageintegerCurrent page-
rows_per_pageintegerItems per page-

Error Response

STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (pt-br)
translation
400QIT000001Bad RequestSchema ErrorSchema Inválido
403BKS000005ForbiddenUser is not allowed to do this actionUsuário não tem autorização para fazer essa ação
404BKS000006Not FoundThe source account key was not found.A chave da conta de origem não foi encontrada.
400BKS000007Bad RequestIt was not possible to consult the source account at this time. Please try again in a few minutes.Não foi possível consultar a conta de origem neste momento. Por favor, tente novamente em alguns minutos.
400BKS000012Bad RequestInvalid integer value for page or size query string parameters.Valor inválido para parâmetros de página ou tamanho de página.
404BKS000013Not FoundRequester profile not foundCarteira não encontrada
400BKS000052Bad RequestInvalid account status.Status da conta inválido.