Brazil's tax authority open-sources its tax calculator on GitHub under MIT
dvaplima
786 points
265 comments
November 17, 2026
Related Discussions
Found 5 related stories in 40.0ms across 3,874 title embeddings via pgvector HNSW
- US IRS free online tax filing open source repo (2025) accountinhn · 158 pts · November 14, 2026 · 56% similar
- Brazil's Caixa insurer breach exposes names and tax IDs of all 7.6M customers dvaplima · 164 pts · November 13, 2026 · 50% similar
- Show HN: A proof-of-concept formalization of the IRS federal tax forms RGS1811 · 84 pts · October 28, 2026 · 46% similar
- Lean proof to search for US tax loopholes chaosmanage · 14 pts · November 10, 2026 · 46% similar
- Formalizing US Tax Code (Using Lean) dnw · 143 pts · November 14, 2026 · 44% similar
Discussion Highlights (20 comments)
matheusmoreira
This is awesome! Looking forward to exploring this repository.
InsidiousWombat
Claude find me a tax loophole
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.
astropietro
i love brazil man
dlisboa
From what I heard of people living in other countries, Brazil is much more advanced as far as digital government services go.
madduci
Every software paid by citizens' taxes should be made open
filessnap
What interests me here is the choice of the MIT license, not just the code release. It lets software vendors reuse the calculator directly, so the official rules can be embedded rather than reimplemented. For a tax reform with new consumption taxes, I'd expect the real value to be a single reference implementation that everyone can test against, so different vendors don't each interpret the rules differently. Does anyone know whether the repo accepts outside pull requests, or whether it's mainly published for transparency?
Spixel_
Hope they accept changes via pull requests!
xbar
Tell them to upgrade their SSL to TLS.
fidotron
Should be the case everywhere, as should being able to perform all government interaction via API. BRB using Claude to find previously unidentified opportunities for tax optimization.
bitlad
Would be interesting if the taxes dont work because of github action issues.
wbqa_oct6_0e57
America should do the same. I believe Intuit has government backing of some sort.
mococa
Brazil mentioned https://ibb.co/gFQbpG5T
TacticalCoder
It's good but then... It's 2026 and the latest models, and especially the Gemini ones from my testing, are exceptionally good a filling your taxes and making computation as to what's going to be due. It probably won't be correct to the cent, but it's going to be close enough. I'm filling mine right now and there are quite a few things: married, one kid, some dividends from shares in a private company, salaries, additional invoices for a side-activity (and VAT and social wellfare taxes etc.), interests, dividends in various currencies that have to be accounted for in a specific way, real-estate income and some expenses, insurances, etc. Thanks to AI it's much easier than last year. Actually, this year without an accountant is easier than last year with an accountant. And this time I'm already planning for AI to fill everything next year: so I keep everything, all my notes and "assets" files, and fully plan, in one year, to ask an AI "look at 2025 and do the same for 2026" . And there are crazy things: for example my country's IRS handles PDFs to fill (that you must then print and send in paper form), but they're sloppy PDFs (made by people who've never done typographical work: I did). No two pages have the same sizes for example and its endless hell for a lot of people: for example they don't print properly. Stuff you entered correctly in boxes in the PDF do print on the wrong line etc. But it's not a problem: the AI can both fill and fix the PDFs so that they then print properly.
jmclnx
Interesting, when I dealt with tax software a years ago, Brazil had the craziest rules. IIRC, the president could wake up in the morning and decide the rates change that day. Are their tax rates more stable now ?
JassanSanjay
That's interesting, it could never happen in india sad
pettijohn
I hope someone is working on an open source Turbo Tax replacement. People are vibe coding Photoshop in a week, can we liberate the people's taxes too!
dzonga
here on hn people like to shit on java but damn the world runs on java. even the software irs open sourced was a java stack.
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?