Skip to main content

BolePix Issuance

Attention

Before registering a bolePix, it is necessary that an active Random Pix Key exists in the account where the bank slip will be registered.

At QI Tech, it is possible to issue a bank slip linked to a Pix QR Code.

This way, the payer can make the payment of the bank slip through the typable line of the registered bank slip or through reading the Pix QR Code linked to this bank slip.

In cases where the payer makes the payment through reading the Pix QR Code, the financial settlement of the payment will be instantaneous, with bank returns as well as webhooks regarding the settlement of this bank slip being generated in the same way as a common bank slip.

Request

ENDPOINT
/multibank_instruction
METHOD
POST
Request Body
{
"occurrences": [{
"amount": 1000,
"automatic_bankruptcy_protest": false,
"bank_teller_instructions": "Não pagar após vencimento.",
"beneficiary_account_key": "8a35e639-8420-4f6c-9647-c2515e5381ef",
"beneficiary_key": "3c866e34-23fe-46c2-a8b0-e39ca4348923",
"days_to_bankruptcy_protest": 0,
"document_number": "123456/01",
"expiration": "2020-06-01",
"fine_percentage": "3",
"interest_daily_value": "0.34",
"occurrence_type": "registration",
"payer_address": "Rua Carlos Sampaio, 123",
"payer_document": "41184562067",
"payer_name": "João Ninguem",
"payer_person_type": "natural",
"payer_postal_code_root": "15800",
"payer_postal_code_suffix": "020",
"printing_policy": "no_printing",
"registration_institution_enumerator": "qi_scd",
"requester_profile": "09",
"requester_profile_code": "329-09-0001-0000002",
"pix_key": "1684629c-d52a-4941-92f5-410907316129"
}]
}

Query params

FieldTypeDescriptionCharacters
use_multi_processbooleanIndicates whether the processing of registration occurrences will be sent for queue processing or if they will be processed sequentially. If this parameter is set to true, it is mandatory to send our bank number our_number in the registration occurrence payload.-

Body params

FieldTypeDescriptionCharacters
occurrences *array of objectsList of occurrences to be processed.Occurrences object

Occurrences object

FieldTypeDescriptionCharacters
amount *doubleBank slip amount.-
automatic_bankruptcy_protestbooleanAutomatic protest configuration.-
bank_teller_instructionsstringTeller instructions (Bank slip message/observations).-
beneficiary_account_keystringBeneficiary account key.-
beneficiary_keystringBeneficiary key.-
days_to_bankruptcy_protestintNumber of days for automatic bankruptcy protest submission.-
document_numberstringDocument number.-
expiration *stringDue date.-
fine_percentagestringFine percentage-
interest_daily_valuestringDaily interest value in reais-
occurrence_type *stringOccurrence type.-
payer_addressstringPayer address.-
payer_document *stringPayer document (CPF or CNPJ).-
payer_name *stringPayer name.-
payer_person_type *stringPayer person type.-
payer_postal_code_rootstringThe first five digits of the ZIP code.-
payer_postal_code_suffixstringThe last three digits of the ZIP code.-
printing_policystringBank slip printing policy-
registration_institution_enumerator *stringWill always be qi_scd.qi_scd
requester_profile *stringPortfolio number.02
requester_profile_code *stringPortfolio code composed as follows: "329-portfolio-agency-7_digit_account". NOTE: QI Tech's default collection portfolio is number "09".-
notificationobjectPortfolio number.Notification object
discountsobjectList of objects with discount information.Discounts object
guarantor_namestringGuarantor name.-
guarantor_document_rootstringGuarantor CNPJ base.-
guarantor_document_subsidiarystringParent or subsidiary CNPJ information.-
guarantor_document_digitstringCNPJ verification digit.-
pix_key *stringPix key where the Pix QR Code linked to the bolePix will be registered.100
"pix_key" Field

The "pix_key" can be a CPF, CNPJ, Email, Phone or a Random Key (UUID), following these formats:

CPF: Integer number with 11 digits.

CNPJ: Integer number with 14 digits.

Email: Text containing at least one "@".

Phone: Text containing the following values: "+55" + "Phone area code" + "Integer phone number with minimum 8 and maximum 9 digits". Ex: "+5511987654321".

Random Key: UUID.

Notification object

FieldTypeDescriptionCharacters
document_number *stringDocument number of the user who will receive the notification.-
email *stringEmail of the user who will receive the notification.-
name *stringName of the user who will receive the notification.-
phone *objectObject containing phone information of the user who will receive the notification.Phone object
send_2_way *booleanSend duplicate copy issuance notifications.true/false
send_after_due_date *booleanSend notifications after the bank slip due date.true/false
send_before_due_date *booleanSend notifications before the bank slip due date.true/false
send_on_protest *booleanSend protest notifications.true/false

Phone object

