Brazilian service invoices with artificial intelligence
Ask the AI for the invoice. It issues it.
Write what you need in plain language, like “issue an invoice of R$ 350 to Mariana”. The AI calculates, shows what it will do, issues the NFS-e and the customer gets the PDF and XML by email. It works with Claude Code and Cursor, for MEI and Simples Nacional.
5 free invoices, no card · single invoice R$ 1,14
You can issue Brazilian service invoices with AI: connect Claude Code or Cursor to Arquivix Notas with one command, sign in on the browser and ask for the invoice in plain language. The AI uses the Arquivix Notas MCP server to calculate taxes, issue the NFS-e for MEI and Simples Nacional and deliver the PDF and XML. Big actions (batch, spreadsheet, cancellation) show a preview and only run after you confirm.
How to issue an invoice with AI in 3 steps
From zero to your first test invoice, paying nothing and with no risk of issuing a real invoice by mistake.
- 01
Connect the AI in one command
In Claude Code, run the command below, then type /mcp, pick arquivix and Authenticate. In Cursor, the same address goes into .cursor/mcp.json and you click Connect.
Terminal claude mcp add --transport http arquivix https://api-notas.arquivix.com/mcp - 02
Approve on the browser and pick the environment
The browser opens for you to sign in, choose the workspace and the environment, test or production. No API key is copied. Start in test: it is free and unlimited, and the invoice has no fiscal value.
- 03
Ask for the invoice in plain language
Write what you need, as in the examples below. The AI lists your companies, calculates the taxes, issues and follows the invoice until it is authorized. When it makes sense, it shows a preview and waits for your yes.
What you can ask the AI
Real requests, with the tool the AI uses underneath and what happens. Names and amounts are demo data.
“Which companies do I have set up?”
tool: company_list
Lists the companies in your workspace, with the tax ID and the status of each one.
“Issue an invoice of R$ 350 to Mariana, a manicurist, for a nail service.”
tool: nfse_calculate · nfse_issue
Calculates the ISS and withholdings without using a credit, issues it, and the invoice is queued and authorized. The customer gets the PDF and XML by email.
“How much tax is on a R$ 2,000 consulting invoice?”
tool: nfse_calculate
Shows the ISS, withholdings and IBS/CBS (when they apply) before issuing, without issuing and without using a credit.
“Issue the 40 invoices in this spreadsheet.”
tool: import_create · import_rows · import_emit asks for confirmation
Reads the spreadsheet, points out the rows with errors and fixes them with your help. Shows a preview and only issues everything after you confirm.
“Issue these 12 invoices at once, one for each student on the list.”
tool: nfse_issue_batch asks for confirmation
Issues 1 to 50 invoices in a single call. Shows the preview first and only issues after your yes.
“Schedule this invoice on the 5th of every month for the gym.”
tool: nfse_issue · schedule_list
Creates the monthly recurrence. The invoice goes out at 9 a.m. (Brasília time) on a business day, and on Monday when it falls on a weekend.
“I got the amount wrong on Carlos's invoice, cancel it.”
tool: nfse_cancel asks for confirmation
Shows which invoice will be cancelled and only cancels after you confirm. The deadline is the city's, and cancelling an authorized invoice does not return the credit.
“Send this month's package to my accountant.”
tool: accountant_package_send asks for confirmation
Sends the accountant's email a link, valid for 7 days and with no login, to a ZIP with the XML, PDF and summary.csv.
“How many invoices did I issue in the last 30 days and how many do I have left?”
tool: invoices_overview · credits_balance
Summarizes the invoices of the period by status and shows the balance of invoices you can still issue.
“Resend Mariana's invoice email, she could not find it.”
tool: nfse_email_resend
Sends the email again with the Download PDF and Download XML buttons.
Ready-to-copy recipes
The same recipes as the MCP documentation: swap the data in brackets, paste into the agent and try it first on a test connection, which has no fiscal value and uses no credit.
First invoice, never issued one before
I have never issued an invoice. My CNPJ is [your CNPJ]. Look it up, create my company on Arquivix Notas, tell me what is missing to issue and then issue a test NFS-e of R$ 100.
The agent uses: cnpj_lookup → company_create → company_fiscal_status (what is missing, such as the A1 certificate) → nfse_calculate → nfse_issue. The A1 certificate goes through the dashboard, or through the agent if you tick the nfse:certificates permission.
One invoice, with a preview
Calculate the taxes of an NFS-e of R$ 350 to Mariana Souza (CPF [her CPF], email [her email]), manicure service. Show me the result and, if I approve, issue it and send her the PDF and the XML by email.
The agent uses: nfse_calculate (no issuing, no credit used) → nfse_issue with send_email → nfse_query. Issuing a single invoice is direct, so ask for the preview in the prompt, as above.
Several invoices at once
Issue these invoices for the company [CNPJ]: R$ 150 to João (CPF [CPF]), R$ 220 to Ana (CPF [CPF]) and R$ 90 to Carlos (CPF [CPF]).
The agent uses: nfse_issue_batch (1 to 50 invoices per call). The first call returns the preview (status: "preview"); the agent only issues with confirm: true after you agree.
A spreadsheet with hundreds of sales
Import the spreadsheet vendas-novembro.xlsx, fix the rows with errors and show me the total before issuing.
The agent uses: import_create → import_get → import_rows → import_fix_row → import_emit (preview, then confirm: true). Up to 2,000 rows; through the agent, files up to 1 MB (in the dashboard, up to 10 MB).
Recurring invoice, every month
Schedule an NFS-e of R$ 1,200 to [client] (CNPJ [CNPJ]) every month, starting on January 5, and email the PDF and the XML to the client.
The agent uses: nfse_issue with emission_type: "RECURRING", recurrence_frequency: "MONTHLY" and competence_date (the first run). Runs at 9 a.m. (Brasília) on business days; a weekend date runs on Monday. Follow and change it with schedule_list, schedule_update, schedule_pause and schedule_cancel.
The month package to the accountant
Send the November package of the company [CNPJ] to my accountant.
The agent uses: accountant_package_send: the preview shows the month, the email and the number of invoices; it sends with confirm: true. Live environment only. The accountant gets a link valid for 7 days to the ZIP with XML, PDF and resumo.csv. It already goes out by itself on the 1st of every month; this is for sending it earlier.
How did the month go
How did my invoices go in the last 30 days? How many were rejected and why?
The agent uses: invoices_overview (period: "30d") → nfse_list → nfse_get for the rejected ones.
Cancel an invoice
Cancel the invoice [number or ID]: the service was not provided.
The agent uses: nfse_cancel with reason: "service_not_provided" and a description (15 to 255 characters). It returns the preview first and only cancels with confirm: true.
What if the AI gets the invoice wrong?
It is the right question. That is why the MCP server was built so you see first and decide.
Preview and confirmation on big actions
Issuing a spreadsheet or a batch, cancelling and replacing invoices and buying invoices only happen after the AI shows the preview and you confirm. Without the confirmation, nothing is done.
The tax shows before issuing
The calculation shows ISS, withholdings and IBS/CBS (when they apply) without issuing and without using a credit. You check the amount before the invoice exists.
Free, unlimited testing
The connection is tied to one environment. In test you can make mistakes freely: it has no fiscal value and uses no invoice. Reconnect in production only when you feel safe.
No API key in the middle
The connection uses a browser sign-in (OAuth 2.1 with PKCE). You pick the workspace and the environment on the approval screen, and you can disconnect whenever you want.
Verified in the MCP directories
The Arquivix Notas server is published in the protocol's official registry and in the main directories, which check who owns it and test the connection.
- Official MCP Registry Verified domainPublished as com.arquivix.notas/nfse. The registry only accepts that name from whoever proves control of the arquivix.com domain.
- Glama Verified owner · HealthyOfficial listing, published by Arquivix itself. Glama connects with an OAuth login, tests the server and marks it healthy.
- mcptry Security A · 100/100Verified domain, an A grade in the security scan and 100% uptime over 30 and 90 days in mcptry's monitoring.
- mcp.so Verified · FeaturedListing with the verified badge, featured in the directory, with the tool list and usage recipes.
Badges and numbers are given by the directories themselves. Checked on Dec 1, 2026.
Works with Claude Code and Cursor
They are the two programs tested and verified with the Arquivix Notas connection.
Claude Code
One command in the terminal and approval on the browser.
Cursor
The server address in the .cursor/mcp.json file and Connect.
Other assistants that accept remote MCP follow each program's own documentation, but they were not verified with Arquivix Notas, so we do not promise they work.
Start free, in test
Connect, ask for a test invoice and watch it work. When you want to issue for real, the first 5 invoices are free.
5 free invoices, no card · single invoice R$ 1,14
Frequently asked questions
Can I issue Brazilian invoices with artificial intelligence?
Yes. You connect Claude Code or Cursor to Arquivix Notas and ask for the invoice in plain language. The AI uses the Arquivix Notas MCP server to calculate taxes and issue the NFS-e for MEI and Simples Nacional. Big actions show a preview and only run after you confirm.
How do I connect the AI to Arquivix Notas?
In Claude Code, run claude mcp add --transport http arquivix https://api-notas.arquivix.com/mcp, type /mcp, pick arquivix and Authenticate, and approve on the browser. In Cursor, put the same address in .cursor/mcp.json and click Connect. On approval you choose the workspace and the environment, test or production.
Can the AI issue a wrong invoice?
It can make mistakes like anyone, so there are three protections. The tax calculation shows before issuing and uses no credit. Big actions (spreadsheet, batch, cancellation, replacement) show a preview and wait for your confirmation. And the test environment is free and unlimited, so you can practice first. A single invoice you ask for goes out directly, so check the request.
Do I need to code or to understand invoices?
You write in plain language, like in a conversation. You need Claude Code or Cursor installed and to connect once, and the AI handles the rest. For the first invoice, Arquivix Notas has a step-by-step guide and the free test environment.
Can I issue invoices through ChatGPT or another AI?
The connection is verified with Claude Code and Cursor. Other assistants that accept remote MCP may follow each program's documentation, but they were not verified with Arquivix Notas, so we do not promise they work.
Do I need a digital certificate?
To issue an NFS-e with fiscal value, yes: the company's A1 certificate, stored encrypted and bought separately. In the test environment you do not need it. Issuing without a certificate, through electronic power of attorney, is in testing and coming soon.
How much does it cost to issue invoices with AI?
What costs is the invoices: the first 5 are free, with no card; testing is free and unlimited; after that each single invoice costs R$ 1,14 (minimum of 6 invoices, R$ 6,84, no expiry). The monthly or annual plans, with 30% off, start at Solo, with 100 invoices a month.
Does it work for MEI and Simples Nacional?
Yes. The NFS-e on the national standard is in production for MEI, Simples Nacional, Lucro Presumido and Lucro Real. NF-e and NFC-e are in testing, coming soon.
Can I ask for many invoices at once?
Yes. With a spreadsheet, the AI imports a CSV or Excel file of up to 2,000 rows and 10 MB, shows the rows with errors and issues everything after you confirm. With a batch, it issues 1 to 50 invoices in one call, also with a preview.
Can the AI schedule an invoice for every month?
Yes. You ask “schedule this invoice on the 5th of every month” and it creates the weekly, biweekly or monthly recurrence. The invoice goes out at 9 a.m., Brasília time, on a business day, and on Monday when the date falls on a weekend.
Can the AI send the invoices to my accountant?
Yes. When you ask “send this month's package to my accountant”, the AI emails a link, valid for 7 days and with no login, to a ZIP with the previous month's XML, PDF and summary.csv, up to 500 invoices per package. The automatic send also happens by itself on the 1st of every month.
Does it work in my city?
Issuing uses the national environment of the Receita. Check the list of municipalities in the documentation: being on the list does not guarantee every invoice is accepted.
Keep going