L'Atlas / MCP servers / ANAF e-Factura
MCP server

ANAF e-Factura

com.foreverworks/anaf-efactura

MCP server OK 7 tools

Get a review See pricing

Read, check and file a Romanian company's e-invoices and e-Transport declarations with ANAF.

Technical sheet

Author
foreverworks.com (registry namespace)
Repository
github.com/foreverworks/mcps
Site
foreverworks.github.io/mcps/servers/anaf-efactura
Version
0.2.0
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://mcp.foreverworks.com/anaf-efactura Streamable HTTP
Packages
@foreverworks/mcp-anaf-efactura 0.2.0 npm stdio
Tools
7
Categories
—
Last updated
28 Nov 2026
Published
28 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 29 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/com.foreverworks/anaf-efactura.svg?lang=en)](https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura)
HTML
<a href="https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura"><img src="https://latlas.dev/badge/statut/mcp/com.foreverworks/anaf-efactura.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/com.foreverworks/anaf-efactura.svg?lang=en)](https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura)
HTML
<a href="https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura"><img src="https://latlas.dev/badge/fiche/com.foreverworks/anaf-efactura.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://mcp.foreverworks.com/anaf-efactura
Last result
OK 29 Nov 2026, 08:20
Response time
557 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
anaf-efactura 0.1.2
Tools
7

History

DateResultResponseTools
29 Nov 2026, 08:20OK557 ms7

Exposed tools (7, from tools/list, 29 Nov 2026)

build_invoice

Build a CIUS-RO invoice

Write a Romanian e-Factura invoice (UBL 2.1, CIUS-RO) from fields: seller and buyer, lines with their net price, quantity and VAT category, the currency, the payment terms. Totals are computed exactly (each line rounded to 2 decimals, VAT once per category and rate), and the draft is checked first: CIF, CNP and IBAN check digits, the county and Bucharest sector, the VAT rules per category, CIUS-RO's lengths, every problem named at once. The XML is attached to the answer as a file, with its sha256 and the totals in the answer; this server keeps no copy. Nothing is sent to ANAF. An invoice in another currency needs vat_exchange_rate (RON per unit), so its VAT is stated in RON too.

