Part of TF Software · Brazil's tax platform for global companies

Brazil Tax & Fiscal Compliance API

TF Fiscal · NF-e / NFS-e / NFC-e · CNPJ/CPF validation and business data lookup

TF Fiscal provides businesses operating in Brazil, e-commerce platforms, ERP systems and fiscal and accounting service providers with a stable, legally compliant and scalable tax compliance API. It supports NF-e, NFS-e and NFC-e electronic invoice interfaces, plus data services such as CNPJ/CPF validation, business information lookup, tax registration status checks, CNAE, Simples Nacional/MEI, and more.

Through a standardized API, companies can quickly integrate Brazilian invoice issuance, tax compliance and identity/business-data validation capabilities, reducing system integration costs and increasing business compliance efficiency.

6 Fiscal document types covered
99.9% Service availability
5 Steps to integrate
API request example
POST /v1/invoices/nfe
"empresa": "Your Company",
"tipo": "NF-e",
"valor": 1580.00,
"status": "autorizada" ✓ authorized
Scroll down to learn more

Brazilian taxes are complex? System integration is hard?

The real challenges every business faces when entering the Brazilian market

State & city tax differences

Tax rules vary dramatically across states and cities, making unified logic hard to maintain

Signing & certificates

Invoice signing and digital certificate mechanisms are complex, with a high technical barrier

Unstable SEFAZ endpoints

Brazilian tax authority endpoints fluctuate in stability, impacting business continuity

Rejections hard to debug

When an invoice is rejected, error messages are unclear and troubleshooting is slow

XML/PDF archiving rules

Strict XML and PDF archiving compliance requirements make storage management complex

Data out of sync

Invoice and order system data falls out of sync, causing operational chaos

If you integrate with the tax authorities yourself, it means:

Long, costly development cycles
High maintenance risk
Compliance exposure from lagging rule updates
TF Fiscal makes all of this simple.

One API for the full Brazilian e-invoice & compliance stack

From invoice issuance to certificate services, identity verification, tax calculation and data compliance — 8 modules, one platform that covers everything you need in Brazil

01

Invoice creation & submission

  • Invoice generation
  • Automatic signing
  • Submission to SEFAZ
  • Status lookup
  • Voiding & cancellation
02

Real-time callbacks & status sync

  • Real-time webhook notifications
  • SEFAZ acceptance status relay
  • Rejection reasons returned
  • Automatic retry on errors
03

Automatic XML / PDF archiving

  • Compliant storage
  • Traceable downloads
  • Encrypted data security
  • Long-term retention
04

Stable, reliable architecture

  • RESTful API / JSON
  • Idempotency by design
  • Rate limiting & retry control
  • High-availability deployment
  • Logging & audit trails
06

Brazil local data API

07

Smart tax calculation engine

  • ICMS rate library for all 27 states
  • ICMS-ST tax substitution
  • DIFAL interstate differential
  • IPI / PIS / COFINS / ISS
  • 2026 CBS / IBS dual-track support
  • Tax Calculation API →
08

Compliance & observability

Built for these types of businesses

Different scenarios, one unified compliance solution

Cross-border e-commerce sellers

Automate the order-to-invoice flow and cut manual operating costs

E-commerce

ERP / OMS / WMS providers

Embed "Brazil invoicing" into your product and boost its competitiveness

SaaS

Accounting & bookkeeping firms

Standardize invoice data and improve tax-filing efficiency

Finance

E-commerce platforms & integrators

Quickly extend your Brazil capabilities and shorten time to launch

Integration

More than e-invoices
A full-stack API for Brazilian compliance

From identity verification to tax calculation, from certificate services to data compliance — one platform for everything you need in Brazil

Essential
A1 Digital Certificate

Remote video verification, issued in minutes — the foundation for invoice signing

  • e-CNPJ / e-CPF, both types
  • ICP-Brasil compliant
  • Handled remotely, no trip to Brazil
  • Certificate hosting + renewal reminders
Learn more
Data
Consulta CNPJ — Company Lookup

Direct from Receita Federal, 40+ fields returned in 1 second

  • Registration status / industry code
  • Shareholders / legal rep / capital
  • Essential KYC before invoicing
  • Batch async lookups supported
Learn more
Data
Consulta CPF — Identity Verification

LGPD-compliant identity lookup, essential for PIX and C2C

  • Name / date of birth / status
  • Strict LGPD compliance
  • Auditable request logs
  • Cross-border compliance audit support
Learn more
Logistics
CT-e Transport Invoice

Brazil's electronic transport document, paired with NF-e

  • Normal / OS / GTV full model support
  • Automatically linked to NF-e
  • Essential for cross-border fulfillment
  • DACTE PDF archiving
Learn more
Logistics
MDF-e Transport Manifest

A transport declaration for multiple invoices on one vehicle, required interstate

  • Batch aggregation of NF-e / CT-e
  • Driver, vehicle & insurance binding
  • Auto-issued for interstate transport
  • Close / cancel / add-on events
Learn more
Logistics
DC-e Content Declaration

A legal transport document for non-taxpayers (modelo 64)

  • Individual CPF / company CNPJ, both
  • Move goods legally without an NF-e
  • Itemized content declaration
  • SEFAZ authorization + printable document
Learn more
Data
Brazil Tax Calculation API

ICMS / IPI / PIS / COFINS / ISS calculated in seconds

  • 27-state rate library + NCM linkage
  • ICMS-ST tax substitution
  • DIFAL interstate differential
  • CBS / IBS dual-track support
Learn more
Data
LGPD Compliance Data Gateway

A compliance layer when handling Brazilian personal data

  • Field-level encryption / masking
  • Purpose declaration & consent management
  • Data subject rights handling
  • Cross-border transfer audit
Learn more
Solutions
All TF Fiscal solutions

Explore the full portfolio of fiscal APIs, local data, logistics documents, and compliance tools for Brazil operations

View all 12+ solutions

Integrate in just 5 steps

We provide full onboarding support and technical guidance

1

Submit a partnership request

Fill in basic information and describe your business needs

2

Get a test environment

We provision a sandbox environment and API Key

3

Integration testing

Our technical team assists with end-to-end integration

4

Go live

Switch to production and start operating

5

Monitoring & ongoing support

24/7 monitoring and dedicated technical support

Why choose TF Fiscal?

Focused on Brazilian tax technology infrastructure, reducing risk for businesses abroad

Focused on Brazilian tax tech infrastructure

Continuously tracking tax policy changes
Dynamically updated rules engine
Expert technical team support
Stable service architecture

Reducing risk for businesses abroad

Reduced compliance exposure
Lower system development costs
Higher invoice success rate
Higher business automation

Typical system architecture

A clean, efficient way to integrate

Enterprise ERP / e-commerce system
TF Fiscal API
Brazilian tax authority (SEFAZ)
Status callback notifications
XML / PDF archiving

Customer trust & partner ecosystem

6.000+

Businesses served in Brazil

600k+

NF-e issued per day

200M+

Invoices issued

Data from the TF Software group

Start your Brazil compliance journey today

The Brazilian market holds huge potential, but compliance comes first.
Let a specialized tax API platform connect the last mile for your system.

Onboarding walkthrough
Scenario-based recommendations
Technical integration guidance

Talk to a specialist

Scan to add us on WeChat for one-on-one onboarding guidance

TF Fiscal WeChat QR code

Or email paulo.f@tfsoftware.com.br