Radar

Home › APIs › Tax, invoices & payments

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

  1. 1Fill in
  2. 2Press the button
  3. 3Read the answer
Words you may not know
  • 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.

Use it in your app: free key in 10 seconds100 calls a month on all 160 APIs · no card · the key shows on the screen at once

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

FieldTypeDescription
xmlstringThe SEPA file as XML text (empty = built-in sample: pain.001 with 5 payments in 2 batches)
fileContentstringOr the .xml / a .zip base64-encoded (max 12 MB per XML)
fileNamestringOptional file name, e.g. pain001-2026-10.xml
outputstringjson = records only; csv also returns the table as base64 in outputFiles
csvSeparatorstringCSV separator; ';' writes a decimal comma
languagestringLanguage 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.

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.

Related APIs

Bank Statement & ISO 20022 APITurns a bank statement file (camt.053 or MT940) into a normal table you can open in Excel, and checks that the balances add up.
CAMT.054 Payment Notification APIOpens a camt.054 bank file and lists every single payment of a collective booking, checks that they add up to the booked amount and checks QR and RF references.
E-Invoice to DATEV APIBooks German e-invoices (XRechnung, ZUGFeRD, Peppol) into a DATEV file for the tax advisor: one booking per VAT rate with the right tax key, and a check that every invoice adds up.
EPC QR Code APIMakes the payment QR code for an invoice (in Germany GiroCode): the payer scans it with the banking app and name, IBAN, amount and reference are filled in. The IBAN is checked first.
EU E-Invoice Parser APIOpens EU e-invoices (XRechnung, ZUGFeRD, Peppol) and shows them as a normal, readable invoice.
EU VAT Calculator APIAdd or remove VAT for any EU country and see the net, the VAT and the total.