Skip to main content

Add a Swiss QR Bill to Any Invoice PDF in Make: A 3-Module Dropbox Workflow

· 20 min read
SEO and Content Writer

Every Swiss invoice must carry a Swiss QR Bill so banks and accounting software can scan and process the payment automatically. With Make and PDF4me, the addition is a three-module scenario: Dropbox Download a File, PDF4me Create Swiss QR-bill, Dropbox Upload a File. The screenshots below walk through the exact run shown in the canvas: a 10-page invoice at /pdf4metest/Files/10 page.pdf becomes a Swiss-compliant invoice with the payment slip appended and saved to /pdf4meoutput/. Production-ready in under 10 minutes.

The scenario at a glance
1. Dropbox Download a File
Reads /pdf4metest/Files/10 page.pdf. Scheduled trigger (clock badge) is shown but any trigger works.
2. PDF4me Create Swiss QR-bill
Appends the QR payment slip to the source PDF. Currency, IBAN, creditor + debtor blocks, reference filled out.
3. Dropbox Upload a File
Writes the populated PDF to /pdf4meoutput/. File Name and Data mapped from the prior step.
The short version

Three Make modules. Dropbox Download a File pulls the source invoice (the screenshot shows YnooxTestone connection, Select a file, path /pdf4metest/Files/10 page.pdf). PDF4me Create Swiss QR-bill appends a Swiss Payment Standards compliant QR-bill page (Format Type PDF, Paging Options First, Currency CHF, IBAN starting with CH, full creditor + debtor blocks). Dropbox Upload a File writes the result to /pdf4meoutput/ with File set to Map, File Name = 6. Name, Data = 6. Document. The output PDF is ready for email and any Swiss bank's mobile-app QR-code scanner.

Two things that decide whether your output is bank-scannable

First, the IBAN must start with CH or LI and be 21 characters max. For a QRR reference type the IBAN must be a QR-IBAN, not a standard IBAN. Second, when Reference Type is QRR, the Reference field is a 27-digit numeric string with a mod-10 check digit; if you do not have one, set Reference Type to SCOR (ISO 11649) or NON and leave Reference empty. Banks reject mis-typed reference values, not the QR image.

Common real-world questions this solves

People search this exact problem with phrasings like:

  • "How do I add a Swiss QR bill to my PDF invoice automatically?" Drop the invoice in Dropbox; this 3-module scenario does the rest, including IBAN, amount, reference, and creditor/debtor details.
  • "Can Make generate a Swiss QR-bill from an existing invoice?" Yes. via the PDF4me Create Swiss QR-bill module. The output is the same PDF with the payment slip appended on the page you choose (first / last / specific).
  • "Do I need an Excel template or QR-code library?" No. The module hides all QR-code generation, mod-10 reference math, and Swiss Payment Standards layout behind a single configurable step.
  • "What if I do not have an existing invoice PDF. can I still generate a standalone QR slip?" Yes. Skip the File group entirely and the module returns a standalone Swiss QR-bill PDF.
  • "Will Swiss banks actually accept this output?" The module produces an ISO 20022 Swiss Payment Standards compliant slip. Every Swiss bank's mobile-banking app can scan it for payment initiation.

What you are building

A reusable 3-module Make scenario. Trigger fires (manual, scheduled, file watch. any), the source invoice is pulled, the Swiss QR-bill is appended, the output is saved. The same pattern works for one-off testing, scheduled batch runs, or fully-event-driven invoice processing.

Make scenario canvas: Dropbox Download a File (with scheduled clock badge) connected to PDF4me Create Swiss QR-bill, which is connected to Dropbox Upload a File. Three big circular module icons connected with the standard Make dotted-line connectors.

Three modules end-to-end. The clock badge on Dropbox 1 indicates a scheduled trigger. swap to manual or webhook to fit your use case.


