BNR exchange rate
exchange_rateConvert foreign currency amounts to RON using the official National Bank of Romania reference rate for a specific date, including prior-day fixing for VAT invoices.
Instructions
Official National Bank of Romania (BNR) reference rate: how many RON one unit of a currency is worth on a day, and optionally an amount converted to RON. rate_date is the day of the fixing that was used.
BNR publishes once per working day around 13:00. For a VAT invoice in foreign currency the usual rule is the last rate published before the invoice date, so ask for the day before. Cached for 1h (past years for 30 days).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day to get the rate for (YYYY-MM-DD or DD.MM.YYYY), from 2005 on. Weekends and holidays give the last rate before. Defaults to the latest rate. | |
| amount | No | Amount in that currency to convert to RON, e.g. 1500 for 1500 EUR. | |
| currency | No | ISO code like "EUR", "USD", "GBP", or "ALL" for every currency BNR publishes. | EUR |