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.
- 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.
- madduci
Every software paid by citizens' taxes should be made open
- dlisboa
From what I heard of people living in other countries, Brazil is much more advanced as far as digital government services go.
- 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.
- soleveloper
If I find a bug in an open-source tax calculator, is that tax planning or tax fraud?
- mococa
Brazil mentioned https://ibb.co/gFQbpG5T
- matheusmoreira
This is awesome! Looking forward to exploring this repository.
- JassanSanjay
That's interesting, it could never happen in india sad