# Swiss QR-bill reader

> Drop PDFs or photos of bills: each payment code is read and checked, and you get one Excel table.

Human page: https://unmakelabs.com/en-ch/swiss-qr-bill-reader/. This is the version for AI agents.

## What it does

Swiss QR-bill reader and validator: read and check every Swiss QR-bill in your PDFs and photos Drop PDFs or photos of bills: each payment code is read and checked, and you get one Excel table.

## For accounts payable and bookkeepers

Instead of retyping bills: drop QR-bills as PDFs or phone photos and get a table of payee, IBAN, amount, reference and message for Excel or your accounting.

## Checked to the SIX rules

IBAN and QR-IBAN (check digits, bank code 30000-31999), QR reference (modulo 10 recursive), RF reference (mod 97), amounts, field lengths, character set, structure. Old QR-bills with combined addresses (type K) are read and flagged as no longer allowed since November 2025.

## Facts

- **Input:** PDF, JPG, PNG, HEIC (where the browser opens it); many at once
- **Output:** Fields and checks per code; Excel, CSV, JSON
- **Standards:** SIX IG QR-bill 2.4; EPC codes too
- **Privacy:** Read on your device; nothing uploaded

## How a person does it

1. **Drop the files.** PDF bills or photos of the payment part.
2. **See the result.** The code next to its fields, each check ticked or crossed.
3. **Download the table.** Excel, CSV or JSON, one row per code.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-ch/swiss-qr-bill-reader/?src=https://unmakelabs.com/apps/payqr/samples/qr-bill-photo.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?mode=make|batch|stamp|read` (the job) and, for read, `?src=<public picture or PDF URL>` is not taken: payment data stays in the visitor's browser; agents use the API copy (POST /v1/jobs tool payment_qr).

Embed: `<iframe src="https://unmakelabs.com/embed/payqr/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data (coming)

browser only today: the page writes and reads the codes in the visitor's browser; the same engine (site/apps/payqr/engine, no DOM) is ready for the browser_engine runner as payment_qr (make, read, stamp, check)

```
curl -s -X POST "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/payment_qr/jobs" -F 'options={"mode":"make","iban":"CH4431999123000889012","name":"Max Muster & Söhne","street":"Musterstrasse","building":"123","postcode":"8000","town":"Seldwyla","country":"CH","amount":"1949.75","reference":"210000000003139471430009017"}'
```

## Good to know

Blurred or very small codes can't always be read; a closer, straight photo in good light helps.

## Not done by this tool

- Doesn't pay anything or connect to a bank
- Doesn't check who owns the IBAN
- Doesn't upload any file

## Value

Makes, reads and checks payment QR codes in the browser: EPC QR codes / GiroCodes (EPC069-12 v3.0) for SEPA transfers and Swiss QR-bills (SIX Implementation Guidelines 2.4) with the A6 payment part and receipt as PDF. Four jobs: one code from a short form (the IBAN picks the standard; a QR-IBAN gets its QR reference made from the invoice number), one code per row of an Excel/CSV list, the code printed onto existing invoice PDFs (amount and invoice number read from the PDF text; Swiss payment part in the free bottom 105 mm or on a new page; EPC block in the lowest free spot), and reading codes from PDFs or photos into a checked table (Excel/CSV/JSON). Program checks: IBAN mod-97 and country length, QR-IBAN IID 30000-31999 paired with QR reference only, QR reference modulo 10 recursive, ISO 11649 RF mod 97-10, amount range, SIX field lengths, structured address, Latin character set, 997 characters / 331 bytes; every code made is decoded again and compared byte for byte before download. Nothing is uploaded. Free, no sign-up.

## When it fits

- A freelancer, club or small firm wants customers to pay by scanning instead of typing an IBAN.
- A Swiss company needs QR-bills but its invoicing software can't print the payment part.
- An accounts-payable clerk wants the payment data of many QR-bills or GiroCodes as a spreadsheet, checked.

### When not

- Sending invoices, eBill or e-invoicing (XRechnung, ZUGFeRD): use an e-invoice tool.
- Paying: the tool never moves money or connects to a bank.

## Why use it instead of the alternatives

- Programs, not a model: every rule is checked by code and every code is read back.
- One engine for people and agents (DOM-free, ready for the API runner).
- Bank portals and single-code generators make one code at a time and don't stamp PDFs or read them back.
- Paid APIs read QR-bills from PDFs per document.

### What rebuilding it would take

- Encode the SPC or BCD text exactly as SIX IG 2.4 / EPC069-12 define it (line order, lengths, character set) with error correction M, and add the 7 mm Swiss cross.
- Check IBAN, QR-IBAN, QR and RF references by their check digits, and read the code back to compare.
- Lay out the payment part and receipt to the millimetre, and find free space on existing invoice PDFs.
- Plus SIX's official sample bills, public EPC codes, photos and 100 generated invoices, scored by program.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- A wrong IBAN on a code sends money to the wrong account: the tool checks check digits and bank codes, not ownership; compare the IBAN with your bank documents.
- Payment parts printed at the wrong size can be rejected at the post office counter: print the PDF at 100 % (no 'fit to page').

_Status: make, batch, stamp and read work in the browser; an API copy on the shared runner is specified, not live._

## Privacy

- Runs entirely in the browser; IBANs, invoices and lists are never uploaded.
- Only the stamp page remembers the person's own payee details in this browser (localStorage).

## Data

Runs in your browser; your IBAN, invoices and lists stay on your device. Nothing is uploaded.

## FAQ

- **How reliable is the reading?** Measured 1 Dec 2026 with the page's own code in headless Chrome: SIX's 18 official sample QR-bills read 18 of 18; 2 of 3 public EPC code pictures (the third is half covered by a menu in its screenshot); 42 of 42 photographed bills (tilt, blur, low light), no wrong reads; on all 60 bills with known data every field came out exact. The 9 SIX samples from 2021 with combined addresses are flagged as no longer allowed since November 2025. Every code we make is decoded again: 346 of 346 identical byte for byte. Stamping 100 generated invoices (our own varied layouts): 100 of 100 codes read back on the page, 0 overlaps with text; amount read right on 100, IBAN on 100; 63 needed an extra page because the bottom was full.
- **What does 'combined address' mean?** Older QR-bills could give street and town on two free lines (type K). Since 22 November 2025 only structured addresses are allowed, and banks may reject old codes.
- **Can I import the data into my accounting?** Yes: the Excel and CSV table has one column per field (payee, IBAN, amount, currency, reference type and reference, message, billing information, payer).
- **When is it the right tool, and when not?** Right for: A freelancer, club or small firm wants customers to pay by scanning instead of typing an IBAN. A Swiss company needs QR-bills but its invoicing software can't print the payment part. An accounts-payable clerk wants the payment data of many QR-bills or GiroCodes as a spreadsheet, checked. Not for: Sending invoices, eBill or e-invoicing (XRechnung, ZUGFeRD): use an e-invoice tool. Paying: the tool never moves money or connects to a bank.
- **Is it really free?** Yes: no ads, no sign-up, no limits.
- **Do you see my IBAN or invoices?** No. Everything happens inside this page on your device.
- **Can an AI agent use it?** The same engine is prepared as an API (POST /v1/payment_qr/jobs: make, check, read, stamp); until it is live, agents can open the page.
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [Swiss QR-bill generator](https://unmakelabs.com/en-ch/swiss-qr-bill-generator/)
- [Add a Swiss QR-bill to a PDF](https://unmakelabs.com/en-ch/add-swiss-qr-bill-to-pdf/)
