Home › APIs › Tax, invoices & payments
SEPA XML Reader API
Opens a SEPA payment file (pain.001, pain.008) or the bank's status report (pain.002) as a table: one row per payment, IBANs and control sums checked, rejected payments explained. Do it free in your browser →
Try it here
- 1Fill in
- 2Press the button
- 3Read the answer
- SEPA XML = A file with many payments in it that you upload to your online bank instead of typing each payment.
- SEPA = The system for euro bank transfers between European countries.
- pain.001 = The official name of a SEPA file for sending payments.
Which way is for you?
What is an API, and do I need one?
An API lets your software get an answer by itself, for example a shop checking every new customer's VAT number. Not a programmer? Use the free tool in your browser instead.
Without a key: 3 test calls/day. With a free key: 100 calls/month, usage dashboard & Excel/Sheets · Have a key? Open my key · Lost it? Get it by e-mail
For programmers: copy-paste snippets (cURL, Python, Node.js, n8n) & inputs
Parse ISO 20022 SEPA files (pain.001 credit transfers .02 / .03 / .09, pain.008 direct debits .01 / .02 / .08, pain.002 payment status reports .03 / .10; one XML or a ZIP of up to 20) into one record per payment: batch, execution / collection date, counterparty name, IBAN with its check (mod 97, length, SEPA country), BIC, address, amount, EndToEndId, remittance text, RF reference check, sequence type, mandate. pain.002: status per payment with the reason code in plain words (AC04, AM04, MD01 ...). Group and batch control sums (NbOfTxs / CtrlSum) are checked and duplicate EndToEndIds flagged. Optional CSV as base64. Up to 1,000 rows per call. Deterministic, 0 AI, nothing stored.
curl -X POST https://radarbg.com/v1/sepa-xml-to-excel \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"output": "json"}'
import requests
r = requests.post(
"https://radarbg.com/v1/sepa-xml-to-excel",
headers={"X-API-Key": "YOUR_KEY"},
json={'output': 'json'},
timeout=60,
)
print(r.json()["items"])
const res = await fetch("https://radarbg.com/v1/sepa-xml-to-excel", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({"output": "json"}),
});
const data = await res.json();
console.log(data.items);
// n8n HTTP Request node (or install community node: n8n-nodes-radarbg)
Method: POST
URL: https://radarbg.com/v1/sepa-xml-to-excel
Header: X-API-Key = YOUR_KEY
Body: {"output": "json"}
// Google Sheets / Excel no-code guide: https://radarbg.com/no-code
Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are never counted.
Inputs
| Field | Type | Description |
|---|---|---|
xml | string | The SEPA file as XML text (empty = built-in sample: pain.001 with 5 payments in 2 batches) |
fileContent | string | Or the .xml / a .zip base64-encoded (max 12 MB per XML) |
fileName | string | Optional file name, e.g. pain001-2026-10.xml |
output | string | json = records only; csv also returns the table as base64 in outputFiles |
csvSeparator | string | CSV separator; ';' writes a decimal comma |
language | string | Language of status and reason texts |
Price & what paid plans unlock
Included in every plan: 100 calls/month free (no card), then Starter from €15/month (5,000 calls across all APIs) or Pro €49/month (25,000 calls, recommended). Cancel in 1 click, 7-day refund.
- Starter+ unlocks: 5,000 monthly calls across all APIs
- Starter+ unlocks: Bulk & production rate limits
- Starter+ unlocks: Priority support & 7-day refund
Questions
What does the SEPA XML Reader API do?
Opens a SEPA payment file (pain.001, pain.008) or the bank's status report (pain.002) as a table: one row per payment, IBANs and control sums checked, rejected payments explained.
Where does the data come from?
Parse ISO 20022 SEPA files (pain.001 credit transfers .02 / .03 / .09, pain.008 direct debits .01 / .02 / .08, pain.002 payment status reports .03 / .10; one XML or a ZIP of up to 20) into one record per payment: batch, execution / collection date, counterparty name, IBAN with its check (mod 97, length, SEPA country), BIC, address, amount, EndToEndId, remittance text, RF reference check, sequence
How much does it cost?
100 calls a month are free with no card. Paid plans start at EUR 15 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.
What is an API? Do I need to be a programmer?
An API lets a program get answers from another program automatically. You only need it if your own website or software should do this by itself. Without programming, use the free browser tool, the Excel upload where offered, or let us do the job for you.