Query boleto
Request
ENDPOINT
/bank_slip/BANK_SLIP_KEYMETHOD
GETPath params
Field | Type | Description | Characters |
---|---|---|---|
bank_slip_key * | string | Boleto identification key | UUID key |
Response
STATUS
200Response Body
{
"amount": 3,
"asset_type": {
"created_at": "2019-02-01T16:44:11",
"enumerator": "invoice",
"translation_path": "bank_slip.AssetType.invoice"
},
"automatic_bankruptcy_protest": true,
"automatic_protest": false,
"automatic_write_off": false,
"bank_slip_file": [],
"bank_slip_key": "96b32f1a-c2bd-41a4-b4b1-a169235be68b",
"bank_slip_status": {
"created_at": "2019-02-01T16:44:07",
"enumerator": "registered",
"translation_path": "bank_slip.BankSlipStatus.registered"
},
"bank_teller_instructions": "Não aceitar após vencimento",
"barcode": "32991918600000900000001090000000000457475000",
"beneficiary_account_branch": "0001",
"beneficiary_account_digit": "5",
"beneficiary_account_key": "7cc3b1f7-8015-4073-8471-a3ba57e34975",
"beneficiary_account_number": "5747500",
"beneficiary_document_number": "12345678905",
"beneficiary_key": "b91195e3-0cf4-4fed-90cf-7f5bef29c2f0",
"beneficiary_name": "Greg Brown",
"billing_account_key": "7cc3b1f7-8015-4073-8471-a3ba57e34975",
"business_date_expiration": "2020-06-01",
"created_at": "2020-05-15T21:00:25",
"days_before_fine": null,
"days_before_interest": null,
"days_to_bankruptcy_protest": 1,
"days_to_protest": null,
"days_to_write_off": null,
"digitable_line": "32990001039000000000104574750008191860000090000",
"discount_limit_date": null,
"discount_value": null,
"discounts": [],
"document_number": "123456/01",
"expenses": [
{
"amount": 3.9,
"created_at": "2022-11-19T10:42:47",
"expense_key": "6f21f308-f6c6-4198-a8bc-bc0e853bb8b5",
"paid": true,
"reason": {
"created_at": "2019-02-14T17:30:50",
"reason_code": "Tarifa de registro",
"translation_en_us": "Registration Fee",
"translation_pt_br": "Tarifa de registro"
},
"subject": {
"created_at": "2019-02-14T17:30:43",
"enumerator": "requester",
"translation_path": "bank_slip.AssetType.requester"
},
"subject_account_key": "9223d7ae-320a-411c-8ff4-861e054da4d4",
"updated_at": "2022-11-19T10:46:31"
}
],
"expiration": "2020-06-01",
"fine_percentage": 0.1,
"guarantor_address": null,
"guarantor_city": null,
"guarantor_document": null,
"guarantor_name": null,
"guarantor_person_type": null,
"guarantor_postal_code": "00000000",
"guarantor_state": null,
"has_protest_pending_feedback": false,
"historical_our_number": 2,
"institution_registration_date": null,
"interest_daily_value": 0.34,
"lock_origin_type": null,
"max_payment_days": 180,
"nfe_key": null,
"nfe_url": null,
"notary_office_number": null,
"notary_office_protocol": null,
"notification": [],
"occurrences": [
{
"agent_type": "integration",
"automatic_bankruptcy_protest": null,
"automatic_protest": null,
"automatic_write_off": null,
"created_at": "2020-05-15T21:00:25",
"discount_amount": null,
"discounts": [],
"fine_percentage": 2,
"interest_daily_value": 0.34,
"iof_amount": null,
"new_bank_slip_status": {
"created_at": "2019-02-14T17:30:39",
"enumerator": "registered",
"translation_path": "bank_slip.BankSlipStatus.registered"
},
"new_due_date": "2020-06-01",
"new_protest_status": {
"created_at": "2019-02-01T16:44:08",
"enumerator": "not_protested",
"translation_path": "bank_slip.ProtestStatus.not_protested"
},
"notary_office_number": null,
"notary_office_protocol": null,
"notification": [],
"occurrence_expenses": null,
"occurrence_feedback": {
"created_at": "2019-02-14T17:30:46",
"enumerator": "confirmed",
"translation_path": "bank_slip.OccurrenceFeedback.confirmed"
},
"occurrence_key": "c3ab3e01-f198-4e7e-9e01-7a8091b8bd72",
"occurrence_reasons": [],
"occurrence_type": {
"created_at": "2019-02-01T16:44:14",
"enumerator": "registration",
"translation_path": "bank_slip.OccurrenceType.registration"
},
"old_bank_slip_status": {
"created_at": "2019-02-01T16:44:07",
"enumerator": "accepted",
"translation_path": "bank_slip.BankSlipStatus.accepted"
},
"old_due_date": null,
"old_protest_status": null,
"paid_amount": null,
"paid_fine_amount": null,
"paid_interest_amount": null,
"payer_address": null,
"payer_postal_code": null,
"payment_bank": null,
"payment_branch": null,
"payment_credit_date": null,
"payment_method": null,
"payment_origin": null,
"protest_confirmation": null,
"protest_distribution_cost": null,
"protest_electronic_cost": null,
"protest_emolument": null,
"protest_expenses": null,
"protest_other_expenses": null,
"protocol_date": null,
"protocol_region": null,
"rebate_amount": null,
"registration_institution_occurrence_date": "2020-05-15",
"registration_institution_occurrence_event": [
{
"cnab_file": {
"cnab_key": "abfc9fba-28fb-4e75-afcb-f4647d7031bc",
"company_code": null,
"created_at": "2020-05-15T21:00:22",
"downloads": [],
"file_size": "None",
"filename": null,
"line_length": null,
"remitter_key": "b91195e3-0cf4-4fed-90cf-7f5bef29c2f0",
"requester_profile_code": null,
"type": {
"created_at": "2019-02-01T16:44:17",
"enumerator": "api_instruction",
"translation_path": "bank_slip.CNABFileType.api_instruction"
},
"url": null,
"version": null
},
"cnab_file_occurrence_order": 1,
"created_at": "2020-05-15T21:00:25",
"new_status": {
"created_at": "2019-02-01T16:44:15",
"enumerator": "waiting_submission",
"translation_path": "bank_slip.RegistrationInstitutionOccurrenceStatus.waiting_submission"
},
"old_status": null
}
],
"registration_institution_occurrence_status": {
"created_at": "2019-02-01T16:44:15",
"enumerator": "waiting_submission",
"translation_path": "bank_slip.RegistrationInstitutionOccurrenceStatus.waiting_submission"
},
"requester_occurrence_event": [
{
"cnab_file": {
"cnab_key": "abfc9fba-28fb-4e75-afcb-f4647d7031bc",
"company_code": null,
"created_at": "2020-05-15T21:00:22",
"downloads": [],
"file_size": "None",
"filename": null,
"line_length": null,
"remitter_key": "b91195e3-0cf4-4fed-90cf-7f5bef29c2f0",
"requester_profile_code": null,
"type": {
"created_at": "2019-02-01T16:44:17",
"enumerator": "api_instruction",
"translation_path": "bank_slip.CNABFileType.api_instruction"
},
"url": null,
"version": null
},
"cnab_file_occurrence_order": 1,
"created_at": "2020-05-15T21:00:25",
"new_status": {
"created_at": "2019-02-01T16:44:16",
"enumerator": "confirmed",
"translation_path": "bank_slip.RequesterOccurrenceStatus.confirmed"
},
"old_status": {
"created_at": "2019-02-01T16:44:16",
"enumerator": "accepted",
"translation_path": "bank_slip.RequesterOccurrenceStatus.accepted"
}
}
],
"requester_occurrence_status": {
"created_at": "2019-02-01T16:44:16",
"enumerator": "confirmed",
"translation_path": "bank_slip.RequesterOccurrenceStatus.confirmed"
},
"selected_user_agent": null
}
],
"original_expiration": "2022-12-01",
"our_number": 2,
"paid_amount": null,
"paid_fine_amount": null,
"paid_interest_amount": null,
"participant_control_number": null,
"payer_account_digit": null,
"payer_account_number": null,
"payer_account_type": null,
"payer_address": "Rua Carlos Tampaio, 112",
"payer_bank": null,
"payer_branch_digit": null,
"payer_branch_number": null,
"payer_document": "45508922008",
"payer_name": "John Nobody",
"payer_person_type": {
"created_at": "2019-02-01T16:44:09",
"enumerator": "natural",
"translation_path": "bank_slip.PersonType.natural"
},
"payer_postal_code": "00000000",
"payment_date": null,
"printing_policy": {
"created_at": "2019-02-01T16:44:10",
"enumerator": "no_printing",
"translation_path": "bank_slip.PrintingPolicy.no_printing"
},
"protest_status": {
"created_at": "2019-02-01T16:44:08",
"enumerator": "not_protested",
"translation_path": "bank_slip.ProtestStatus.not_protested"
},
"protocol_date": null,
"protocol_region": null,
"qr_code": null,
"rebate_amount": null,
"reference_requester_profile_code": null,
"registration_institution": {
"created_at": "2020-03-26T19:36:16",
"enumerator": "qi_scd",
"febraban_code": "329",
"remittance_sequence": 72,
"settlement_resource_account_key": "3e46d266-4fdb-4fd2-b87a-3e3de366afd4"
},
"requester_profile": 1,
"requester_profile_code": "329-01-0001-0067049",
"requester_registration_date": "2020-05-15",
"settlement_account_key": "9223d7ae-320a-411c-8ff4-861e054da4d4",
"settlements": [],
"tags": null
}
STATUS
400Response Body
{
{"title": "Bad Request", "description": "Invalid request body.", "translation": "Corpo da requisição inválido.", "extra_fields": {}, "code": "LEG000069"}
}