Skip to main content
Glama

Arquivix Notas · NFS-e

Server Details

Issue Brazilian NFS-e (national standard) by chat for MEI, Simples Nacional, Lucro Presumido and Lucro Real. Your AI calculates the tax before issuing (no credit spent), shows a preview, issues, imports spreadsheets (up to 2,000 rows), schedules recurring invoices, cancels, substitutes and sends the monthly package to your accountant. Batch, cancel and credit purchase ask for confirmation. OAuth 2.1 + PKCE. Tested with Claude Code and Cursor. 5 free invoices, no credit card; pay-as-you-go R$ 1.14 per invoice.

Ownership verified
Status
Healthy
Uptime
40.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A3.5/5.0

Scored across 66 tools

Disambiguation3/5

The domain is decomposed by resource and operation, but the nfse_* family multiplexes NFS-e, NF-e and NFC-e via a type parameter while a separate nfe_* family exists, creating real selection ambiguity. Overlaps such as nfse_download_pdf vs nfse_get_download_url and nfse_get vs nfse_query add friction, though the detailed descriptions usually clarify the intended choice.

Naming Consistency3/5

Names are overwhelmingly snake_case and domain-prefixed, but the convention is not uniform: most are noun_verb, while status/overview tools are noun_noun, and the nfse_ prefix is used for NF-e/NFC-e operations. The set remains readable, but agents cannot reliably infer document type from the prefix alone.

Tool Count1/5

At 66 tools, the surface is far beyond a practical agent-facing set, even for a broad fiscal domain. Many operations could be consolidated or grouped behind resource-level tools; the sheer count creates high selection and maintenance cost.

Completeness4/5

Coverage is unusually broad: company and certificate setup, NFS-e/NF-e/NFC-e/CT-e lifecycles, imports, schedules, credits, customers, service favorites and webhooks. Remaining gaps are mostly secondary (no direct customer creation, no CT-e download/email helper, limited webhook configuration), so core workflows are covered.

Publisher details

Operator
Arquivix
Vendor relationship
First-party
Trust center
Not provided
Restrictions
Not provided

Available Tools

66 tools
accountant_package_sendA
Destructive
Inspect

Sends the month package (ZIP with XML, PDF and resumo.csv of the notes of the month) to the accountant email saved on the company. Without confirm: true nothing is sent: it returns a preview with the month, the recipient email and the note count. With confirm: true it sends. Sends in the live environment only; the month defaults to the previous one.

Inputs: month, tax_id, confirm, company_id.

billing_usageA
Read-onlyIdempotent
Inspect

Get the current plan quota and whether the workspace can emit another NFS-e.

Inputs: no named parameters.

certificate_uploadA
DestructiveIdempotent
Inspect

Upload the A1 digital certificate (.pfx/.p12, base64) and its password for a company that already exists in the connected environment. Arquivix Notas stores both encrypted and never returns them. Replaces the company's previous certificate. Needs the optional certificate permission granted when connecting.

Inputs: tax_id (required), password (required), pfx_base64 (required).

cnpj_lookupA
Read-onlyIdempotent
Inspect

Look up the public registration data of any CNPJ (legal name, trade name, address, IBGE municipality code, whether it is Simples Nacional or MEI, whether it is active, and its main activity (CNAE)). When the activity clearly matches a service code it also returns suggested_service_code: only a suggestion, not a confirmed code. The data can pre-fill a new company or a customer. It reads the public registry, not the companies registered in this workspace. Fails when the CNPJ is invalid, when the registry does not know it (CNPJ_NOT_FOUND) or when the registry has no answer right now (CNPJ_LOOKUP_UNAVAILABLE, temporary).

Inputs: cnpj (required).

company_createAInspect

Create an issuing company in the connected environment. A certificate is deliberately not accepted here: it is uploaded separately, after the company exists (needs the certificate permission granted when connecting). default_service_code is optional and becomes the default service code of every invoice of the company; a code suggested by the CNPJ registry is only a suggestion.

Inputs: tax_id (required), legal_name (required), tax_regime (required), municipality_code (required), +9 more.

company_fiscal_statusA
Read-onlyIdempotent
Inspect

Read-only fiscal situation of one company: the current fiscal profile (tax regime, Simples Nacional, review status), the service tax profiles in effect today, the digital certificate status (active or expired and its expiry date; never the certificate file or password) and the DPS numbering (series and last number used). It answers questions such as "meu certificado está válido?", "qual meu regime?" or "em que número de DPS estou?". Takes company_id or tax_id (CNPJ). A company without a valid certificate cannot issue.

Inputs: tax_id, company_id.

company_getA
Read-onlyIdempotent
Inspect

Get one company by CNPJ in the connected environment. Returns company null when the CNPJ is not registered in this workspace.

Inputs: tax_id (required).

company_listA
Read-onlyIdempotent
Inspect

List the companies (issuers) of the workspace in the connected environment. Each company comes with its company_id, its CNPJ and setup_gaps (empty when the company is ready to issue). With tax_id it returns only that CNPJ.

Inputs: limit, cursor, tax_id.

company_numbering_checkA
Read-onlyIdempotent
Inspect

Checks with the government whether the next note numbers (DPS) of a company were already used, for example when the company issued before on the government portal or in another system. Read-only: it issues nothing and never changes the numbering. It is informational: issuing already skips the numbers the government confirms as used on the first note of a company. Takes company_id or tax_id (CNPJ).

Inputs: tax_id, company_id.

company_updateA
Idempotent
Inspect

Update the safe registration data of a company: trade name, address, default service code and municipality code. Send only what changes. It does NOT change the CNPJ, legal name, tax regime, rates, certificate (uploaded separately) or DPS numbering, and it cannot delete the company: those stay in the dashboard or the Companies API. Changing the municipality code changes the place of service of future invoices.

Inputs: company_id (required), address, trade_name, municipality_code, +1 more.

credits_balanceA
Read-onlyIdempotent
Inspect

Credit balance of the workspace (notes left in the plan plus avulso notes) and, optionally, the recent credit history. It answers questions such as "quantas notas ainda posso emitir?" or "onde foram meus créditos?". With include_history=true it also returns the latest credit transactions, paginated with limit and cursor.

Inputs: limit, cursor, include_history.

credits_purchaseA
Destructive
Inspect

Create a charge to buy avulso invoice credits (R$ 1.14 per note, minimum 6 notes, they never expire). Unit price is 1.14 BRL. method "pix" returns a QR Code image, the copy-and-paste code and a payment link; method "card" returns a Stripe checkout link. This tool only creates the charge: the payment is completed by the person, and the server never moves money. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs. The preview shows the quantity, the total in BRL and the method.

Inputs: units (required), method (required), name, tax_id, +1 more.

cte_cancelA
DestructiveIdempotent
Inspect

Cancel an authorized CT-e at the SVRS (event 110111). It cannot be undone. Justification of 15 to 255 characters. The event starts as pending and its final status shows on the CT-e. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: cte_id (required), justification (required), confirm.

cte_correctA
Destructive
Inspect

Sends a correction letter (CC-e, event 110110) for an authorized CT-e: 1 to 20 fields, each {group (grupoAlterado, e.g. "compl"), field (campoAlterado, e.g. "xObs"), value, item? (for repeated groups)}. It cannot change the values, the taxes, the issuer, taker, sender or recipient, or the date (art. 58-B of the Convênio SINIEF 06/89). The event starts as pending and its final status shows on the CT-e. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: cte_id (required), corrections (required), confirm.

cte_discardA
DestructiveIdempotent
Inspect

Give up a rejected CT-e: it becomes discarded (final) and is not sent again. The credit is already back. Nothing goes to the SVRS. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: cte_id (required), confirm.

cte_getA
Read-onlyIdempotent
Inspect

One CT-e: status, series, number, access key, protocol, the SVRS answer (cStat, xMotivo), the content and its events (cancellation and correction letters, with status and protocol).

Inputs: cte_id (required).

cte_issueA
DestructiveIdempotent
Inspect

Issue a road CT-e (model 57, normal emission) for the carrier. In live it uses 1 credit (the test environment is free) and goes to the SVRS in the background: the answer is queued and the final status shows on the CT-e. A rejection gives the credit back and the rejected CT-e can be corrected and sent again. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: cte (required), company_id (required), idempotency_key (required), confirm.

cte_listA
Read-onlyIdempotent
Inspect

List the road CT-e (model 57) of the workspace in the current environment, newest first. Filters: company_id, status. Paginated with limit and cursor.

Inputs: limit, cursor, status, company_id.

cte_readinessA
Read-onlyIdempotent
Inspect

Asks the CCC of the SVRS now whether the carrier is credentialed to issue CT-e (indCredCTe), and what else is missing (certificate, RNTRC, settings). A carrier that is not credentialed cannot issue CT-e.

