Issuance of Corporate debt
With the debt issuance API, it is possible to request the issuance of a debt for a legal entity. It is not necessary to pre-register the borrower; simply provide the registration details at the time of the debt request.
QI Tech offers a solution for onboarding new clients and anti-fraud.
Check out the documentation for these APIs here..
To receive a quote, contact our sales team:
comercial@qitech.com.br or (11) 3522-1301.
The debt API is designed to be executed in just one request, after a prior upload of files (document upload). The header and body signature format for this request is described in detail here.
Request
Request Body
{
"borrower": {
"name": "RAZAO SOCIAL EMPRESA",
"email": "emailempresa@email.com",
"phone": {
"number": "991112222",
"area_code": "11",
"country_code": "055"
},
"address": {
"city": "São Paulo",
"state": "SP",
"number": "215",
"street": "Rua Gilberto Sabino",
"complement": "3 andar",
"postal_code": "05425020",
"neighborhood": "Pinheiros"
},
"cnae_code": "6822-6/00",
"role_type": "issuer",
"person_type": "legal",
"company_type": "ltda",
"trading_name": "NOME FANTASIA DA EMPRESA",
"foundation_date": "2019-07-05",
"attached_documents_list": [],
"company_document_number": "80282008000127",
"company_statute": "aa28e598-55e2-40f1-8884-671772c541a1",
"company_representatives": [
{
"name": "NOME DO REPRESENTANTE",
"email": "nomedorepresentante@email.com",
"phone": {
"number": "990121234",
"area_code": "11",
"country_code": "055"
},
"is_pep": false,
"spouse": {
"name": "NOME CONJUGE REPRESENTANTE",
"email": "conjugerepresentante@email.com",
"phone": {
"number": "988881234",
"area_code": "11",
"country_code": "055"
},
"birth_date": "1994-12-04",
"person_type": "natural",
"is_pep": false,
"mother_name": "NOME DA MAE DO CONJUGE DO REPRESENTANTE",
"individual_document_number": "26571990032",
"document_identification_number": "10101010100",
"address": {
"city": "São Paulo",
"state": "SP",
"number": "215",
"street": "Rua Gilberto Sabino",
"complement": "3 andar",
"postal_code": "05425020",
"neighborhood": "Pinheiros"
}
},
"address": {
"city": "São Paulo",
"state": "SP",
"number": "215",
"street": "Rua Gilberto Sabino",
"complement": "3 andar",
"postal_code": "05425020",
"neighborhood": "Pinheiros"
},
"role_type": "company_representative",
"birth_date": "1993-09-10",
"profession": "DIRETOR",
"mother_name": "NOME DA MAE DO REPRESENTANTE",
"nationality": "BRASILEIRO",
"person_type": "natural",
"marital_status": "married",
"property_system": "partial_communion_of_goods",
"attached_documents_list": [],
"individual_document_number": "31057466093",
"document_identification_number": "20202020200"
}
]
},
"financial": {
"disbursed_amount": 10000,
"interest_type": "pre_price_days",
"credit_operation_type": "ccb",
"monthly_interest_rate": 0.03,
"disbursement_date": "2023-05-04",
"first_due_date": "2023-06-03",
"interest_grace_period": 0,
"principal_grace_period": 0,
"number_of_installments": 1,
"fine_configuration": {
"contract_fine_rate": 0.02,
"interest_base": "calendar_days",
"monthly_rate": 0.01
}
},
"disbursement_bank_account": {
"name": "RAZAO SOCIAL EMPRESA",
"document_number": "80282008000127",
"bank_code": "341",
"branch_number": "8615",
"account_number": "22110",
"account_digit": "2",
"account_type": "checking_account"
},
"purchaser_document_number": "32402502000135"
}
Response
The response to this debt request will return the payment plan as well as a DEBT-KEY, which is the debt identifier in QI SCD.
Response Body
{
"data": {
"additional_iof": 38.57988,
"annual_cet": "71,3492%",
"assignment_amount": 10254.13,
"base_iof": 12.487704111671501,
"borrower": {
"document_number": "80282008000127",
"name": "RAZAO SOCIAL EMPRESA",
"related_party_key": "7620181e-f46a-45c1-a4ea-60439b9662ad"
},
"cet": "4,5900%",
"collaterals": [],
"contract": {
"number": "0000069971/RSE",
"signature_information": [
{
"signature_url": null,
"signer_document_number": "31057466093",
"signer_email": "nomedorepresentante@email.com",
"signer_external_key": null,
"signer_name": "NOME DO REPRESENTANTE",
"signer_role": "issuer"
}
],
"urls": [
"https://storage.googleapis.com/sandbox-doc-api/documents/df3e4530-3deb-4ba8-ad4e-c28ebeffb831/20230504122831.pdf"
]
},
"contract_fee_amount": 101.53,
"contract_fees": [
{
"fee_amount": 101.53,
"fee_type": "tac"
}
],
"external_contract_fee_amount": 101.53,
"external_contract_fees": [
{
"fee_amount": 101.53,
"fee_type": "spread",
"net_fee_amount": 92.14,
"tax_amount": 9.39
},
{
"fee_amount": 0,
"fee_type": "tac",
"net_fee_amount": 0,
"tax_amount": 0
}
],
"installments": [
{
"accrual_reference_date": null,
"additional_costs": [],
"advanced_paid_amount": 0,
"bank_slip_key": null,
"business_due_date": "2023-06-05",
"calendar_days": 30,
"digitable_line": null,
"due_date": "2023-06-03",
"due_interest": 0,
"due_principal": 10152.6,
"fine_amount": null,
"has_interest": true,
"installment_history": [],
"installment_key": "0eb42a83-557a-437a-9819-099b5364cde9",
"installment_number": 1,
"installment_payment": [],
"installment_status": "created",
"installment_type": "principal",
"original_due_principal": 10152.6,
"original_pre_fixed_amount": 300.3450311613816,
"original_principal_amortization_amount": 10152.60496883862,
"original_total_amount": 10452.95,
"paid_amount": 0,
"paid_at": null,
"post_fixed_amount": 0,
"pre_fixed_amount": 300.3450311613816,
"principal_amortization_amount": 10152.60496883862,
"qr_code_key": null,
"qr_code_url": null,
"renegotiation_proposal_key": null,
"tax_amount": 12.487704111671501,
"total_accrual_amount": null,
"total_amount": 10452.95,
"total_paid_amount": 0,
"workdays": 21
}
],
"iof_charge_method": "financed",
"issue_amount": 10152.6,
"net_external_contract_fee_amount": 92.14,
"number_of_installments": 1,
"prefixed_interest_rate": {
"annual_rate": 0.42576089,
"created_at": "2023-05-04T12:28:30",
"daily_rate": 0.00097227,
"interest_base": "calendar_days_365",
"monthly_rate": 0.03
},
"requester_identifier_key": "feceb7fe-1305-45eb-899d-c87d36bcc534",
"total_iof": 51.07,
"total_pre_fixed_amount": 300.3450311613816
},
"event_datetime": "2023-05-04 12:28:35",
"key": "feceb7fe-1305-45eb-899d-c87d36bcc534",
"status": "waiting_signature",
"webhook_type": "debt"
}
Object Request Body
Field | Type | Description | Max. Caract. |
---|---|---|---|
borrower * | object | Object Borrower - Credit operation borrower | - |
guarantor | object | Object Guarantor - Credit operation guarantors | - |
disbursement_bank_account * | object | Object Disbursement Bank Account - Bank account details for the operation disbursement | - |
financial * | object | Object Financial - Bank account details for the operation disbursement. Identifier indicating that the sent object is an individual. It must ALWAYS contain the value "natural" for individual borrowers | - |
purchaser_document_number * | string | CNPJ do cessionário (comprador) da operação de crédito | - |
Object Borrower
Field | Type | Description | Max. Caract. |
---|---|---|---|
name * | string | Company's corporate name | 100 |
trading_name * | string | Nome fantasia | |
email * | string | Company's institutional email | 254 |
phone * | object | Object Phone - Company's phone number | - |
is_pep * | boolean | PEP indicator (http://www.portaldatransparencia.gov.br/download-de-dados/pep) | - |
address * | object | Object Address - Borrower's address |
| - | | role_type * | enum | default: issuer | - | | person_type * | string | Legal entity indicator - default: legal | - | | company_document_number * | string | CNPJ (numbers only) | - | | cnae_code * | string | National Classification of Economic Activities | | | company_representatives * | array of objects | List of the company's legal representatives | Object Company Representatives | | company_type * | enum | Company type: "ltda", "sa", "micro_enterprise" ou "freelancer"| - | | company_statute * | string | document_key of the company's articles of association PDF | | | directors_election_minute | string | document_key of the company's election minutes PDF (mandatory only for companies with company_type "sa") | | | foundation_date * | date | Company opening date (format "YYYY-MM-DD") | |
As shown above, both the "borrower" field and the "guarantors" fields can be populated by either a PF Object or a PJ Object. The PJ Object represents a legal entity in QI Tech.