Integrate with Brazil's SEFAZ web services to issue and manage NF-e (Nota Fiscal Eletrônica)

domain: nfe.fazenda.gov.br · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain a valid ICP-Brasil digital certificate (e-CNPJ/e-CPF) required to authenticate and digitally sign NF-e XML documents
  2. Determine the correct regional SEFAZ virtual environment (e.g., SVAN, SVRS, or the issuing state's own SEFAZ) to which the business's NF-e submissions route
  3. Build and digitally sign the NF-e XML per the current national layout manual and submit it to the appropriate SEFAZ web service for authorization
  4. Handle the SEFAZ authorization response (Protocolo de Autorização); for accepted documents, generate the DANFE for accompanying the goods, and for rejections, correct and resubmit
  5. Implement contingency handling (e.g., SVC failover) for periods when the primary SEFAZ web service is unavailable, per the issuing state's contingency rules

Known gotchas

Related routes

Implement Brazil NF-e (Nota Fiscal Eletrônica) emission via a SEFAZ webservice for a product invoice
government-general · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans