How to Read a Boleto: Digitable Line, Due Date Factor and Check Digits
How a Brazilian boleto line is structured, how to read the bank, amount and due date, the 2025 due date factor reset, check digits and how to spot fraud.

Despite the success of Pix, boletos remain everywhere in Brazil: rent, school fees, utility bills, online purchases and supplier invoices. The long number under the barcode is not random. It contains the bank, the amount, the due date and check digits. This guide shows how to read it with the free Boleto Barcode and Digitable Line Decoder.
Two kinds of slips
- Bank boletos (boleto bancário): issued by banks for companies and people. The digitable line has 47 digits.
- Agreement slips (convênios): utility bills, taxes and fines, such as electricity, water, phone and municipal taxes. The line has 48 digits and starts with 8.
The 47-digit bank boleto
The line is divided into five fields:
| Field | Digits | Content |
|---|---|---|
| 1 | 10 | Bank code (3), currency (1), start of free field (5), check digit |
| 2 | 11 | Free field (10), check digit |
| 3 | 11 | Free field (10), check digit |
| 4 | 1 | General check digit of the barcode |
| 5 | 14 | Due date factor (4) and amount in cents (10) |
The first three digits identify the bank: 001 Banco do Brasil, 033 Santander, 104 Caixa, 237 Bradesco, 341 Itaú, and so on. Currency 9 means real.
Check digits
- Fields 1, 2 and 3 each have a check digit calculated by modulus 10.
- The general check digit, field 4, is calculated by modulus 11 over the 44-digit barcode.
They catch typing mistakes. If you type one digit wrong, the bank app usually rejects the line.
The due date factor
The due date is not written as a date but as a factor: the number of days since 7 October 1997. On 21 February 2025 the factor reached its maximum, 9999. From 22 February 2025, it restarted at 1000.
So a factor of 1661 can mean a date in 2002 or 15 December 2026. Banks and this decoder choose the date closest to today.
The amount
The last 10 digits are the amount in cents. 0000015000 means R$150.00. Some boletos have zeros, meaning the amount is open and typed at payment.
The 48-digit agreement slip
Agreement slips have four blocks of 11 digits, each followed by a check digit. The second digit indicates the segment, such as city hall, sanitation, electricity and gas, or telecommunications. The third digit says whether the check digits use modulus 10 or 11. The amount follows the general check digit. These slips usually do not carry a due date in the line.
How to use the decoder
- Paste the digitable line, with or without dots and spaces.
- Check whether all digits are valid.
- Read the type, bank, amount and due date.
- See the rebuilt 44-digit barcode.
Example
The line 34191.79001 10104.351001 47910.201509 1 16610000015000 is an Itaú boleto in reais. All check digits are valid, the factor 1661 corresponds to 15 December 2026 and the amount is R$150.00.
Avoiding fraud
Valid digits do not mean a safe boleto. Fraudsters create boletos with correct digits that send money to their own accounts. To protect yourself:
- Download boletos from the company's official site or app.
- Before confirming, check the payee name and CNPJ shown in your bank app.
- Be suspicious of boletos received by email or messaging apps without being expected, or from a bank different from the usual one.
- When in doubt, call the company using a number from its official site.
Paying late
After the due date, interest and fines set by the payee apply. Many boletos can be paid at any bank until a limit date; others must be reissued on the payee's site.
Limits
The decoder reads standard layouts. It does not check whether the boleto was registered, paid or cancelled.



