# Check a Swiss QR-IBAN and its QR reference

> Check a Swiss QR-IBAN or IBAN and its QR reference or RF creditor reference in your browser: country, length, check digits, QR-IID and pairing.

Canonical page: https://finray.tech/tools/swiss-qr-iban-checker/
Publisher: Finray Technologies Ltd (finray.tech), unrelated to finray.io
Markets: Switzerland
Sources last verified: 2026-11-24

Paste an IBAN or QR-IBAN and, if the invoice has one, its reference. Every rule of the QR-bill is checked as you type, and a failure shows the character it is about.

Checked in your browser. Nothing you type is sent, stored or put in the address bar.

## How it works

The checks run in this order, on the value without spaces and in capitals, which is the form the QR code carries.

| Check | Rule | Where it is written |
| --- | --- | --- |
| Country | Positions 1 and 2 are CH or LI. The QR-bill accepts IBANs from Switzerland and Liechtenstein only. | Guidelines 2.4, Swiss QR Code, account |
| Length | 21 characters. Spaces belong to the printed form only; the QR code carries none. | Guidelines 2.4, Swiss QR Code, account |
| Check digits | Positions 3 and 4. Move the first four characters to the end, turn each letter into two digits (A = 10 to Z = 35) and divide by 97: the remainder must be 1. | ISO 13616, as the QR-IID document applies it (3.2) |
| QR-IBAN or IBAN | Positions 5 to 9 are the institution identifier. A value from 30000 to 31999 is a QR-IID, and the account is a QR-IBAN. Any other value is an ordinary IBAN. | QR-IID document 1.1, 1.3.4 and Illustration 2 |
| QR reference | 27 digits, not all zeros. The 27th is a check digit worked out from the first 26 with modulo 10 recursive. | Guidelines 2.4, 2.12.1 and Annex B |
| Creditor reference | RF, two check digits, then 1 to 21 letters or digits: 5 to 25 characters in all. Moved and counted like an IBAN, the remainder by 97 must be 1. | Guidelines 2.4, 2.12.2 (ISO 11649) |
| Pairing | A QR-IBAN takes a QR reference (type QRR) and nothing else. An ordinary IBAN takes a creditor reference (SCOR) or no reference (NON). QR-IBAN and QR reference are for CHF only. | Guidelines 2.4, reference type, 2.10 and 7.1 |
| Printed form | The IBAN in blocks of four, the last character on its own. The QR reference as two digits, then five blocks of five. The creditor reference in blocks of four. | Guidelines 2.4, 3.5 |

### How the QR reference check digit works

Start with a carry of 0. For each of the 26 digits, add the digit to the carry, take the last digit of the sum, and look it up in the row 0, 9, 4, 6, 8, 2, 7, 1, 3, 5: the number in that place is the new carry. After the 26th digit, the check digit is 10 minus the carry, or 0 when the carry is 0.

SIX's own example: for 21 00000 00003 13947 14300 0901 the last carry is 3, so the check digit is 7 and the full reference is 21 00000 00003 13947 14300 09017. If you paste the 26 digits alone, the checker offers the full reference.

## Examples

The valid values are examples that SIX publishes in its QR-bill guidelines. The others are those values with one thing changed. Each button puts the values into the checker above.

### QR-IBAN with a QR reference

- IBAN: `CH44 3199 9123 0008 8901 2`
- Reference: `21 00000 00003 13947 14300 09017`
- Result: Valid. 31999 makes it a QR-IBAN, and the QR reference ends in its check digit 7.
- Published in: SIX guidelines 2.4, Annex A, example 2

### Ordinary IBAN with a creditor reference

- IBAN: `CH58 0079 1123 0008 8901 2`
- Reference: `RF18 5390 0754 7034`
- Result: Valid. 00791 is an ordinary institution, and RF18 passes the modulo 97 check.
- Published in: SIX guidelines 2.4, Annex A, examples 5 and 6

### Ordinary IBAN without a reference

- IBAN: `CH52 0483 5012 3456 7100 0`
- Reference: none
- Result: Valid. Without a reference the QR-bill uses type NON.
- Published in: SIX guidelines 2.4, Annex A, example 3

### QR-IBAN with a creditor reference

- IBAN: `CH44 3199 9123 0008 8901 2`
- Reference: `RF18 5390 0754 7034`
- Result: Not valid. Each value passes alone, but a QR-IBAN takes only a QR reference.
- Published in: Two values from SIX examples 2 and 5, paired wrongly

### One character mistyped

- IBAN: `CH44 3199 9123 0008 8901 3`
- Reference: none
- Result: Not valid. The last character of example 2 is changed, and the check digits 44 no longer match.
- Published in: SIX example 2 with its last character changed

### QR reference without its check digit

- IBAN: `CH44 3199 9123 0008 8901 2`
- Reference: `21 00000 00003 13947 14300 0901`
- Result: Not valid yet. 26 digits: the checker works out the 27th and shows the full reference.
- Published in: SIX guidelines 2.4, Annex B, figure 22

## Where Finray does this for you

[Corebanq Accounting](https://finray.tech/platforms/corebanq-accounting/)

Corebanq Accounting is accounting software for Swiss SMEs (KMU): Swiss VAT, QR-bill invoicing, bank statement import and payroll, on a journal you can drill back from a statement figure.

Create invoices with a QR-bill. You print them or save them as a file from the browser.

Incoming QR-bills can be scanned from a PDF, from an image or with the camera.

Import camt.053 and camt.054 bank statements by uploading the file.

[Corebanq Accounting](https://finray.tech/platforms/corebanq-accounting/) · [Invoicing and bank](https://finray.tech/platforms/corebanq-accounting/invoicing-and-bank/)

## Related

- [QR-IBAN](https://finray.tech/intelligence/glossary/qr-iban/): How a QR-IBAN differs from an IBAN, and what goes wrong when they are mixed.
- [QR reference](https://finray.tech/intelligence/glossary/qr-reference/): The 27-digit QR reference and the RF creditor reference, side by side.
- [QR-bill](https://finray.tech/intelligence/glossary/qr-bill/): What the Swiss QR code holds and what changed in version 2.4.
- [QR-bill check before you pay](https://finray.tech/tools/qr-bill-check/): Scan a whole QR-bill and compare it with the printed invoice and your saved suppliers.
- [From QR-bill to camt.054](https://finray.tech/notes/qr-bill-to-camt-054/): How the reference travels from the invoice to the bank's notification.
- [All Finray tools](https://finray.tech/tools/)

## Sources

Last verified 2026-11-24.

- [SIX Interbank Clearing: Swiss Implementation Guidelines for the QR-bill, version 2.4 (valid from 14 November 2026)](https://www.six-group.com/dam/download/banking-services/standardization/qr-bill/ig-qr-bill-v2.4-en.pdf)
- [SIX Interbank Clearing: Swiss QR-bill, Technical information about the QR-IID and QR-IBAN, version 1.1 (29 February 2020)](https://www.six-group.com/dam/download/banking-services/standardization/qr-bill/qr-iid-iban-en.pdf)

ISO 13616 (IBAN) and ISO 11649 (creditor reference) are sold by ISO and were not opened for this page. The rules above are quoted as the SIX documents state them.
