Skip to main content

List Bank Slips

The bank slip listing will return all bank slips from the wallet that fit the query parameters sent in the request.

Request

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

Path parameters

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

Query parameters

FieldTypeDescriptionCharacters
request_control_keyuuidv4Unique request identification key, in uuid v4 format36
bank_slip_keyuuidv4Unique bank slip identification key, in uuid v4 format36
bank_slip_statusstringBank slip statusbank_slip_status Enumerators
pageintegerPage number-
page_sizeintegerPage size-
from_datestringInitial registration date (format "YYYY-MM-DD")10
to_datestringFinal registration date (format "YYYY-MM-DD")10

Enumeradores bank_slip_status

EnumeratorDescription
acceptedAccepted and sent to Nuclea/CIP for analysis
rejectedRegistration rejected by Nuclea/CIP
payment_noticePayment notice (bank slip paid but payment not yet settled)
notary_office_payment_noticeNotary office payment notice (bank slip paid but payment not yet settled)
registeredRegistration confirmed by Nuclea/CIP
payment_blockedBlocked for payment (in protest flow)
paidPaid
written_offWritten off

Response

STATUS
200
Response Body
{
"data": [
{
"bank_slip_key": "b58ce415-5428-45c4-8e33-b2df0d3ab6e8",
"request_control_key": "53529224-330d-44b5-9f4d-59d55bc3cb8c",
"our_number": 24384760943,
"document_number": "DOC4561237",
"amount": "8000.00",
"rebate_amount": "200.00",
"expiration": "2024-07-13",
"barcode": "32994978900005000000001594438621284040114400",
"digitable_line": "32990001529443862128940401144007497890000500000",
"bank_teller_instructions": "Confirm payment",
"protest_data": {
"days_to_protest": 7
},
"bankruptcy_protest_data": {
"days_to_bankruptcy_protest": 14
},
"max_payment_days": 45,
"fine_data": {
"fine_type": "absolute",
"fine_amount": 100.0,
"days_to_fine": 10
},
"interest_data": {
"interest_type": "workdays_daily_amount",
"interest_amount": 5.0,
"days_to_interest": 10
},
"discounts_data": [
{
"discount_type": "anticipation_workdays_daily_percentage",
"discount_number": 1,
"discount_limit_date": "2024-07-13",
"discount_percentage": 10
}
],
"payer_data": {
"name": "Country Tech",
"address": {
"city": "Innovation City",
"state": "RS",
"number": "202",
"street": "101 High St.",
"complement": "Building A",
"postal_code": "57099999",
"neighborhood": "Tech Park"
},
"person_type": "legal",
"document_number": "12345678000195"
},
"guarantor_data": {
"name": "Jamie Doe",
"address": {
"city": "Peaceful Town",
"state": "MG",
"number": "303",
"street": "202 Elm St.",
"complement": "House 1",
"postal_code": "57099999",
"neighborhood": "Quiet Neighborhood"
},
"person_type": "natural",
"document_number": "98765432100"
},
"bank_slip_status": "accepted"
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 100
}
}

Response Body Params

FieldTypeDescriptionCharacters
data *object arrayBank slipsbank_slip Object
pagination *objectPagination informationpagination Object

Objeto bank_slip

FieldTypeDescriptionCharacters
bank_slip_key *uuidv4Unique bank slip identification key in uuid v4 format36
request_control_key *uuidv4Unique request identification key used by the client in uuid v4 format36
our_number *integerUnique identification number of the bank slip within the wallet11
bank_slip_status *stringBank slip statusbank_slip_status Enumerators
protest_status *stringBank slip protest status at notary officeprotest_status Enumerators
document_number *stringBank slip identification number10
amount *floatBank slip base amount-
expiration *stringDue date10
barcode *stringBank slip barcode44
digitable_line *stringBank slip digitable line47
bank_teller_instructionsstringAdditional registration instructions, which will appear on the bank slip PDF320
rebate_amountfloatBank slip rebate amount, which will be applied on top of the base amount-
max_payment_days *integerMaximum calendar days the bank slip will remain available for payment after due date (can be at most 365)-
write_off_dataobjectWrite-off configurationwrite_off_data Object
protest_dataobjectProtest configurationprotest_data Object
bankruptcy_protest_dataobjectBankruptcy protest configurationbankruptcy_protest_data Object
fine_dataobjectFine configurationfine_data Object
interest_dataobjectInterest configurationinterest_data Object
discounts_dataobject arrayDiscountsdiscount Object
payer_data *objectPayer datapayer_data Object
guarantor_data *objectGuarantor dataguarantor_data Object

Objeto pagination

FieldTypeDescriptionCharacters
current_page *integerCurrent page-
rows_per_page *integerItems per page-

Enumeradores protest_status

EnumeratorDescription
not_protestedBank slip without protest flow initiated
protest_requestedNotary office protest requested
notary_office_entryBank slip at notary office, in three-day period
protest_cancel_requestedProtest withdrawal requested
notary_office_exitBank slip left notary office
protestedBank slip protested
paid_at_notary_officePaid at notary office
judicially_suspendedProtest judicially suspended
protest_remove_requestedProtest removal requested

Objeto write_off_data

FieldTypeDescriptionCharacters
days_to_write_off *integerDays after due date for the bank slip to be automatically written off-

Objeto protest_data

FieldTypeDescriptionCharacters
days_to_protest *integerDays after due date for the bank slip to be automatically protested-

Objeto bankruptcy_protest_data

FieldTypeDescriptionCharacters
days_to_bankruptcy_protest *integerDays after due date for the bank slip to be automatically protested-

Objeto fine_data

Option 1: fine in absolute value (fine_type=absolute)
FieldTypeDescriptionCharacters
fine_type *stringFine typefine_type Enumerators
fine_amount *floatFine absolute value-
days_to_fine *integerDays after due date for the fine to be charged-
Option 2: fine in percentage value (fine_type=percentage)
FieldTypeDescriptionCharacters
fine_type *stringFine typefine_type Enumerators
fine_percentage *integerFine percentage value, from 1 to 100-
days_to_fine *integerDays after due date for the fine to be charged-

Enumeradores fine_type

EnumeratorDescription
absoluteabsolute value
percentagepercentage value

Objeto interest_data

Option 1: interest using absolute values (interest_type=calendar_days_daily_amount or interest_type=workdays_daily_amount)
FieldTypeDescriptionCharacters
interest_type *stringInterest typeinterest_type Enumerators
interest_amount *floatAmount to be charged per determined time unit (workdays or calendar days)-
days_to_interest *integerDays after due date to start charging interest-
Option 2: interest using percentage values (interest_type=calendar_days_monthly_percentage)
FieldTypeDescriptionCharacters
interest_type *stringInterest typeinterest_type Enumerators
interest_percentage *integerPercentage to be charged per determined time unit (workdays or calendar days)-
days_to_interest *integerDays after due date to start charging interest-

Enumeradores interest_type

EnumeratorDescription
calendar_days_daily_amountDaily amount on calendar days
workdays_daily_amountDaily amount on workdays
calendar_days_monthly_percentageMonthly interest percentage charged, based on calendar days

Objeto discount

Option 1: discounts using absolute values (discount_type in ["absolute", "anticipation_calendar_days_daily_amount", "anticipation_workdays_daily_amount"])
FieldTypeDescriptionCharacters
discount_amount *floatAbsolute discount value per time unit-
discount_number *integerDiscount number-
discount_type *stringDiscount configuration in absolute valuesdiscount_type Enumerator
discount_limit_date *stringLimit date for discount application10
Option 2: discounts using percentage values (discount_type in ["percentage", "anticipation_calendar_days_daily_percentage", "anticipation_workdays_daily_percentage"])
FieldTypeDescriptionCharacters
discount_percentage *floatPercentage discount value per time unit-
discount_number *integerDiscount number-
discount_type *stringDiscount configuration in percentage valuesdiscount_type Enumerator
discount_limit_date *stringLimit date for discount application10
Attention!

The bank slip can have up to three discounts, and all discounts must be of the same type, that is, they must have the same discount_type. Discounts must be numbered from 1 to 3, incrementally and starting necessarily at 1. That is, if two discounts are sent in the request, they must necessarily be numbered 1 and 2.

Enumeradores discount_type

EnumeratorDescription
absoluteFixed value
anticipation_calendar_days_daily_amountDaily anticipation discount value, on calendar days
anticipation_workdays_daily_amountDaily anticipation discount value, on workdays
percentageFixed percentage
anticipation_calendar_days_daily_percentageMonthly anticipation discount percentage, based on calendar days
anticipation_workdays_daily_percentageAnnual anticipation discount percentage, based on workdays

Objetos payer_data e guarantor_data

FieldTypeDescriptionCharacters
name *stringFull name100
document_number *stringDocument number (CPF/CNPJ)11 or 14
person_type *stringPerson type (natural or legal)person_type Enumerators
contactobjectContact informationcontact Object
addressobjectAddressaddress Object

Enumeradores person_type

EnumeratorDescription
naturalnatural person
legallegal person

Objeto contact

FieldTypeDescriptionCharacters
emailstringContact email320
phoneobjectContact phonephone Object

Objeto phone

FieldTypeDescriptionCharacters
international_dial_code *stringInternational dialing code3
area_code *stringArea code2
number *stringNumber9

Objeto address

FieldTypeDescriptionCharacters
street *stringStreet500
number *stringNumber6
complementstringComplement500
neighborhood *stringNeighborhood100
postal_code *stringPostal code8
city *stringCity100
state *stringStatestate Enumerator

Enumeradores state

EnumeratorDescription
ACAcre
ALAlagoas
AMAmazonas
APAmapá
BABahia
CECeará
DFDistrito federal
ESEspírito Santo
GOGoiás
MAMaranhão
MGMinas Gerais
MSMato Grosso do Sul
MTMato Grosso
PAPará
PBParaíba
PEPernambuco
PIPiauí
PRParaná
RJRio de Janeiro
RNRio Grande do Norte
RORondônia
RRRoraima
RSRio Grande do Sul
SCSanta Catarina
SESergipe
SPSão Paulo
TOTocantins
EXException

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
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.
400BKS000008Bad RequestThe source account is closed.A conta de origem está fechada.
400BKS000009Bad RequestThe source account is blocked.A conta de origem está bloqueada.
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