What you need

  • Make account with a scenario open. Create a Make account if you need one.
  • PDF4me API key. Get your API key and add it when PDF4me prompts for a Connection. See Connect PDF4me to Make.
  • Dropbox with a source folder (e.g. /pdf4metest/Files/) and an output folder (/pdf4meoutput/). Any storage works the same way. Swap for Google Drive, OneDrive, or SharePoint as needed.
  • An invoice PDF (the screenshots use 10 page.pdf). Optional: skip the source file and generate a standalone QR-slip from payment data alone.
  • Swiss payment data: a CH or LI IBAN, amount, currency (CHF or EUR), and creditor + debtor name/address blocks. Full field reference in the action docs.

Build the scenario

Module 1: Dropbox - Download a File

Pull the source invoice from your input folder.

FieldValue used in this run
ConnectionYnooxTestone (ynoox.test...). your Dropbox connection
Way of selecting filesSelect a file
File/pdf4metest/Files/10 page.pdf
Make Dropbox Download a File configuration. Connection set to YnooxTestone. Way of selecting files set to Select a file. File path /pdf4metest/Files/10 page.pdf. Cancel and Save buttons at the bottom.

Dropbox Download a File config. Pick the file via the path picker or, for batch processing, use Search files and bind File dynamically.

Module 2: PDF4me - Create Swiss QR-bill

Search for PDF4me and pick Create Swiss QR-bill. The module exposes 26 fields. The full per-field reference (with the 5 detailed UI screenshots and example values like Var Schneider AG, CH4431999123000889012, Pia-Maria Rutschmann-Schnyder) lives on the Create SwissQR Bill in Make action page. The minimum to set:

GroupFieldValue
SourceFileDropbox - Download a File (pulls from Module 1 automatically)
OutputFormat TypePDF
OutputPaging OptionsFirst (also: Last, or a specific 1-based page number)
PaymentCurrencyCHF (or EUR)
PaymentReference TypeQRR, SCOR, or NON
PaymentLanguageEnglish / German / French / Italian
PaymentSeparator LineLine With Scissor, Only Line, or No Line
PaymentAmounte.g. 1250.00
PaymentIBANCH or LI IBAN, max 21 chars
CreditorCreditor Address TypeS (Structured) or K (Combined)
CreditorCreditor NameCompany name on the account
DebtorUltimate Debtor AddressTypeS or K

Fill in the creditor and debtor address fields per your Address Type choice, then any optional Reference / Unstructured Message / Billing Info / AV1 / AV2 Parameters.

Module 3: Dropbox - Upload a File

Write the populated PDF to the output folder.

FieldValue used in this run
ConnectionYnooxTestone (ynoox.test...). same Dropbox connection as Module 1
Folder/pdf4meoutput/
FileMap (so File Name and Data come from the PDF4me step)
File Name6. Name (dynamic content from PDF4me Module 2)
Data6. Document (dynamic content from PDF4me Module 2)
Make Dropbox Upload a File configuration. Connection YnooxTestone. Folder /pdf4meoutput/. File set to Map. File Name bound to 6. Name (from PDF4me Create Swiss QR-bill). Data bound to 6. Document. Hint says: File name, including the extension, e.g. invoice.xml.

The File radio set to Map exposes File Name and Data as separate slots. Bind both to the PDF4me Module 2 outputs so the populated PDF lands intact.

Save and click Run once. The populated invoice will appear in /pdf4meoutput/ within a couple of seconds.


What lands in the output folder

A single PDF named after the source (e.g. 10 page.pdf) with the Swiss QR-bill page inserted at the position chosen in Paging Options (First puts it as the new page 1; Last appends it to the end). Open the file in any PDF viewer and the QR-bill section shows the payment QR code, the human-readable Account / Payable to block, Amount, Currency, Reference, and creditor/debtor addresses. Point a Swiss banking app at the QR code and the payment is pre-filled.


Quick reference: key parameters

IBAN
CH or LI prefix, max 21 chars. QR-IBAN required for QRR references.
Currency
CHF or EUR only. Anything else is rejected by the Swiss Payment Standards.
Reference Type
QRR (27-digit + mod-10), SCOR (ISO 11649), or NON. Pick once, fill Reference accordingly.
Address Type
S = structured (separate PostalCode + City). K = combined (full address in two AddressLines).
Paging Options
First, Last, or a 1-based page number. Decides where the QR-bill page lands.
AV1 / AV2
Alternative scheme parameters for eBill and similar. Format: Name AV1: UV;value;id.