ParameterTypeRequiredDescription
numberstringyesThe invoice number, series included; it must contain a digit.
issue_datestringyes
due_datestringnoWhen payment is due; an amount due needs this or payment terms.
type_codeenum: "380" | "384" | "389" | "751"no380 invoice (default), 384 corrected, 389 self-billed, 751 for accounting.
currencystringnoISO 4217, RON by default.
vat_exchange_ratestringnoFor an invoice not in RON, required: RON for one unit of its currency (bnr's rate); the VAT is then also stated in RON.
notesarray<string>no
buyer_referencestringno
order_referencestringno
contract_referencestringno
preceding_invoiceobjectnoThe invoice this one corrects or reverses.
invoice_periodobjectno
delivery_datestringno
sellerobjectyesThe seller: your company.
buyerobjectyesThe buyer.
paymentobjectno
linesarray<object>yes
vat_exemptionsarray<object>noWhy a category carries no VAT: required for E (a VATEX-EU code or the law's words); AE, G and O default to VATEX-EU-AE, -G, -O.
file_namestringnoThe file's name, in the outbox or as attached to the answer; by default the invoice number's.

health

Health

Check that ANAF's public services this server relies on answer: the VAT registry and the invoice validation. This server holds no ANAF credential. Run this before concluding the MCP is broken.

No parameters.

invoice_pdf

Render an invoice as ANAF's PDF

Have ANAF render an invoice as its official PDF, attached to the answer as a file (this server keeps no copy). Give the UBL document as the XML text as xml, which the server hashes (answered in file: size, sha256). The document is validated first unless validate is false, and when it fails nothing is returned and findings say why. Returns saved, name, bytes, sha256 and md5 of the PDF, and the PDF itself attached. The PDF itself needs no grant.

ParameterTypeRequiredDescription
xmlstringnoA UBL invoice or credit note, as the XML text itself (at most 1048576 characters). The server hashes the bytes it receives and answers their sha256 and size (file), so compare them with your source.
validatebooleannoFor a document only: validate before converting.

lookup_company

Look up Romanian companies

Look up companies in ANAF's public VAT registry by CIF: name, trade register number, registered office, CAEN code, and the statuses an invoice depends on (vatPayer with its current period, vatOnCollection, splitVat, inactive, and eFacturaRegistry for the RO e-Factura registry). notFound lists the CIFs ANAF does not know. A status ANAF did not report is absent, not false. Needs no grant.

ParameterTypeRequiredDescription
cifsarray<string>yes1 to 100 CIFs, with or without the RO prefix.
datestringnoYYYY-MM-DD: the statuses as they stood that day. Empty means today in Bucharest.

parse_invoice

Read an invoice as JSON

Read a UBL invoice or credit note into plain JSON: seller and buyer (names, VAT and legal ids, address, contact), every line (quantity, unit, price, net amount, VAT category and rate), the VAT breakdown, the totals, and the payment terms (due date, terms, IBAN). Every value is the document's own text, amounts included, never a number; a field the document does not fill is absent. Give the XML text as xml, which the server hashes (answered in file: size, sha256). Reads only: nothing goes to ANAF. To have ANAF check the document, use validate_invoice.

ParameterTypeRequiredDescription
xmlstringnoA UBL invoice or credit note, as the XML text itself (at most 1048576 characters). The server hashes the bytes it receives and answers their sha256 and size (file), so compare them with your source.

validate_invoice

Validate an invoice with ANAF

Check a UBL invoice or credit note against ANAF's own schema and CIUS-RO rules without filing it. Answers valid, and when not, findings: each with the rule it broke (e.g. BR-RO-001), where in the document, and ANAF's text. invoice is what the XML says it is, and file which file was read (name, size, sha256). Needs no grant. CII is not accepted: ANAF validates UBL only. The document goes as the XML text as xml, which the server hashes (answered in file: size, sha256).

ParameterTypeRequiredDescription
xmlstringyesThe invoice XML (at most 5 MB), as the XML text itself (at most 1048576 characters). The server hashes the bytes it receives and answers their sha256 and size (file), so compare them with your source.

verify_signature

Verify ANAF's seal on an invoice

Check that an invoice is the file ANAF stored, under ANAF's seal (semnatura_*.xml). Give the two files from an archive kept elsewhere (costs nothing): xml and signature, each the XML text of each, read byte for byte, since the seal covers the invoice's exact bytes (text you retype may differ from the file; the sha256 of what arrived is in source, to compare with the file's). Checked locally first: the certificate against Trans Sped's seal CA and the Ministry of Finance, the signature, and the digest of the invoice's raw bytes. Only when that cannot decide is ANAF asked. Answers valid, checkedBy (local or anaf), a reason when not valid, and the certificate. Revocation is not checked locally.

ParameterTypeRequiredDescription
xmlstringyesThe invoice XML from the archive, as the XML text itself (at most 1048576 characters). The server hashes the bytes it receives and answers their sha256 and size (file), so compare them with your source.
signaturestringyesThe semnatura_*.xml from the same archive, as the XML text itself (at most 1048576 characters). The server hashes the bytes it receives and answers their sha256 and size (file), so compare them with your source.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://mcp.foreverworks.com/anaf-efactura. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http anaf-efactura https://mcp.foreverworks.com/anaf-efactura
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : anaf-efactura ; URL : https://mcp.foreverworks.com/anaf-efactura
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : anaf-efactura ; Server URL : https://mcp.foreverworks.com/anaf-efactura ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "anaf-efactura": {
      "url": "https://mcp.foreverworks.com/anaf-efactura"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "anaf-efactura": {
      "type": "http",
      "url": "https://mcp.foreverworks.com/anaf-efactura",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "anaf-efactura": {
      "url": "https://mcp.foreverworks.com/anaf-efactura"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "anaf-efactura": {
      "httpUrl": "https://mcp.foreverworks.com/anaf-efactura"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.anaf-efactura]
url = "https://mcp.foreverworks.com/anaf-efactura"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

ANAF e-Factura · L’Atlas · Tested on

Markdown
[ANAF e-Factura — L’Atlas](https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.