Skip to content
ΠΕΡΑ+applied imagination
NewsroomLet’s talk ↗

Governments & strategy / 22 November 2026

Brazil puts its official tax calculator's source code on GitHub

Receita Federal releases calculation logic under MIT so businesses can integrate it into their own systems.

Receita Federal's official thematic image showing hands on a keyboard and the agency's logo.
Thematic image accompanying Receita Federal's November 16, 2026 announcement. It is not a calculator screenshot; no capture date is supplied. Receita Federal / gov.br — CC BY-ND 3.0 · Usage terms · Complete original image, without cropping or content changes. Technical JPEG encoding; white padding in the share derivative.

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

AI tools assist our editors. Articles are published after human approval. Practical examples are ΠΕΡΑ analysis unless stated otherwise. How we work

BrazilReceita FederalOpen sourcePublic services