# Lecteur de QR-facture

> Déposez des PDF ou photos : chaque Swiss QR Code est lu, les champs s’affichent à côté du code, chaque contrôle avec une coche, le tout en tableau Excel.

Human page: https://unmakelabs.com/fr-ch/lecteur-qr-facture/. This is the version for AI agents.

## What it does

Lecteur de QR-facture : lire et contrôler chaque QR-facture de vos PDF et photos Déposez des PDF ou photos : chaque Swiss QR Code est lu, les champs s’affichent à côté du code, chaque contrôle avec une coche, le tout en tableau Excel.

## Pour la comptabilité fournisseurs et les fiduciaires

Au lieu de recopier les factures : déposez les QR-factures en PDF ou photo et obtenez un tableau avec bénéficiaire, IBAN, montant, référence et communication pour Excel ou votre comptabilité.

## Contrôlé selon les règles SIX

IBAN et QR-IBAN (clé, code banque 30000-31999), référence QR (modulo 10 récursif), référence RF (mod 97), montants, longueurs, caractères, structure. Les anciennes QR-factures à adresse combinée (type K) sont lues et signalées comme non admises depuis novembre 2025.

## Facts

- **Entrée:** PDF, JPG, PNG, HEIC (si le navigateur l’ouvre) ; plusieurs à la fois
- **Résultat:** Champs et contrôles par code ; Excel, CSV, JSON
- **Normes:** SIX IG QR-facture 2.4 ; aussi les codes EPC
- **Confidentialité:** Lu sur votre appareil ; rien n’est envoyé

## How a person does it

1. **Déposer les fichiers.** Factures PDF ou photos de la section paiement.
2. **Voir le résultat.** Le code à côté de ses champs, chaque contrôle coché ou barré.
3. **Télécharger le tableau.** Excel, CSV ou JSON, une ligne par 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/fr-ch/lecteur-qr-facture/?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

Les codes flous ou très petits ne se lisent pas toujours ; une photo plus proche, droite et bien éclairée aide.

## Not done by this tool

- Ne paie rien et ne se connecte à aucune banque
- Ne vérifie pas à qui appartient l’IBAN
- N’envoie aucun fichier

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

Fonctionne dans votre navigateur ; IBAN, factures et listes restent sur votre appareil. Rien n’est envoyé.

## FAQ

- **La lecture est-elle fiable ?** Mesuré le 1er déc. 2026 avec le code de la page : les 18 QR-factures d’exemple officielles de SIX lues 18 sur 18 ; 2 sur 3 codes EPC publics ; 42 sur 42 factures photographiées, aucune fausse lecture ; sur les 60 factures aux données connues, chaque champ exact. Chaque code créé est relu : 346 sur 346 identiques à l’octet près. 100 factures de test : 100 sur 100 codes relus sur la page, 0 recouvrement ; montant juste 100, IBAN 100.
- **Que veut dire « adresse combinée » ?** Les anciennes QR-factures pouvaient donner rue et localité sur deux lignes libres (type K). Depuis le 22 novembre 2025 seule l’adresse structurée est admise ; les banques peuvent refuser les anciens codes.
- **Puis-je reprendre les données en comptabilité ?** Oui : le tableau Excel et CSV a une colonne par champ (bénéficiaire, IBAN, montant, monnaie, type et référence, communication, informations de facture, payeur).
- **Est-ce vraiment gratuit ?** Oui : pas de pub, pas d’inscription, pas de limite.
- **Voyez-vous mon IBAN ou mes factures ?** Non. Tout se passe dans cette page, sur votre appareil.
- **Un agent IA peut-il l’utiliser ?** Le même moteur est prêt pour une API (POST /v1/payment_qr/jobs : créer, contrôler, lire, ajouter) ; en attendant, les agents ouvrent la page.
- **Qui fait cet outil ?** Unmake Labs (Julien Salomon). Contact : hello@unmakelabs.com.

## Related pages

- [Créer une QR-facture](https://unmakelabs.com/fr-ch/creer-qr-facture/)
- [Ajouter la section paiement QR à un PDF](https://unmakelabs.com/fr-ch/ajouter-section-paiement-qr-pdf/)
- [QR-factures depuis Excel](https://unmakelabs.com/fr-ch/qr-factures-depuis-excel/)
