• COMPLIANCE
  • ACCOUNTING
  • STORAGE
  • HUMAN

How to retrieve XML tax files with your agent

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

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I automate XML tax file collection?

You tell your agent 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.

Your agent handles the heavy lifting of fetching files so you don't have to.

COMPLIANCE

Audit ready files

Your agent 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 agent can help organize them for your accounting software. This keeps your books accurate.

STORAGE

Local or cloud

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

HUMAN

Manual review

Your agent 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 agent does when you ask for files.

Your agent acts as the bridge between your chat and the NFe system.

  1. Parse the request

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

    download_xml
  2. Fetch the XML

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

    download_xml
  3. Validate files

    Your agent checks that the downloaded files are complete and match your specific criteria.

    download_xml
  4. Deliver data

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

    download_xml

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Focus NFe tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

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
  • 01

    Download the XML files for all NFe documents from [last Tuesday].

  • 02

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

  • 03

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

  • 04

    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 agent to pull files.

Connect NFe to your agent

FAQ

How this task behaves

  • 01

    Can your agent change data in NFe?

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

  • 02

    Does your agent handle the actual tax filing?

    No. Your agent 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 your agent 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 your agent 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

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Focus NFe to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Focus NFe plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Focus NFe to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.