lindell / lindell/JsBarcode

How can I generate a brazilian bank slip ("boleto bancário")

Open
#297 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Which format should I use (CODE128; EAN / UPC; CODE39; ITF-14; MSI; Pharmacode; Codabar;) to generate a [brazilian "Boleto bancário" or bank slip](https://pt.wikipedia.org/wiki/Boleto_banc%C3%A1rio)?
Or is it possible to do this using this lib? This [thread](https://github.com/lindell/JsBarcode/issues/73) says I should use 'itf' but it doesn't seem to be working.

I tested using this number "03399.33335 33886.349134 88111.901026 6 79580000014289", but the generated barcode isn't recognized by any bank app barcode scanner.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the barcode formats and the sample boleto number named in the issue, then compare the library's ITF output with the requirements of Brazilian boleto scanners. Confirm whether JsBarcode supports this representation or identify the precise limitation; done means the sample is recognized by a bank scanner or the unsupported case is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.