Brazil's tax authority open-sources its tax calculator on GitHub under MIT

Brazil's Federal Revenue Service has published the source code of its Tax Calculator on GitHub under the MIT license, formalized by Portaria Cotec No. 342 of November 12, 2026. The tool encodes the official calculation rules for CBS and other consumption taxes under the tax reform, letting companies, developers, and software vendors embed the same logic in their billing, management, and compliance systems — with calculation memory and legal basis built in. The goal is fewer doubts, less rework, and lower compliance costs.

For the first time, the Federal Revenue Service is officially making a software project available in a public collaborative development environment, adopting the MIT license, one of the most widely used in the world for open source.
  1. usr1106

    Every country that calls itself democratic and free should open-source such software.

    No need to support evil giants, it's enough to host it elsewhere.

  2. madduci

    Every software paid by citizens' taxes should be made open

  3. dlisboa

    From what I heard of people living in other countries, Brazil is much more advanced as far as digital government services go.

  4. firefax

    Does Brazil have a tax culture like the states where they make it purposefully complex?

    NL and others, they seem to give you a report akin to what Turbotax and like spits out and basically invite you to correct them if you think they're wrong but otherwise there's no need to "file" anything.

  5. soleveloper

    If I find a bug in an open-source tax calculator, is that tax planning or tax fraud?

  6. mococa

    Brazil mentioned https://ibb.co/gFQbpG5T

  7. matheusmoreira

    This is awesome! Looking forward to exploring this repository.

  8. JassanSanjay

    That's interesting, it could never happen in india sad

More from this day

2026-11-21