L'Atlas / Serveurs MCP / ANAF e-Factura
Serveur MCP

ANAF e-Factura

com.foreverworks/anaf-efactura

Serveur MCP OK 7 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
foreverworks.com (espace de noms du registre)
Dépôt
github.com/foreverworks/mcps
Site
foreverworks.github.io/mcps/servers/anaf-efactura
Version
0.2.0
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://mcp.foreverworks.com/anaf-efactura Streamable HTTP
Paquets
@foreverworks/mcp-anaf-efactura 0.2.0 npm stdio
Outils
7
Catégories
—
Dernière mise à jour
28 nov. 2026
Publication
28 nov. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 29 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

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

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/com.foreverworks/anaf-efactura.svg)](https://latlas.dev/mcp/com.foreverworks/anaf-efactura)
HTML
<a href="https://latlas.dev/mcp/com.foreverworks/anaf-efactura"><img src="https://latlas.dev/badge/fiche/com.foreverworks/anaf-efactura.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://mcp.foreverworks.com/anaf-efactura
Dernier résultat
OK 29 nov. 2026, 08:20
Temps de réponse
557 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
anaf-efactura 0.1.2
Outils
7

Historique

DateRésultatRéponseOutils
29 nov. 2026, 08:20OK557 ms7

Outils exposés (7, réponse à 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.

ParamètreTypeRequisDescription
numberstringouiThe invoice number, series included; it must contain a digit.
issue_datestringoui
due_datestringnonWhen payment is due; an amount due needs this or payment terms.
type_codeenum: "380" | "384" | "389" | "751"non380 invoice (default), 384 corrected, 389 self-billed, 751 for accounting.
currencystringnonISO 4217, RON by default.
vat_exchange_ratestringnonFor 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>non
buyer_referencestringnon
order_referencestringnon
contract_referencestringnon
preceding_invoiceobjectnonThe invoice this one corrects or reverses.
invoice_periodobjectnon
delivery_datestringnon
sellerobjectouiThe seller: your company.
buyerobjectouiThe buyer.
paymentobjectnon
linesarray<object>oui
vat_exemptionsarray<object>nonWhy 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_namestringnonThe 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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
xmlstringnonA 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.
validatebooleannonFor 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.

ParamètreTypeRequisDescription
cifsarray<string>oui1 to 100 CIFs, with or without the RO prefix.
datestringnonYYYY-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.

ParamètreTypeRequisDescription
xmlstringnonA 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).

ParamètreTypeRequisDescription
xmlstringouiThe 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.

ParamètreTypeRequisDescription
xmlstringouiThe 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.
signaturestringouiThe 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.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

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

Configs prêtes à copier

Adresse distante utilisée : https://mcp.foreverworks.com/anaf-efactura. Formats repris de la documentation de chaque client.

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"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

ANAF e-Factura · L’Atlas · Test du

Markdown
[ANAF e-Factura — L’Atlas](https://latlas.dev/mcp/com.foreverworks/anaf-efactura)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.