ANAF e-Factura
com.foreverworks/anaf-efactura
Serveur MCP OK 7 outils
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
[](https://latlas.dev/mcp/com.foreverworks/anaf-efactura)<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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.foreverworks/anaf-efactura)<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
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 29 nov. 2026, 08:20 | OK | 557 ms | 7 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| number | string | oui | The invoice number, series included; it must contain a digit. |
| issue_date | string | oui | |
| due_date | string | non | When payment is due; an amount due needs this or payment terms. |
| type_code | enum: "380" | "384" | "389" | "751" | non | 380 invoice (default), 384 corrected, 389 self-billed, 751 for accounting. |
| currency | string | non | ISO 4217, RON by default. |
| vat_exchange_rate | string | non | For an invoice not in RON, required: RON for one unit of its currency (bnr's rate); the VAT is then also stated in RON. |
| notes | array<string> | non | |
| buyer_reference | string | non | |
| order_reference | string | non | |
| contract_reference | string | non | |
| preceding_invoice | object | non | The invoice this one corrects or reverses. |
| invoice_period | object | non | |
| delivery_date | string | non | |
| seller | object | oui | The seller: your company. |
| buyer | object | oui | The buyer. |
| payment | object | non | |
| lines | array<object> | oui | |
| vat_exemptions | array<object> | non | Why 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_name | string | non | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| xml | string | non | A 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 | boolean | non | For 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ètre | Type | Requis | Description |
|---|---|---|---|
| cifs | array<string> | oui | 1 to 100 CIFs, with or without the RO prefix. |
| date | string | non | YYYY-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ètre | Type | Requis | Description |
|---|---|---|---|
| xml | string | non | A 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ètre | Type | Requis | Description |
|---|---|---|---|
| xml | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| xml | string | oui | The 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. |
| signature | string | oui | The 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport 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 mcp add --transport http anaf-efactura https://mcp.foreverworks.com/anaf-efacturaCustomize > Connectors > + Add > Add custom connector ; Name : anaf-efactura ; URL : https://mcp.foreverworks.com/anaf-efacturachatgpt.com/plugins > + > Add custom MCP server ; Name : anaf-efactura ; Server URL : https://mcp.foreverworks.com/anaf-efactura ; Create as a plugin{
"mcpServers": {
"anaf-efactura": {
"url": "https://mcp.foreverworks.com/anaf-efactura"
}
}
}{
"mcpServers": {
"anaf-efactura": {
"type": "http",
"url": "https://mcp.foreverworks.com/anaf-efactura",
"tools": ["*"]
}
}
}{
"mcpServers": {
"anaf-efactura": {
"url": "https://mcp.foreverworks.com/anaf-efactura"
}
}
}{
"mcpServers": {
"anaf-efactura": {
"httpUrl": "https://mcp.foreverworks.com/anaf-efactura"
}
}
}[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
[ANAF e-Factura — L’Atlas](https://latlas.dev/mcp/com.foreverworks/anaf-efactura)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.