• COMPLIANCE
  • ACCOUNTING
  • STORAGE
  • HUMAN

How to retrieve XML tax files with your AI

Connect NFe to your AI client once. After that, you can pull specific tax documents whenever you need them.

Ask AI about this page

Short answer

How can I automate XML tax file collection?

You tell your AI which documents you need, and it uses the NFe connector to fetch the authorized XML files. This puts the data directly in your hands for accounting or compliance. Here is how it works.

Where your data lands.

The results of your request.

The AI handles the heavy lifting of fetching files so you don't have to.

COMPLIANCE

Audit ready files

The AI pulls the exact XML files required for tax compliance. You get the raw, authorized data needed for your records.

ACCOUNTING

Clean data sets

Once the files are retrieved, your AI can help organize them for your accounting software. This keeps your books accurate.

STORAGE

Local or cloud

The AI fetches the files and prepares them to be saved to your drive or a cloud folder. You decide where they go.

HUMAN

Manual review

The AI doesn't sign off on tax filings. You still need to check the retrieved data to ensure it matches your internal books.

The workflow

What your AI does when you ask for files.

The AI acts as the bridge between your chat and the NFe system.

  1. Parse the request

    Your AI reads your message to identify which specific tax documents or date ranges you need.

    download_xml
  2. Fetch the XML

    The AI uses the connector to reach into NFe and grab the authorized XML files you asked for.

    download_xml
  3. Validate files

    The AI checks that the downloaded files are complete and match your specific criteria.

    download_xml
  4. Deliver data

    The AI presents the files or the data within them so you can move them into your accounting tools.

    download_xml

Try it

Copy these to start.

Use these prompts to trigger the NFe connector.

Starting points

These are opening lines. Swap out the bracketed info with your actual dates or invoice numbers.

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
  • Download the XML files for all NFe documents from [last Tuesday].

  • Get the XML for invoice number [12345] from the NFe system.

  • Retrieve all authorized XML tax files for the month of [October].

  • Find and download the XML document for [recent shipment ID].

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

Start here

Connect NFe once, then ask.

Link your NFe account to the MCP. Your credentials stay encrypted on our side, and you can immediately start asking your AI to pull files.

Connect NFe to your AI

FAQ

How this task behaves

  • 01

    Can the AI change data in NFe?

    No. The AI can only retrieve and download existing XML files. It cannot edit or delete any records in your NFe account.

  • 02

    Does the AI handle the actual tax filing?

    No. The AI retrieves the necessary XML files for you, but you are responsible for the actual submission and filing process.

  • 03

    Can I download files for a specific date range?

    Yes. You can specify any date range in your prompt, and the AI will fetch the corresponding XML files.

  • 04

    Will my NFe login be shared with the AI model?

    No. Your login credentials are encrypted and managed by Vinkius. The AI client only uses the tools provided by the MCP.

  • 05

    Can the AI download files in formats other than XML?

    No. This specific tool is designed to retrieve authorized XML documents.

  • More questions about NFe? See everything the NFe Connector can do

Connect Focus NFe to Claude, Cursor, ChatGPT & more