bnr

n8n community node for official BNR (National Bank of Romania) exchange rates

Package Information

Released: 4 mo ago
Downloads: 10 weekly / 159 monthly
Latest Version: 0.1.0
Author: Catalin Barabas

Documentation

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)

  1. Go to Settings → Community Nodes → Install.
  2. Enter n8n-nodes-bnr and confirm.
  3. The BNR Exchange Rates node appears in the node panel.

With npm

npm install n8n-nodes-bnr

Example 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 build

Run 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/n8n

Open http://localhost:5678.

Tests

npm test

Tests 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

Discussion