- XML
- EVENTS
- HUMAN
Short answer
How do I get XML and PDF invoices using my AI?
You tell your AI which NF-e files you need, and it uses Focus Admin tools to fetch the XML or DANFE PDF. You'll get the direct files without logging into the Focus Admin dashboard manually.
The results of your request.
What you get from your AI.
The AI handles the heavy lifting of finding and grabbing the right documents.
XML
Raw XML files
The AI pulls the specific XML data for the NF-e you requested. You get the raw files needed for accounting or system imports.
DANFE PDFs
Request the visual version of the invoice. Your AI fetches the DANFE PDF so you can view or print it immediately.
EVENTS
Event XMLs
If an invoice has updates, the AI can pull those specific event files. This keeps your records current.
HUMAN
Manual review
The AI fetches the files, but you decide which ones to save or forward. You stay in control of the final document handling.
The workflow
What your AI does when you ask for a file.
The AI translates your natural language request into specific tool calls to Focus Admin.
Identify the invoice
Your AI looks at your request to figure out which NF-e or event you are talking about.
download_nfe_xmlFetch the XML
The AI pulls the raw XML data for the requested NF-e.
download_nfe_xmlGet the PDF
If you asked for the visual document, the AI grabs the DANFE.
download_nfe_danfeRetrieve events
For specific invoice updates, the AI pulls the relevant event XML.
download_event_xml
Try it
Copy these to start.
Use these prompts to trigger the file downloads.
Starting points
Replace the bracketed info with your actual invoice numbers or dates.
Focus NFe Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_gv7tw4naG0Gm4qYRFdVouQJFmPRX3mKFf7NgrEGj/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-admin-mcp": {
"url": "https://edge.vinkius.com/vk_preview_gv7tw4naG0Gm4qYRFdVouQJFmPRX3mKFf7NgrEGj/mcp"
}
}
}Download the XML for NF-e 123456789.
I need the DANFE PDF for the invoice from yesterday.
Get the XML event file for NF-e 987654321.
Can you grab the XML and the DANFE for invoice 554433?
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Focus Admin once, then ask.
One connection gives your AI access to your Focus Admin data. Your credentials stay encrypted and secure.
Connect Focus Admin to your AIFAQ
How the task behaves
- 01
Can the AI change invoice data?
No. The tools only allow for downloading existing files; they cannot edit or delete any invoice information.
- 02
Can I download files for invoices not in Focus Admin?
No. The AI can only access files that are already present in your Focus Admin account.
- 03
Does the AI save the files to my computer automatically?
No. The AI fetches the files and provides them to you in the chat interface, where you can then save them.
- 04
Can the AI create new NF-e files?
No. This Connector is strictly for retrieving XML and PDF files that already exist.
- 05
Do I need to provide the NF-e number every time?
Yes. To ensure the AI pulls the correct file, you should specify the invoice number or the specific event you need.
More questions about Focus Admin? The Connector page answers them. See everything the Focus Admin Connector can do
Connect Focus NFe to Claude, Cursor, ChatGPT & more