Inputs: company_id (required).

cte_resubmitA
Destructive
Inspect

Correct a rejected CT-e and send it again with the whole new body (same number, new key). In live it uses 1 credit again. Only for status rejected. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: cte (required), cte_id (required), company_id (required), confirm.

cte_syncA
Idempotent
Inspect

Asks the SVRS by key what it has for a CT-e without a final answer (processing, retry_pending, reconciliation_required) and brings the status up to date. Changes nothing at the SVRS.

Inputs: cte_id (required).

customer_deleteA
DestructiveIdempotent
Inspect

Forget a saved customer. Invoices already issued do not change; the name is no longer filled in for that CPF/CNPJ. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: tax_id (required), confirm.

customer_listA
Read-onlyIdempotent
Inspect

List the customers saved from earlier invoices, most recently used first. search matches the name, so it finds the CPF/CNPJ of a customer; an invoice for a saved customer needs only the tax_id, the name is filled in.

Inputs: limit, offset, search.

customer_updateA
Idempotent
Inspect

Correct the name, email, NF-e address or state registration (IE) of a saved customer. Applies to the next invoices only; invoices already issued do not change. Send a field as null to remove it. An NF-e for a saved customer is filled from this address and IE.

Inputs: tax_id (required), name, email, address, +2 more.

import_createAInspect

Start an import of invoices from a spreadsheet. Send the file as text: content with the CSV (header in the first line, columns such as cnpj_prestador, tomador_documento, tomador_nome, tomador_email, descricao, valor, codigo_servico, data_competencia), or content_base64 with an .xlsx. Up to 2,000 rows and 1 MB here (bigger files: POST /v1/imports). Reading is asynchronous: the import starts as "processing" and becomes "ready" for review; nothing is issued until the rows are emitted. The issuing company comes from the CNPJ column or from company_id.

Inputs: content, file_name, company_id, content_base64.

import_discardA
DestructiveIdempotent
Inspect

Discard an import that has not been emitted yet. Nothing is issued. Not possible once emitting or done.

Inputs: import_id (required).

import_emitA
DestructiveIdempotent
Inspect

Issue every valid row of the import, in chunks. Idempotent: running it again sends only the rows not sent yet. If credits run out, rows are left awaiting_credits and go out on a later run after a top-up. Progress shows in the import status. Issuing many notes cannot be undone. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs. The preview shows the rows to issue, the total amount, the companies and whether e-mails go out (they do not through this tool).

Inputs: import_id (required), confirm.

import_fix_rowA
Idempotent
Inspect

Correct one row of an import that is ready, and check it again. Send the invoice fields that change in item (amount, competenceDate, customer {name, taxId, email}, service {description, code}); customer and service are merged field by field, so sending only the e-mail keeps the name. The company of a row (companyId, companyTaxId) cannot be changed. Returns the row, valid or still invalid with the reason.

Inputs: item (required), line (required), import_id (required).

import_getA
Read-onlyIdempotent
Inspect

Status and counters of an import: processing, ready (to review), emitting, done or failed. Counters: total, valid, invalid, accepted, authorized, awaiting_credits (turned away for lack of credits, not errors), failed, pending, and valid_amount in BRL. While processing, rows_expected tells how many rows the file has.

Inputs: import_id (required).

import_listA
Read-onlyIdempotent
Inspect

List the recent imports in the connected environment, newest first, with their counters, including the ones waiting for credits.

Inputs: limit.

import_rowsA
Read-onlyIdempotent
Inspect

Rows of an import, one page at a time (at most 200). Filter with status valid, invalid, queued, accepted or rejected; "invalid" lists the rows with problems and the reason. Pass next_cursor to get the next page.

Inputs: import_id (required), limit, cursor, status.

invoices_overviewA
Read-onlyIdempotent
Inspect

Dashboard summary of the workspace ("Visão geral") for the last 7 or 30 calendar days (America/Sao_Paulo, today included): how many notes (NFS-e, NF-e and NFC-e together) were authorized, rejected or still processing, the number of authorized notes per day, and the 5 most recent notes, each with its type (nfse, nfe or nfce). It answers questions such as "como estão minhas notas?", "quantas notas emiti este mês?" or "tem alguma nota rejeitada?". It returns counts, not revenue totals.

Inputs: period.

nfe_correctA
Destructive
Inspect

Sends a correction letter (CC-e) for an authorized NF-e. It cannot change values, taxes, the parties or the dates. 15 to 1000 characters. The letter is sent to the SEFAZ and starts as pending; its final status shows in the fiscal events of the note (invoice.fiscalEvents: sequence, text, status, protocol, date). A NFC-e has no correction letter: this tool answers INVOICE_OPERATION_NOT_SUPPORTED for it (a NFC-e can only be cancelled within 30 minutes).

Inputs: correction (required), invoice_id (required).

nfe_inutilizeA
DestructiveIdempotent
Inspect

Inutilize a range of NF-e (model 55, default) or NFC-e (model 65) numbers that will never be used (for example skipped numbers). It cannot be undone. At most 1000 numbers per request, and the range may not start more than 1000 numbers after the last number used. Justification of 15 to 255 characters. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: end (required), start (required), series (required), company_id (required), +4 more.

nfe_number_gapsA
Read-onlyIdempotent
Inspect

List the skipped NF-e (model 55, default) or NFC-e (model 65) numbers (gaps) per company and series. A gap that will never be used can be inutilized.

Inputs: model, company_id.

nfe_repeatA
Destructive
Inspect

Issue a new NF-e or NFC-e copying a previous one: same company, recipient, items, payments, nature of operation and additional information. Typical request: "emit the same note as last time". The previous note is identified by its invoice_id and type. It never copies the number, access key, protocol or date: the new note is numbered and dated when it is issued, and goes through the same checks as a new note (data such as prices are copied as they were). Optional additional_info replaces the copied text. It uses a credit like a new note and returns immediately with the queued status. Homologação (test) only for now.

Inputs: invoice_id (required), idempotency_key (required), type, additional_info.

nfe_settings_getA
Read-onlyIdempotent
Inspect

NF-e and NFC-e settings of a company (state registration, CRT, default series, NFC-e series, nature of operation and tax defaults) and what is still missing (missing) before it can issue an NF-e. readiness says whether the company can issue NF-e and NFC-e: by default it is the last answer kept (null if never checked); with check_sefaz=true it asks the SEFAZ now (Consulta Cadastro, with the company certificate) which state registrations (IE) the CNPJ has and whether they are enabled, and answers status, a plain pt-BR message and suggestedStateRegistration (the IE the SEFAZ has for the CNPJ). The check is most useful before the first NF-e or NFC-e of a company and after a 245 rejection ("CNPJ Emitente não cadastrado"): a company with no IE (service-only) cannot issue NF-e or NFC-e. unavailable means the state has no consulta or the SEFAZ did not answer: nothing is known.

Inputs: company_id (required), check_sefaz.

nfe_settings_updateA
Idempotent
Inspect

Set the NF-e and NFC-e settings of a company: state registration (IE, validated for the state of the company; leave it out to use the IE the SEFAZ has for the CNPJ when there is exactly one enabled) plus optional defaults (default_series for the NF-e, nfce_default_series for the NFC-e). The CRT follows the tax regime of the company (Simples Nacional 1, MEI 4); send crt only to override it. Returns the settings, what is still missing and registrationWarning when the SEFAZ cadastro says the IE will be refused.

Inputs: company_id (required), crt, default_csosn, default_nat_op, +4 more.

nfe_validateA
Read-onlyIdempotent
Inspect

Dry-run of an NF-e or a NFC-e: checks the data and returns the problems field by field (issues), without numbering, sending or charging anything. Issuing runs the same checks. valid only says the data is fine: warnings (when present) comes from the last SEFAZ check kept for the company and says it may not be able to issue (for example the SEFAZ answered 257, no state registration or not enabled), or that it was never checked. Warnings do not block. Homologação (test) only for now.

Inputs: nfe (required), company_id (required), type.

nfse_calculateA
Read-onlyIdempotent
Inspect

Calculate taxes before issuing, without issuing a document, reserving credits or creating a DPS. By default it is for an NFS-e (amount, service_code...). With type "nfe" or "nfce" it previews the taxes of goods for a Simples Nacional company: send company_id and the nfe object with items[] {ncm, cfop, quantity, unitPrice, origin?, tax? {csosn, pCredSN?}} (recipient and payments are not needed). Per item it returns vTotTrib and approximateTaxes (Lei 12.741/2012, IBPT table of the UF of the issuer: federal, state, municipal, total, percent, source, version), icmsSn with the credit of CSOSN 101 (pCredSN, vCredICMSSN; the company rate comes from its NF-e settings) and ibsCbs (null while the NF-e does not require it), then totals and warnings. An NCM missing in the IBPT table gives a warning and no vTotTrib: Arquivix Notas never guesses a rate. Issuing and validating fill the same values in the note; values sent in the item win.

