Prefeitura de SP NF-e is São Paulo's electronic invoice system for tracking sales taxes. Businesses must issue these digital documents for most transactions.
The system replaced paper invoices in 2008 as part of Brazil's nationwide NF-e (Nota Fiscal Eletrônica) program. The Prefeitura de São Paulo manages this for municipal tax collection.
Businesses generate XML files containing transaction details through approved software. These files are sent electronically to the Prefeitura's servers, which validate them and return authorization codes.
For example, a retailer selling goods must:
| Document Type | Usage Example |
|---|---|
| NF-e | Goods sold to another business |
| NFC-e | Retail sales to consumers |
| CT-e | Transportation services |
Most businesses operating in São Paulo must use NF-e, including:
Many businesses confuse NFC-e (for consumer sales) with regular NF-e. While similar, they serve different purposes and have distinct formats.
Another mistake is assuming all transactions require NF-e. Certain exempt transactions don't need these documents, such as:
According to the Prefeitura de São Paulo, over 1.2 billion NF-e documents were issued in 2022 alone.
I once helped a small importer set up their NF-e system. They initially struggled with the XML format requirements but found success using specialized accounting software that automatically generated compliant documents.