
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]
| Type in the code | What it looks like | Account | Characters |
|---|---|---|---|
| QRR (QR reference) | 21 00000 00003 13947 14300 09017 | QR-IBAN only | 27 digits |
| SCOR (Creditor Reference) | RF18 5390 0754 7034 | IBAN only | RF, 2 check digits, up to 21 letters or digits |
| NON (no reference) | no reference field, message only | IBAN only | not 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.
- Set the basis
Customer number 1042 and invoice number 20260187 give the digit sequence 104220260187.
- Pad to 26 positions
Add zeros on the left: 00000000000000104220260187.
- Calculate the check digit
Modulo 10 recursive gives the check digit 5 for this sequence.
- 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.
| Positions | Content | Example |
|---|---|---|
| 1 to 6 | Bank customer identification, if required, otherwise zeros | 000000 |
| 7 to 14 | Customer number, right-aligned with zeros | 00001042 |
| 15 to 26 | Invoice number without hyphen, right-aligned | 000020260187 |
| 27 | Check digit modulo 10 recursive | calculated |
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 wardrobe | CHF 1'854.00 |
|---|---|
| Partial payment with QR reference | −CHF 1'000.00 |
| Still outstanding | CHF 854.00 |
The sample company and figures are invented. The check digit and SCOR reference are calculated correctly.
How VoxCRM helps
yesVoxCRM 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”.
