Split PDF by Swiss QR in Zapier
What this action does
PDF4me – Split by SwissQR Code scans a PDF for Swiss QR bill codes and splits the document into separate files at each QR code location — before or after the payment slip page, your choice. Batch-scanned invoices from suppliers, multi-customer utility bills, and monthly statement batches that arrive as one large PDF are separated into individual documents automatically. Configure the render DPI for reliable QR detection on any scan quality, optionally merge consecutive pages with the same QR code, and receive all output files in a single ZIP for easy downstream handling in Zapier.
Authenticating Your API Request
Every PDF4me action in Zapier requires a connected account. Connect using your PDF4me API key when you add the action for the first time.
Important Facts You Should Not Miss

Map File from your trigger or download step, choose the split position relative to the QR page, set DPI, and enable ZIP output for batch batches.
Parameters
Required: File, Split Barcode Page, and PDF Render DPI. All other parameters are optional with sensible defaults.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Yes | The PDF to split. Map the binary file output from your Zap trigger or a prior download step. Hint: "Map the PDF file to be Split using the Swiss QR." | PDF file from trigger |
| Specify File Name | No | Output filename for the ZIP or individual split files. If left empty, the name is picked from the source file or URL. Hint: "You can specify file name or otherwise name will be picked from URL." | swiss_invoices_split |
| Split Barcode Page | Yes | Where to divide the document relative to the Swiss QR page. Options: Before the SwissQR (QR page starts the next document) or After the SwissQR (QR page closes the current document). Hint: "Choose the way split should occur." | After the SwissQR |
| PDF Render DPI | Yes | Resolution used to render PDF pages for QR code scanning. Valid values: 100, 150, 200, 250. Higher DPI improves detection on low-quality scans but increases processing time. Hint: "Render DPI. Valid values - 100, 150, 200, 250." | 150 |
| Combine Pages with Same Barcodes | No | When True, consecutive pages sharing the same Swiss QR code are merged into one output document. Set True for multi-page invoices where each page repeats the payment QR. Hint: "Combine pages with same Swiss QR." | False |
| Return as Zip | No | When True, all split documents are packaged into a single ZIP file for easy downstream handling. Recommended for batch PDFs with many invoices. | True |
Quick Setup
- In your Zap, click + to add a new action and search for PDF4me.
- Select Split by SwissQR Code in PDF4me as the event.
- Connect your PDF4me account using your API key.
- Map File to the PDF binary from your trigger or download step.
- Set Split Barcode Page — choose After the SwissQR for invoices where the payment slip closes each section.
- Enter PDF Render DPI — start with
150; increase to200if QR codes are missed. - Set Combine Pages with Same Barcodes to
Truefor multi-page invoices,Falsefor single-page. - Set Return as Zip to
Truefor batch batches with multiple invoices. - Click Test action to verify the split result, then publish the Zap.
Workflow Examples
Workflow ExamplesCommon Zapier workflow patterns using Split by Swiss QR.
- A vendor emails a batch PDF containing 30 invoices, each closing with a Swiss QR payment slip.
- Gmail triggers the Zap on new email from the vendor address with PDF attachment.
- Split by SwissQR Code divides the batch at each QR page (After the SwissQR), DPI 150, Return as Zip True.
- A Formatter step extracts individual files from the ZIP bundle.
- Each individual invoice PDF uploads to a SharePoint "Accounts Payable / Incoming" library for review and payment.
- A scheduled Zap triggers at month-end when the billing system drops a combined customer PDF into Dropbox.
- Dropbox triggers the Zap and provides the PDF binary.
- Split by SwissQR Code separates each customer's bill (Combine Pages with Same Barcodes True, Return as Zip True).
- A Formatter step and iterator loop over each split file.
- Gmail emails each individual bill PDF to the matching customer email from an Airtable customer lookup by QR reference number.
- A multifunction printer scans incoming Swiss invoices into a single daily batch PDF and saves it to Google Drive.
- Google Drive triggers the Zap on new file in the "Scanned Inbox" folder.
- Split by SwissQR Code divides the daily batch at each QR slip with DPI 200 for reliable detection on MFP scans.
- Each split document is uploaded to a "Processed Invoices" Drive folder with a timestamp prefix as the filename.
- A Google Sheets step appends a log row with the filename, split count, and processing date for audit trail purposes.