n8n-nodes-bnr
v0.1.0
Published
n8n community node for official BNR (National Bank of Romania) exchange rates
Maintainers
Readme
n8n-nodes-bnr
Community n8n node for official BNR (National Bank of Romania) exchange rates, pulled from the bank's free public XML feed — no API key, no auth.
Romanian businesses are legally required to use BNR reference rates for invoicing, VAT and accounting. This node turns the daily manual lookup into an automated workflow.
Nodes
| Node | What it does | | --- | --- | | BNR Exchange Rates | Get the current rate (with % change), all of today's rates, or a historical rate for any date. |
Installation
From the n8n UI (recommended)
- Go to Settings → Community Nodes → Install.
- Enter
n8n-nodes-bnrand confirm. - The BNR Exchange Rates node appears in the node panel.
With npm
npm install n8n-nodes-bnrExample workflow
workflows/bnrExchangeRates-example.json —
every morning fetch the EUR/RON rate, and if it moved more than 0.5% since the previous
banking day, branch to a notification + a daily log. Import via Workflows → Import
from File, then swap the placeholders for your Slack / Google Sheets nodes.
Local development
cd <this-package>
npm install
npm run buildRun inside n8n via Docker:
docker run -it --rm --name n8n -p 5678:5678 `
-v n8n_data:/home/node/.n8n `
-v "<ABSOLUTE_PACKAGE_PATH>:/home/node/.n8n/custom/n8n-nodes-bnr" `
-e N8N_CUSTOM_EXTENSIONS="/home/node/.n8n/custom/n8n-nodes-bnr" `
docker.n8n.io/n8nio/n8nOpen http://localhost:5678.
Tests
npm testTests run against real BNR XML snapshots (today + 10-day feeds), covering rate parsing,
the multiplier handling, % change, the change-alert threshold, and the historical
nearest-prior-banking-day fallback.
Data & disclaimer
Data © National Bank of Romania, from the public feeds under https://www.bnr.ro.
Unofficial package, not affiliated with the BNR. Rates are reference rates; verify
against bnr.ro for anything legally binding.
License
MIT © Catalin Barabas
