Receita Federal publishes Brazil's tax calculator source code on GitHub under MIT license
Brazil's federal tax authority, Receita Federal, formalized via Portaria Cotec nº 342 (Nov 12, 2026) the release of its Calculadora de Tributos source code on public GitHub repositories under the MIT license. The tool implements calculation rules for CBS and other taxes under the Consumption Tax Reform, marking the first time Receita Federal has officially published a software project in a public collaborative development environment.
GoKawiil's interpretation of the reporting above, not reported fact.
By open-sourcing the exact calculation logic used by tax authorities, businesses and software vendors could integrate official, auditable tax rules directly into billing and compliance systems, potentially reducing errors and interpretation disputes during the transition to the new tax regime. This move may also set a precedent for how Brazilian government agencies handle software transparency and public-sector interoperability going forward.
- Receita Federal released its Calculadora de Tributos source code on GitHub under the MIT license via Portaria Cotec nº 342.
- The tool encodes official calculation rules for CBS and other taxes under Brazil's Consumption Tax Reform.
- This is the first time the agency has published a software project in a public collaborative development environment.
Source: gov.br, 2026-11-17
Published there as: “Brazil's tax authority open-sources its tax calculator on GitHub under MIT”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.