Koskamo

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.

e-Factura Validator MCP logo, by alexhub.ukVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-12-01Operated by alexhub.uk
You need:No account, no API key
MCP endpoint (Streamable HTTP)
https://einvoice.alexhub.uk/mcp
Vendor documentation

What its tools do

14 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

14 of 14 have a description · 14 of 14 declare behavior hints · 14 of 14 with parameters document them all

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

Vendor evidenceRegistry 1.9.0

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
Server-advertised capabilities
{
  "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.

Validator for Romanian e-Factura invoices (UBL 2.1, CIUS-RO 1.0.9), also Peppol BIS Billing 3.0 and EN 16931. Call it after generating invoice XML and before uploading it to ANAF SPV (or a Peppol access point): every error comes with the exact fix, the UBL field and, for amounts, the correct value, so you can correct the XML and validate again. Use validate_invoice_free first (free, no wallet), then validate_invoice (paid per call with x402, USDC on Base). explain_rule is free. Also checks Romanian SAF-T files (D406) before filing: validate_saft_free / validate_saft run ANAF's own validator for the reporting period plus the consistency checks ANAF does later (balances, totals, VAT, IDs).

Tools

14 advertised

validate_invoice_free
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

validate_invoice_free input schema
{
  "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"
    }
  }
}
validate_invoice_free annotations
{
  "title": "Validate e-Factura invoice (free, no wallet)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
validate_invoice
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

validate_invoice input schema
{
  "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"
    }
  }
}
validate_invoice annotations
{
  "title": "Validate e-Factura / Peppol invoice (paid)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
fix_invoice
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

fix_invoice input schema
{
  "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"
    }
  }
}
fix_invoice annotations
{
  "title": "Auto-fix invoice XML (paid)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
generate_invoice
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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}]}

generate_invoice input schema
{
  "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
    }
  }
}
generate_invoice annotations
{
  "title": "Generate e-Factura XML from JSON (paid)",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
lookup_company
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

lookup_company input schema
{
  "type": "object",
  "title": "lookup_companyArguments",
  "required": [
    "cui"
  ],
  "properties": {
    "cui": {
      "type": "string",
      "title": "Cui",
      "examples": [
        "RO14399840"
      ],
      "description": "CUI, with or without RO"
    }
  }
}
lookup_company annotations
{
  "title": "Romanian company by CUI (ANAF)",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
company_financials
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

company_financials input schema
{
  "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)"
    }
  }
}
company_financials annotations
{
  "title": "Romanian company financial statement (ANAF)",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
explain_rule
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

explain_rule input schema
{
  "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"
    }
  }
}
explain_rule annotations
{
  "title": "Explain e-invoice rule",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
validate_saft_free
Advertised by the server during the last successful anonymous check.
Advertised read-only

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).

validate_saft_free input schema
{
  "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)"
    }
  }
}
validate_saft_free annotations
{
  "title": "Check SAF-T D406 before filing (free, 1/day)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
validate_saft
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

validate_saft input schema
{
  "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)"
    }
  }
}
validate_saft annotations
{
  "title": "Check SAF-T D406 before filing (paid)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
fx_rate
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

fx_rate input schema
{
  "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"
    }
  }
}
fx_rate annotations
{
  "title": "BNR exchange rate",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
ro_holidays
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use when planning payment or filing dates in Romania: public (legal) holidays for a year, incl. Orthodox Easter and Rusalii. Free.

ro_holidays input schema
{
  "type": "object",
  "title": "ro_holidaysArguments",
  "properties": {
    "year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Year",
      "default": null,
      "examples": [
        2026
      ],
      "description": "default current year"
    }
  }
}
ro_holidays annotations
{
  "title": "Romanian public holidays",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
ro_business_day
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

ro_business_day input schema
{
  "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"
    }
  }
}
ro_business_day annotations
{
  "title": "Romanian working day",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
ro_tax_deadlines
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

ro_tax_deadlines input schema
{
  "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"
    }
  }
}
ro_tax_deadlines annotations
{
  "title": "Romanian tax filing deadlines",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
validate_iban
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

validate_iban input schema
{
  "type": "object",
  "title": "validate_ibanArguments",
  "required": [
    "iban"
  ],
  "properties": {
    "iban": {
      "type": "string",
      "title": "Iban",
      "examples": [
        "RO49AAAA1B31007593840000"
      ],
      "description": "IBAN, spaces allowed"
    }
  }
}
validate_iban annotations
{
  "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

Advertised by the server during the last successful anonymous check.

xml
No description (required)
fix_anaf_rejection — Understand and fix an ANAF SPV rejection

Advertised by the server during the last successful anonymous check.

anaf_message
No description (required)
xml
No description
invoice_from_data — Create an e-Factura from invoice data

Advertised by the server during the last successful anonymous check.

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

Advertised by the server during the last successful anonymous check.

xml
No description (required)

Resources

3 advertised

guide — How to use this server

Advertised by the server during the last successful anonymous check.

Prices, free quotas, the x402 payment flow, request/response examples and error codes

guide URI
einvoice://guide

MIME type: text/markdown

pricing — Prices and free quotas

Advertised by the server during the last successful anonymous check.

pricing URI
einvoice://pricing

MIME type: application/json

sample-invoice — A valid Romanian e-Factura (UBL 2.1)

Advertised by the server during the last successful anonymous check.

Template to start from: passes CIUS-RO 1.0.9

sample-invoice URI
einvoice://sample-invoice

MIME type: application/xml

rule — An e-invoice rule explained

Advertised by the server during the last successful anonymous check.

Same as the explain_rule tool, e.g. einvoice://rules/BR-RO-110

rule URI template
einvoice://rules/{rule_id}

MIME type: application/json

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.

Too few checks for a percentage yet (1 of 1 answered).

  1. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http e-factura-validator-mcp https://einvoice.alexhub.uk/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add e-factura-validator-mcp --url https://einvoice.alexhub.uk/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable e-factura-validator-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "e-factura-validator-mcp": {
      "url": "https://einvoice.alexhub.uk/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "e-factura-validator-mcp": {
      "type": "streamableHttp",
      "url": "https://einvoice.alexhub.uk/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start e-factura-validator-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "e-factura-validator-mcp": {
      "type": "http",
      "url": "https://einvoice.alexhub.uk/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http e-factura-validator-mcp https://einvoice.alexhub.uk/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://einvoice.alexhub.uk/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing