ANAF e-Factura
com.foreverworks/anaf-efactura
MCP server OK 7 tools
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
[](https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura)<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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 29 Nov 2026, 08:20 | OK | 557 ms | 7 |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| number | string | yes | The invoice number, series included; it must contain a digit. |
| issue_date | string | yes | |
| due_date | string | no | When payment is due; an amount due needs this or payment terms. |
| type_code | enum: "380" | "384" | "389" | "751" | no | 380 invoice (default), 384 corrected, 389 self-billed, 751 for accounting. |
| currency | string | no | ISO 4217, RON by default. |
| vat_exchange_rate | string | no | 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> | no | |
| buyer_reference | string | no | |
| order_reference | string | no | |
| contract_reference | string | no | |
| preceding_invoice | object | no | The invoice this one corrects or reverses. |
| invoice_period | object | no | |
| delivery_date | string | no | |
| seller | object | yes | The seller: your company. |
| buyer | object | yes | The buyer. |
| payment | object | no | |
| lines | array<object> | yes | |
| vat_exemptions | array<object> | no | 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 | no | 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.
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| xml | string | no | 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 | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| cifs | array<string> | yes | 1 to 100 CIFs, with or without the RO prefix. |
| date | string | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| xml | string | no | 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| xml | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| xml | string | yes | 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 | yes | 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. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.foreverworks.com/anaf-efactura. Formats taken from each client’s documentation.
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"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
[ANAF e-Factura — L’Atlas](https://latlas.dev/en/mcp/com.foreverworks/anaf-efactura)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.