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
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.