Skip to main content

kobana banking installments

Commands of kobana banking installments. Every global option (Global options) applies here.

CommandHTTPDescription
installments listGET /v1/installmentsList CarnĂªs
installments createPOST /v1/installmentsCreate a CarnĂª
installments getGET /v1/installments/{id}CarnĂª Information
installments deleteDELETE /v1/installments/{id}Delete CarnĂª

installments list​

List CarnĂªs

kobana banking installments list [OPTIONS]

GET /v1/installments

List CarnĂªs.

Query parameters

NameTypeRequiredDescription
pageintegernoPage Number
per_pageintegernoNumber of records per page

Responses

HTTPDescription
200Success in listing carnĂªs

installments create​

Create a CarnĂª

kobana banking installments create [OPTIONS]

POST /v1/installments

Creates a carnĂª for generation of multiple billets with periodic due dates.

Request body

NameTypeRequiredDescription
bank_billet_account_idintegeryesCollection wallet ID. If not provided, it will use the default wallet.
amountnumberyesAmount
customer_person_namestringyesCustomer name
customer_cnpj_cpfstringyesCustomer CPF/CNPJ
customer_statestringyesState
customer_city_namestringyesCity (Name must be correct and complete)
customer_zipcodestringyesZIP Code (format 99999999)
customer_addressstringyesAddress
customer_neighborhoodstringyesNeighborhood
start_atstring (date)yesDate of first charge
totalintegeryesNumber of installments
document_typestringyesDocument type: * Code | Abbreviation | Description * 01 | CH | Check * 02 | DM | Commercial Draft (Default) * 03 | DMI | Commercial Draft for Indication * 04 | DS | Service Draft * 05 | DSI | Service Draft for Indication * 06 | DR | Rural Draft * 07 | LC | Bill of Exchange * 08 | NCC | Commercial Credit Note * 09 | NCE | Export Credit Note * 10 | NCI | Industrial Credit Note * 11 | NCR | Rural Credit Note * 12 | NP | Promissory note * 13 | NPR | Rural Promissory note * 14 | TM | Commercial Triplicata * 15 | TS | Service Triplicata * 16 | NS | Insurance Note * 17 | RC | Receipt * 18 | FAT | Invoice * 19 | ND | Debit Note * 20 | AP | Insurance Policy * 21 | ME | School Monthly Fee * 22 | PC | Consortium Installment * 23 | NF | Nota Fiscal * 24 | DD | Debt Document * 25 | CPR | Commodity Futures Note * 26 | CTR | Contract * 27 | CSG | Co-insurance * 28 | EC | Condominium Charges * 29 | CPS | Service Provision Account * 30 | WR | Warrant * 31 | DP | Installment Draft * 32 | CSR | Serial Collection * 33 | CAR | CarnĂª * 34 | ARE | Elementary Risks Policy * 35 | CC | Credit Card * 36 | BDP | Proposal Boleto * 37 | NPD | Direct Promissory note * 38 | DAE | State Active Debt * 39 | DAM | Municipal Active Debt * 40 | DAU | Federal Active Debt * 41 | CCB | Banking Credit Cell * 42 | FI | Financing * 43 | RD | Expense Sharing * 44 | DRI | Rural Draft for Indication * 45 | ECI | Condominium Charges for Indication * 99 | Others | Others Values: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 99.
idintegernoVoucher ID
bank_billet_layout_idintegernoBoleto template ID
customer_idintegernoCustomer ID. When this ID is passed, the fields customer_person_name, customer_cnpj_cpf, customer_zipcode, customer_address, customer_city_name, customer_state and customer_neighborhood are not required.
customer_address_complementstringnoComplement
customer_address_numberstringnoNumber
customer_emailstring (email)noPayer's email
customer_email_ccstring (email)noAlternative payer email
customer_phone_numberstringnoPhone (with area code)
customer_ignore_emailbooleannoNever send email to this customer
customer_ignore_smsbooleannoNever send SMS to this customer
customer_mobile_local_codestringnoMobile area code
customer_mobile_numberstringnoMobile phone
customer_nicknamestringnoNickname or trade name of the payer
customer_notesstringnoPayer notes
customer_contact_personstringnoContact
customer_updatestringnoContact
end_atstring (date)noDate of last charge
cyclestringnoVoucher cycle. Default: monthly * biweekly Biweekly * bimonthly Bimonthly * monthly Monthly * quarterly Quarterly * semiannual Semiannual * annual Annual Values: biweekly, bimonthly, monthly, quarterly, semiannual, annual.
custom_bank_billetsarray<object>noCustom voucher. When sent, the values of amount, start_at and end_at will be ignored.
bank_billet_idsarray<integer>noIDs of boletos linked to the voucher
interest_typeintegernoInterest/penalty type: * 0 Non-existent (Default) * 1 For daily percentage * 2 For daily amount Values: 0, 1, 2.
days_for_interestintegernoNumber of days after the due date when the penalty will start to accrue. The default value is 1 day (the day after the due date).
interest_percentagenumbernoDaily interest percentage. From 0.0 to 100.0 (Ex 1.5% = 1.5) Required if interest_type equals 1.
interest_valuenumbernoDaily interest amount (R$). Required if interest_type equals 2.
interest_days_typeintegernoType of days for interest: * 0 Calendar * 1 Business Values: 0, 1.
fine_typeintegernoFine type: * 0 Non-existent (Default) * 1 For percentage of boleto amount * 2 For fixed amount Values: 0, 1, 2.
days_for_fineintegernoNumber of days after the due date when the fine will start to accrue. The default value is 1 day (the day after the due date).
fine_percentagenumbernoLate fee percentage Ex: 2% x R$ 250.00 = R$ 5.00. Required if fine_type equals 1
fine_valuenumbernoFine amount (R$). Required if fine_type equals 2.
discount_typeintegernoDiscount type: The discount type will be the same for all three discounts, if they exist. : * 0 Non-existent (Default) * 1 For fixed amount * 2 For percentage of boleto amount Values: 0, 1, 2.
days_for_discountintegernoDays for discount. Required if discount_type is different from 0 (zero). Cannot result in a date earlier than creation.
discount_percentagenumbernoPercentage of the boleto amount equivalent to the discount. Required if discount_type equals 2
discount_valuenumbernoDiscount amount (R$). Required if discount_type equals 1.
days_for_second_discountintegernoDays for second discount.
second_discount_percentagenumbernoPercentage of the boleto amount equivalent to the second discount.
second_discount_valuenumbernoSecond discount amount (R$).
days_for_third_discountintegernoDays for third discount.
third_discount_percentagenumbernoPercentage of the boleto amount equivalent to the third discount.
third_discount_valuenumbernoThird discount amount (R$).
tagsarray<string>noTags associated with the boleto
guarantor_namestringnoFinal beneficiary name (Drawer/Guarantor)
guarantor_cnpj_cpfstringnoFinal beneficiary CNPJ/CPF (Drawer/Guarantor)
guarantor_address_numberstringnoFinal beneficiary number (Drawer/Guarantor)
guarantor_neighborhoodstringnoFinal beneficiary neighborhood (Drawer/Guarantor)
guarantor_phone_numberstringnoFinal beneficiary phone (with area code) (Drawer/Guarantor)
guarantor_city_namestringnoCity (Name must be correct and complete) of final beneficiary (Drawer/Guarantor)
guarantor_statestringnoState of final beneficiary (Drawer/Guarantor)
guarantor_zipcodestringnoPostal code (format 99999999) of final beneficiary (Drawer/Guarantor)
guarantor_addressstringnoAddress of final beneficiary (Drawer/Guarantor)
guarantor_address_complementstringnoComplement of final beneficiary (Drawer/Guarantor)
descriptionstringnoProduct or service description
instructionsstringnoInstructions for cashier
document_datestring (date)noDocument date
document_numberstringnoDocument number, Size depends on the bank and remittance format: * Bank | Format| Size | * Abc |Cnab240| 15 | * Ailos |Cnab240| 15 | * Arbi |Cnab240| 15 | * Banese |Cnab240| 15 | * Banestes |Cnab400| 10 | * Banrisul |Cnab240| 15 | * Banrisul |Cnab400| 10 | * Bb |Cnab240| 15 | * Bb |Cnab400| 10 | * Bib |Cnab240| 15 | * Bnb |Cnab400| 10 | * Bnpparibas |Cnab400| 10 | * Bradesco |Cnab240| 15 | * Bradesco |Cnab400| 10 | * Brb |Cnab400| 10 | * Caixa |Cnab240| 11 | * Caixa |Cnab400| 10 | * Caruana |Cnab400| 10 | * Citibank |Cnab400| 10 | * Credisis |Cnab240| 15 | * Cresol |Cnab240| 10 | * Cresol |Cnab400| 10 | * Cresol Bradesco |Cnab240| 15 | * Cresol Bradesco |Cnab400| 10 | * Daycoval |Cnab400| 10 | * Itau |Cnab240| 10 | * Itau |Cnab400| 10 | * Mercantil |Cnab240| 10 | * Moneyplus |Cnab240| 10 | * Rendimento |Cnab400| 10 | * Safra |Cnab400| 102 | * Santander |Cnab240| 15 | * Santander |Cnab400| 10 | * Semear |Cnab400| 10 | * Sicoob |Cnab240| 15 | * Sicoob |Cnab400| 10 | * Sicredi |Cnab240| 15 | * Sicredi |Cnab400| 10 | * Sofisa |Cnab240| 15 | * Unicred |Cnab240| 15 | * Uniprime |Cnab400| 10 | * Uniprime99 |Cnab400| 10 | * Santander |Cnab400| 10
days_for_revokeintegernoCalendar days for withdrawal/return: Null/Blank: Follows the bank's default. 0: Withdrawal/Return on the same day as maturity. 1 or more: Withdrawal/Return after maturity (Maturity + X calendar days).
days_for_negativationintegernoCalendar days for negative registry: Available only for the following banks and formats. * Bank | CNAB 240| CNAB 400 |Webservice * Bradesco | Yes | Yes | No * ItaĂº | No | Yes | No
days_for_sueintegernoCalendar days for protest
divergent_payment_typeintegernoType of divergent payment: Valid only for ItaĂº and Caixa. * 1 Accepts any divergent amount * 2 Accepts payments within a range of amounts or percentages * 3 Does not accept divergent amount payments * 4 Accepts payments above a minimum amount or percentage Values: null, 1, 2, 3, 4.
divergent_payment_value_typeintegernoType of value to consider for payment limits: Valid only for ItaĂº and Caixa. * 1 Reports divergent payments by amounts * 2 Reports divergent payments by percentages Values: null, 1, 2.
divergent_payment_maximum_valuenumbernoMaximum value for divergent payment range.
divergent_payment_minimum_valuenumbernoMinimum value for divergent payment range.
divergent_payment_maximum_percentagenumbernoMaximum percentage for divergent payment range.
divergent_payment_minimum_percentagenumbernoMinimum percentage for divergent payment range.
divergent_payment_limitintegernoNumber of payments allowed. Required if divergent payment data is provided. Used only by Caixa.
prevent_registrationbooleannoPrevent sending registration to bank: If true, prevents the boleto from being registered. To be used in cases where the boleto was already registered outside of Kobana but you want to include it in the system.
notesstringnoNotes
custom_attachment_namestringnoName to be used in boleto files sent to the customer in notifications. Accepts use of variables. If left empty, the default is the word "boleto" followed by the ID.
created_via_apibooleannoIndicates if the boleto was created by API
created_atstring (date-time)noBoleto creation date and time
updated_atstring (date-time)noBoleto last update date and time
payment_countintegernoNumber of partial payments accepted for this boleto.
urlstringnoURL for viewing the voucher
statusstringnoVoucher status: * created Generating * processed Installments created * generated Open Values: created, processed, generated.
import_idintegernoImport ID
ignore_whatsappbooleannoNever send this voucher by WhatsApp

More fields and nested objects: kobana schema banking.installments.create.

Responses

HTTPDescription
201CarnĂª Created
422Invalid carnĂª

installments get​

CarnĂª Information

kobana banking installments get [ID] [OPTIONS]

GET /v1/installments/{id}

Query specific information from a CarnĂª.

Path arguments: id

Responses

HTTPDescription
200CarnĂª found successfully
404CarnĂª not found

installments delete​

Delete CarnĂª

kobana banking installments delete [ID] [OPTIONS]

DELETE /v1/installments/{id}

Deletes a specific CarnĂª. No billet generated by the carnĂª will be deleted.

Path arguments: id

Responses

HTTPDescription
204CarnĂª cancelled
404CarnĂª not found