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

> Hacker News story 50532613 · language: en · submitted 2026-11-17
> Web version: https://zeli.app/story/50532613
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 785 · by [dvaplima](<https://news.ycombinator.com/user?id=dvaplima>) · 💬 264
[original](<https://www.gov.br/receitafederal/pt-br/assuntos/noticias/2026/novembro/receita-federal-publica-primeiro-codigo-fonte-aberto-no-github-e-amplia-transparencia-da-reforma-tributaria>) · [HN discussion](<https://news.ycombinator.com/item?id=50532613>)

## Summary

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.

## Key quote

> 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.

## HN discussion (264 comments)

### [usr1106](<https://news.ycombinator.com/item?id=50588479>)

> 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](<https://news.ycombinator.com/item?id=50588556>)

> Every software paid by citizens' taxes should be made open

### [dlisboa](<https://news.ycombinator.com/item?id=50588553>)

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

### [firefax](<https://news.ycombinator.com/item?id=50590189>)

> 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](<https://news.ycombinator.com/item?id=50590237>)

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

### [mococa](<https://news.ycombinator.com/item?id=50589245>)

> Brazil mentioned https://ibb.co/gFQbpG5T

### [matheusmoreira](<https://news.ycombinator.com/item?id=50538920>)

> This is awesome! Looking forward to exploring this repository.

### [JassanSanjay](<https://news.ycombinator.com/item?id=50589523>)

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

---

## Cite

- Page: https://zeli.app/story/50532613
- Date: 2026-11-17
- Source: gov.br (https://www.gov.br/receitafederal/pt-br/assuntos/noticias/2026/novembro/receita-federal-publica-primeiro-codigo-fonte-aberto-no-github-e-amplia-transparencia-da-reforma-tributaria)
- Hacker News: https://news.ycombinator.com/item?id=50532613

## Other languages

- zh: https://zeli.app/zh/story/50532613 · markdown: https://zeli.app/zh/story/50532613.md
- ja: https://zeli.app/ja/story/50532613 · markdown: https://zeli.app/ja/story/50532613.md
- ko: https://zeli.app/ko/story/50532613 · markdown: https://zeli.app/ko/story/50532613.md
- de: https://zeli.app/de/story/50532613 · markdown: https://zeli.app/de/story/50532613.md
- es: https://zeli.app/es/story/50532613 · markdown: https://zeli.app/es/story/50532613.md
- ru: https://zeli.app/ru/story/50532613 · markdown: https://zeli.app/ru/story/50532613.md
