🇧🇷

ReceiptForge for Brazil

NFC-e & SAT Compliance

Brazil operates one of the most sophisticated electronic fiscal document systems in the world. Consumer-facing transactions require either an NFC-e (Nota Fiscal de Consumidor Eletrônica) authorized by SEFAZ, or a CF-e SAT (Cupom Fiscal Eletrônico) in states like São Paulo. ReceiptForge's Brazil compliance pack supports both modes, ensuring your receipts meet all federal and state-level fiscal requirements.

NFC-e & SAT Requirements Overview

CNPJ & Inscrição Estadual

Every fiscal receipt must display the business's CNPJ (Cadastro Nacional da Pessoa Jurídica) and Inscrição Estadual (IE) state tax registration number. These identifiers are validated against SEFAZ records during authorization. ReceiptForge renders both identifiers in the mandated header position and validates their format before submission.

SEFAZ Authorization

NFC-e documents must be authorized by the state SEFAZ (Secretaria da Fazenda) in real time before being delivered to the consumer. The authorization response includes a protocol number and timestamp that must appear on the printed receipt. ReceiptForge integrates with the SEFAZ authorization workflow and renders the protocol data automatically once the response is received.

Access Key (Chave de Acesso)

Each NFC-e is identified by a 44-digit access key that encodes the state code, date, CNPJ, document model, series, number, emission type, and a check digit. This key must be printed on the receipt in both numeric and barcode form. ReceiptForge generates the access key from the transaction payload and renders the numeric string along with a Code 128 barcode.

QR Code Requirements

Brazilian fiscal receipts must include a QR code that links to the SEFAZ consultation portal, allowing consumers to verify the document's authenticity. The QR code URL encodes the access key, authorization date, total amount, ICMS value, and a digital digest. ReceiptForge generates this QR code automatically from the authorized NFC-e data.

Dual-Mode Support (NFC-e / SAT)

São Paulo and some other states use the SAT (Sistema Autenticador e Transmissor) hardware device instead of real-time SEFAZ authorization. ReceiptForge supports both modes: online NFC-e with SEFAZ authorization and offline CF-e SAT with local device signing. Template designers can create a single template that adapts its fiscal zone based on the emission mode.

Tax Breakdown (ICMS, PIS, COFINS)

Brazilian receipts must display a summary of taxes including ICMS (state VAT), PIS (federal social contribution), and COFINS (federal social security contribution). Lei 12.741/2012 also requires disclosure of the approximate total tax burden as a percentage and monetary value. ReceiptForge calculates and formats these breakdowns automatically.

How ReceiptForge Handles It

Locked Fiscal Zones

Access keys, QR codes, SEFAZ protocol numbers, and tax breakdowns are placed in locked fiscal zones that cannot be accidentally moved, modified, or deleted by template designers.

Automatic Access Key Generation

The 44-digit access key is generated automatically from the transaction payload including state code, CNPJ, series, and document number. No manual construction required.

Adaptive Emission Mode

A single template automatically adapts its fiscal zone layout based on whether the transaction uses NFC-e (online SEFAZ) or CF-e SAT (offline device) emission.

Tax Transparency Compliance

Built-in expression functions calculate the approximate total tax burden per Lei 12.741/2012 and format ICMS, PIS, and COFINS breakdowns for the Brazilian locale.

Sample Brazilian Receipt

Padaria Estrela Ltda
Rua das Flores 123
01310-100 São Paulo - SP
CNPJ: 12.345.678/0001-90
IE: 123.456.789.012
NFC-e - DOCUMENTO FISCAL
Data:23/02/2026 14:32
N°:000847
Série:001
2x Pão francês3,80
1x Café expresso5,00
1x Bolo de cenoura8,50
TotalR$ 17,30
Tributos aprox.R$ 5,54 (32,00%)
Chave de Acesso
3526 0212 3456 7800 0190 5500 1000 0008 4710 0008 4736
Protocolo: 135260000012847
SEFAZ
QR Code

Compliance Status

  • CNPJ & IE displayed
  • SEFAZ authorization
  • 44-digit access key
  • Consumer QR code
  • Tax transparency (Lei 12.741)
  • NFC-e / SAT dual mode

Simplify Brazilian fiscal compliance

Enable the Brazil compliance pack and start generating NFC-e and SAT-compliant receipts today.