HowToRomania
Romanian company data, e-Factura and legislation: CUI lookup, courts, risk, invoices, laws
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin get_court_case
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"api": {
"url": "https://api.howtoromania.io/mcp"
}
}
}Remote-Endpunkte
https://api.howtoromania.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (15)
⚪lookup_company(cui, include_fx)
Given a Romanian CUI/CIF (fiscal code, optionally prefixed RO), returns official ANAF data in English: name, addresses, trade register number, VAT status, active/inactive, e-Factura registration, plus the BNR EUR/RON rate.
Eingabe-Schema
{
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
},
"include_fx": {
"description": "Include BNR EUR/RON rate (default true)",
"type": "boolean"
}
},
"required": [
"cui"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_company_financials(cui, years)
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 5 credits; not billed if nothing is found.
Eingabe-Schema
{
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
},
"years": {
"description": "Most recent filed years to return (default 3, max 5)",
"type": "integer",
"minimum": 1,
"maximum": 5
}
},
"required": [
"cui"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_company_court_cases(cui, since, category, role, limit)
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). Costs 3 credits; not billed if nothing is found.
Eingabe-Schema
{
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840"
},
"since": {
"description": "Only cases registered on/after this date (YYYY-MM-DD). Default: Jan 1, three years ago",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"category": {
"description": "Filter by category, e.g. Civil, Penal, Insolventa, Contencios administrativ si fiscal",
"type": "string"
},
"role": {
"description": "Filter by the company's role, e.g. Reclamant (plaintiff), Pârât (defendant), Debitor, Creditor",
"type": "string"
},
"limit": {
"description": "Max cases returned (default 50, max 200); summary covers all",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"cui"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_court_case(case_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. Costs 1 credit; not billed if not found.
Eingabe-Schema
{
"type": "object",
"properties": {
"case_number": {
"type": "string",
"description": "Case number as shown by courts, e.g. 9430/271/2025"
}
},
"required": [
"case_number"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_company_risk_report(cui)
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 8 credits; not billed if the CUI is unknown.
Eingabe-Schema
{
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
}
},
"required": [
"cui"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_company_representatives(cui)
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 2 credits; not billed if the CUI is not found.
Eingabe-Schema
{
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
}
},
"required": [
"cui"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪validate_efactura(xml)
Validates a UBL 2.1 invoice/credit note against RO e-Factura rules (CIUS-RO) using ANAF's official public validator (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.
Eingabe-Schema
{
"type": "object",
"properties": {
"xml": {
"type": "string",
"minLength": 20,
"maxLength": 300000,
"description": "UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)"
}
},
"required": [
"xml"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡generate_efactura(number, issueDate, dueDate, currency, vatToRonRate, ...)
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 official validation verdict. Does NOT submit to SPV. Costs 2 credits; not billed on errors.
Eingabe-Schema
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "Invoice number, e.g. HTR-0001"
},
"issueDate": {
"description": "YYYY-MM-DD, default today",
"type": "string"
},
"dueDate": {
"type": "string"
},
"currency": {
"description": "Default RON",
"type": "string"
},
"vatToRonRate": {
"description": "Required if currency != RON (RON per unit, e.g. BNR rate)",
"type": "number"
},
"seller": {
"type": "object",
"properties": {
"cui": {
"description": "Romanian CUI; with autofill, name/address/VAT status come from ANAF",
"type": "string"
},
"vatId": {
"description": "VAT id (e.g. RO14399840 or DE123456789 for foreign parties)",
"type": "string"
},
"name": {
"type": "string"
},
"street": {
"type": "string"
},
"city": {
"description": "For Bucharest use 'Sector N'",
"type": "string"
},
"county": {
"description": "County name or code (Cluj, CJ, RO-CJ, B)",
"type": "string"
},
"postalCode": {
"type": "string"
},
"country": {
"description": "ISO 2-letter, default RO",
"type": "string"
},
"vatRegistered": {
"type": "boolean"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"iban": {
"description": "Seller IBAN for payment",
"type": "string"
},
"bank": {
"type": "string"
}
}
},
"buyer": {
"type": "object",
"properties": {
"cui": {
"description": "Romanian CUI; with autofill, name/address/VAT status come from ANAF",
"type": "string"
},
"vatId": {
"description": "VAT id (e.g. RO14399840 or DE123456789 for foreign parties)",
"type": "string"
},
"name": {
"type": "string"
},
"street": {
"type": "string"
},
"city": {
"description": "For Bucharest use 'Sector N'",
"type": "string"
},
"county": {
"description": "County name or code (Cluj, CJ, RO-CJ, B)",
"type": "string"
},
"postalCode": {
"type": "string"
},
"country": {
"description": "ISO 2-letter, default RO",
"type": "string"
},
"vatRegistered": {
"type": "boolean"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"iban": {
"description": "Seller IBAN for payment",
"type": "string"
},
"bank": {
"type": "string"
}
}
},
"lines": {
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"quantity": {
"type": "number"
},
"unitPrice": {
"type": "number"
},
"unitCode": {
"description": "UN/ECE rec 20, default H87 (piece); HUR hour, KGM kg",
"type": "string"
},
"vatRate": {
"type": "number"
},
"vatCategory": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"quantity",
"unitPrice"
]
}
},
"note": {
"type": "string"
},
"paymentTerms": {
"type": "string"
},
"autofill": {
"description": "Fill parties from ANAF by CUI (default true)",
"type": "boolean"
}
},
"required": [
"number",
"seller",
"buyer",
"lines"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢parse_efactura(xml)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"xml": {
"type": "string",
"minLength": 20,
"maxLength": 300000,
"description": "UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)"
}
},
"required": [
"xml"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪efactura_to_pdf(xml)
Renders a valid e-Factura XML as PDF using ANAF's official 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.
Eingabe-Schema
{
"type": "object",
"properties": {
"xml": {
"type": "string",
"minLength": 20,
"maxLength": 300000,
"description": "UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)"
}
},
"required": [
"xml"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_legislation(q, type, year, number, limit)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Citation or title words, e.g. 'Legea 31/1990' or 'Codul fiscal'"
},
"type": {
"description": "Act type filter, e.g. LEGE, ORDONANTA DE URGENTA, HOTARARE, ORDIN",
"type": "string"
},
"year": {
"type": "string"
},
"number": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"q"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_legal_act(id, offset, limit)
Current consolidated text of a Romanian act by legislatie.just.ro id (from search_legislation), split by article: title, issuer, publication, consolidation date, version list and articles (number, heading, text, count of amendments). Paged with offset/limit (default 50 articles). Core codes (Codul fiscal 171282, Codul muncii 41627, Codul civil 175630, Codul de procedură civilă 140271, Codul de procedură fiscală 170007, Legea 31/1990 798) also work offline. Costs 1 credit. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "legislatie.just.ro DetaliiDocument id, e.g. 171282"
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_legal_article(id, article)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Act id, e.g. 171282 for Codul fiscal"
},
"article": {
"type": "string",
"description": "Article number, e.g. 291 or 293^1"
}
},
"required": [
"id",
"article"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_legal_act_history(id, article)
Consolidation dates (with version ids) and the dated list of amendments for a whole act or one article: date in force, what was changed and by which act. Useful for 'what was the VAT rule on date X'. Costs 2 credits; not billed if not found. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"article": {
"description": "Limit to one article, e.g. 291",
"type": "string"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_new_legal_acts(since)
Acts newly indexed by legislatie.just.ro (laws, government ordinances and decisions, ministerial orders, court decisions published in Monitorul Oficial) with an in-force date on/after `since` (default: last 7 days, max 35). Costs 1 credit. Source: legislatie.just.ro (Ministry of Justice); informational, consolidated forms are unofficial, only Monitorul Oficial text is authentic.
Eingabe-Schema
{
"type": "object",
"properties": {
"since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis