Brazil's tax authority, Receita Federal, announced on November 16 that it was publishing the source code of its Calculadora de Tributos on GitHub under the MIT licence. Developers and software companies can integrate official calculation logic into billing, management and tax-compliance systems.
The release covers three repositories: the regular-regime calculator, the Simples Nacional calculator and a service generating the DANFSe supporting tax document. Authorization was issued on November 12.
A component for existing systems
The main calculator's README describes a REST API for calculating the new CBS, IBS and Imposto Seletivo taxes. It includes access to official tables, legal references, and generation or validation of the relevant parts of electronic tax documents.
The software requires installation and creation of its database. Documentation specifies Java 25 and support for Windows, macOS and Linux. Public source code does not make it a ready-to-use online service for every taxpayer.
Receita Federal says the code had already been available for download on the CBS platform since 2025. The new step is its official GitHub presence and the ability to follow versions and integrate the same engine into different products. The agency expects less duplicated work and lower compliance costs, but publishes no measured financial result. This is public digital infrastructure that can be inspected and reused.
Our sources
- Receita Federal publica primeiro código-fonte aberto no GitHub ↗Receita Federal · 16 November 2026 · Checked 22 November 2026
- Calculadora de Tributos — README ↗Receita Federal / GitHub · Checked 22 November 2026
AI tools assist our editors. Articles are published after human approval. Practical examples are ΠΕΡΑ analysis unless stated otherwise. How we work