FieldDescriptionExampleMax Characters
country_codestringPhone DDI code (https://ddi.guiamais.com.br/)3
area_codestringPhone DDD code (https://ddd.guiamais.com.br/)2
numberstringPhone number (numbers only)10

Discounts object

FieldDescriptionExampleMax Characters
discount_valuefloatDiscount value.3
discount_numberint32Order in which the discount should be applied.2
discount_limit_datedateDiscount limit date.10

Response

STATUS
200
Response Body
{
"bank_slips": [
{
"amount": "649.73",
"bank_slip_key": "4bc636d0-1e41-4ce6-801c-475814bf4dcf",
"bank_slip_status": "accepted",
"barcode": "32991916500000649730001090000699935200347340",
"beneficiary_account_key": "1c977186-9167-4ef1-b27d-08483429f74c",
"beneficiary_key": "f01d4877-b1cc-4f4a-a8f9-952c2cef9ca8",
"digitable_line": "32990001039000069993552003473403191650000064973",
"expiration": "2022-11-10",
"nfe_key": null,
"nfe_url": null,
"our_number": 6999352,
"participant_control_number": null,
"payer_postal_code": "38050000",
"protest_status": "not_protested",
"qr_code": {
"pix_key": "9de04466-0b02-4263-9c28-9cdc0fb638bb",
"qr_code_key": "881979cb-1c15-4dea-a05e-316caae22f5e",
"qr_code_url": "00020126970014br.gov.bcb.pix2575qrcode-h.sandbox.qitech.app/bacen/cobv/881979cb-1c15-4dea-a05e-316caae22f5e5204000053039865802BR5925LOTEAMENTO RESIDENCIAL PO6014PORTO NACIONAL61087750000062070503***630414B8"
}
}
],
"file_info": {
"beneficiary_code": null,
"beneficiary_name": null,
"file_sequence_id": null,
"file_type_identifier": null,
"file_type_literal": null,
"service_code": null,
"service_literal": null,
"wrote_at": null
},
"occurrence_stats": {
"bank_slip_edit": 0,
"bankruptcy_protest_request": 0,
"cancel_rebate": 0,
"extension": 0,
"notary_office_entry": 0,
"notary_office_exit": 0,
"notary_office_payment": 0,
"notification": 0,
"payment": 0,
"payment_notice": 0,
"payment_write_off": 0,
"protest_cancel_and_write_off_request": 0,
"protest_cancel_request": 0,
"protest_remove_request": 0,
"protest_request": 0,
"rebate": 0,
"registration": 1,
"write_off": 0
},
"semantic_errors": []
}

STATUS
400
Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}

Response Params

FieldTypeDescriptionCharacters
bank_slipslistList with information of registered bank slips if the use_multi_process parameter is set to false.Bank Slip Object
file_infolistFile information.File Info Object
occurrence_statsobjectFile information.File Info Object
semantic_errorslistList of errors in processing each bank slip. Will be returned if there is any processing error and if the use_multi_process parameter is set to false.Semantic Error Object

Bank_slip object

FieldTypeDescriptionCharacters
amountfloatBank slip amount.-
bank_slip_keyuuidUnique identification key of the bank slip at QI Tech.36
bank_slip_statusenumUnique identification key of the bank slip at QI Tech.Bank_slip_status Enumerators
barcodestringBank slip barcode.44
beneficiary_account_keyuuidUnique identification key of the account where the bank slip was registered.36
beneficiary_keyuuidUnique identification key of the account holder where the bank slip was registered.36
digitable_lineuuidBank slip typable line.47
expirationstringBank slip due date.10
nfe_keystringUnique identification key of the electronic invoice.-
nfe_urlstringElectronic invoice URL.-
our_numberintOur bank number. It is a sequential identification number of this bank slip in relation to the account (collection portfolio) where it was registered. Its value can be provided in the bank slip registration request. If not provided, QI Tech will generate a value for this field (being an incremental value, ex: 1st bank slip registered in the account will have an our_number value of 1, the 16th bank slip registered in the account will have an our_number value of 16).-
participant_control_numberstringParticipant control number.10
payer_postal_codestringBank slip payer ZIP code.8
protest_statusstringBank slip protest status, if protest has been requested.Protest_status Enumerators
qr_codeobjectObject with information of the Pix QR Code linked to the bank slip.Qr_code object

Qr_code object

FieldTypeDescriptionCharacters
pix_keystringPix key where the Pix QR Code linked to the bank slip was registered.100
qr_code_keyuuidUnique identification key of the Pix QR Code linked to the bank slip.36
qr_code_urluuidCopy and Paste Pix URL of the Pix QR Code linked to the bank slip.36

Bank_slip_status enumerators

EnumeratorDescription
acceptedBank slip accepted for processing
registeredBank slip registration completed in the bank slip registration chamber
paidBank slip payment amount was credited to the beneficiary's account
written_offBank slip written off (bank slip is no longer payable)
rejectedBank slip registration rejected by the bank slip registration chamber
payment_noticeNotice that bank slip payment was processed at the paying bank (but settlement to the beneficiary's account has not yet occurred)
notary_office_payment_noticeNotice that payment of a protested bank slip was processed at the paying bank (but the notary office has not yet transferred the payment and settlement to the beneficiary's account has not yet occurred)

Protest_status enumerators

EnumeratorDescription
not_protestedBank slip has no protest request.
protest_requestedBank slip with protest request being processed by QI Tech.
notary_office_entryBank slip protest request was accepted by the notary office.
protest_cancel_requestedProtest cancellation request being processed by QI Tech.
notary_office_exitBank slip protest was withdrawn from the notary office.
protestedProtest was confirmed by the notary office and the bank slip is protested.
paid_at_notary_officeNotary office identified the bank slip protest payment and is processing the payment transfer to QI Tech.
judicially_suspendedJudicially suspended protest.
protest_remove_requestedProtest removal request was accepted by the notary office.