Inputs: nfe, type, amount, deduction, +6 more.

nfse_cancelA
DestructiveIdempotent
Inspect

Cancel an invoice. A queued (scheduled or not yet issued) invoice is cancelled immediately; an authorized NFS-e returns status "cancelling" while the cancellation event is sent to the Sefin. An invoice still being issued (status "processing") registers the request and stays "processing" with the request recorded; if it is authorized it is cancelled automatically at the Sefin and the credit is not refunded, and if the emission is rejected or fails the request is discarded. Issued NFS-e and invoices being issued require a 15-255 character description. With type "nfe" it cancels an authorized NF-e at the SEFAZ: send only invoice_id and description (the justification, 15 to 255 characters); reason is not used. The same for type "nfce" (a NFC-e is cancelled within 30 minutes of the authorization). Cancelling cannot be undone. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: invoice_id (required), type, reason, confirm, +1 more.

nfse_download_pdfA
Read-onlyIdempotent
Inspect

Get the PDF of an authorized NFS-e invoice, by invoice_id or by access_key. By default it returns a temporary signed download link (valid for one hour), because the PDF itself is large. With inline: true it returns the file content as a base64-encoded string instead. With type "nfe" or "nfce" it takes invoice_id (the DANFE or DANFCE comes only as a link).

Inputs: type, inline, access_key, invoice_id.

nfse_email_resendA
Destructive
Inspect

Resend an authorized NFS-e, NF-e or NFC-e (PDF and XML) by email. By default it goes to the customer email on the invoice; with email it goes to that address instead. Fails when the invoice is not authorized yet, is cancelled, or has no customer email and none is given.

Inputs: invoice_id (required), type, email.

nfse_getA
Read-onlyIdempotent
Inspect

Get one NFS-e by its internal invoice id (the id returned when the invoice is issued or listed), including status, amounts, customer and the events timeline (every status change with its reason and time). The timeline explains why a note was rejected or what happened to it. Instead of invoice_id it takes external_id, your own reference sent when issuing: it searches NFS-e, NF-e and NFC-e (type is not needed) and returns the note; since an external_id is not unique, when more than one note has it it returns ambiguous: true with the matches (id, type, status, createdAt) instead of a note. Fails when the id does not exist in this workspace and environment. With type "nfe" or "nfce" it returns the NF-e or NFC-e and its timeline (states and fiscal events); the NFC-e also has qrCode and urlChave.

Inputs: type, invoice_id, external_id.

nfse_get_download_urlA
Read-onlyIdempotent
Inspect

Generate a temporary signed download URL for the PDF or XML of an authorized NFS-e invoice, by invoice_id or by access_key. The URL expires in one hour. With type "nfe" or "nfce" send invoice_id (the XML is the authorized nfeProc; the PDF is the DANFE, or the DANFCE of 80 mm for a NFC-e).

Inputs: format (required), type, access_key, invoice_id.

nfse_get_package_urlA
Read-onlyIdempotent
Inspect

Generate a temporary download link for the month package of one company: a ZIP with the XML and PDF of every authorized or cancelled NFS-e whose competence is in the month, plus resumo.csv for the accountant. The link opens without login and expires in 7 days. Fails when the month has no notes or more than 500.

Inputs: month (required), tax_id (required).

nfse_issueA
Destructive
Inspect

Emits a new NFS-e (Nota Fiscal de Serviços Eletrônica). The issuing company is identified by company_tax_id (its CNPJ) or company_id. Minimal call: company_tax_id + amount. The customer is optional (omit it for an anonymous consumer invoice), and the competence date, service code and municipality default to today and to the company settings. Returns immediately with the queued status; the final status comes later. With emission_type SCHEDULE or RECURRING nothing is issued yet: it returns the schedule (schedule_id) instead. Without credits it fails with an insufficient credits error. With type "nfe" it emits an NF-e (goods, model 55, homologação only) instead: it takes company_id, the nfe object and a required idempotency_key, and its final status is read with type "nfe". An NF-e can also be scheduled: with emission_type SCHEDULE or RECURRING (and competence_date, recurrence_frequency like an NFS-e) the nfe object is checked now and stored as it is; each run issues it on its day, with the items and prices as they were saved (Arquivix Notas does not control stock). It returns schedule_id. With type "nfce" it emits a NFC-e (sale to the consumer, model 65, homologação only): same fields, the NFC-e body goes in the nfe object (no natOp; the consumer CPF is optional; it cannot be scheduled: it is a sale at the counter); its final status is read with type "nfce".

