Swiss QR Code — the QR-bill's payload, one element to a line
The text inside the square on a Swiss invoice. A QR-bill — QR-Rechnung in German — is the standard bill in Switzerland and Liechtenstein: an ordinary invoice with a tear-off payment part at the foot of it, and in the middle of that payment part a QR code holding everything a bank needs to make the payment. holds no picture and no web link. It holds plain text, one field to a line, and this page is about that text.
DIRECTION: From the party being paid to the party paying, by being printed and then looked at. The biller puts the code on the payment part at the foot of the invoice; the payer scans it into their banking app, or carries the paper to a counter, and what comes out is an ordinary credit transfer their own bank then sends. Nothing in this string travels between banks. The guidelines say where the data goes next — into an ISO 20022 pain.001 from the customer to their bank, and into a pacs.008 between the banks — and both of those are separate documents with their own rules, so a field here is not a field there. Read it the way this site reads Brazil's BR Code and Singapore's SGQR: an artefact that starts a payment, and is not one.
WHO IS INVOLVED
- SIX Interbank Clearing Ltd, the publisherWrites the guidelines and owns changes to them. Its Implementation Guidelines for the QR-bill define every element on this page, in a table that also fixes the order they are sent in. The document is published openly, dated and versioned, which is what makes this record possible — and the boundary is worth saying too: the interbank rules for Switzerland's own settlement system are a different document, and this site has not read that one.
- The biller, who is the creditorAssembles the code and prints it. Everything in the payload is theirs to decide except the three header lines and the trailer, and two of their decisions carry consequences the payer sees: whether to fill the amount, which decides whether the printed part shows a figure or an empty box, and which reference type to use, which decides which account number they had to ask their bank for.
- The payer, who is the debtorScans, checks, and approves. The scan is a convenience and not an authority: the guidelines expect the same values to be printed in readable text beside the code, precisely so a payer can enter them by hand and so a scanned payment can be checked against something. The payer may also change what was scanned, which is why the account-and-reference rule has to be enforced again after the change.
- The payer's bankReads the code and turns it into a payment. It checks the fixed values and the permitted combinations before processing — the guidelines make that a requirement rather than a courtesy — and it must not offer a reference field at all when an ordinary account number was entered. That last rule is the discriminator enforced at the keyboard rather than in the payload.
- The creditor's bankCredits the account and hands the reference back. Where a QR-IBAN was used it is the reference, not the payer's typing, that identifies the invoice — so the bank's job is to deliver twenty-seven digits into the biller's accounting system intact, through the reporting messages a separate SIX guideline covers.
WHAT TO UNDERSTAND ABOUT IT
One field to a line is the first thing worth knowing, because the other QR payloads in this registry do not work that way. A Brazilian or Singaporean code writes each field as an identifier, a length and a value, so a reader finds a field by counting characters from the front. A writes its elements in a fixed order and lets the line breaks do the counting. Line 20 is the currency because it is the twentieth line — and if an element has nothing to say, it is still sent as an empty line, so that line 20 stays line 20.
The second thing is why this record is on the site at all. Line 28 carries a reference type, with exactly three permitted values, and which one is present changes what the other lines are allowed to contain. QRR requires a special kind of account number above it and a twenty-seven-digit Swiss reference below it. SCOR requires an ordinary account number and an international . NON means there is no reference, and the line below must be empty. Nothing else in this registry has a field that rewrites the rules for its neighbours, which is exactly the shape of defect a validator built one field at a time will never catch.
Version + profile: Swiss QR Code is a line-delimited payload: one element per line, in the order the publisher's guidelines print them, with an element that has no content still sent as an empty line so everything after it keeps its place. So the line order is the specification, and a version that adds or removes an element moves every line below it — a reader counting to yesterday's ordinal gets a different field rather than an error. Two more things this page's columns cannot say on their own. Where a length is shown without a picture clause it is a maximum and not a width, because a line ends at the line break and nothing is padded out to fill it. And validity here is a rule about combinations rather than about fields: the guidelines forbid some pairings of account and reference outright, so a payload whose every line is individually well-formed can still be one no bank will accept.