HowToRomania
Romanian company data, e-Factura and legislation: CUI lookup, courts, risk, invoices, laws
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWvalidate_extracted_company_data에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"api": {
"url": "https://api.howtoromania.io/mcp"
}
}
}원격 엔드포인트
https://api.howtoromania.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (20)
🟢lookup_company(cui, include_fx)
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.
입력 스키마
{
"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 3 credits; not billed if nothing is found.
입력 스키마
{
"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). Criminal cases show only category, stage, dates and the company's own role (criminalDetailsWithheld: true). Costs 15 credits; not billed if nothing is found.
입력 스키마
{
"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. Criminal cases return only category, stage and dates (criminalDetailsWithheld: true). Costs 1 credit; not billed if not found.
입력 스키마
{
"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. 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).
입력 스키마
{
"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 5 credits; not billed if the CUI is not found.
입력 스키마
{
"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_extracted_company_data(party, invoice, asOfDate)
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.
입력 스키마
{
"type": "object",
"properties": {
"party": {
"type": "object",
"properties": {
"cui": {
"type": "string",
"description": "Romanian CUI, e.g. 12345674 or RO12345674"
},
"name": {
"description": "Company name as extracted, e.g. FIRMA S.R.L.",
"type": "string",
"maxLength": 300
},
"registrationNumber": {
"description": "Trade register number, old J40/123/2020 or new J2020000123400",
"type": "string",
"maxLength": 300
},
"vatRegistered": {
"description": "Whether the document claims the company is VAT-registered",
"type": "boolean"
},
"address": {
"description": "Address as printed, e.g. Bucuresti, Sector 1, Str. Exemplu nr. 1",
"type": "string",
"maxLength": 300
},
"iban": {
"description": "IBAN as printed, spaces optional, e.g. RO49AAAA1B31007593840000",
"type": "string",
"maxLength": 300
},
"legalRepresentative": {
"description": "Name of the person who signed; adds 5 credits. Never stored; only match/no match is returned",
"type": "string",
"maxLength": 300
}
},
"required": [
"cui"
],
"description": "Company data extracted from the document. cui is required; other fields are checked only when sent"
},
"invoice": {
"type": "object",
"properties": {
"number": {
"description": "Invoice number as printed, e.g. FCT-1",
"type": "string"
},
"date": {
"description": "Invoice date, YYYY-MM-DD",
"type": "string"
},
"currency": {
"description": "ISO 4217 currency code, e.g. RON or EUR",
"type": "string"
},
"net": {
"description": "Net amount before VAT",
"type": "number"
},
"vat": {
"description": "VAT amount",
"type": "number"
},
"total": {
"description": "Gross total; checked against net + VAT",
"type": "number"
},
"vatRates": {
"description": "VAT percents on the invoice, e.g. [21] or [21, 11]",
"type": "array",
"items": {
"type": "number"
}
}
},
"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": {
"description": "Date the document claims, YYYY-MM-DD. Default today (Europe/Bucharest). Used for ANAF status on that date",
"type": "string"
}
},
"required": [
"party"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢check_identifier_format(cui, iban, registrationNumber, name, invoice)
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.
입력 스키마
{
"type": "object",
"properties": {
"cui": {
"description": "Romanian CUI to checksum, e.g. 12345674 or RO12345674. Does not check that the company exists",
"type": "string"
},
"iban": {
"description": "IBAN to checksum, spaces optional, e.g. RO49AAAA1B31007593840000. Romanian bank is decoded from the bank code",
"type": "string"
},
"registrationNumber": {
"description": "Trade register number, old J40/123/2020 or new J2020000123400. The last digit of the new format is not verified",
"type": "string"
},
"name": {
"description": "Company name to normalize, e.g. FIRMA S.R.L. Max 300 characters",
"type": "string",
"maxLength": 300
},
"invoice": {
"type": "object",
"properties": {
"number": {
"description": "Invoice number as printed, e.g. FCT-1",
"type": "string"
},
"date": {
"description": "Invoice date, YYYY-MM-DD",
"type": "string"
},
"currency": {
"description": "ISO 4217 currency code, e.g. RON or EUR",
"type": "string"
},
"net": {
"description": "Net amount before VAT",
"type": "number"
},
"vat": {
"description": "VAT amount",
"type": "number"
},
"total": {
"description": "Gross total; checked against net + VAT",
"type": "number"
},
"vatRates": {
"description": "VAT percents on the invoice, e.g. [21] or [21, 11]",
"type": "array",
"items": {
"type": "number"
}
}
},
"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."
}
},
"$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 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.
입력 스키마
{
"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 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).
입력 스키마
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "Invoice number, e.g. HTR-0001"
},
"issueDate": {
"description": "Issue date, YYYY-MM-DD. Default today",
"type": "string"
},
"dueDate": {
"description": "Payment due date, YYYY-MM-DD",
"type": "string"
},
"currency": {
"description": "ISO 4217 currency code. Default RON",
"type": "string"
},
"vatToRonRate": {
"description": "RON per 1 unit of currency, e.g. the BNR rate. Required when currency is not RON",
"type": "number"
},
"seller": {
"type": "object",
"properties": {
"cui": {
"description": "Romanian CUI; with autofill, name, address and VAT status come from ANAF",
"type": "string"
},
"vatId": {
"description": "VAT id, e.g. RO14399840 or DE123456789 for a foreign party",
"type": "string"
},
"name": {
"description": "Legal name. Required unless autofill can fill it from cui",
"type": "string"
},
"street": {
"description": "Street and number. Required unless autofill fills it",
"type": "string"
},
"city": {
"description": "City. For Bucharest use 'Sector N', e.g. Sector 1",
"type": "string"
},
"county": {
"description": "Romanian county name or code: Cluj, CJ, RO-CJ, or B",
"type": "string"
},
"postalCode": {
"description": "Postal code, e.g. 010101",
"type": "string"
},
"country": {
"description": "ISO 3166-1 alpha-2 country code. Default RO",
"type": "string"
},
"vatRegistered": {
"description": "True when this party is VAT-registered. Autofill overwrites this from ANAF for Romanian CUIs",
"type": "boolean"
},
"email": {
"description": "Contact email, optional",
"type": "string"
},
"phone": {
"description": "Contact phone, optional",
"type": "string"
},
"iban": {
"description": "Seller IBAN used as the payment account, e.g. RO49AAAA1B31007593840000",
"type": "string"
},
"bank": {
"description": "Bank name printed next to the IBAN",
"type": "string"
}
},
"description": "Seller or buyer. A Romanian cui is enough when autofill is true"
},
"buyer": {
"type": "object",
"properties": {
"cui": {
"description": "Romanian CUI; with autofill, name, address and VAT status come from ANAF",
"type": "string"
},
"vatId": {
"description": "VAT id, e.g. RO14399840 or DE123456789 for a foreign party",
"type": "string"
},
"name": {
"description": "Legal name. Required unless autofill can fill it from cui",
"type": "string"
},
"street": {
"description": "Street and number. Required unless autofill fills it",
"type": "string"
},
"city": {
"description": "City. For Bucharest use 'Sector N', e.g. Sector 1",
"type": "string"
},
"county": {
"description": "Romanian county name or code: Cluj, CJ, RO-CJ, or B",
"type": "string"
},
"postalCode": {
"description": "Postal code, e.g. 010101",
"type": "string"
},
"country": {
"description": "ISO 3166-1 alpha-2 country code. Default RO",
"type": "string"
},
"vatRegistered": {
"description": "True when this party is VAT-registered. Autofill overwrites this from ANAF for Romanian CUIs",
"type": "boolean"
},
"email": {
"description": "Contact email, optional",
"type": "string"
},
"phone": {
"description": "Contact phone, optional",
"type": "string"
},
"iban": {
"description": "Seller IBAN used as the payment account, e.g. RO49AAAA1B31007593840000",
"type": "string"
},
"bank": {
"description": "Bank name printed next to the IBAN",
"type": "string"
}
},
"description": "Seller or buyer. A Romanian cui is enough when autofill is true"
},
"lines": {
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Line item name, e.g. Consultanta"
},
"quantity": {
"type": "number",
"description": "Quantity. Negative for a return or discount line"
},
"unitPrice": {
"type": "number",
"description": "Unit price before VAT. Must be >= 0"
},
"unitCode": {
"description": "UN/ECE Rec 20 unit. Default H87 (piece); HUR hour, KGM kg",
"type": "string"
},
"vatRate": {
"description": "VAT percent for category S. Default 21. Use 11, 19, 9 or 5 only when that rate applies",
"type": "number"
},
"vatCategory": {
"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",
"type": "string"
},
"description": {
"description": "Optional longer line description",
"type": "string"
}
},
"required": [
"name",
"quantity",
"unitPrice"
],
"description": "One invoice line"
},
"description": "Invoice lines, 1 to 500"
},
"note": {
"description": "Free-text note printed on the invoice",
"type": "string"
},
"paymentTerms": {
"description": "Payment terms note. Default 'Plata la receptie / due on receipt' when dueDate is omitted",
"type": "string"
},
"autofill": {
"description": "Fill Romanian 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.
입력 스키마
{
"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 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.
입력 스키마
{
"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.
입력 스키마
{
"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": {
"description": "Year of the act, four digits, e.g. 1990",
"type": "string"
},
"number": {
"description": "Act number within that year, e.g. 31 for Legea 31/1990",
"type": "string"
},
"limit": {
"description": "Max hits to return, 1 to 50. Default 10",
"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.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "legislatie.just.ro DetaliiDocument id, e.g. 171282"
},
"offset": {
"description": "Article index to start at, 0-based. Default 0",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"description": "Articles per page, 1 to 200. Default 50",
"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.
입력 스키마
{
"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.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "legislatie.just.ro DetaliiDocument id, e.g. 171282 for Codul fiscal"
},
"article": {
"description": "Limit the amendment list to one article, e.g. 291 or 293^1. Omit for the whole act",
"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.
입력 스키마
{
"type": "object",
"properties": {
"since": {
"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",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_bnr_exchange_rate(currency, date, from, to)
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.
입력 스키마
{
"type": "object",
"properties": {
"currency": {
"description": "ISO 4217 code, e.g. EUR, USD, GBP. History defaults to EUR. Omit on a single date to get every currency",
"type": "string"
},
"date": {
"description": "Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"from": {
"description": "History start, YYYY-MM-DD. Sending from or to returns a daily series instead of one date",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "History end, YYYY-MM-DD. Range is at most 366 days",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_robor(tenor, date, from, to)
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.
입력 스키마
{
"type": "object",
"properties": {
"tenor": {
"description": "Tenor: ON, 1W, 1M, 3M, 6M or 12M. History defaults to 3M. Omit on a single date to get every tenor",
"type": "string"
},
"date": {
"description": "Fixing date, YYYY-MM-DD. Default the latest stored fixing. Ignored when from or to is set",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"from": {
"description": "History start, YYYY-MM-DD. Sending from or to returns a series for one tenor",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "History end, YYYY-MM-DD. Range is at most 366 days",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_ircc(date, history, from, to)
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.
입력 스키마
{
"type": "object",
"properties": {
"date": {
"description": "Date the quarterly IRCC should apply to, YYYY-MM-DD. Default today. Ignored when history is set",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"history": {
"description": "Set to daily or quarterly to return a series instead of the value for one date",
"type": "string",
"enum": [
"daily",
"quarterly"
]
},
"from": {
"description": "Daily history start, YYYY-MM-DD. Used when history is daily",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Daily history end, YYYY-MM-DD. Range is at most 366 days",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거