Get started

Glossary · Payments in Switzerland

QR reference (reference number)

The QR reference is the 27-digit reference number in the payment part of a QR-bill. It consists of 26 freely chosen digits and a check digit and only works together with a QR-IBAN. The bank passes it back unchanged with the credit, so every payment can be matched automatically to the right invoice.

Updated on 27 November 2026

Sample QR reference 21 00000 00003 13947 14300 09017 in blocks of five, with the last digit marked as the check digit

QR reference, SCOR reference or no reference

A reference number on an invoice is a key that the person paying does not need to understand, but that the bank passes on unchanged. The QR-bill (QR-Rechnung) knows three reference types, and each has its own code in the Swiss QR Code.[1]

The three reference types
Type in the codeWhat it looks likeAccountCharacters
QRR (QR reference)21 00000 00003 13947 14300 09017QR-IBAN only27 digits
SCOR (Creditor Reference)RF18 5390 0754 7034IBAN onlyRF, 2 check digits, up to 21 letters or digits
NON (no reference)no reference field, message onlyIBAN onlynot applicable

The QR reference is a purely Swiss solution and continues the reference number of the old orange payment slip. The SCOR reference is an international standard that banks in the SEPA area also know. Without a reference, only the message remains, for example “Invoice 2026-0187”; whether the person paying copies it over is outside the invoice issuer’s control.

Structure and check digit

A QR reference always has exactly 27 digits. The invoice issuer sets the first 26; the 27th is the check digit. No law governs what goes into the 26 positions: customer number and invoice number, padded with zeros on the left, are common. Some banks require their customers to put a customer identification assigned by the bank in the first positions. A reference made up only of zeros is not allowed.

The check digit is calculated using the “modulo 10 recursive” method. You go through the 26 positions digit by digit, add the carry to the current digit each time and look up the result in a fixed table (0, 9, 4, 6, 8, 2, 7, 1, 3, 5). The last carry, subtracted from 10, gives the check digit. The method detects every single typing error and most swaps of two neighbouring digits.

  1. Set the basis

    Customer number 1042 and invoice number 20260187 give the digit sequence 104220260187.

  2. Pad to 26 positions

    Add zeros on the left: 00000000000000104220260187.

  3. Calculate the check digit

    Modulo 10 recursive gives the check digit 5 for this sequence.

  4. Print in groups

    In the payment part, the reference appears in blocks of five from the right: 00 00000 00000 00104 22026 01875.

The SCOR reference works differently: it starts with “RF”, followed by two check digits under modulo 97 and a body of up to 21 letters or digits. The invoice number 20260187 thus becomes “RF53 2026 0187”. It is written in blocks of four.

How to structure your references sensibly

Because 26 positions are freely available, it is worth deciding once what should go into them and then not changing that rule again. A simple structure that can still be read years later, when a customer calls with an old document, has proved its worth.

Possible use of the 26 positions
PositionsContentExample
1 to 6Bank customer identification, if required, otherwise zeros000000
7 to 14Customer number, right-aligned with zeros00001042
15 to 26Invoice number without hyphen, right-aligned000020260187
27Check digit modulo 10 recursivecalculated

Above all, every invoice must get its own reference, and the invoice number must be recognisable in it. Letters from the invoice number, such as a prefix “RE”, are dropped in the QR reference; the SCOR reference, on the other hand, can keep them. If you run several companies or accounts, you should separate the number ranges so that no reference is created twice.

What the reference does for incoming payments

The real benefit only shows once the money arrives. Without a reference, someone has to look at every credit and guess which invoice it is for: name, amount, perhaps an invoice number in the free text. With identical amounts, different names (the husband pays his wife’s invoice) or partial payments, this quickly turns into detective work.

With a reference, the bank supplies exactly the digit sequence that was on the invoice for each payment in the electronic account statement camt.053 or in the camt.054 credit notification. Software compares it with its open items and finds the invoice without guessing. Because the reference has a check digit and is taken directly from the QR code when scanned, mix-ups are practically ruled out.

  • Partial payments stay matched to the right invoice, and the remainder stays open.
  • Collective credits from the bank can be broken down into individual payments.
  • Reminders do not go to customers who paid long ago, because the payment is booked straight away.
  • Third-party payers such as parents, partners or insurers are still recognised.

How much time this saves depends on the volume. With ten invoices a month, the manual work is manageable. With a hundred invoices it quickly adds up to several hours, and every wrongly matched payment later leads to an unnecessary reminder and an annoyed customer. By then at the latest, a clean reference pays off.

The reference number on old payment slips

If you sent invoices with the orange payment slip (Einzahlungsschein) (ESR) before 2022, you already know the reference number. It also had 27 digits and the same check digit. The only new things are that it now sits in the QR code rather than in the coding line at the bottom, and that it belongs to the QR-IBAN rather than to the ESR participant number. Existing number ranges could therefore continue when businesses switched over.

