A boleto bancário (usually just "boleto") is a payment slip issued by a bank on behalf of a business: an amount, a due date, a barcode and a long number the payer can type. The customer pays it in any banking app, at a bank branch, or in cash at a lottery shop or an authorized agent. Brazilians use it for rent, school fees, utility-style bills, B2B invoices and, for years, for online purchases by people without a credit card.
If you build billing or e-commerce software for Brazil, you will meet boletos sooner or later. This guide explains how they work, how they compare to what you know from the US and Canada, why they still matter now that Pix exists, and what it takes to issue them through an API.
How a boleto works
Every boleto today is registered: before the customer can pay, the issuing bank has to know it — amount, due date, payer and beneficiary. Registration is what lets a boleto be paid at any bank, and what prevents someone from paying a different amount.
The flow looks like this:
- the business asks its bank to register a boleto (today, through an API);
- the bank returns the barcode, the typeable line (linha digitável, the 47-digit number) and the bank's reference number (nosso número);
- the business sends the boleto to the customer as a PDF, a link or the typeable line;
- the customer pays it by the due date — or later, with a late fee and interest, until a limit the business sets;
- the bank clears the payment, typically in 1 to 3 business days, and reports it as paid.
Compared to what you know
There is no single North American equivalent. The closest references:
| Boleto (Brazil) | ACH invoice / bill pay (US) | Pre-authorized debit (Canada) | Credit card | |
|---|---|---|---|---|
| Who starts the payment | the payer, by the due date | the payer, from their bank | the business, with consent | the payer, at checkout |
| Needs a bank account to pay | no — cash at agents works | yes | yes | no, a card |
| Due date and late fee built in | yes | on the invoice, not the rail | by agreement | no |
| Settles | 1–3 business days | 1–3 business days | a few business days | 1–2 business days |
| Disputes | none once paid | returns | reversal window | chargebacks |
The column that matters most is the second one: a boleto can be paid in cash. That is a big part of why it lasted, and why it is still the default for recurring bills to people who do not want to authorize a debit.
Why boletos survive next to Pix
Pix took over instant payments, but boletos still fit cases Pix does not cover on its own:
- A due date with consequences. Late fees, daily interest and early-payment discounts are part of the boleto itself, so the bank enforces them.
- B2B accounts payable. Finance teams in Brazil schedule boletos in their banking apps and pay a batch on the due date.
- Payment later. A customer who cannot pay today gets a document with a date, not a code that expires in 15 minutes.
The two have also merged: many banks now print a Pix QR code on the boleto (the "hybrid boleto"). The customer who wants to pay now scans it and the payment is instant; the one who wants to pay on the due date uses the barcode. For a side-by-side comparison, see Pix vs boleto.
What a business needs to issue boletos
This part is not negotiable, so it is worth saying plainly:
- A Brazilian company (CNPJ) with a business account at a Brazilian bank.
- A collection agreement (carteira de cobrança) with that bank — boleto issuing is a separate product from the account, with its own fee per boleto.
- API access to the bank's collection service and the application's credentials (client ID, secret or key, and a client certificate).
A foreign company with no Brazilian entity cannot issue boletos in its own name; it would go through a payment provider that issues them for it.
Issuing a boleto through the Intopays API
Intopays connects your company's own bank — Sicoob, Sicredi, Banco do Brasil, Santander or Inter for boletos — as a bank credential, and your system issues boletos through one API:
curl -X POST https://api.intopays.com/v1/boletos \
-H "Authorization: Bearer $INTOPAYS_TOKEN" \
-H "X-Credential-Key: $INTOPAYS_CREDENTIAL_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 350.00,
"dueDate": "2026-12-10T00:00:00.000Z",
"daysAfterDueDateForCancellation": 30,
"payerDocument": "12345678909",
"payerName": "Maria Silva",
"payerZipCode": "01310100",
"payerAddress": "Avenida Paulista",
"payerCity": "São Paulo",
"payerState": "SP"
}'
amount is in reais. payerDocument is the payer's CPF (individual) or CNPJ (company), digits only, and daysAfterDueDateForCancellation is how many days after the due date the boleto can still be paid. The response carries digitableLine, barcode, the bank's reference in integrationBankingCode and, at banks that return it (Sicoob, Banco do Brasil, Santander), a Pix payload in qrcode. Late fees, interest and up to two early-payment discounts are optional fields. Everything is in create a boleto.
Tracking payment and cancelling
A new boleto is OPEN. Intopays checks open boletos with the bank once a day; when the bank reports the payment, the boleto becomes PAID and your webhook receives a boleto.update event.
Because clearing takes business days, do not treat a boleto as paid the moment the customer says so — wait for the bank. To cancel one that will not be paid, request a baixa (write-off) with PATCH /v1/boletos/:id/cancel; it stays PROCESSING until the bank confirms, then becomes CANCELLED. See manage boletos.
Every boleto also has a public page for the payer, with the typeable line, barcode and a print button. Anyone with the link can see it, so send it only to the payer.
What it costs
Boleto fees are set by the issuing bank: per boleto registered, per boleto paid, per write-off, or a monthly bundle. Ask the bank for each. Intopays adds no fee per boleto; you pay a flat monthly subscription (see pricing), and the money settles directly in your company's account — Intopays never holds it.
Frequently asked questions
What is a boleto in English?
There is no standard translation. "Bank payment slip" is the closest description: a bank-registered bill with a barcode, a due date and an amount, payable at any Brazilian bank, in banking apps or in cash at authorized agents.
Can a boleto be paid from outside Brazil?
In practice, no. Paying a boleto requires a Brazilian bank account or paying in person in Brazil. International customers are better served by cards or a cross-border provider.
Is a boleto the same as a Pix?
No. A boleto is a bill with a due date that clears in business days; a Pix is an instant transfer. A hybrid boleto carries both: a barcode for paying later and a Pix QR code for paying now.
Can customers dispute a paid boleto?
There is no chargeback mechanism for boletos. Once the customer pays, the money is the business's, and any refund is something the business does on its own.
Do I need a Brazilian company to issue boletos?
Yes. Boletos are issued from a collection agreement on a Brazilian business account, which requires a CNPJ. Without one, you need a provider that issues boletos on your behalf.
