• ISSUED
  • DRAFTS
  • HUMAN
  • LOGS

How to issue Brazilian fiscal invoices with your AI

Connect Focus NFe to your agent to handle tax document generation through chat. You provide the details, and your AI handles the technical submission.

Ask AI about this page

Short answer

How can I issue NF-e and NFS-e using my AI?

You give your agent the customer and product details in plain text. The AI then uses specific tools to generate and submit the documents. This replaces manual entry into tax portals.

Where your documents land.

The outcomes of your requests.

The AI processes your text and routes the resulting files to these destinations.

ISSUED

Live tax documents

The AI completes the submission process. You get valid, legally recognized NF-e or NFS-e files.

DRAFTS

Reviewable entries

If the data is incomplete, the AI prepares a draft. You check the numbers before final submission.

HUMAN

Manual intervention

When tax rules require a signature or specific manual authorization, the AI flags it for you to finish.

LOGS

Audit trails

Every successful or failed attempt is recorded. You can ask your agent to list recent activity.

The workflow

What your AI does when a request arrives.

The agent translates your natural language into structured tax data.

  1. Parse details

    Your agent extracts the buyer's CNPJ, product values, and tax codes from your message.

    emit_nfeemit_nfse
  2. Generate NF-e

    The agent sends the structured data to the tax authority to create a standard product invoice.

    emit_nfe
  3. Generate NFS-e

    For service-based transactions, the agent handles the specific requirements for service invoices.

    emit_nfse
  4. Confirm status

    The agent verifies if the document was accepted or rejected by the government system.

    emit_nfeemit_nfse

Try it

Copy these to start.

Use these prompts to trigger the first invoice.

Starting points

Swap the bracketed info with your actual client data and product prices.

Focus NFe Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_Vu8VDwORqN3itzXZWHiiXsz3NsjwF5EQKPSPFqWU/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Focus NFe capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "focus-nfe-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_Vu8VDwORqN3itzXZWHiiXsz3NsjwF5EQKPSPFqWU/mcp"
    }
  }
}
Copy into chat04
  • Issue an NF-e for client [CNPJ] for the sale of [Product] worth [Value].

  • Generate an NFS-e for [Service Name] provided to [Client Name].

  • Create a new product invoice for [Customer Name] with a total of [Amount].

  • Draft an NFS-e for the consulting service provided to [Company Name].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Focus NFe once, then ask.

One connection links your agent to the tax tools. Your credentials stay encrypted and secure.

Connect Focus NFe to your AI

FAQ

How this task behaves.

  • 01

    Can the AI sign the invoice automatically?

    No. The AI handles the data and submission, but digital signatures or specific manual authorizations remain with the human.

  • 02

    Does the AI decide the tax rates?

    No. The AI uses the tax codes and rates you provide in your prompt or your existing database.

  • 03

    Can I cancel an invoice through the AI?

    No. The current tools are limited to issuing NF-e and NFS-e documents.

  • 04

    What happens if the tax authority rejects the document?

    The AI receives the error message from the system and reports the specific reason to you in chat.

  • 05

    Can the AI change my company's registration data?

    No. The AI only performs the actions defined by the emission tools.

  • More questions about Focus NFe? The Connector page answers them. See everything the Focus NFe Connector can do

Connect Focus NFe to Claude, Cursor, ChatGPT & more