The red payment slip, by contrast, never had a reference, only a message field. If you used to work with red slips, you can now choose between the message alone and a SCOR reference, without requesting a QR-IBAN. For smaller businesses in particular, this is often the easier route to automatic matching.

The reference on an invoice is not the same as the invoice number. The invoice number is meant for people and may contain letters and hyphens; the QR reference consists only of digits and carries a check digit.

References for reminders, credit notes and subscriptions

A reminder refers to an existing invoice. Its payment part therefore carries the same reference as the original invoice, just with the new outstanding amount, including any agreed reminder fees. That way the payment lands on the right invoice, whether the customer uses the old or the new payment part. With a credit note, the money flows the other way: it gets no payment part but is paid out or offset against the next invoice. Recurring invoices for subscriptions or membership fees get a new invoice number and therefore a new reference each time they run; only then is it clear which month or year has been paid.

A practical example

Example: partial payment at Schreinerei Beispiel GmbH, Thun

The joinery Schreinerei Beispiel GmbH (sample company) invoices a customer for a built-in wardrobe. Invoice 2026-0187 carries the QR reference 00 00000 00000 00104 22026 01875.

The customer first pays CHF 1'000.00, scanning the payment part but changing the amount. The credit appears in the account statement with the full reference. Despite the different amount, the software identifies the invoice unambiguously and sets it to “partly paid”. The remainder stays open, and the next reminder shows it correctly.

Invoice 2026-0187, built-in wardrobeCHF 1'854.00
Partial payment with QR reference−CHF 1'000.00
Still outstandingCHF 854.00

The sample company and figures are invented. The check digit and SCOR reference are calculated correctly.

How VoxCRM helps

yes

VoxCRM creates the reference automatically from the invoice number: a QR reference with a check digit if a QR-IBAN is stored and selected, otherwise a SCOR reference. During bank reconciliation with camt.053 or camt.054, VoxCRM reliably matches payments with a matching reference; partial payments set the invoice to “partly paid”.

FAQ

Frequently asked questions

Can’t find your question? Write to us at hello@voxcrm.ch.

What is a reference number on an invoice?

A reference number is a sequence of digits in the payment part that the bank passes back unchanged to the invoice issuer when the invoice is paid. It is not for the person paying but for the recipient, who can see from it which invoice has been paid. In Switzerland this is usually the 27-digit QR reference or a SCOR reference starting with RF.

As the payer, do I have to type in the reference?

No, as a rule you do not. When you scan the Swiss QR Code, the banking app takes over the reference automatically. Only if you enter a payment entirely by hand do you have to type it in; the bank then checks the check digit and reports typing errors immediately. What matters is not to replace the reference with your own text.

Can I use the QR reference with my normal IBAN?

No. The QR reference is only allowed with a QR-IBAN, which you request from your bank. With the normal IBAN you can use a SCOR reference, which works in a similar way but starts with RF and may also contain letters. Invoicing software chooses the right variant according to the account stored.

May the same reference appear twice?

Technically nothing prevents it, but in practice you should avoid it. A reference should identify exactly one invoice, otherwise matching becomes unclear again. If you combine customer and invoice numbers, you automatically get unique references. For reminders, the reference of the original invoice stays the same.

What do I do with payments without a reference?

They are matched by hand as before: by name, amount and message. This happens when customers use a standing order or type in the payment and leave the reference field empty. Software can make suggestions, but the confirmation remains with you.

Sources and date

Sources

  1. QR-Rechnung: Implementation Guidelines (opens in a new window), SIX. Version: Implementation Guidelines QR-bill version 2.3 (in force since 21 November 2025), retrieved on 26 October 2026.
  2. Swiss Payment Standards: Cash Management (camt.053, camt.054) (opens in a new window), SIX Interbank Clearing. Version: SPS 2025, Implementation Guidelines Cash Management version 2.2 (since 22 November 2025), retrieved on 26 October 2026.

Last updated:

Free handbook as a PDF

The VoxCRM Handbook for SMEs

Everything VoxCRM can do at a glance, plus exactly the areas you are interested in, in depth. Compiled for you and sent by email straight away.

  • Product, workflow, security and prices
  • Your modules with real screenshots from the app
  • With an industry part for trades, services, hospitality and retail
Free, no account needed
Cover of the VoxCRM Handbook for SMEs as a book

Try it free for 14 days.

Every feature, 60 minutes of Vox, no credit card. Then you choose a plan. Without a plan the account is paused, and you can export your data until it is deleted on day 60.

Go to the plan finder: which plan fits and what it costsBook a demoDemo