• XML
  • PDF
  • EVENTS
  • HUMAN

How to download XML and PDF invoices with your agent

Connect Focus Admin to your AI client once. After that, you ask for the files you need.

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 do I get XML and PDF invoices using my AI?

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

Your agent handles the heavy lifting of finding and grabbing the right documents.

XML

Raw XML files

Your agent pulls the specific XML data for the NF-e you requested. You get the raw files needed for accounting or system imports.

PDF

DANFE PDFs

Request the visual version of the invoice. Your agent fetches the DANFE PDF so you can view or print it immediately.

EVENTS

Event XMLs

If an invoice has updates, your agent can pull those specific event files. This keeps your records current.

HUMAN

Manual review

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

Your agent translates your natural language request into specific tool calls to Focus Admin.

  1. Identify the invoice

    Your agent looks at your request to figure out which NF-e or event you are talking about.

    download_nfe_xml
  2. Fetch the XML

    Your agent pulls the raw XML data for the requested NF-e.

    download_nfe_xml
  3. Get the PDF

    If you asked for the visual document, your agent grabs the DANFE.

    download_nfe_danfe
  4. Retrieve events

    For specific invoice updates, your agent pulls the relevant event XML.

    download_event_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 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.

Connector linkhttps://edge.vinkius.com/vk_preview_gv7tw4naG0Gm4qYRFdVouQJFmPRX3mKFf7NgrEGj/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-admin-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_gv7tw4naG0Gm4qYRFdVouQJFmPRX3mKFf7NgrEGj/mcp"
    }
  }
}
Copy into chat04
  • 01

    Download the XML for NF-e 123456789.

  • 02

    I need the DANFE PDF for the invoice from yesterday.

  • 03

    Get the XML event file for NF-e 987654321.

  • 04

    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 agent access to your Focus Admin data. Your credentials stay encrypted and secure.

Connect Focus Admin to your agent

FAQ

How the task behaves

  • 01

    Can your agent 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. Your agent can only access files that are already present in your Focus Admin account.

  • 03

    Does your agent save the files to my computer automatically?

    No. Your agent fetches the files and provides them to you in the chat interface, where you can then save them.

  • 04

    Can your agent 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 each time?

    Yes. To ensure your agent 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

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.