Skip to main content

Add a Swiss QR Bill to Any Invoice PDF in Zapier: A 4-Step Dropbox Workflow

· 21 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 Zapier and PDF4me the addition is a four-step Zap: Dropbox New File in Folder, Dropbox Find File, PDF4me Create Swiss QR Bill, Dropbox Upload File. The screenshots below walk through the exact run captured in the canvas: a 10-page invoice in /pdf4metest/Swiss-RP becomes a Swiss-compliant invoice with the payment slip appended and saved to /pdf4meoutput. Production-ready in under 10 minutes.

The Zap at a glance
1. Dropbox New File in Folder
Watches /pdf4metest/Swiss-RP every 2 minutes. Trigger fires when a new invoice PDF lands.
2. Dropbox Find File
Resolves the file by name (10 page.pdf) and pulls the binary, ready for the next step.
3. PDF4me Create Swiss QR Bill
Appends the QR payment slip with all required SPS fields: CHF, QRR reference, English, Line with Scissor separator.
4. Dropbox Upload File
Writes the populated PDF to /pdf4meoutput. File Name and File Extension carried from the PDF4me output.
The short version

Four Zap steps. Dropbox New File in Folder watches /pdf4metest/Swiss-RP (Default space, Include files in subfolders False, Include file contents and sharing link both Yes). Dropbox Find File looks up 10 page.pdf in /pdf4metest/Files and returns the binary. PDF4me Create Swiss QR Bill appends a Swiss Payment Standards compliant QR-bill page (Format Type PDF, Paging Options first, Currency CHF, Reference Type QRR, Language English, Separator Line with Scissor, Amount 1923.67, IBAN CH4431999123000889012, Creditor Var Schneider AG, Ultimate Debtor Pia-Maria Rutschmann-Schnyder, Reference 210000000003139471430009017). Dropbox Upload File writes the populated PDF to /pdf4meoutput using 3. File Url, with 3. File Name and 3. File Extension as the output name. The result is a Swiss-bank-scannable PDF in the archive folder.

Two things that decide whether your output is bank-scannable

First, the IBAN must start with CH or LI and be 21 characters maximum. 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, switch 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 in Zapier?" This 4-step Zap does it: file lands in Dropbox, Zap runs, QR-bill-enhanced PDF lands in the output folder.
  • "Can Zapier generate a Swiss QR-bill from an existing invoice?" Yes, via the PDF4me Create Swiss QR Bill action. The output is the same PDF with the payment slip appended on the page you choose (first, last, or specific).
  • "Do I need a QR-code library or Swiss QR generator subscription?" No. The PDF4me action hides QR generation, mod-10 reference math, and the full Swiss Payment Standards layout behind a single Zapier step.
  • "What if I do not have a source PDF, can I generate a standalone QR slip?" Yes. Skip Step 2 (Find File) and the File / File URL fields in Step 3. the action returns a standalone Swiss QR-bill PDF from payment data alone.
  • "Will Swiss banks accept this output?" The action 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 4-step Zapier Zap. The trigger watches a Dropbox folder, the Zap finds the latest invoice, runs the PDF4me Swiss QR Bill action with your creditor + debtor + payment details, and uploads the enhanced PDF to an output folder. Same pattern works for outgoing customer invoices, scheduled batch runs, or fully event-driven AR processing.

Zapier Zap canvas with four steps: Dropbox New File in Folder (2 min interval), Dropbox Find File, PDF4me Create SwissQR Bill, Dropbox Upload File. Status banner shows Successful Jun 01 2026 01:00:20 pm with Run ID.

Four steps top to bottom. The 2-minute interval on Step 1 is Zapier's default polling cadence for Dropbox triggers; upgrade plans can poll more frequently.


What you need

  • Zapier account. Create a Zapier account if you need one.
  • PDF4me API key. Get your API key and add it when PDF4me prompts for an account in the Zap editor. See Connect PDF4me to Zapier.
  • Dropbox with a source folder (e.g. /pdf4metest/Swiss-RP) and an output folder (/pdf4meoutput).
  • An invoice PDF (the screenshots use 10 page.pdf). Optional: skip the source file for 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.

Quick reference: key parameters

IBAN
CH or LI prefix, max 21 chars. QR-IBAN required for QRR references.
Currency
CHF or EUR only. Other currencies rejected by 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 Postal Code + City). K = combined (full address in two Address Lines).
paging Options
first, last, append, or a specific 1-based page number.
Format Type
PDF for printable invoices, PNG/JPEG/TIFF for image output.

Build the Zap

Step 1: Dropbox - New File in Folder (trigger)

Watch the source folder for new invoices.

FieldValue used in this run
SpaceDefault
Folder/pdf4metest/Swiss-RP
Include files in subfolders?False
Include file contents?Yes
Include sharing link?Yes
Zapier Dropbox New File in Folder trigger: Space Default, Folder /pdf4metest/Swiss-RP, Include files in subfolders False, Include file contents Yes, Include sharing link Yes.

Step 2: Dropbox - Find File

Resolve the file by name. This gives you a stable, mappable File reference for Step 3.

FieldValue used in this run
SpaceDefault
Folder/pdf4metest/Files
Include files in subfolders?False
File Name10 page.pdf
Include Deleted Files?False
Include file contents?Yes
Zapier Dropbox Find File: Space Default, Folder /pdf4metest/Files, File Name 10 page.pdf, Include Deleted Files False, Include file contents Yes.

Step 3: PDF4me - Create SwissQR Bill

The action that does the work. Search for PDF4me in the action picker, pick Create Swiss QR Bill, then fill the fields exactly as the screenshots in the action reference show. The minimum to match this run:

GroupFieldValue
SourceFormat TypePDF
SourceFile2. File: (Exists but not shown)
SourceFile Name2. File Name: 10 page + 2. File Ext: .pdf
Sourcepaging Optionsfirst
PaymentCurrencyCHF
PaymentReference TypeQRR
PaymentLanguage TypeEnglish
PaymentSeparator LineLine with Scissor
PaymentAmount1923.67
PaymentIBANCH4431999123000889012
CreditorCreditor Address TypeS
CreditorCreditor NameVar Schneider AG
CreditorCreditor:Street / Address Line 1Var Schneider AG
CreditorCreditor:Building No. / Address Line 223
CreditorCreditor Citybiel
CreditorCreditor Postal Code2501
DebtorUltimate Debtor Address TypeS
DebtorUltimate Debtor NamePia-Maria Rutschmann-Schnyder
DebtorUltimate Debtor:Address Line 1Grosse Marktgasse
DebtorUltimate Debtor:Address Line 232
DebtorUltimate Debtor CityRorschach
DebtorUltimate Debtor Postal Code9400
Ref/MsgReference210000000003139471430009017
Ref/MsgUnstructured MessageInstruction of 15.09.2019
Ref/MsgBilling InfoS1/01/20170309/11/10201409/20/14000000/22/36958/30/CH106017086/40/1020/41/3010
Ref/MsgAV1 ParametersName AV1: UV;UltraPay005;12345
Ref/MsgAV2 ParametersName AV2: XY;XYService;54321

Step 4: Dropbox - Upload File

Save the populated PDF to the output folder.

FieldValue used in this run
SpaceDefault
Folder/pdf4meoutput
File3. File Url (from PDF4me Step 3)
Overwriteno
Specify File Name3. File Name: 10 page (from PDF4me Step 3)
Specify File Extension3. File Extension: .pdf (from PDF4me Step 3)
Zapier Dropbox Upload File: Space Default, Folder /pdf4meoutput, File 3. File Url, Overwrite no, Specify File Name 3. File Name: 10 page, Specify File Extension 3. File Extension: .pdf.

Map File to the PDF4me File Url output (Step 3); separate Specify File Name and Specify File Extension fields preserve the original name.

Save and click Publish. The Zap is live; drop a new invoice in /pdf4metest/Swiss-RP and the QR-bill-enhanced PDF lands in /pdf4meoutput within the next polling cycle.


Troubleshooting

QR-bill page is blank or unreadable
IBAN is invalid (must start with CH or LI, max 21 chars) or Currency is something other than CHF / EUR. Both are hard requirements of the Swiss Payment Standards.
Bank rejects a QRR 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. Pass a 1-based page number to insert at that position.
Creditor or Debtor address looks wrong on the slip
Mismatched Address Type. With S, fill Postal Code + City and use Address Line 1/2 for street. With K, leave Postal Code + City empty and put the full address into Address Line 1 + Address Line 2.
Upload writes a zero-byte or missing file
File field on Step 4 is not bound to the PDF4me File Url. Re-pick 3. File Url. Also confirm Specify File Name and Specify File Extension are mapped to the PDF4me Step 3 outputs, not hardcoded.
Want a standalone QR slip without a source invoice
Skip Step 2 (Find File). In Step 3, leave File and File URL empty and the action returns 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.
e-Bill fallbacks
For customers who prefer paper or in-app QR-scan over electronic Bill.


FAQ

Do I need a special Swiss QR library or font?+
No. The PDF4me Create Swiss QR Bill action bundles QR-code generation, the QR-bill fonts (Liberation Sans), mod-10 reference math, and the Swiss Payment Standards layout. Configure the fields, publish the Zap, 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 Step 2 (Find File). In Step 3, leave File and File URL empty and the action returns a standalone Swiss QR-bill PDF (just the payment slip, no invoice body).
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 Create EPC QR Code action instead.
Address Type S vs K. which one should I pick?+
S (Structured) is the modern default: Postal Code and City go in separate fields; Address Line 1/2 carries the street. K (Combined) puts the full address in two free-text Address Line fields and ignores Postal Code/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, Make, 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 Swiss QR Bill action page.

Get started