e-Factura Validator MCP
An MCP server for validating, fixing, and generating Romanian e-Factura (CIUS-RO), Peppol BIS Billing 3.0, and EN 16931 invoices. It provides AI agents with tools to check XML against official rules, auto-repair errors, generate invoices from JSON, and access Romanian tax data like company info, exchange rates, and deadlines.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://einvoice.alexhub.uk/mcpWhat its tools do
14 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to alexhub.uk ·
- Passed Endpoint is on the registry namespace domain ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Validate Romanian e-Factura XML against CIUS-RO rules
- Auto-fix invoice errors and return corrected XML
- Generate e-Factura from JSON data
- Lookup company details and tax deadlines
Source and maintenance
Protocol and capabilities
- Server
- e-Factura Validator (Romania) 1.30.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 14 advertised
- Resources
- 3 advertised
- Resource templates
- 1 advertised
- Prompts
- 4 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
},
"experimental": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
14 advertised
validate_invoice_free
Use before uploading an e-Factura to ANAF SPV, after generating invoice XML, or when ANAF rejected an invoice: validates a UBL 2.1 Invoice/CreditNote (Romanian CIUS-RO 1.0.9, Peppol BIS 3.0, EN 16931) and returns every error with the fix in words, the UBL path of the field and, for amounts, the correct value. Start here: free, no wallet, account or key, 3 calls per day per client IP. Fix the XML from the report and call again. When the quota is used up, switch to validate_invoice.
{
"type": "object",
"title": "validate_invoice_freeArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"examples": [
"<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" …>…</Invoice>"
],
"description": "The UBL 2.1 Invoice or CreditNote XML document, as text"
},
"profile": {
"enum": [
"auto",
"ro",
"peppol",
"en16931"
],
"type": "string",
"title": "Profile",
"default": "auto",
"description": "Rule set; 'auto' reads it from the invoice's CustomizationID"
}
}
}{
"title": "Validate e-Factura invoice (free, no wallet)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}validate_invoice
Use before uploading an e-Factura to ANAF SPV or sending a Peppol invoice, once the free quota of validate_invoice_free is used up (same report). Every rule violation with a plain-English fix, the UBL path of the field and, for amount errors, the correct value. Paid: $0.01 USDC per call via x402 (network eip155:8453, payment in the request _meta); without a payment it returns the payment requirements. Only real invoices are charged. If the report has 'autofix', fix_invoice can repair those errors.
{
"type": "object",
"title": "validate_invoiceArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"examples": [
"<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" …>…</Invoice>"
],
"description": "The UBL 2.1 Invoice or CreditNote XML document, as text"
},
"profile": {
"enum": [
"auto",
"ro",
"peppol",
"en16931"
],
"type": "string",
"title": "Profile",
"default": "auto",
"description": "Rule set; 'auto' reads it from the invoice's CustomizationID"
}
}
}{
"title": "Validate e-Factura / Peppol invoice (paid)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}fix_invoice
Use when a validation report lists 'autofix' rules, or ANAF or a Peppol access point rejected an invoice for codes, dates or totals, and you want the corrected XML instead of editing it yourself: fixes county/sector/country/currency/unit codes, date formats, VAT-id prefixes, Belgian enterprise numbers (0208), Peppol CustomizationID/ProfileID, empty elements, decimals, totals and VAT recomputed from the lines. Lists every change (field, old, new) and re-validates the result. Paid: $0.05 USDC via x402, charged only if something was fixed. Review the changes before sending the invoice.
{
"type": "object",
"title": "fix_invoiceArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"examples": [
"<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" …>…</Invoice>"
],
"description": "The UBL 2.1 Invoice or CreditNote XML document, as text"
},
"profile": {
"enum": [
"auto",
"ro",
"peppol",
"en16931"
],
"type": "string",
"title": "Profile",
"default": "auto",
"description": "Rule set; 'auto' reads it from the invoice's CustomizationID"
}
}
}{
"title": "Auto-fix invoice XML (paid)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}generate_invoice
Use when you have invoice data but no XML and need a Romanian e-Factura ANAF accepts: builds UBL 2.1 CIUS-RO XML from simple data (number, dates, seller and buyer CUI, lines with name, quantity, unit, price without VAT and VAT rate e.g. 21 or 11, optional IBAN). Company names, addresses, county codes, Bucharest sectors and VAT status come from ANAF; totals and VAT are computed; the XML is validated before it is returned. Paid: $0.05 USDC via x402, charged only when a valid invoice is returned. Other currencies: add 'currency': 'EUR' (BNR rate used unless you pass exchange_rate). Example invoice: {"number": "FCT-0001", "issue_date": "2026-10-24", "due_date": "2026-11-23", "seller": {"cui": "RO12345678"}, "buyer": {"cui": "87654321"}, "payment": {"iban": "RO49AAAA1B31007593840000"}, "lines": [{"name": "Servicii consultanta", "quantity": 10, "unit": "ore", "price": 150, "vat_rate": 21}]}
{
"type": "object",
"title": "generate_invoiceArguments",
"required": [
"invoice"
],
"properties": {
"invoice": {
"type": "object",
"title": "Invoice",
"examples": [
{
"buyer": {
"cui": "87654321"
},
"lines": [
{
"name": "Servicii consultanta",
"unit": "ore",
"price": 150,
"quantity": 10,
"vat_rate": 21
}
],
"number": "FCT-0001",
"seller": {
"cui": "RO12345678"
},
"payment": {
"iban": "RO49AAAA1B31007593840000"
},
"due_date": "2026-11-23",
"issue_date": "2026-10-24"
}
],
"description": "Invoice data, see the tool description for the shape",
"additionalProperties": true
}
}
}{
"title": "Generate e-Factura XML from JSON (paid)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}lookup_company
Use when building or checking an invoice for a Romanian company and you only have its CUI, or to check a partner before invoicing: ANAF data already in e-Factura form: legal name, VAT id (RO… only for VAT payers), trade register number, address with county as ISO code (RO-CJ) and Bucharest city as SECTOR1..6, plus flags: inactive, VAT on collection, e-Factura registry. Free, 100 lookups per day per IP.
{
"type": "object",
"title": "lookup_companyArguments",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"title": "Cui",
"examples": [
"RO14399840"
],
"description": "CUI, with or without RO"
}
}
}{
"title": "Romanian company by CUI (ANAF)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}company_financials
Use when you need a Romanian company's size or financial health from its CUI (credit check before invoicing or selling on terms, lead qualification, due diligence): the annual statement filed with ANAF: CAEN code, turnover, revenue, expenses, net_result (profit positive, loss negative), employees, assets, debts, equity. Without year: the last closed year with a statement. Only companies file statements (not PFA). Free, shares the 100 lookups per day per IP of lookup_company.
{
"type": "object",
"title": "company_financialsArguments",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"title": "Cui",
"examples": [
"RO14399840"
],
"description": "CUI, with or without RO"
},
"year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Year",
"default": null,
"examples": [
2024
],
"description": "Financial year (omit for the last filed one)"
}
}
}{
"title": "Romanian company financial statement (ANAF)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}explain_rule
Use when ANAF SPV, a Peppol access point or a validation report names a rule (e.g. BR-CO-15, BR-RO-110, PEPPOL-EN16931-R001) and you need to know what it means and how to fix it: official text in English and Romanian, plain-English fix and where the field lives in UBL. Free.
{
"type": "object",
"title": "explain_ruleArguments",
"required": [
"rule_id"
],
"properties": {
"rule_id": {
"type": "string",
"title": "Rule Id",
"examples": [
"BR-RO-110"
],
"description": "Rule id as reported in findings[].rule or in the ANAF error message"
}
}
}{
"title": "Explain e-invoice rule",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}validate_saft_free
Use before filing a Romanian SAF-T (D406) with ANAF, or when ANAF's DUKIntegrator reported errors: same check as validate_saft, free: 1 file(s) per day per client IP, report limited to the first 10 findings (the total count is given).
{
"type": "object",
"title": "validate_saft_freeArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"examples": [
"<AuditFile xmlns=\"mfp:anaf:dgti:d406:declaratie:v1\">…</AuditFile>"
],
"description": "The SAF-T D406 XML file content, as text (up to 25 MB here; bigger files: HTTP POST /v1/saft/validate, up to 100 MB)"
}
}
}{
"title": "Check SAF-T D406 before filing (free, 1/day)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}validate_saft
Use before filing a Romanian SAF-T (D406) with ANAF, for the full report: runs ANAF's official validator (DUKIntegrator) for the reporting period and the consistency checks it does not do offline (balanced entries, GL totals, opening + movements = closing per account, trial balance, partner balances, invoice totals, VAT = base x rate, VAT codes valid for the period, CUI/IBAN check digits, chart of accounts). Every finding has a fix in Romanian and English and the correct value where computable. Paid: $0.50 USDC via x402 (network eip155:8453), charged only if a D406 was checked; without a payment it returns the payment requirements.
{
"type": "object",
"title": "validate_saftArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"examples": [
"<AuditFile xmlns=\"mfp:anaf:dgti:d406:declaratie:v1\">…</AuditFile>"
],
"description": "The SAF-T D406 XML file content, as text (up to 25 MB here; bigger files: HTTP POST /v1/saft/validate, up to 100 MB)"
}
}
}{
"title": "Check SAF-T D406 before filing (paid)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}fx_rate
Use for an invoice in a foreign currency (e-Factura needs the VAT in RON) or any RON conversion: official BNR (National Bank of Romania) rate, RON per 1 unit of the currency, for a date (default today; weekends/holidays return the last publication). Omit currency for all rates. Free.
{
"type": "object",
"title": "fx_rateArguments",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date",
"default": null,
"examples": [
"2026-10-30"
],
"description": "YYYY-MM-DD"
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null,
"examples": [
"EUR"
],
"description": "ISO 4217 code"
}
}
}{
"title": "BNR exchange rate",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}ro_holidays
Use when planning payment or filing dates in Romania: public (legal) holidays for a year, incl. Orthodox Easter and Rusalii. Free.
{
"type": "object",
"title": "ro_holidaysArguments",
"properties": {
"year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Year",
"default": null,
"examples": [
2026
],
"description": "default current year"
}
}
}{
"title": "Romanian public holidays",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}ro_business_day
Use to compute a due date in Romanian working days (e.g. the 5 working days to upload an e-Factura): is a date a working day, which is the next one, and the date N working days later. Free.
{
"type": "object",
"title": "ro_business_dayArguments",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date",
"default": null,
"examples": [
"2026-12-24"
],
"description": "YYYY-MM-DD, default today"
},
"add_days": {
"type": "integer",
"title": "Add Days",
"default": 0,
"examples": [
5
],
"description": "working days to add"
}
}
}{
"title": "Romanian working day",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}ro_tax_deadlines
Use to know when Romanian returns are due: monthly filing deadlines (D112, D300, D100, D390, D394, D406) for a reporting month, moved to the next working day when they fall on a weekend or holiday. General rules; confirm special regimes with ANAF. Free.
{
"type": "object",
"title": "ro_tax_deadlinesArguments",
"properties": {
"period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period",
"default": null,
"examples": [
"2026-10"
],
"description": "reporting month YYYY-MM, default last month"
}
}
}{
"title": "Romanian tax filing deadlines",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}validate_iban
Use before putting an IBAN on an invoice or paying to one: checks length and check digits and names the Romanian bank (or the State Treasury). Free.
{
"type": "object",
"title": "validate_ibanArguments",
"required": [
"iban"
],
"properties": {
"iban": {
"type": "string",
"title": "Iban",
"examples": [
"RO49AAAA1B31007593840000"
],
"description": "IBAN, spaces allowed"
}
}
}{
"title": "Check IBAN",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
4 advertised
check_invoice_before_anaf — Check an e-Factura before uploading it to ANAF
- xml
- No description (required)
fix_anaf_rejection — Understand and fix an ANAF SPV rejection
- anaf_message
- No description (required)
- xml
- No description
invoice_from_data — Create an e-Factura from invoice data
- seller_cui
- No description (required)
- buyer_cui
- No description (required)
- lines
- No description (required)
check_saft_before_filing — Check a SAF-T D406 file before filing
- xml
- No description (required)
Resources
3 advertised
guide — How to use this server
Prices, free quotas, the x402 payment flow, request/response examples and error codes
einvoice://guidepricing — Prices and free quotas
einvoice://pricingsample-invoice — A valid Romanian e-Factura (UBL 2.1)
Template to start from: passes CIUS-RO 1.0.9
einvoice://sample-invoicerule — An e-invoice rule explained
Same as the explain_rule tool, e.g. einvoice://rules/BR-RO-110
einvoice://rules/{rule_id}90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-12-01: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1926 ms
- 95th percentile latency
- 1926 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1926 ms · metadata changed · 14 tool(s), 3 resource(s), 1 resource template(s), 4 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http e-factura-validator-mcp https://einvoice.alexhub.uk/mcpCodex
codex mcp add e-factura-validator-mcp --url https://einvoice.alexhub.uk/mcpCursor
{
"mcpServers": {
"e-factura-validator-mcp": {
"url": "https://einvoice.alexhub.uk/mcp"
}
}
}Cline
{
"mcpServers": {
"e-factura-validator-mcp": {
"type": "streamableHttp",
"url": "https://einvoice.alexhub.uk/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"e-factura-validator-mcp": {
"type": "http",
"url": "https://einvoice.alexhub.uk/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http e-factura-validator-mcp https://einvoice.alexhub.uk/mcpClaude Desktop
https://einvoice.alexhub.uk/mcpWindsurf
{
"mcpServers": {
"e-factura-validator-mcp": {
"serverUrl": "https://einvoice.alexhub.uk/mcp"
}
}
}Let your agent find its tools
Find servers like e-Factura Validator MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run e-Factura Validator MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.