e-Factura Validator (Romania)

uk.alexhub由 alexhub.uk 发布官方发布者v1.9.0更新于 Nov 5, 2026

Validate, fix and generate Romanian e-Factura; check SAF-T D406 (ANAF validator + consistency)

已验证Streamable HTTP可网页运行金融开发者工具商业与电商

概览

AI 生成的概览

远程 MCP 服务器,用于校验、修复和生成罗马尼亚 e-Factura UBL 发票,并在向 ANAF 申报前检查 SAF-T D406 文件。

可以做什么
  • 按 CIUS-RO、Peppol BIS 3.0 和 EN 16931 校验 UBL 2.1 发票与贷项通知,逐条给出修复建议和 UBL 字段路径
  • 修复被拒的发票 XML(代码、日期、VAT 前缀、合计),并根据简单数据生成新的 CIUS-RO 发票 XML
  • 按 CUI 查询罗马尼亚公司信息及其年度财务数据
  • 用英文和罗马尼亚文解释指定的校验规则
  • 使用 ANAF 官方校验器加一致性检查来校验 SAF-T D406 文件
  • 获取 BNR 汇率、罗马尼亚节假日、工作日计算、报税截止日期和 IBAN 校验
适用场景
适合在准备或排查提交 ANAF SPV 或 Peppol 的罗马尼亚 e-Factura 发票时使用,也适合在申报前检查 SAF-T D406 文件。对罗马尼亚公司查询、开票相关的到期日与汇率问题也有帮助。
运行要求
远程 streamable HTTP 端点;未声明需要账号、API 密钥或环境变量。付费的 validate_invoice 工具需要支持 Base 上 USDC 的 x402 支付钱包;免费工具无需钱包。
安装前请注意
validate_invoice 每次调用收费 0.01 USDC(通过 x402),助手可能因此产生费用,建议先用免费版本。发票数据、CUI 和 SAF-T 文件会发送给第三方服务。生成或修复后的 XML 在上传 ANAF 前应人工复核。

安装

在 SourceWeft 中

  1. 打开 控制台中的 e-Factura Validator (Romania),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/uk.alexhub%2Feinvoice-validator/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "e-factura-validator-romania": {
      "type": "http",
      "url": "https://einvoice.alexhub.uk/mcp"
    }
  }
}

工具

14

validate_invoice_free

Validate e-Factura invoice (free, no wallet)

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.

输入参数xml必填profile

validate_invoice

Validate e-Factura / Peppol invoice (paid)

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.

输入参数xml必填profile

fix_invoice

Auto-fix invoice XML (paid)

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.

输入参数xml必填profile

generate_invoice

Generate e-Factura XML from JSON (paid)

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

输入参数invoice必填

lookup_company

Romanian company by CUI (ANAF)

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.

输入参数cui必填

company_financials

Romanian company financial statement (ANAF)

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.

输入参数cui必填year

explain_rule

Explain e-invoice 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.

输入参数rule_id必填

validate_saft_free

Check SAF-T D406 before filing (free, 1/day)

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

输入参数xml必填

validate_saft

Check SAF-T D406 before filing (paid)

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.

输入参数xml必填

fx_rate

BNR exchange 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.

输入参数datecurrency

ro_holidays

Romanian public holidays

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

输入参数year

ro_business_day

Romanian working 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.

输入参数dateadd_days

ro_tax_deadlines

Romanian tax filing 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.

输入参数period

validate_iban

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

输入参数iban必填

版本历史

8
  1. v1.9.0最新Nov 5, 2026
  2. v1.8.0Nov 4, 2026
  3. v1.7.0Nov 3, 2026
  4. v1.6.0Oct 30, 2026
  5. v1.5.0Oct 30, 2026
  6. v1.4.0Oct 30, 2026
  7. v1.3.0Oct 25, 2026
  8. v1.2.0Oct 24, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。