Skip to Content

Swiss QR-bills in Odoo Community: import bills, match payments

Two free add-ons read supplier QR-bills into draft vendor bills and link bank payments to invoices. Automation stops where a person should decide.
November 9, 2026 by

Odoo 19 Community prints Swiss QR-bills on your own customer invoices. Two steps around that are still manual: reading the QR-bills your suppliers send you, and finding the invoice behind a QR payment in your bank file. We built one free add-on for each. This article covers both, with a video for each, and says where they stop.

The problem: a QR-bill is data, and Odoo only prints it

The QR code on a Swiss QR-bill is not a picture of the invoice. It is structured text defined by SIX: the creditor's IBAN, address, amount, currency and a payment reference. Everything is already machine-readable. The only question is whether your ERP reads it.

It matters twice. A supplier bill arrives, and someone types supplier, IBAN, amount and reference into a vendor bill. Later your own customer pays, and the bank sends a camt file (the bank statement file) that carries the same 27-digit QR reference your invoice left with. Bank file import and a reconciliation screen come from the OCA community modules. What is missing is the step in between: reading the reference from the bank line and finding the invoice that carries it.

Part 1: import supplier QR-bills as draft vendor bills

devarc_qr_invoice reads only the QR code. There is no OCR and no typing. It accepts three inputs:

  • text from a handheld scanner,
  • a PDF from your inbox,
  • a phone photo.

The add-on finds the supplier by IBAN, then by name and postcode, and creates the supplier with its bank account if needed. The result is a draft vendor bill with the payment reference and one line with the amount; PDF and photo imports also attach the original document.

It is a draft on purpose. Odoo proposes its default expense account and the tax stays empty, so you check both before you post.

Two guards are built in. If you import the same bill twice (same payment reference and same total), the add-on warns you with a link to the first bill, and the bill is still created. A QR-bill payable to your own company is refused, because it is not a vendor bill.

On your own invoices the add-on adds two checks on top of the Swiss localisation: the recipient account must be a Swiss or Liechtenstein IBAN, and the amount must be within the QR-bill limits. If a check fails, the invoice tells you why before anyone prints it.

Part 2: match payments to invoices, and stop where a person should decide

The invoice is CHF 400. The payment is CHF 410. The QR reference matches. Would you let Odoo close the invoice on its own? devarc_qr_reconcile is built on the answer no.

The add-on reads the QR or Creditor Reference from each line of the imported bank file and links the open customer invoice that carries it. By default it only links. Nothing is booked.

On a bank journal you trust, you can switch QR Reference Matching to "Reconcile exact matches". The invoice is then paid without a click when all of this holds:

  • there is exactly one posted customer invoice with that reference, and it is still open,
  • the amount is exact,
  • the currency is the same,
  • the customer is the same, if the bank line names one.

The video uses two demo invoices and one camt file. The CHF 250 invoice, paid with CHF 250 and its QR reference, is reconciled without a click. The CHF 400 invoice, paid with CHF 410, is an overpayment: the line is linked and never closed, and a person decides what happens with the extra CHF 10. A partial payment is only linked as well, and a reference shared by two invoices links nothing.

Automation stops where a person should decide. We would rather leave you one line to check than close an invoice on a guess.

What the add-ons do not do

  • devarc_qr_invoice reads the QR code only. It does no OCR, so it cannot import a bill without a readable QR code, and it rejects a document that holds more than one different QR-bill.
  • It never posts a bill. The draft stays a draft, and the account and the tax are your decision.
  • The duplicate check warns but does not block. Some suppliers reuse one QR reference on every invoice, so the reference alone is not enough to refuse a bill.
  • devarc_qr_reconcile handles incoming payments for customer invoices. Vendor payments are left to the OCA modules.
  • Partial payments, overpayments and other currencies are only linked. An unknown or ambiguous reference links no invoice and is left to manual reconciliation.
  • Importing the same camt file twice creates the lines twice, because the OCA camt import has no deduplication.
  • The videos show demo invoices and one demo camt file on Odoo 19 Community. Try both add-ons on a test copy of your database, with a bill and a bank file you already know.

Licences, versions and requirements

  • devarc_qr_invoice: LGPL-3. Branches 18.0, 19.0 and 20.0. It needs the Python packages zxing-cpp and pypdfium2 and builds on the standard Swiss localisation (l10n_ch).
  • devarc_qr_reconcile: AGPL-3, because it depends on AGPL-3 OCA modules. Branches 18.0 and 19.0. It comes to 20.0 once OCA ports account_reconcile_oca to Odoo 20.0.
  • devarc_qr_reconcile needs OCA modules that this repository does not install: account_reconcile_oca, account_statement_import_camt, account_statement_import_camt54 and account_statement_import_file_reconcile_oca, on the same branch as your Odoo version.

To install, clone the branch that matches your Odoo version, add the folder to your addons path, install the Python packages for devarc_qr_invoice, and add the OCA repositories before you install devarc_qr_reconcile. Then install both like any other add-on.

Code

The narration in both videos is an AI voice. DevArc builds with AI, and Juraj, the engineer behind it, approves what ships.

Want to know which of your bank and invoice steps could run on their own? Get your free analysis on devarc.ch.

Ten questions to test an ERP partner
The answers tell you more than any reference list, and you can ask them in the first call.