HowToRomania is an MCP server published by io.howtoromania, hosted at api.howtoromania.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 20 tools, including lookup_company, get_company_financials, get_company_court_cases, get_court_case, get_company_risk_report.
Romanian company data, e-Factura and legislation: CUI lookup, courts, risk, invoices, laws
1 connections through 5 shared values. Tap any node.
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. eFactura.status is always registered, not_registered, or unknown. eFactura.registered is true or false only when ANAF sends a readable flag, and is omitted when status is unknown. Omitted is not a negative finding. False means not in Registrul RO e-Factura on the queried date, not that the company is exempt from domestic B2B e-Factura.
| Parameter | Type | Description |
|---|---|---|
| cui * | string | Romanian CUI, e.g. 14399840 or RO14399840 |
| include_fx | boolean | Include BNR EUR/RON rate (default true) |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
{
"name": "lookup_company",
"title": "Look up a Romanian company",
"description": "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. eFactura.status is always registered, not_registered, or unknown. eFactura.registered is true or false only when ANAF sends a readable flag, and is omitted when status is unknown. Omitted is not a negative finding. False means not in Registrul RO e-Factura on the queried date, not that the company is exempt from domestic B2B e-Factura.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
},
"include_fx": {
"type": "boolean",
"description": "Include BNR EUR/RON rate (default true)"
}
}
},
"annotations": {
"title": "Look up a Romanian company",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| cui * | string | Romanian CUI, e.g. 14399840 or RO14399840 |
| years | integer | Most recent filed years to return (default 3, max 5) |
{
"name": "get_company_financials",
"title": "Romanian company financial statements",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
},
"years": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "Most recent filed years to return (default 3, max 5)"
}
}
},
"annotations": {
"title": "Romanian company financial statements",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| cui * | string | Romanian CUI, e.g. 14399840 |
| role | string | Filter by the company's role, e.g. Reclamant (plaintiff), Pârât (defendant), Debitor, Creditor |
| limit | integer | Max cases returned (default 50, max 200); summary covers all |
| since | string | Only cases registered on/after this date (YYYY-MM-DD). Default: Jan 1, three years ago |
| category | string | Filter by category, e.g. Civil, Penal, Insolventa, Contencios administrativ si fiscal |
{
"name": "get_company_court_cases",
"title": "Romanian court cases of a company",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840"
},
"role": {
"type": "string",
"description": "Filter by the company's role, e.g. Reclamant (plaintiff), Pârât (defendant), Debitor, Creditor"
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Max cases returned (default 50, max 200); summary covers all"
},
"since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only cases registered on/after this date (YYYY-MM-DD). Default: Jan 1, three years ago"
},
"category": {
"type": "string",
"description": "Filter by category, e.g. Civil, Penal, Insolventa, Contencios administrativ si fiscal"
}
}
},
"annotations": {
"title": "Romanian court cases of a company",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| case_number * | string | Case number as shown by courts, e.g. 9430/271/2025 |
{
"name": "get_court_case",
"title": "Romanian court case by number",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"case_number"
],
"properties": {
"case_number": {
"type": "string",
"description": "Case number as shown by courts, e.g. 9430/271/2025"
}
}
},
"annotations": {
"title": "Romanian court case by number",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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. sections.anaf.eFactura.status is registered, not_registered, or unknown; eFactura.registered is omitted when unknown. 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. Billed in full even if some sections are unavailable (listed in unavailableSections).
| Parameter | Type | Description |
|---|---|---|
| cui * | string | Romanian CUI, e.g. 14399840 or RO14399840 |
{
"name": "get_company_risk_report",
"title": "Romanian company risk report",
"description": "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. sections.anaf.eFactura.status is registered, not_registered, or unknown; eFactura.registered is omitted when unknown. 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. Billed in full even if some sections are unavailable (listed in unavailableSections).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
}
}
},
"annotations": {
"title": "Romanian company risk report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| cui * | string | Romanian CUI, e.g. 14399840 or RO14399840 |
{
"name": "get_company_representatives",
"title": "Romanian company legal representatives (ONRC)",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 14399840 or RO14399840"
}
}
},
"annotations": {
"title": "Romanian company legal representatives (ONRC)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks company data an AI extracted from an invoice, contract or form against Romanian public sources (ANAF, ONRC) and checksums. Returns a verdict and the registered value per field (CUI, name, registration number, VAT status, company status, address, IBAN, legal representative), optional invoice arithmetic checks, and a deterministic confidence score with pass / review / reject. Use before saving to an ERP or paying. Costs 2 credits, +5 with legalRepresentative, +1 with invoice; not billed on errors or when ANAF is unreachable. Checked against public sources (ANAF, ONRC) and checksums. Not a KYC/AML check. A structurally valid IBAN does not prove the account belongs to the company. Always review before paying.
| Parameter | Type | Description |
|---|---|---|
| party * | object | Company data extracted from the document. cui is required; other fields are checked only when sent |
| invoice | object | Optional invoice block. Adds 1 credit on validate_extracted_company_data. Checks total = net + VAT, Romanian VAT rates, and that the date is not in the future. |
| asOfDate | string | Date the document claims, YYYY-MM-DD. Default today (Europe/Bucharest). Used for ANAF status on that date |
{
"name": "validate_extracted_company_data",
"title": "Check extracted Romanian company data (ANAF, ONRC)",
"description": "Checks company data an AI extracted from an invoice, contract or form against Romanian public sources (ANAF, ONRC) and checksums. Returns a verdict and the registered value per field (CUI, name, registration number, VAT status, company status, address, IBAN, legal representative), optional invoice arithmetic checks, and a deterministic confidence score with pass / review / reject. Use before saving to an ERP or paying. Costs 2 credits, +5 with legalRepresentative, +1 with invoice; not billed on errors or when ANAF is unreachable. Checked against public sources (ANAF, ONRC) and checksums. Not a KYC/AML check. A structurally valid IBAN does not prove the account belongs to the company. Always review before paying.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"party"
],
"properties": {
"party": {
"type": "object",
"required": [
"cui"
],
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 12345674 or RO12345674"
},
"iban": {
"type": "string",
"maxLength": 300,
"description": "IBAN as printed, spaces optional, e.g. RO49AAAA1B31007593840000"
},
"name": {
"type": "string",
"maxLength": 300,
"description": "Company name as extracted, e.g. FIRMA S.R.L."
},
"address": {
"type": "string",
"maxLength": 300,
"description": "Address as printed, e.g. Bucuresti, Sector 1, Str. Exemplu nr. 1"
},
"vatRegistered": {
"type": "boolean",
"description": "Whether the document claims the company is VAT-registered"
},
"registrationNumber": {
"type": "string",
"maxLength": 300,
"description": "Trade register number, old J40/123/2020 or new J2020000123400"
},
"legalRepresentative": {
"type": "string",
"maxLength": 300,
"description": "Name of the person who signed; adds 5 credits. Never stored; only match/no match is returned"
}
},
"description": "Company data extracted from the document. cui is required; other fields are checked only when sent"
},
"invoice": {
"type": "object",
"properties": {
"net": {
"type": "number",
"description": "Net amount before VAT"
},
"vat": {
"type": "number",
"description": "VAT amount"
},
"date": {
"type": "string",
"description": "Invoice date, YYYY-MM-DD"
},
"total": {
"type": "number",
"description": "Gross total; checked against net + VAT"
},
"number": {
"type": "string",
"description": "Invoice number as printed, e.g. FCT-1"
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code, e.g. RON or EUR"
},
"vatRates": {
"type": "array",
"items": {
"type": "number"
},
"description": "VAT percents on the invoice, e.g. [21] or [21, 11]"
}
},
"description": "Optional invoice block. Adds 1 credit on validate_extracted_company_data. Checks total = net + VAT, Romanian VAT rates, and that the date is not in the future."
},
"asOfDate": {
"type": "string",
"description": "Date the document claims, YYYY-MM-DD. Default today (Europe/Bucharest). Used for ANAF status on that date"
}
}
},
"annotations": {
"title": "Check extracted Romanian company data (ANAF, ONRC)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free, local-only checks with no registry lookup: CUI checksum, IBAN checksum (and Romanian bank from the code), trade register number format (old and new), company name normalization, and invoice arithmetic (total = net + VAT, Romanian VAT rates, date not in the future). Does not check that the company exists; the last digit of new-format registration numbers (e.g. J2020001234400) is not verified. Free, works without an API key; rate-limited per IP. For registry checks use validate_extracted_company_data.
| Parameter | Type | Description |
|---|---|---|
| cui | string | Romanian CUI to checksum, e.g. 12345674 or RO12345674. Does not check that the company exists |
| iban | string | IBAN to checksum, spaces optional, e.g. RO49AAAA1B31007593840000. Romanian bank is decoded from the bank code |
| name | string | Company name to normalize, e.g. FIRMA S.R.L. Max 300 characters |
| invoice | object | Optional invoice block. Adds 1 credit on validate_extracted_company_data. Checks total = net + VAT, Romanian VAT rates, and that the date is not in the future. |
| registrationNumber | string | Trade register number, old J40/123/2020 or new J2020000123400. The last digit of the new format is not verified |
{
"name": "check_identifier_format",
"title": "Free format check: CUI, IBAN, trade register number, invoice arithmetic",
"description": "Free, local-only checks with no registry lookup: CUI checksum, IBAN checksum (and Romanian bank from the code), trade register number format (old and new), company name normalization, and invoice arithmetic (total = net + VAT, Romanian VAT rates, date not in the future). Does not check that the company exists; the last digit of new-format registration numbers (e.g. J2020001234400) is not verified. Free, works without an API key; rate-limited per IP. For registry checks use validate_extracted_company_data.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI to checksum, e.g. 12345674 or RO12345674. Does not check that the company exists"
},
"iban": {
"type": "string",
"description": "IBAN to checksum, spaces optional, e.g. RO49AAAA1B31007593840000. Romanian bank is decoded from the bank code"
},
"name": {
"type": "string",
"maxLength": 300,
"description": "Company name to normalize, e.g. FIRMA S.R.L. Max 300 characters"
},
"invoice": {
"type": "object",
"properties": {
"net": {
"type": "number",
"description": "Net amount before VAT"
},
"vat": {
"type": "number",
"description": "VAT amount"
},
"date": {
"type": "string",
"description": "Invoice date, YYYY-MM-DD"
},
"total": {
"type": "number",
"description": "Gross total; checked against net + VAT"
},
"number": {
"type": "string",
"description": "Invoice number as printed, e.g. FCT-1"
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code, e.g. RON or EUR"
},
"vatRates": {
"type": "array",
"items": {
"type": "number"
},
"description": "VAT percents on the invoice, e.g. [21] or [21, 11]"
}
},
"description": "Optional invoice block. Adds 1 credit on validate_extracted_company_data. Checks total = net + VAT, Romanian VAT rates, and that the date is not in the future."
},
"registrationNumber": {
"type": "string",
"description": "Trade register number, old J40/123/2020 or new J2020000123400. The last digit of the new format is not verified"
}
}
},
"annotations": {
"title": "Free format check: CUI, IBAN, trade register number, invoice arithmetic",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| xml * | string | UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO) |
{
"name": "validate_efactura",
"title": "Validate a Romanian e-Factura XML",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"maxLength": 300000,
"minLength": 20,
"description": "UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)"
}
}
},
"annotations": {
"title": "Validate a Romanian e-Factura XML",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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 or if ANAF's validator is unreachable (the XML is still returned).
| Parameter | Type | Description |
|---|---|---|
| note | string | Free-text note printed on the invoice |
| buyer * | object | Seller or buyer. A Romanian cui is enough when autofill is true |
| lines * | array | Invoice lines, 1 to 500 |
| number * | string | Invoice number, e.g. HTR-0001 |
| seller * | object | Seller or buyer. A Romanian cui is enough when autofill is true |
| dueDate | string | Payment due date, YYYY-MM-DD |
| autofill | boolean | Fill Romanian parties from ANAF by CUI. Default true |
| currency | string | ISO 4217 currency code. Default RON |
| issueDate | string | Issue date, YYYY-MM-DD. Default today |
| paymentTerms | string | Payment terms note. Default 'Plata la receptie / due on receipt' when dueDate is omitted |
| vatToRonRate | number | RON per 1 unit of currency, e.g. the BNR rate. Required when currency is not RON |
{
"name": "generate_efactura",
"title": "Generate a Romanian e-Factura XML",
"description": "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 or if ANAF's validator is unreachable (the XML is still returned).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"number",
"seller",
"buyer",
"lines"
],
"properties": {
"note": {
"type": "string",
"description": "Free-text note printed on the invoice"
},
"buyer": {
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI; with autofill, name, address and VAT status come from ANAF"
},
"bank": {
"type": "string",
"description": "Bank name printed next to the IBAN"
},
"city": {
"type": "string",
"description": "City. For Bucharest use 'Sector N', e.g. Sector 1"
},
"iban": {
"type": "string",
"description": "Seller IBAN used as the payment account, e.g. RO49AAAA1B31007593840000"
},
"name": {
"type": "string",
"description": "Legal name. Required unless autofill can fill it from cui"
},
"email": {
"type": "string",
"description": "Contact email, optional"
},
"phone": {
"type": "string",
"description": "Contact phone, optional"
},
"vatId": {
"type": "string",
"description": "VAT id, e.g. RO14399840 or DE123456789 for a foreign party"
},
"county": {
"type": "string",
"description": "Romanian county name or code: Cluj, CJ, RO-CJ, or B"
},
"street": {
"type": "string",
"description": "Street and number. Required unless autofill fills it"
},
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code. Default RO"
},
"postalCode": {
"type": "string",
"description": "Postal code, e.g. 010101"
},
"vatRegistered": {
"type": "boolean",
"description": "True when this party is VAT-registered. Autofill overwrites this from ANAF for Romanian CUIs"
}
},
"description": "Seller or buyer. A Romanian cui is enough when autofill is true"
},
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"quantity",
"unitPrice"
],
"properties": {
"name": {
"type": "string",
"description": "Line item name, e.g. Consultanta"
},
"vatRate": {
"type": "number",
"description": "VAT percent for category S. Default 21. Use 11, 19, 9 or 5 only when that rate applies"
},
"quantity": {
"type": "number",
"description": "Quantity. Negative for a return or discount line"
},
"unitCode": {
"type": "string",
"description": "UN/ECE Rec 20 unit. Default H87 (piece); HUR hour, KGM kg"
},
"unitPrice": {
"type": "number",
"description": "Unit price before VAT. Must be >= 0"
},
"description": {
"type": "string",
"description": "Optional longer line description"
},
"vatCategory": {
"type": "string",
"description": "VAT category: S standard, Z zero, E exempt, AE reverse charge, K intra-EU, G export, O not subject. Default S, or O when the seller is not VAT-registered"
}
},
"description": "One invoice line"
},
"maxItems": 500,
"minItems": 1,
"description": "Invoice lines, 1 to 500"
},
"number": {
"type": "string",
"description": "Invoice number, e.g. HTR-0001"
},
"seller": {
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI; with autofill, name, address and VAT status come from ANAF"
},
"bank": {
"type": "string",
"description": "Bank name printed next to the IBAN"
},
"city": {
"type": "string",
"description": "City. For Bucharest use 'Sector N', e.g. Sector 1"
},
"iban": {
"type": "string",
"description": "Seller IBAN used as the payment account, e.g. RO49AAAA1B31007593840000"
},
"name": {
"type": "string",
"description": "Legal name. Required unless autofill can fill it from cui"
},
"email": {
"type": "string",
"description": "Contact email, optional"
},
"phone": {
"type": "string",
"description": "Contact phone, optional"
},
"vatId": {
"type": "string",
"description": "VAT id, e.g. RO14399840 or DE123456789 for a foreign party"
},
"county": {
"type": "string",
"description": "Romanian county name or code: Cluj, CJ, RO-CJ, or B"
},
"street": {
"type": "string",
"description": "Street and number. Required unless autofill fills it"
},
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code. Default RO"
},
"postalCode": {
"type": "string",
"description": "Postal code, e.g. 010101"
},
"vatRegistered": {
"type": "boolean",
"description": "True when this party is VAT-registered. Autofill overwrites this from ANAF for Romanian CUIs"
}
},
"description": "Seller or buyer. A Romanian cui is enough when autofill is true"
},
"dueDate": {
"type": "string",
"description": "Payment due date, YYYY-MM-DD"
},
"autofill": {
"type": "boolean",
"description": "Fill Romanian parties from ANAF by CUI. Default true"
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code. Default RON"
},
"issueDate": {
"type": "string",
"description": "Issue date, YYYY-MM-DD. Default today"
},
"paymentTerms": {
"type": "string",
"description": "Payment terms note. Default 'Plata la receptie / due on receipt' when dueDate is omitted"
},
"vatToRonRate": {
"type": "number",
"description": "RON per 1 unit of currency, e.g. the BNR rate. Required when currency is not RON"
}
}
},
"annotations": {
"title": "Generate a Romanian e-Factura XML",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| xml * | string | UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO) |
{
"name": "parse_efactura",
"title": "Parse a Romanian e-Factura XML to JSON",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"maxLength": 300000,
"minLength": 20,
"description": "UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)"
}
}
},
"annotations": {
"title": "Parse a Romanian e-Factura XML to JSON",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| xml * | string | UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO) |
{
"name": "efactura_to_pdf",
"title": "Render a Romanian e-Factura XML as PDF",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"maxLength": 300000,
"minLength": 20,
"description": "UBL 2.1 Invoice or CreditNote XML (RO e-Factura / CIUS-RO)"
}
}
},
"annotations": {
"title": "Render a Romanian e-Factura XML as PDF",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| q * | string | Citation or title words, e.g. 'Legea 31/1990' or 'Codul fiscal' |
| type | string | Act type filter, e.g. LEGE, ORDONANTA DE URGENTA, HOTARARE, ORDIN |
| year | string | Year of the act, four digits, e.g. 1990 |
| limit | integer | Max hits to return, 1 to 50. Default 10 |
| number | string | Act number within that year, e.g. 31 for Legea 31/1990 |
{
"name": "search_legislation",
"title": "Search Romanian legislation",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Citation or title words, e.g. 'Legea 31/1990' or 'Codul fiscal'"
},
"type": {
"type": "string",
"description": "Act type filter, e.g. LEGE, ORDONANTA DE URGENTA, HOTARARE, ORDIN"
},
"year": {
"type": "string",
"description": "Year of the act, four digits, e.g. 1990"
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Max hits to return, 1 to 50. Default 10"
},
"number": {
"type": "string",
"description": "Act number within that year, e.g. 31 for Legea 31/1990"
}
}
},
"annotations": {
"title": "Search Romanian legislation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | legislatie.just.ro DetaliiDocument id, e.g. 171282 |
| limit | integer | Articles per page, 1 to 200. Default 50 |
| offset | integer | Article index to start at, 0-based. Default 0 |
{
"name": "get_legal_act",
"title": "Romanian legal act (current consolidated form)",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "legislatie.just.ro DetaliiDocument id, e.g. 171282"
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Articles per page, 1 to 200. Default 50"
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Article index to start at, 0-based. Default 0"
}
}
},
"annotations": {
"title": "Romanian legal act (current consolidated form)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Act id, e.g. 171282 for Codul fiscal |
| article * | string | Article number, e.g. 291 or 293^1 |
{
"name": "get_legal_article",
"title": "Article of a Romanian legal act",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"article"
],
"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"
}
}
},
"annotations": {
"title": "Article of a Romanian legal act",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | legislatie.just.ro DetaliiDocument id, e.g. 171282 for Codul fiscal |
| article | string | Limit the amendment list to one article, e.g. 291 or 293^1. Omit for the whole act |
{
"name": "get_legal_act_history",
"title": "Amendment history of a Romanian act",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "legislatie.just.ro DetaliiDocument id, e.g. 171282 for Codul fiscal"
},
"article": {
"type": "string",
"description": "Limit the amendment list to one article, e.g. 291 or 293^1. Omit for the whole act"
}
}
},
"annotations": {
"title": "Amendment history of a Romanian act",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| since | string | Include acts in force on or after this date, YYYY-MM-DD. Default the last 7 days. Must be within the last 35 days |
{
"name": "get_new_legal_acts",
"title": "New Romanian legal acts",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Include acts in force on or after this date, YYYY-MM-DD. Default the last 7 days. Must be within the last 35 days"
}
}
},
"annotations": {
"title": "New Romanian legal acts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}BNR reference exchange rates in RON from 2005-01-03: one date (latest fixing on/before the date; all currencies or one), or a daily series for one currency with from/to (max 366 days). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.
| Parameter | Type | Description |
|---|---|---|
| to | string | History end, YYYY-MM-DD. Range is at most 366 days |
| date | string | Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set |
| from | string | History start, YYYY-MM-DD. Sending from or to returns a daily series instead of one date |
| currency | string | ISO 4217 code, e.g. EUR, USD, GBP. History defaults to EUR. Omit on a single date to get every currency |
{
"name": "get_bnr_exchange_rate",
"title": "BNR exchange rate (RON reference rate)",
"description": "BNR reference exchange rates in RON from 2005-01-03: one date (latest fixing on/before the date; all currencies or one), or a daily series for one currency with from/to (max 366 days). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "History end, YYYY-MM-DD. Range is at most 366 days"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set"
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "History start, YYYY-MM-DD. Sending from or to returns a daily series instead of one date"
},
"currency": {
"type": "string",
"description": "ISO 4217 code, e.g. EUR, USD, GBP. History defaults to EUR. Omit on a single date to get every currency"
}
}
},
"annotations": {
"title": "BNR exchange rate (RON reference rate)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}ROBOR (offered) and ROBID (bid) fixings, % p.a., tenors ON, 1W, 1M, 3M, 6M, 12M, from 1995-08-01: one date (latest fixing on/before) or a series for one tenor with from/to (max 366 days). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.
| Parameter | Type | Description |
|---|---|---|
| to | string | History end, YYYY-MM-DD. Range is at most 366 days |
| date | string | Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set |
| from | string | History start, YYYY-MM-DD. Sending from or to returns a series for one tenor |
| tenor | string | Tenor: ON, 1W, 1M, 3M, 6M or 12M. History defaults to 3M. Omit on a single date to get every tenor |
{
"name": "get_robor",
"title": "ROBOR / ROBID interbank rates",
"description": "ROBOR (offered) and ROBID (bid) fixings, % p.a., tenors ON, 1W, 1M, 3M, 6M, 12M, from 1995-08-01: one date (latest fixing on/before) or a series for one tenor with from/to (max 366 days). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "History end, YYYY-MM-DD. Range is at most 366 days"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set"
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "History start, YYYY-MM-DD. Sending from or to returns a series for one tenor"
},
"tenor": {
"type": "string",
"description": "Tenor: ON, 1W, 1M, 3M, 6M or 12M. History defaults to 3M. Omit on a single date to get every tenor"
}
}
},
"annotations": {
"title": "ROBOR / ROBID interbank rates",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}IRCC (indicele de referință pentru creditele consumatorilor), % p.a.: the quarterly value applicable on a date (plus the next quarter's if published) and the latest daily value; or history (type daily with from/to, or quarterly). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.
| Parameter | Type | Description |
|---|---|---|
| to | string | Daily history end, YYYY-MM-DD. Range is at most 366 days |
| date | string | Date the quarterly IRCC should apply to, YYYY-MM-DD. Default today. Ignored when history is set |
| from | string | Daily history start, YYYY-MM-DD. Used when history is daily |
| history | string | Set to daily or quarterly to return a series instead of the value for one date |
{
"name": "get_ircc",
"title": "IRCC consumer-credit reference index",
"description": "IRCC (indicele de referință pentru creditele consumatorilor), % p.a.: the quarterly value applicable on a date (plus the next quarter's if published) and the latest daily value; or history (type daily with from/to, or quarterly). Free (0 credits); works without an API key (keyless calls are rate-limited per IP). Source: Banca Națională a României (bnr.ro); informational, values unchanged from BNR source.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Daily history end, YYYY-MM-DD. Range is at most 366 days"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date the quarterly IRCC should apply to, YYYY-MM-DD. Default today. Ignored when history is set"
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Daily history start, YYYY-MM-DD. Used when history is daily"
},
"history": {
"enum": [
"daily",
"quarterly"
],
"type": "string",
"description": "Set to daily or quarterly to return a series instead of the value for one date"
}
}
},
"annotations": {
"title": "IRCC consumer-credit reference index",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}HowToRomania gives Romanian public data in English: company lookup by CUI and ONRC, VAT and e-Factura registry status, financials, court cases, representatives, a risk report, legislation, BNR exchange rates, ROBOR and IRCC, and e-Factura validate, generate, parse and PDF. Start with lookup_company for a CUI. Use get_company_financials, get_company_court_cases, get_court_case, get_company_representatives and get_company_risk_report for those tasks. Call check_identifier_format first for format-only checks with no credits, then validate_extracted_company_data to verify data extracted from documents. Legislation: search_legislation, get_legal_act, get_legal_article, get_legal_act_history, get_new_legal_acts. Rates: get_bnr_exchange_rate, get_robor, get_ircc. e-Factura: validate_efactura, generate_efactura, parse_efactura, efactura_to_pdf. Responses come from public sources such as ANAF, ONRC, portal.just.ro, legislatie.just.ro and BNR, and include source and freshness fields. Free tools (check_identifier_format, get_bnr_exchange_rate, get_robor, get_ircc) are rate-limited per IP. Paid tools need an API key (Authorization: Bearer) from howtoromania.io.
Names, descriptions and schemas were written by the server and are shown as data.