HowToRomania

io.howtoromaniaPublished by howtoromania.ioOfficial publisherv0.5.0Updated Oct 24, 2026

Romanian company data, e-Factura and legislation: CUI lookup, courts, risk, invoices, laws

VerifiedStreamable HTTPWeb executableFinanceKnowledge & MemoryBusiness & Commerce

Overview

AI-generated overview

Remote MCP server for Romanian company data, RO e-Factura invoices and legislation, letting an assistant look up firms, court cases, risk and laws.

What you can do
Look up Romanian companies by CUI: ANAF registry data, financial statements, trade-register representatives and a rule-based risk report with court-case summary and score. Retrieve court cases from the Ministry of Justice portal, with case detail and hearings. Validate, generate, parse and render RO e-Factura UBL invoices, including PDF output. Search Romanian legislation and read consolidated acts, single articles, amendment history and newly indexed acts.
When to use it
Useful for due diligence on Romanian companies, checking VAT and insolvency status, preparing or checking e-Factura invoices, and answering questions about current Romanian law and how rules changed over time.
Requirements
Remote streamable HTTP endpoint; no local runtime. A bearer API key is required in the Authorization header; a free key can be requested by email. Some tools consume credits.
Before you install
The API key is a secret sent in the Authorization header. Several tools cost credits (for example 3 for financials, 5 for trade-register data), so usage spends a paid quota. Queries about companies and court cases are sent to a third-party service; natural persons are masked and criminal case details are withheld. Generated invoices and legal texts should be verified before reliance.

Installation

In SourceWeft

  1. Open HowToRomania in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.howtoromania%2Fapi/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "howtoromania": {
      "type": "http",
      "url": "https://api.howtoromania.io/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

Tools

15

lookup_company

Look up a Romanian company

Given a Romanian CUI/CIF (fiscal code, optionally prefixed RO), returns ANAF public registry data in English: name, addresses, trade register number, VAT status, active/inactive, e-Factura registration, plus the BNR EUR/RON rate.

Parameterscuirequiredinclude_fx

get_company_financials

Romanian company financial statements

Annual financial statements filed with ANAF for a Romanian company (by CUI), in English: net turnover, revenue, expenses, gross/net profit (negative = loss), employees, assets, cash, debts, equity, plus net margin, debt-to-equity, ROE/ROA and YoY revenue growth. Amounts in RON. Costs 3 credits; not billed if nothing is found.

Parameterscuirequiredyears

get_company_court_cases

Romanian court cases of a company

Court cases (portal.just.ro, Ministry of Justice) where a Romanian company (by CUI) is a party: summary (total, by category/stage/company role, pending vs decided, insolvency) and a case list with court, subject, stage, company role, other parties and last/next hearing. Natural persons are masked (GDPR). Criminal cases show only category, stage, dates and the company's own role (criminalDetailsWithheld: true). Costs 15 credits; not billed if nothing is found.

Parameterscuirequiredrolelimitsincecategory

get_court_case

Romanian court case by number

Full detail of a Romanian court case by its number (e.g. 9430/271/2025) from portal.just.ro: court, subject, stage, parties with roles (natural persons masked), all hearings with outcomes, and appeals. Criminal cases return only category, stage and dates (criminalDetailsWithheld: true). Costs 1 credit; not billed if not found.

Parameterscase_numberrequired

get_company_risk_report

Romanian company risk report

One-call due-diligence report for a Romanian company (by CUI): ANAF status (active/inactive, VAT, e-Factura), last 3 years of financials, court-case summary (portal.just.ro) and ONRC registry data when available, with a transparent rule-based score 0-100 (higher = fewer risk signals) and explained flags. Informational only, NOT credit advice. Costs 30 credits once for this call; the included financials, court cases and registry reads are not billed again. Not billed if the CUI is unknown.

Parameterscuirequired

get_company_representatives

Romanian company legal representatives (ONRC)

Trade-register data for a Romanian company (by CUI) from the ONRC monthly open-data snapshot: registration number, EUID, legal form, registry status (decoded), authorized CAEN codes and legal representatives (names and roles, e.g. administrator, lichidator). Costs 5 credits; not billed if the CUI is not found.

Parameterscuirequired

validate_efactura

Validate a Romanian e-Factura XML

Validates a UBL 2.1 invoice/credit note against RO e-Factura rules (CIUS-RO) using ANAF's public validation service (XSD + Schematron, no ANAF account needed) plus fast local checks (totals, VAT breakdown, CUI checksums, RO county codes, Bucharest SECTORn). Returns valid true/false and the exact rule codes (BR-xx, BR-RO-xx) with English/Romanian messages. Costs 1 credit; not billed if ANAF is unreachable.

Parametersxmlrequired

generate_efactura

Generate a Romanian e-Factura XML

Builds a valid RO e-Factura (CIUS-RO 1.0.1, UBL 2.1) invoice XML from simple JSON: seller/buyer (just the CUI is enough: name, address, county code and VAT status are auto-filled from ANAF), lines with quantity, unit price and VAT rate (default 21%; categories S, Z, E, AE reverse charge, K, G, O not subject). Computes line, VAT and grand totals and returns the XML plus ANAF's validation verdict (public validation service). Does NOT submit to SPV. Costs 2 credits; not billed on errors.

ParametersnotebuyerrequiredlinesrequirednumberrequiredsellerrequireddueDateautofillcurrencyissueDatepaymentTermsvatToRonRate

parse_efactura

Parse a Romanian e-Factura XML to JSON

Turns a UBL 2.1 e-Factura invoice or credit note XML (e.g. downloaded from ANAF SPV) into clean English JSON: number, dates, type, currency, seller/buyer (name, VAT id, CUI, address, contact), payment means and IBAN, lines (name, quantity, unit, price, net, VAT), VAT breakdown and totals. Costs 1 credit; not billed on errors.

Parametersxmlrequired

efactura_to_pdf

Render a Romanian e-Factura XML as PDF

Renders a valid e-Factura XML as PDF using ANAF's public transformation service (no ANAF account). Returns the PDF as a base64 resource. The XML must pass validation. Costs 1 credit; not billed on errors.

Parametersxmlrequired

search_legislation

Search Romanian legislation

Finds Romanian normative acts on legislatie.just.ro by citation or title words: 'Legea 31/1990', 'OUG 195/2002', 'HG 1/2016', 'Codul fiscal', 'Codul muncii', or words from the title. Ranked so the main act comes first (codes and laws before decrees/orders). Returns act ids for get_legal_act / get_legal_article. Costs 1 credit; not billed if nothing matches. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.

Parametersqrequiredtypeyearlimitnumber

get_legal_article

Article of a Romanian legal act

One article in its current consolidated form, e.g. Codul fiscal (171282) art. 291 (VAT rates), with paragraph/letter structure and dated amendment notes (what changed it and when). Article numbers like '293^1' are supported. Costs 1 credit; not billed if not found. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.

Parametersidrequiredarticlerequired

Version history

3
  1. v0.5.0LatestOct 16, 2026
  2. v0.2.0Oct 16, 2026
  3. v0.1.0Oct 14, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.