Troubleshooting

QR-bill page is blank or the QR code is unreadable
The IBAN is invalid (must start with CH or LI, max 21 chars) or the Currency was something other than CHF / EUR. Both are hard requirements of the Swiss Payment Standards.
Reference Type QRR but the bank rejects the reference
QRR references must be 27 digits with a mod-10 check digit. If you do not have one, switch Reference Type to SCOR (ISO 11649) or NON and leave Reference empty.
QR-bill landed on the wrong page
Adjust Paging Options. First puts the slip as the new page 1. Last appends it after the last page. Or pass a 1-based page number to insert at that position.
Creditor or Debtor address looks wrong on the slip
Mismatched Address Type. With type S, fill PostalCode + City and use AddressLine1/2 for street. With type K, leave PostalCode + City empty and put the full address into AddressLine1 + AddressLine2.
Upload writes a zero-byte file
File Name or Data in the Upload module is not bound to the PDF4me Module 2 outputs. Click the field and re-pick the dynamic content from Module 6 (PDF4me Create Swiss QR-bill).
Want a standalone QR slip without an invoice
Skip the source file entirely. Remove Dropbox Module 1, or leave the File group empty in the PDF4me module. The output is a standalone Swiss QR-bill PDF.

When to use this pattern

Outgoing customer invoices
Bills that need to be Swiss-payable directly from a banking app via QR scan.
Subscription billing
QR-IBAN + 27-digit QRR reference identifies the customer or contract on every recurring run.
Bulk invoice retrofitting
When an existing PDF invoice template does not yet carry the payment slip. Append it via this scenario.
e-Bill replacements / fallbacks
For customers who prefer paper or in-app QR-scan over the electronic Bill flow.


FAQ

Do I need a special Swiss QR library or font?+
No. The PDF4me Create Swiss QR-bill module bundles QR-code generation, the QR-bill fonts (Liberation Sans), the mod-10 reference math, and the Swiss Payment Standards layout. Configure the fields, click Run, and the output is a Swiss-compliant PDF.
What is the difference between QRR, SCOR, and NON references?+
QRR is the Swiss 27-digit numeric reference with a mod-10 check digit; it requires a QR-IBAN. SCOR is the international ISO 11649 creditor reference; it works with a standard IBAN. NON means no reference is shown on the slip. useful for ad-hoc one-off payments where the debtor adds their own reference at payment time.
Can I generate a Swiss QR-bill without an existing PDF invoice?+
Yes. Skip the File group in the PDF4me module and the output is a standalone Swiss QR-bill PDF (just the payment slip, no invoice body). Useful when the debtor only needs the slip, or when your invoice body comes from a different source.
My IBAN starts with DE / FR / IT. can I still use this?+
No, Swiss QR-bills are scoped to CH and LI IBANs only. For European SEPA payments with non-Swiss IBANs, use the Generate EPC QR Code for SEPA module instead.
Address Type S vs K. which one should I pick?+
S (Structured) is the modern default: PostalCode and City go in separate fields; AddressLine1/2 carries the street. K (Combined) puts the full address in two free-text AddressLine fields and ignores PostalCode/City. New integrations should use S unless you are importing legacy data that does not separate postal code and city.
Does the output PDF work with mobile banking apps?+
Yes. Every Swiss bank app that supports payments via QR-bill (which is all of them since 2022) can scan the output to pre-fill the payment form. Test by opening UBS, PostFinance, Raiffeisen, or any Swiss banking app and scanning the QR code on the printed or on-screen slip.
How do I change where the QR-bill page lands?+
Set Paging Options. First puts the slip as the new page 1 of the output PDF, Last appends it to the end, or pass a 1-based page number to insert it at that position. Page indexing starts at 1.
Same scenario in n8n, Zapier, or Power Automate?+
Yes. The same PDF4me Create Swiss QR-bill action is available on all four platforms with identical parameters. See the cross-platform comparison at the bottom of the Create SwissQR Bill action page.

Get started