Inputs: nfe, type, notes, amount, +18 more.

nfse_issue_batchA
Destructive
Inspect

Emits up to 50 NFS-e in one call, for one company or several (for example the rows of a spreadsheet). Longer lists go in several batches of 50. Each item takes the same fields as a single NFS-e (company_tax_id or company_id, plus amount or services; customer, competence_date, service_code etc. are optional). With a stable idempotency_key per item (for example "-row-"), repeating the same batch after a timeout issues nothing twice. Items are checked one by one: invalid items come back rejected with an error and are not saved, the valid ones are saved together. Results are keyed by index (the item position, starting at 0); each rejected row carries its error.message. Accepted items are already saved, and sending them again without the same idempotency_key creates new invoices. Items with replayed true were already saved by an earlier call with the same idempotency_key. Issuance is asynchronous: each invoice starts queued and gets its final status later. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs. The preview shows the number of invoices, the total amount, the companies and how many e-mails go out; items that would be rejected are listed with their error.

Inputs: invoices (required), confirm.

nfse_listA
Read-onlyIdempotent
Inspect

List NFS-e invoices for the tenant with optional status and origin filters and cursor pagination. With type "nfe" it lists NF-e, with type "nfce" NFC-e; with type "all", NFS-e, NF-e and NFC-e together (newest first); they take only the status, company_id, external_id, limit and cursor filters. To find a note by your own reference (the external_id you sent when issuing) pass external_id: exact match, any type, and it is not unique, so more than one note can come back.

Inputs: type, limit, cursor, origin, +3 more.

nfse_queryA
Read-onlyIdempotent
Inspect

Returns the status of an NFS-e invoice by its access key. Only for NFS-e (50-digit key): an NF-e or NFC-e (44-digit key) is read by invoice_id with type "nfe" or "nfce".

Inputs: access_key (required).

nfse_repeatA
Destructive
Inspect

Issues a new NFS-e copying a previous one: same company, customer, service description, service code, municipality, amount, discount, deduction, purchase order and notes. Typical request: "emit the same invoice as last month for customer X". The previous note is identified by its invoice_id or access_key. Optional amount, description and competence_date replace the copied values (a new amount drops the copied discount and deduction); competence_date defaults to today (America/Sao_Paulo). It uses a credit like a new NFS-e and returns immediately with the queued status.

Inputs: amount, access_key, invoice_id, description, +2 more.

nfse_reviewA
Destructive
Inspect

Resolves one invoice stuck in status "manual_review" (the portal did not confirm whether the NFS-e exists). Only valid in that status; otherwise it fails and tells the current status. Actions: "retry" sends the invoice back to reconciliation with the same DPS: the portal is asked for that DPS before anything is sent, so it never issues a second NFS-e; it ends authorized, rejected, or back in review if the portal is still silent. It is safe. "discard" asks the portal about the DPS: if the NFS-e exists the invoice becomes authorized; only when the portal confirms it was never registered is the invoice rejected (credit refunded); otherwise it stays in review. A discarded invoice leaves its number (DPS) skipped. When the invoice error code is DPS_NUMBER_USED_BY_OTHER_NFSE the portal already has that DPS number on ANOTHER NFS-e (error_message says which one): this invoice was never issued, "retry" is refused, and "discard" rejects it and refunds the credit; the sale can then be issued again as a new invoice with a new number. "discard" leaves the invoice number skipped, while "retry" does not. The platform also checks the portal automatically every 30 minutes. The result is asynchronous: the final status shows on the invoice later. With type "nfe" or "nfce": "retry" asks the SEFAZ for the note by its access key (for an NF-e in reconciliation_required or manual_review) and "discard" drops a rejected NF-e so it can be fixed and sent again.

Inputs: action (required), invoice_id (required), type.

nfse_substituteA
Destructive
Inspect

Correct an authorized invoice by issuing a substitute. Only the service description, the purchase order and the notes can change: the customer, the competence date and the amount stay as issued (the tax authority refuses a substitute that changes them for MEI and Simples Nacional; to correct those, cancel the invoice and issue another). The original stays authorized until the substitute is authorized and only then becomes cancelled. The substitute uses a credit. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

