- STATUS
- VOID
- LOGS
- HUMAN
Short answer
Can I track and cancel NFe invoices with my AI?
Yes. Your agent uses Focus NFe to look up document statuses and void authorized invoices. You'll get real-time updates on whether an invoice is valid or already canceled.
Where every action lands.
The outcomes of your requests.
Depending on what you ask, your agent will provide data or execute changes in Focus NFe.
STATUS
Document verification
The AI pulls the current state of an NFe. You'll see if it's authorized, canceled, or pending.
VOID
Invoice cancellation
The agent voids authorized documents. This updates the status in Focus NFe immediately.
LOGS
Audit trail
You get a clear view of the document history. This helps you confirm that a cancellation actually went through.
HUMAN
Manual intervention
If a document is already canceled or blocked, the AI will tell you. You'll need to handle those cases manually in your ERP.
The workflow
What your AI does when you ask about invoices.
The agent acts as a bridge between your chat interface and the Focus NFe system.
Lookup
The agent searches for the specific NFe you're asking about to find its current status.
consult_documentValidation
It checks if the document is in a state that allows for cancellation.
consult_documentCancellation
The agent sends the command to void the authorized invoice.
cancel_documentConfirmation
The agent verifies the change was successful by checking the document again.
consult_document
Try it
Copy these to start.
Use these prompts to trigger actions in Focus NFe.
Starting points
Replace the bracketed info with your actual NFe numbers or client names.
Focus NFe Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_Vu8VDwORqN3itzXZWHiiXsz3NsjwF5EQKPSPFqWU/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Focus NFe capabilities are ready to use.
{
"mcpServers": {
"focus-nfe-mcp": {
"url": "https://edge.vinkius.com/vk_preview_Vu8VDwORqN3itzXZWHiiXsz3NsjwF5EQKPSPFqWU/mcp"
}
}
}Check the status of NFe 12345.
Can you cancel invoice 67890 for me?
Is NFe 55443 still authorized?
Find the status of the last invoice issued to Acme Corp.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Focus NFe once, then ask.
Just link your account once. Your credentials stay encrypted, and you can start managing invoices in any MCP-compatible client.
Connect Focus NFe to your AIFAQ
How this task behaves.
- 01
Can the AI create a new invoice?
No. This MCP only handles looking up existing documents and canceling authorized ones.
- 02
What happens if I try to cancel an already canceled invoice?
The AI will report that the document cannot be canceled because its status is already set to canceled.
- 03
Does the AI delete the invoice from the system?
No. It only voids authorized invoices. The record remains in the system with a canceled status.
- 04
Can the AI change the values on an invoice?
No. The tools only allow for status consultation and cancellation.
- 05
Do I need to stay in the chat to finish the cancellation?
No. Once the agent executes the command, the change is live in Focus NFe.
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
