ANAF e-Factura
Server Details
Read, check and file a Romanian company's e-invoices and e-Transport declarations with ANAF.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- foreverworks/mcps
- GitHub Stars
- 5
- Server Listing
- Forever Works MCP servers
- ChatGPT
- –
- Claude
- –
TDQS
Score is being calculated.
Available Tools
7 toolsbuild_invoiceBuild a CIUS-RO invoiceARead-onlyIdempotentInspect
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.
Inputs: buyer (required), lines (required), number (required), seller (required), +15 more. Returns: name, note, path, bytes, +5 more
healthHealthARead-onlyIdempotentInspect
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.
Inputs: no named parameters.
invoice_pdfRender an invoice as ANAF's PDFARead-onlyIdempotentInspect
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.
Inputs: xml, validate.
lookup_companyLook up Romanian companiesARead-onlyIdempotentInspect
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.
Inputs: cifs (required), date.
parse_invoiceRead an invoice as JSONARead-onlyIdempotentInspect
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.
Inputs: xml. Returns: file, archive, invoice
validate_invoiceValidate an invoice with ANAFARead-onlyIdempotentInspect
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).
Inputs: xml (required).
verify_signatureVerify ANAF's seal on an invoiceARead-onlyIdempotentInspect
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.
Inputs: xml (required), signature (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Validate, fix and generate Romanian e-Factura; check SAF-T D406 (ANAF validator + consistency)
Romanian invoicing with RO e-Factura: invoices, clients, payments, SPV and e-Transport
Romania e-Factura invoices for AI agents: build UBL 2.1 CIUS-RO, upload to ANAF/SPV, query.
EU e-invoices: validate XRechnung, ZUGFeRD/Factur-X and RO e-Factura, convert data, national rules
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to issue Romania e-Factura electronic invoices (factura electronica) into the national ANAF/SPV system by building UBL 2.1 CIUS-RO XML and uploading it under the merchant's own ANAF access token.MIT
- AlicenseNot gradedqualityBmaintenanceLets LLM clients such as Claude, ChatGPT and Cursor search, fetch, issue and track Moldova SFS electronic invoices, check async post status, assign serials, and look up taxpayers in the registry. Each user authenticates with their own e-Factura credentials via OAuth 2.1 + PKCE, so invoices can be managed in natural language without touching SOAP or XML.2AGPL 3.0
- AlicenseAqualityCmaintenanceEnables issuing invoices, proformas, and delivery notices, collecting payments, submitting e-Factura to Romania's SPV, and querying reference data on Oblio.eu through natural language from MCP clients.12MIT

howtoromaniaofficial
AlicenseNot gradedqualityBmaintenanceRemote MCP server that enables AI agents to query Romanian company, financial, court, KYB risk, e-Factura, and legislation data. It also supports validation and generation of e-Factura documents and checks of extracted company data against public sources.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.