• ISSUED
  • VERIFIED
  • VOIDED
  • MANUAL

How to issue NFC-e retail invoices with your AI

Connect Focus Varejo to your agent to handle retail sales documentation through simple text commands.

Ask AI about this page

Short answer

How can I use my AI to manage NFC-e invoices?

You can tell your agent to generate new retail invoices, look up existing ones, or cancel mistakes. It handles the API calls to Focus NFe so you don't have to touch the Focus Varejo dashboard. You get immediate confirmation or error reports in your chat window.

Where your sales data lands.

Document outcomes

The AI routes your requests to specific API actions based on what you ask.

ISSUED

New sales documents

The agent sends the transaction data to the API. You get the official invoice number and status immediately.

VERIFIED

Invoice lookups

Your agent pulls specific details from the Focus NFe database. You get the exact state of any consumer sale.

VOIDED

Error corrections

If a sale was wrong, the agent triggers a cancellation. This keeps your tax records accurate without manual entry.

MANUAL

Human oversight

The AI cannot change tax settings or register new products. You must handle those configurations in your main retail system.

The workflow

What your AI does when a sale happens.

The agent acts as the bridge between your conversation and the Focus NFe API.

  1. Create the sale

    When you provide the customer and product details, the agent sends the request to generate the document.

    emit_nfce
  2. Confirm status

    The agent checks the server to ensure the document was accepted or to see if it failed.

    consult_nfce
  3. Fix mistakes

    If you realize a sale was incorrect, the agent tells the API to void the specific document.

    cancel_nfce
  4. Verify records

    The agent pulls the current status of a specific invoice to keep your logs up to date.

    consult_nfce

Try it

Copy these to start.

Use these prompts to trigger the Focus Varejo tools.

Starting points

Swap out the bracketed info with your actual customer data 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_97jlda1FjDWmqq2QUr7BkzDbG7eDOZKCUjL6kGgo/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-varejo-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_97jlda1FjDWmqq2QUr7BkzDbG7eDOZKCUjL6kGgo/mcp"
    }
  }
}
Copy into chat04
  • Emit an NFC-e for a sale of [product name] at [price] for customer [name].

  • Check the status of NFC-e number [number].

  • Cancel the NFC-e with ID [number] because of a mistake.

  • List the details for the last NFC-e issued today.

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

Start here

Connect Focus Varejo once, then ask.

Enter your Focus NFe credentials once. Your connection stays encrypted and ready for your agent to use whenever you need it.

Connect Focus Varejo to your AI

FAQ

How the task behaves

  • 01

    Can my AI change my tax settings?

    No. The AI only uses the tools to emit, consult, or cancel documents. Tax configurations must be done in your Focus Varejo account.

  • 02

    Will the AI delete my historical sales data?

    No. The AI can only cancel specific invoices via the cancel tool. It cannot perform bulk deletions of your sales history.

  • 03

    How do I know if an invoice was actually issued?

    The agent will report the specific response from the API. If the tool succeeds, you will see the confirmation details in the chat.

  • 04

    Can the AI issue an invoice without a customer name?

    That depends on your specific tax requirements and the API rules, but the agent will only attempt what the tool allows.

  • 05

    Does the AI handle the payment processing?

    No. This connector only manages the electronic invoice (NFC-e) documentation. Payments are handled by your existing POS or payment gateway.

  • More questions about Focus Varejo? The Connector page answers them. See everything the Focus Varejo Connector can do

Connect Focus NFe to Claude, Cursor, ChatGPT & more