← Sat, Nov 21 digest

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

read article ↗ hn thread ↗

Brazil's tax authority has open-sourced its official consumption tax calculator on GitHub under the MIT license to improve corporate compliance and transparency.

summary is enough The announcement is straightforward, but the comment thread offers a fascinating look at government open-source policies and comparisons with the US.

summary

Brazil's Receita Federal has published the source code for its new consumption tax calculator on GitHub under the MIT license. The tool implements the complex logic of the country's recent tax reform, allowing software vendors and corporations to integrate official calculations directly into their systems. This move aims to reduce compliance costs and interpretation errors by providing a unified reference implementation. Commenters widely praised the transparency, contrasting it with recent US moves like the cancellation of IRS Direct File.

key points

  1. The tax authority open-sourced repositories covering regular regimes, Simples Nacional, and DANFSe generation using the MIT license.
  2. Companies and software houses can embed the official calculation logic directly into their enterprise and billing software to ensure compliance.
  3. Commenters heavily contrasted this move with the US, noting recent setbacks like the dismantling of the IRS Direct File project.

who should read it

Software developers, compliance engineers, and policy observers interested in open-source government technology.

discussion warm

consensus

Commenters overwhelmingly praise Brazil for open-sourcing critical government software, arguing that code funded by taxpayers should always be public.

pushback

Some point out that Brazil's tax system remains notoriously complex and burdensome despite digital advances, and note privacy concerns regarding other government systems like Pix.

best comment by trescenzi ↗

The US was working towards this and then it was one of the first things taken down by DOGE.

https://www.wired.com/story/doge-direct-file-chopping-block/

https://github.com/IRS-Public/direct-file

It connects the announcement directly to the US context by highlighting the recent dismantling of the IRS Direct File open-source repository.

Generated by an LLM from the article and thread. Check the sources before relying on it.