# Free Swiss QR-bill generator, in your browser

> Make a Swiss QR-bill, or an invoice with QR-bill, as PDF, SVG or PNG in your browser. One PDF for a list of payers. Every bill is checked first.

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

Fill in the account, the creditor and, if you like, the amount and the payer. You get the payment part with receipt of a Swiss QR-bill, laid out after the SIX style guide: 210 by 105 mm, the QR code 46 by 46 mm with the Swiss cross. Download it as PDF, SVG or PNG, or print it. Switch to “Invoice with QR-bill” to add lines, VAT and a payment term and get an A4 PDF with the payment part at the bottom, or to “Batch from a list” for one PDF with a payment part for each payer. Everything runs in your browser: Finray receives and stores nothing.

Created in your browser. Nothing you type, scan or choose is sent, stored or written to the address bar. The camera starts only when you tap “Scan with camera”. Nothing is recorded or sent.

## How it works

Three steps. The form becomes the text of the Swiss QR Code. That text goes through the same rules as the QR-bill check. The payment part is then drawn from the text, so the printed part and the code cannot differ. A bill is offered only when no rule fails and the QR code drawn from it reads back as the same text.

| Check | Rule | Where it is written |
| --- | --- | --- |
| QR reference | With a QR-IBAN you type the number the reference is made from, up to 26 digits. The tool fills it with zeros to 26 digits and adds the check digit (modulo 10 recursive). A complete 27-digit reference is kept if its check digit fits. Never all zeros. | Guidelines 2.4, 2.12.1, Annex B |
| Creditor reference | With an ordinary IBAN you may use a creditor reference: letters and digits, up to 21 characters, made into RF, two check digits (modulo 97) and your text, 25 characters at most. Or no reference (NON). | Guidelines 2.4, 2.12.2, 4.3.2 |
| CHF only for QR-IBAN | From version 2.4 (valid from 14 November 2026) a QR-IBAN and a QR reference are for orders in CHF only. For EUR, use an ordinary IBAN with a creditor reference or none. The QR-bill check only warns on this, because an older bill under version 2.3 can still be valid; a new bill is made under 2.4, so here it blocks. | Guidelines 2.4, 2.10, 2.12.1, 4.3.2 |
| IBAN | 21 characters, country code CH or LI, check digits that leave remainder 1 by 97. An institution number from 30000 to 31999 is a QR-IBAN. | Guidelines 2.4, 2.8, 2.9, 2.10 |
| Addresses | Structured address, type S, for the creditor and, if given, the payer: name, postal code, town and country. The combined type K was removed in version 2.3, valid from 21 November 2025. A payer is all or nothing. | Guidelines 2.4, 4.2.2, 4.3.1 |
| Amount | Empty, or a number from 0.01 to 999,999,999.99 with a decimal point and two decimals. You may type 1'949.75, 1 949,75 or 1949: the tool writes it the way the code needs. Empty means the payer types it, and the bill shows an empty box. | Guidelines 2.4, 4.2.2 line 19, 4.4 |
| Message and billing information | Message and billing information together hold at most 140 characters. The billing information is written in SIX syntax S1 from your invoice number (tag 10), date (11), UID (30, its check digit is checked) and VAT rate (32). | Guidelines 2.4, 4.3.3, Annex D; eCH-0097 5.2.0, 2.4.2 |
| Characters and lines | Basic Latin, Latin-1 Supplement, Latin Extended-A, Ș ș Ț ț and the euro sign. 31 to 34 lines, trailer EPD, ultimate creditor empty, 997 characters at most. | Guidelines 2.4, 4.1.1, 4.2.2, 6.2 |
| QR code | Error correction level M, scaled to 46 by 46 mm, with a 5 mm border. The Swiss cross is 7 by 7 mm in the centre. | Guidelines 2.4, 6.1, 6.4; Style Guide 1.1 |
| Payment part and receipt | 210 by 105 mm: receipt 62 mm on the left, payment part 148 mm on the right, 5 mm margins. The headings are the fixed ones of the guidelines in German, French, Italian, English and Romansh. Arial, black: titles 11 pt bold; payment part headings 8 pt bold and values 10 pt; receipt headings 6 pt bold and values 8 pt. A missing payer or amount is an empty box. A perforation line with a scissors symbol separates receipt and payment part. | Style Guide 1.1, pages 4 to 13, 31 |
| Invoice totals | Money is counted in whole Rappen or cents. Quantity times unit price is rounded half up, then the discount. VAT (8.1, 2.6 or 3.8 per cent) is worked out once for each rate on the sum of its lines and rounded half up. Rounding the total to 5 Rappen is optional and for CHF only. The total is the amount of the QR-bill, 0.01 to 999,999,999.99. | Guidelines 2.4, 4.4; VAT rates: ESTV, from 1 January 2024 |
| Reference from the invoice number | With a QR-IBAN the digits of the invoice number become the QR reference, with its check digit. With an ordinary IBAN you can make a creditor reference from the letters and digits of the number, or use none. The reference is shown before you download. | Guidelines 2.4, 2.12 |
| Billing information of an invoice | An invoice writes Swico syntax S1 into the billing line: 10 invoice number, 11 invoice date, 30 UID from the VAT number, 32 the VAT rate (when the whole invoice has one rate) and 40 the payment term as 0:days. The rules for any billing line then apply to it. | Guidelines 2.4, Annex D |
| PDF and batch | The A4 PDF puts the payment part in the bottom 105 mm, with separation lines and the scissors symbol. Its QR code is drawn from the modules of the drawing that was read back and matched. A character the PDF fonts cannot print stops the PDF with a message. A batch runs every row through the same two checks and leaves failing rows out of the PDF. | Style Guide 1.1; Guidelines 2.4 |