Inputs: invoice_id (required), description (required), notes, confirm, +2 more.

payment_statusA
Read-onlyIdempotent
Inspect

Status of a credit purchase. Takes exactly one of payment_id (Pix or card) or session_id (card). Returns pending, paid (with the new credit balance), expired or cancelled. The status changes only when the payment provider confirms it.

Inputs: payment_id, session_id.

schedule_cancelA
DestructiveIdempotent
Inspect

Cancel a schedule. This is final. Notes already issued stay.

Inputs: schedule_id (required).

schedule_getA
Read-onlyIdempotent
Inspect

Get one schedule: status, next run date, attempts and the invoice body it issues.

Inputs: schedule_id (required).

schedule_listA
Read-onlyIdempotent
Inspect

List scheduled (SCHEDULE) and recurring (RECURRING) invoices (NFS-e or NF-e, see type) in the connected environment. Schedules run at 09:00 America/Sao_Paulo on business days (Monday to Friday); a weekend date runs on Monday and the note takes the competence of the day it runs.

Inputs: limit, offset, status, company_id.

schedule_pauseA
Idempotent
Inspect

Pause an active schedule. It stops running until resumed.

Inputs: schedule_id (required).

schedule_resumeA
Idempotent
Inspect

Resume a paused schedule (for example one paused after 3 failed attempts). It continues at its next occurrence; runs missed meanwhile are not issued.

Inputs: schedule_id (required).

schedule_runsA
Read-onlyIdempotent
Inspect

Log of every attempt to run a schedule, newest first: the due date, the day it ran, the result, the invoice it issued or the error.

Inputs: schedule_id (required), limit, offset.

schedule_updateA
Idempotent
Inspect

Change a schedule. Applies to the next runs only; notes already issued do not change. Send only what changes. Changing frequency or first_date recomputes the next run.

Inputs: schedule_id (required), nfe, notes, amount, +11 more.

service_favorite_createAInspect

Save a favorite for a company so it can be reused on later invoices. A service (default kind, up to 50 per company) needs label, description and service_code. With kind "product" (up to 500; the same description updates the saved one) send description, ncm and unit_price, and optionally code, gtin, cest, cfop, unit, csosn and origin. Arquivix Notas only estimates the taxes: the person informs NCM and, when needed, CFOP and CSOSN.

Inputs: company_id (required), description (required), ncm, cest, +12 more.

service_favorite_deleteA
DestructiveIdempotent
Inspect

Remove a favorite (service or product) of a company. It does not touch invoices already issued.

Inputs: company_id (required), favorite_id (required).

service_favorite_listA
Read-onlyIdempotent
Inspect

List the favorites saved for a company. The default kind is "service": label, description, service code, optional default amount and municipality, used to fill an NFS-e. With kind "product": description, code, barcode, NCM, CEST, default CFOP, unit and unit price, used to fill the items of an NF-e or NFC-e.

Inputs: company_id (required), kind.

webhook_deliveries_listA
Read-onlyIdempotent
Inspect

List the notices (webhooks) Arquivix Notas sent to the customer's system, newest first. It answers "did my system get the notice for this invoice?". Each item has the event, the invoice, the status (pending, sent, delayed, failed, manual_retry), the HTTP code the customer's system answered, how many attempts were made, the next attempt and a short error. "failed" means every attempt failed and Arquivix Notas stopped; a failed delivery can be sent again. The secret, the signature and the event body are not shown.

Inputs: hours, limit, cursor, status, +2 more.

webhook_delivery_retryAInspect

Sends one notice (webhook) again to the customer's system, with the exact same event, for a delivery that is "failed" or "delayed". A delivery sent more than 30 days ago has its content erased and answers WEBHOOK_DELIVERY_CONTENT_ERASED. It is queued and sent within about a minute; the result shows on the delivery afterwards.

Inputs: delivery_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to issue, track, and cancel Brazilian NFS-e service invoices through Emissor Nacional without a digital certificate, while managing company credentials, customers, and services. It includes previews and confirmation safeguards for actions with real tax effect.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to issue, query, and cancel Brazilian NF-e and NFS-e invoices through natural language, handling authentication and communication with the Focus NFe tax provider. Includes a simulation mode for testing the full invoice workflow without a provider token.
      6
      47 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources