Skip to content

Brazilian tax documents

Tax document issuing and captureconnected to your operation.

For companies operating in Brazil: issue NF-e, NFS-e and other Brazilian tax documents from your systems, capture the invoices received by each of your CNPJs and follow every response in the same flow.

Connect · Process · Automate: each document is born or arrives structured, then moves on to document management, reconciliation and the ERP.

Issued

Issued

ERP · billing

Received

Received

SEFAZ · municipalities

Today's documents3 CNPJs

  • IssuedNF-e 4,812R$12,480.00Aurora Distribuição · MGAuthorized
  • ReceivedNF-e 88,203R$7,340.20Aurora Distribuição · SPXML available
  • IssuedNFS-e 1,077R$1,840.00Aurora Serviços · CampinasRejected · reason given
  • ReceivedCT-e 31,904R$1,940.00Aurora Distribuição · MGCaptured
  • IssuedNFC-e 20,551R$189.90Aurora Varejo · RJSent · awaiting response

Sample data.

The routine today

More companies and documentsshouldn't mean more portals.

In Brazil, every CNPJ, every document type and every municipality adds one more system. Tax work turns into watching different screens and carrying the results back to your own systems.

  1. 01

    Issuing in different places

    Goods through the state SEFAZ, services through each city's portal, retail sales at the point of sale.

    “Which portal does this Campinas invoice go through again?”

  2. 02

    Chasing XMLs and received invoices

    The supplier's document arrives by email, when it arrives, and someone hunts for what's missing.

    Asking the supplier for the XML again to close the month.

  3. 03

    Following rejections and cancellations

    Each invoice's response is checked one by one, and whatever is still open gets lost in a spreadsheet.

    “Was NFS-e 1,077 fixed, or is it still rejected?”

  4. 04

    Updating systems with the response

    Protocol number, access key and final status go back into the ERP by hand, typed or imported.

    Copying the SEFAZ access key into the ERP order.

Today · five places

  • SEFAZ-SP portalIssuing NF-e
  • Campinas city portalIssuing NFS-e
  • Supplier's emailXML of a received invoice
  • Tracking spreadsheetRejections and open items
  • ERPAccess key and status typed in

With Openi · one operation

  • IssuedBy document type and company
  • ReceivedCaptured by CNPJ
  • Open itemsWith the reason and the next step
  • SystemsUpdated with the response

Illustration of the routine.

Issuing

Turn your operational datainto tax documents.

The sale, service or bill starts in your system. Openi receives the data, prepares the document under the right CNPJ, sends it and follows it until the tax authority responds.

ERP · order 55,120 → NFS-e · Aurora Serviços · Campinas · R$1,840.00

See the path
  1. 01Source dataOrder, contract or bill sent by the ERP, your platform or an integration.
  2. 02PreparationIssuing company, document type and the municipality's or state's settings.
  3. 03SubmissionDocument transmitted. From here on, processing is asynchronous.Sent · processing
  4. 04Tax authority responseSEFAZ or the municipality authorizes or rejects it.
    Authorized by the municipality
    Number
    1,078
    Protocol
    2026110612345
    Time
    Nov 6, 2026 10:42 AM
  5. 05Systems updatedThe result goes back to the system that requested the document.
    Response delivered to the ERP
    Files
    XML and PDF copy
    Order 55,120
    Updated with number and status

Sent at 10:41, authorized at 10:42. An invoice only counts as issued once it's authorized.

Illustrative demo of one issued document.

  • Data received from the ERP, your platform or an integration
  • Settings by company, document type, state and municipality
  • Required fields checked before submission
  • Submission and tracking through authorization
  • XML, auxiliary PDF and protocol returned, where applicable
  • Rejections returned with the reason, to fix and issue again

Sent is not authorized. In between, the document is processing, and your system knows it.

Documents and operations

Each documentwith the flow it requires.

Goods, retail, services, telecom and freight each have their own Brazilian tax document, with different authorities, events and rules. Each one runs with the setup it needs.

Electronic invoice for goods

Sales and movement of goods between companies, authorized by the SEFAZ of the issuer's state.

Operations
IssueLook upCancelCapture received
Responses and files
Authorized XML · DANFE (printed copy) · Authorization protocol · Access key
Events and specifics
  • Cancellation within the state's deadline
  • Correction letter for permitted adjustments
  • Invoices issued to your CNPJ captured from SEFAZ
Requires
Digital certificate and state tax registration for each issuing CNPJ.

Example · issued document

Sale to a resellerIssued

Issuer
Aurora Distribuição · SP
Recipient
Mercado Bom Preço · MG
Authorized

Sample data.

Issuing operation Capture operation

NFS-e

Find your municipality.Brazilian cities nationwide.

Brazilian municipalities where NFS-e is available on Openi, by state. Pick a state or type the city name. State and city pages are in Portuguese.

Loading the list…

Each company's connection is confirmed during onboarding.

Can't find your municipality? Talk to us

Capture and multiple companies

Documents from many CNPJs,with each company's context.

Invoices issued to your companies arrive without asking suppliers for the XML. Each CNPJ keeps its own setup, and the consolidated view never mixes one company with another.

How documents arrive.

  • Invoices addressed to your registered CNPJs, fetched from official sources
  • NF-e from SEFAZ, received CT-e, and NFS-e for services taken, depending on municipality coverage
  • Data and XML obtained according to what each source provides
  • Source and last update shown on every document
  • Documents found, files available and what's still missing

How multiple companies stay organized.

  • Setup, certificate and registrations per CNPJ
  • Headquarters, branches and group companies kept separate, in the same operation
  • Consolidated view filtered by company, document type and status
  • Open items identified by CNPJ

6 documentsConsolidated view

  • ReceivedNF-e 88,203Metalúrgica NorteR$7,340.20Aurora Distribuição · 12.345.678/0001-90 · SEFAZ · 10:30 AMXML available
  • ReceivedCT-e 31,904Rodovia Sul TransportesR$1,940.00Aurora Distribuição · 12.345.678/0002-71 · SEFAZ · 10:30 AMXML available
  • IssuedNF-e 4,812Mercado Bom PreçoR$12,480.00Aurora Distribuição · 12.345.678/0002-71 · Issued · 9:58 AMAuthorized
  • ReceivedNFS-e 2,340Consultoria PrismaR$4,500.00Aurora Serviços · 98.765.432/0001-10 · Municipality · 9:15 AMXML available
  • IssuedNFS-e 1,077Grupo AtlasR$1,840.00Aurora Serviços · 98.765.432/0001-10 · Issued · 10:42 AMRejected · reason given
  • IssuedNF-e 4,813Rede CentralR$5,920.00Aurora Distribuição · 12.345.678/0001-90 · Issued · 10:44 AMSent · awaiting response

Sample data.

A captured document is only the start. Reading, checking, approving and posting it to the ERP is document management.

Explore document management

Lifecycle

Track every documentand know where to act.

Every issued document is tracked from submission to response, with protocol, time and history. Tax status, integration status and the action needed are shown apart, because they are different things.

  1. Tax statusWhat SEFAZ or the municipality recorded: authorized, rejected, canceled, with a correction letter.
  2. Integration statusWhether the response came back and whether it has reached the system that requested the document.
  3. Action neededWhat someone has to do, and who. When there's nothing to do, the panel says so.

Tracking3 no action · 1 need action

Aurora Serviços · Campinas

NFS-e 1,077

Tax status
Rejected
Integration
Reason delivered to the ERP
Action needed
Tax team · Aurora Serviços

Reason: Service code not allowed in this municipality.

Fix the service code in the record and issue again

Timeline

  1. 10:41 AMData received from the ERP
  2. 10:41 AMDocument sent to the Campinas city government
  3. 10:42 AMRejected by the municipality, with the reason
  4. 10:42 AMReason delivered to the ERP on order 55,120

Sample data.

Cancellation requested is not cancellation confirmed: the invoice stays authorized until the tax authority registers the event.

Brazil's tax reform

Get your flows readyfor the new tax documents.

Brazil's consumption tax reform changes what invoices carry before it changes how taxes are calculated. New information groups enter the layouts, validation rules are adjusted by technical note, and every new field has to reach the systems that use it.

  1. 01New groups and fieldsIBS, CBS and the Selective Tax (the reform's new taxes) enter the NF-e and NFC-e layouts, with equivalents in other documents according to each one's technical notes.
  2. 02Validation rulesRejections tied to the new groups are switched on, postponed or adjusted by technical note version.
  3. 03Updates by document and versionEach document changes at its own pace: NF-e, NFC-e, NFS-e, CT-e and NFCom have their own schedules and layouts.
  4. 04Data all the way to your systemsA new field only matters if it reaches the ERP, tax and accounting systems that depend on it.

NF-e · item 1 · Sale of goods

NCM
8471.30.12
CFOP
5102
ICMS
18%

New · IBS and CBS group

CST
000
Tax classification
000001
Tax base
R$12,480.00
IBS · rate
Per state and municipality
CBS · rate
Per current law
  • ERP: order item and taxes
  • Tax: credit and debit per document
  • Accounting: accruals by period

Illustrative example. Fields and rates follow the current layout and Brazilian law.

  • Available

    Issuing and capture of the documents on this page, with responses and events delivered to your systems.

Dates, versions and rejection rules change with each technical note. Always check Brazil's National NF-e Portal and the official portal for each document; in the demo, the team shows what's already updated for the documents you use.

Integrations and next steps

From the source datato the next step in your operation.

Coverage depends on the document, the operation, where the data comes from and the destination system. The three most common paths:

  • Issue from the ERP

    1. Order or bill in the ERP
    2. Issued on Openi
    3. Response back to the ERP

    Number, protocol, XML and status written back to the original order.

  • Receive and pass to document management

    1. Invoice issued to your CNPJ
    2. Capture
    3. Document management
    4. Entry prepared

    The received document becomes checked data, ready for accounts payable.

    Document management
  • Run multiple CNPJs

    1. Group companies
    2. Consolidated tracking
    3. Handled per company

    One view for the tax team, without losing each CNPJ's certificate, registration and open items.

What happens to the document once it arrives: reading, checking, approval and posting to the ERP.

Explore document management

Customers

See this operationin practice.

WAM Group

Invoicing

40,000 invoices a month handled through the API

  1. Invoice data
  2. Issuing
  3. Webhook
  4. Document
Read the full story
Challenge
Several companies in the group, each sale and service with its own invoice under the right CNPJ, without checking invoice by invoice what was authorized or rejected.
What was built
Each issuer registered once. Issuing is one call, processing is asynchronous and every event reaches the group's system.
Events tracked
Authorization, rejection with the reason, cancellation and correction letter. Documents downloaded one by one or in bulk.

Proven results

invoices a month
40,000

FAQ

Before you issue and capture.What people ask before signing up.

Didn't find what you were looking for?

Talk to a specialist and get your answer straight from our team.

Talk to a specialist

Issuing, lookup and cancellation of NF-e, NFC-e, NFS-e and NFCom; capture of received NF-e and NFS-e; and capture and reading of CT-e. These are Brazilian tax documents, for companies operating in Brazil. What applies to each document, state and municipality is confirmed during onboarding.

Demo

See issuing and captureworking in your operation.

Tell us how many CNPJs you run and which Brazilian tax documents you issue or receive. An Openi specialist will reply by email.

  1. You leave your details

    It takes less than a minute.
  2. A specialist gets in touch

    To understand your banks, your ERP and what takes up the most time today.
  3. You see Openi at work

    Issuing, capture and responses in an operation like yours.

Demo environment: details are not stored or sent.