Radar

Home › APIs › Tax, invoices & payments

Tax, invoices & payments

Swiss QR-Bill API

Makes the Swiss QR-bill (QR-Rechnung) as a PDF: the payment part with the QR code that Swiss banking apps scan. IBAN, reference and addresses are checked first. 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
  • PDF = A document file that looks the same on every computer and phone.
  • QR code = A square code you scan with your phone camera to open a link, join Wi-Fi or pay.
  • scan = A picture of a paper document made with a scanner or phone camera.
  • IBAN = the international bank account number, e.g. DE89 3704 0044 0532 0130 00.

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 158 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: details, example request and inputs

Make a Swiss QR-bill (QR-Rechnung, SIX Swiss Payment Code SPC 0200, structured addresses as required since November 2025) as a print-ready PDF: receipt and payment part with the 46 mm Swiss QR code and Swiss cross, on A4 or as the 210 x 105 mm part alone, in German, French, Italian or English. Checked before the bill is drawn: CH / LI IBAN (mod-97), QR-IBAN with its 27-digit QR reference (mod-10 recursive), RF creditor reference (ISO 11649) with a normal IBAN, CHF or EUR, amount, address lengths, country code and character set. Returns the PDF (base64) and the validated payload line by line. Deterministic, 0 AI, nothing stored.

Example request

curl -X POST https://radarbg.com/v1/swiss-qr-bill \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"iban": "CH4431999123000889012", "creditorName": "Robert Schneider AG", "creditorStreet": "Rue du Lac", "creditorHouseNo": "1268", "creditorPostalCode": "2501", "creditorCity": "Biel", "creditorCountry": "CH", "amount": 1949.75, "currency": "CHF", "reference": "210000000003139471430009017", "message": "Invoice 2026-001", "debtorName": "Pia-Maria Rutschmann-Schnyder", "debtorStreet": "Grosse Marktgasse", "debtorHouseNo": "28", "debtorPostalCode": "9400", "debtorCity": "Rorschach", "debtorCountry": "CH", "language": "en"}'

Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.

Inputs

FieldTypeDescription
ibanstringIBAN or QR-IBAN of the creditor (CH or LI, 21 characters); spaces are fine
creditorNamestringCreditor: name of the account holder, up to 70 characters
creditorStreetstringCreditor: street, up to 70 characters; a house number at the end is split off when creditorHouseNo is empty
creditorHouseNostringCreditor: building number, up to 16 characters (optional)
creditorPostalCodestringCreditor: postal code, up to 16 characters
creditorCitystringCreditor: town, up to 35 characters
creditorCountrystringCreditor: 2-letter country code; default is the country of the IBAN
amountnumberAmount, 0.01 to 999999999.99. Leave it out for a bill where the payer writes the amount
currencystringCurrency of the bill
referencestringQR reference (27 digits, needed with a QR-IBAN) or RF creditor reference (ISO 11649, only with a normal IBAN). Leave it out for a bill without a reference
messagestringAdditional information for the payer, up to 140 characters (for example the invoice number)
debtorNamestringDebtor (optional, leave all debtor fields out for an empty box): name, up to 70 characters
debtorStreetstringDebtor: street, up to 70 characters
debtorHouseNostringDebtor: building number, up to 16 characters

Price

Included in every plan: 100 calls a month free, then from €15 a month for 5,000 calls across all APIs. Pro, €49 for 25,000 calls, is the one we recommend.

Questions

What does the Swiss QR-Bill API do?

Makes the Swiss QR-bill (QR-Rechnung) as a PDF: the payment part with the QR code that Swiss banking apps scan. IBAN, reference and addresses are checked first.

Where does the data come from?

Make a Swiss QR-bill (QR-Rechnung, SIX Swiss Payment Code SPC 0200, structured addresses as required since November 2025) as a print-ready PDF: receipt and payment part with the 46 mm Swiss QR code and Swiss cross, on A4 or as the 210 x 105 mm part alone, in German, French, Italian or English. Checked before the bill is drawn: CH / LI IBAN (mod-97), QR-IBAN with its 27-digit QR reference (mod-10 r

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.