### What this does not do

The generator does not check the creditor's account or identity. It checks that the QR-bill is well formed: the IBAN has the right length and check digits, the reference has its check digit, the text follows the guidelines. It cannot know that an IBAN exists or belongs to you, so look at the account once before you send the bill. Only your own bank issues a QR-IBAN, and it also tells you whether your QR reference needs a prefix. Finray issues neither QR-IBANs nor QR references: the tool only adds zeros and the check digit to the number you type.

A bill that meets every rule here is the same kind of bill your banking app reads. Scan the printed bill with your own banking app once before you send it: that is the test that counts. The bill carries the Swiss cross and follows the layout of the SIX style guide. Finray is not affiliated with SIX and SIX has not endorsed this tool.

## Examples

The creditor and the payment data follow the SIX guidelines' examples 2, 5 and 6 (sample companies and people). Each button fills the form above.

### QR-IBAN with a QR reference and an amount

- IBAN: `CH4431999123000889012`
- Reference: `21 00000 00003 13947 14300 09017`
- Result: A bill for CHF 1 949.75 with the QR reference 21 00000 00003 13947 14300 09017, made from the number 21000000000313947143000901.
- Published in: SIX guidelines 2.4, Annex A, example 2

### Ordinary IBAN with a creditor reference, in EUR

- IBAN: `CH5800791123000889012`
- Reference: `RF18 5390 0754 7034`
- Result: A bill for EUR 211.00 with the creditor reference RF18 5390 0754 7034, made from the text 539007547034.
- Published in: SIX guidelines 2.4, Annex A, examples 5 and 6 (the reference of example 6)

### No amount, no payer

- IBAN: `CH4431999123000889012`
- Reference: `00 00000 00000 00202 61125 00012`
- Result: A bill with empty boxes for the amount and the payer to fill in by hand, and a QR reference made from the number 202611250001.
- Published in: Example 2 without amount and payer

### With billing information

- IBAN: `CH4431999123000889012`
- Reference: `21 00000 00003 13947 14300 09017`
- Result: The bill also carries invoice number 1234, the date 21 October 2020, the UID CHE-102.673.386 and the VAT rate 7.7 in the additional information.
- Published in: SIX guidelines 2.4, Annex A, example 2, billing information

## 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.

A recurring invoice template creates drafts.

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

## Related

- [Check a bill before you pay](https://finray.tech/tools/qr-bill-check/): Scan a bill you received and compare the code with the paper before you pay.
- [Swiss QR-IBAN and QR reference checker](https://finray.tech/tools/swiss-qr-iban-checker/): Check an IBAN and a reference by hand, rule by rule.
- [QR reference](https://finray.tech/intelligence/glossary/qr-reference/): The 27-digit QR reference and the RF creditor reference, side by side.
- [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.
- [E-invoice viewer and checker](https://finray.tech/tools/e-invoice-viewer/): Open a German e-invoice (XRechnung, ZUGFeRD), read it as an invoice and check its sums.
- [All Finray tools](https://finray.tech/tools/)

## Sources

Last verified 2026-11-25.

- [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: Style Guide QR-bill, version 1.1 (valid from 1 January 2026), in the Download Center of the QR-bill page](https://www.six-group.com/en/products-services/banking-services/payment-standardization/standards/qr-bill.html)
- [eCH-0097 Datenstandard Unternehmensidentifikation, version 5.2.0, chapter 2.4.2 (the check digit of the UID)](https://www.ech.ch/sites/default/files/imce/eCH-Dossier/eCH-Dossier_PDF_Publikationen/Hauptdokument/STAN_d_NUL_2021-07-02_eCH-0097_V5.2.0_Datenstandard%20Unternehmensidentifikation.pdf)

The sheet, the QR code and the Swiss cross are drawn by the open-source library swissqrbill 4.4.1 (MIT), the same one Corebanq Accounting uses. The eCH standard cited for the UID check digit is marked withdrawn (2021-07-02); the algorithm matches the SIX example UID.
