Skip to content
In the news TRM Labs × Finray: audit-ready crypto transaction monitoring for banking
Finray

Check a Swiss QR-IBAN and its QR reference

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.

Swiss or Liechtenstein. Spaces and lower case are fine.

A QR reference of 27 digits, or a creditor reference starting with RF. Empty means no reference.

Type or paste an IBAN to start.

IBAN

Country
1 to 2
Check digits
3 to 4
Institution
5 to 9
Account
10 to 21
Reference

None

With its check digit:

IBAN or QR-IBAN

  1. Not checked yet: Characters Letters and digits only.
  2. Not checked yet: Country CH or LI in positions 1 and 2.
  3. Not checked yet: Length 21 characters.
  4. Not checked yet: Check digits Positions 3 and 4, modulo 97.
  5. Not checked yet: QR-IBAN or IBAN Positions 5 to 9: 30000 to 31999 is a QR-IID.

Reference and pairing

  1. Not checked yet: Type QR reference, creditor reference, or none.
  2. Not checked yet: Format 27 digits, or RF and 3 to 23 more characters.
  3. Not checked yet: Check digit Modulo 10 recursive, or modulo 97 for RF.
  4. Not checked yet: Pairing QR-IBAN with QR reference; IBAN with RF or none.

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.

CheckRuleWhere 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

    SIX guidelines 2.4, Annex A, example 2

    IBAN
    CH44 3199 9123 0008 8901 2
    Reference
    21 00000 00003 13947 14300 09017

    Valid. 31999 makes it a QR-IBAN, and the QR reference ends in its check digit 7.

  • Ordinary IBAN with a creditor reference

    SIX guidelines 2.4, Annex A, examples 5 and 6

    IBAN
    CH58 0079 1123 0008 8901 2
    Reference
    RF18 5390 0754 7034

    Valid. 00791 is an ordinary institution, and RF18 passes the modulo 97 check.

  • Ordinary IBAN without a reference

    SIX guidelines 2.4, Annex A, example 3

    IBAN
    CH52 0483 5012 3456 7100 0
    Reference
    None

    Valid. Without a reference the QR-bill uses type NON.

  • QR-IBAN with a creditor reference

    Two values from SIX examples 2 and 5, paired wrongly

    IBAN
    CH44 3199 9123 0008 8901 2
    Reference
    RF18 5390 0754 7034

    Not valid. Each value passes alone, but a QR-IBAN takes only a QR reference.

  • One character mistyped

    SIX example 2 with its last character changed

    IBAN
    CH44 3199 9123 0008 8901 3
    Reference
    None

    Not valid. The last character of example 2 is changed, and the check digits 44 no longer match.

  • QR reference without its check digit

    SIX guidelines 2.4, Annex B, figure 22

    IBAN
    CH44 3199 9123 0008 8901 2
    Reference
    21 00000 00003 13947 14300 0901

    Not valid yet. 26 digits: the checker works out the 27th and shows the full reference.

Where Finray does this for you

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.

Sources

Last verified

  1. SIX Interbank Clearing: Swiss Implementation Guidelines for the QR-bill, version 2.4 (valid from 14 November 2026)
  2. SIX Interbank Clearing: Swiss QR-bill, Technical information about the QR-IID and QR-IBAN, version 1.1 (29 February 2020)

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.

In the demo we walk through how documents are prepared, approved and posted, and how a VAT return is reviewed and exported.

Book a demo
Certificate of Registration NQA · UKAS Management Systems
ISO/IEC 27001:2022 Certificate of Registration issued by NQA to Finray Technologies Ltd, certificate number 215646, valid 21 October 2025 to 21 October 2028
Search
Type to search across Finray, products, company, and journal.

    Press Esc to close · ↵ to open the highlighted result.

    Book a briefing Step 1 of 3

    What you need

    Which platforms are in scope.

    For example a licence application, an audit or a ledger build-out.

    What happens after you book

    • A team member will respond within one business day with availability windows.
    • Corebanq runs as Cloud SaaS, Private SaaS or an Enterprise Licence.
    • After the briefing, the full Corebanq and XZiel API references are issued with test-environment access.
    • Due-diligence documents, such as a summary of the April 2026 independent penetration test, are available under NDA.