Water bill (48 digits)
- Input
- 826200000006985011223346455667788992001122330002
- Expected output
- Saneamento, R$ 98,50
Synthetic sample line, segment 2 (water/sanitation), identifier 6 (effective value, modulus 10).
utility bill vs bank slip boleto
Not every boleto follows the same structure. Water, power, telecom and tax bills use a 48-digit format, different from the common 47-digit bank slip, with blocks, check digits and even the checksum algorithm organized differently.
Synthetic sample line, segment 2 (water/sanitation), identifier 6 (effective value, modulus 10).
One digit longer than a bank slip, but with a very different internal structure.
No. Bank slips (invoices, loans, subscriptions) have 47 digits. Utility bills, used by water, power and telecom providers and by government agencies for taxes and fines, have 48 digits and a different field layout. This tool automatically detects which of the two formats you pasted.
Yes, in practice both are paid the same way (bank app, online banking, lottery outlets). The format difference matters to whoever builds billing systems, it does not change the experience of someone simply paying.
Because the value identifier (the line's 3rd digit) can indicate a reference value instead of an effective one. This happens when the issuing agency uses the line to carry an index or internal code, and the actual amount due in reais only appears on the printed boleto, not in the digitable line.
R$ 98,50Decoding happens entirely in your browser. No digitable line is sent to a server.