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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。