Word to PDF, Then a Swiss QR Bill on Top. Power Automate Merges It All!
You have a Word document (e.g. an invoice or letter) and need a Swiss QR Bill payment slip merged onto it so the final PDF is ready to send. Doing it by hand means converting Word to PDF, generating the QR bill, then combining the two. Power Automate and PDF4me do it in one flow: get the Word file from Dropbox, Convert to PDF, Create SwissQR Bill with your creditor and debtor details, get a base PDF (e.g. your invoice layout), Merge two PDF files one over another as Overlay so the QR bill sits on the base, then Create file in Dropbox. Seven actions. One flow. No code.
This guide uses authentic screenshots and descriptive image captions so you can follow each step and match the configuration (paths, file names, and parameters) in your own flow.
In a nutshell: Manually trigger a flow → Dropbox – Get Word file content using path (/blog data/convert-swissqr-merge/3page.docx) → PDF4me – Convert to PDF (Word content + file name) → PDF4me – Create SwissQR Bill (IBAN, amount, creditor, debtor, file name SwissQR.pdf) → Dropbox – Get Base PDF file content using path (/blog data/convert-swissqr-merge/demo_5_page.pdf) → PDF4me – Merge two PDF files one over another as Overlay (base + SwissQR layer) → Dropbox – Create file (PA_Final_Result.pdf in /blog data/convert-swissqr-merge/output). Result: one merged PDF with your content and the Swiss QR payment slip.
What You'll Get
Input: A Word file (e.g. 3page.docx) and a base PDF (e.g. demo_5_page.pdf) in Dropbox, plus payment data for the Swiss QR Bill (IBAN, amount, creditor, debtor, reference, etc.). Output: A single PDF that combines the base document with the generated Swiss QR Bill as an overlay, saved to your chosen folder (e.g. PA_Final_Result.pdf in /blog data/convert-swissqr-merge/output). The QR bill includes Receipt and Payment part with a scannable QR code (e.g. CHF 500.00, Test AG, Test GmbH, invoice and contract info).
What You Need
- Power Automate — Open Power Automate. Create a new cloud flow (Instant or Automated).
- PDF4me API key — Get your API key. Use it when you add PDF4me actions. See Connect PDF4me to Power Automate.
- Dropbox — For the Word file, base PDF, and output folder. Connector actions: Get Word file content using path, Get Base PDF file content using path, and Create file.
- Word file — e.g.
3page.docx, stored at a path like/blog data/convert-swissqr-merge/3page.docx. This is converted to PDF in the flow (the conversion output can be used elsewhere; here the main output is the overlay-merged PDF). - Base PDF — e.g.
demo_5_page.pdf, at/blog data/convert-swissqr-merge/demo_5_page.pdf. This is the document that will sit underneath the Swiss QR Bill in the overlay merge. - Swiss QR Bill data — IBAN (e.g.
CH0200700110003765824), amount (e.g. 500), currency (CHF), creditor (e.g. Test AG, Zurich, Test Strasse House 2, 8004), debtor (e.g. Test GmbH, Bern, Musterstrasse Apartment 3, 3000), reference type (e.g. NON), optional billing info and unstructured message (e.g. invoice #2026-003, Contract: ABC-123).
The Flow at a Glance (7 Steps)
- Manually trigger a flow (or use a file trigger for automation).
- Dropbox – Get Word file content using path — Path:
/blog data/convert-swissqr-merge/3page.docx. Infer Content Type: Yes. - PDF4me – Convert to PDF — File Content from step 2 (Get Word file co...). File Name: e.g.
Test.docx. - PDF4me – Create SwissQR Bill — Amount, Currency (CHF), IBAN, creditor and debtor address fields, File Name
SwissQR.pdf. File Content can link to Convert to PDF output if needed; the action produces the QR bill PDF. - Dropbox – Get Base PDF file content using path — Path:
/blog data/convert-swissqr-merge/demo_5_page.pdf. Infer Content Type: Yes. - PDF4me – Merge two PDF files one over another as Overlay — Base File Content from step 5 (Get Base PDF fil...), Base File Name:
Base.pdf. Layer File Content from step 4 (Create SwissQR...), Layer File Name:SwissQR.pdf. - Dropbox – Create file — Folder Path:
/blog data/convert-swissqr-merge/output. File Name:PA_Final_Result.pdf. File Content: from step 6 (Merge two PDF...).
Complete flow overview

Seven steps: Trigger, Get Word file and Convert to PDF, Create SwissQR Bill, Get Base PDF, Merge as Overlay, Create file. The overlay step combines the base PDF and the Swiss QR Bill PDF; the result is saved to Dropbox.
Step 1: Get Word File Content (Dropbox)
Flow so far: Trigger and one Dropbox action.
- Add Manually trigger a flow (or When a file is created in Dropbox).
- Add Dropbox → Get Word file content using path.
- **File Path *** —
/blog data/convert-swissqr-merge/3page.docx. Use the folder icon to browse if needed. - Advanced parameters — Infer Content Type: Yes.
- Save. File Content (and optionally file name) will be used in Convert to PDF.
Get Word file content using path

Dropbox Get Word file content configured with File Path /blog data/convert-swissqr-merge/3page.docx and Infer Content Type Yes. Connection to Dropbox shown at bottom.
Step 2: Convert to PDF (PDF4me)
Flow so far: Trigger → Get Word → Convert to PDF.
- Add PDF4me → Convert to PDF.
- File Content — Select the output from step 1 (e.g. Get Word file co... dynamic content).
- File Name — e.g.
Test.docx(the name of the input file for conversion). - Save. The action returns the PDF output; in this flow the main use is to feed the Word-to-PDF result if needed. The Swiss QR Bill is created in the next step.
- Ensure Connected to PDF4me Connect at the bottom.
Convert to PDF: Parameters

Convert to PDF configured with File Content from Dropbox Get Word file and File Name Test.docx. Connection to PDF4me shown.
Step 3: Create SwissQR Bill (PDF4me)
Flow so far: Trigger → Get Word → Convert to PDF → Create SwissQR Bill.
- Add PDF4me → Create SwissQR Bill.
- Parameters tab. Set payment and party details:
- File Name —
SwissQR.pdf. - Amount — e.g.
500(or dynamic from a list/trigger). - Currency — CHF (or EUR).
- IBAN — e.g.
CH0200700110003765824. - Reference — Optional; max 27 characters. Reference Type — e.g. NON (no reference), or QRR / SCOR.
- Creditor: Creditor Name (e.g.
Test AG), Creditor AddressTypeS, Creditor City (e.g.Zurich), Creditor PostalCode (e.g.8004), Creditor AddressLine1 (e.g.Test Strasse), Creditor AddressLine2 (e.g.House 2). - Ultimate Debtor: Ultimate Debtor Name (e.g.
Test GmbH), City (e.g.Bern), PostalCode (e.g.3000), AddressLine1 (e.g.Musterstrasse), AddressLine2 (e.g.Apartment 3), Ultimate Debtor AddressType (e.g.S). - Language Type — e.g. English.
- Separator Line — e.g. LineWithScissor.
- BillingInfo — e.g.
Contract: ABC-123. - Unstructured Message — e.g.
invoice #2026-003 - Monthly Services. - AV1 Parameters — Optional; e.g.
Name AV1: UV;UltraPay005;12345.
- File Name —
- File Content — If the action accepts an optional base file, you can link Convert to PDF output here; otherwise the action generates the QR bill PDF from the parameters above.
- Save. Output (e.g. File Content, File Name) is used as the Layer in the Merge Overlay step.
Create SwissQR Bill: Parameters (payment and creditor)

Create SwissQR Bill parameters showing Amount, Currency CHF, Creditor (Test AG, Zurich, Test Strasse, House 2, 8004), File Name SwissQR.pdf, and BillingInfo. Convert to PDF output can be linked as File Content where supported.
Create SwissQR Bill: Debtor and message

Swiss QR Bill configuration with IBAN, Language Type English, Reference Type NON, Separator Line LineWithScissor, Ultimate Debtor (Test GmbH, Bern, 3000, Musterstrasse, Apartment 3), and Unstructured Message for invoice and contract details.
Step 4: Get Base PDF File Content (Dropbox)
Flow so far: Trigger → Get Word → Convert to PDF → Create SwissQR Bill → Get Base PDF.
- Add Dropbox → Get Base PDF file content using path (or the action that returns PDF content by path).
- **File Path *** —
/blog data/convert-swissqr-merge/demo_5_page.pdf. - Advanced parameters — Infer Content Type: Yes.
- Save. File Content (and optionally file name) will be the Base in the Merge Overlay step.
Get Base PDF file content using path

Get Base PDF file content configured with File Path /blog data/convert-swissqr-merge/demo_5_page.pdf and Infer Content Type Yes. This PDF is used as the base layer in the overlay merge.
Step 5: Merge Two PDF Files One Over Another as Overlay (PDF4me)
Flow so far: All steps up to the merge.
- Add PDF4me → Merge two PDF files one over another as Overlay.
- Parameters tab:
- **Base File content *** — Select output from step 4 (e.g. Get Base PDF fil...).
- **Base File Name *** —
Base.pdf. - **Layer File Content *** — Select output from step 3 (e.g. Create SwissQR...).
- **Layer File Name *** —
SwissQR.pdf.
- Save. The action returns the merged PDF (base with Swiss QR Bill overlaid). Use this in Create file.
- Connected to PDF4me Connect at the bottom.
Merge two PDF files one over another as Overlay

Merge Overlay configured with Base from Get Base PDF file (Base.pdf) and Layer from Create SwissQR Bill (SwissQR.pdf). The merged PDF is used in the next step as File Content for Create file.
Step 6: Create File (Dropbox)
Flow so far: All steps; final action saves the merged PDF.
- Add Dropbox → Create file.
- **Folder Path *** —
/blog data/convert-swissqr-merge/output. - **File Name *** —
PA_Final_Result.pdf. - **File Content *** — Select the output from step 5 (e.g. Merge two PDF...).
- Save. Run the flow; the merged PDF (invoice/content + Swiss QR Bill) appears in the output folder.
- Connected to Dropbox at the bottom.
Create file: Save merged PDF to Dropbox

Create file configured with Folder Path /blog data/convert-swissqr-merge/output, File Name PA_Final_Result.pdf, and File Content from the Merge two PDF files one over another as Overlay action.
Output: Merged PDF with Swiss QR Bill
The flow produces a single PDF that combines your base document (e.g. demo_5_page.pdf) with the generated Swiss QR Bill as an overlay. The QR bill shows Receipt and Payment part, QR code, creditor (e.g. Test AG, IBAN, Zurich), debtor (e.g. Test GmbH, Bern), amount (e.g. CHF 500.00), and optional invoice/contract text (e.g. invoice #2026-003, Contract: ABC-123). The file is saved as PA_Final_Result.pdf in the output folder.

Final merged PDF with Swiss QR Bill: payment slip layout with scannable QR code, creditor and debtor blocks, and amount in CHF. Ready for distribution or printing.
Use Cases
Invoices and quotes: Use a Word or PDF invoice as the base; add a compliant Swiss QR Bill as overlay so each PDF is both human-readable and machine-scannable for payment.
Bulk payment slips: Trigger the flow from a list (e.g. SharePoint or Excel) with different amounts and debtor data; generate one merged PDF per row and save to a folder or send by email.
Letterhead + QR bill: Use a company letterhead or template PDF as the base and overlay the Swiss QR Bill so the final document is branded and payment-ready.
Quick Reference
| Step | Action | Key setting | Example |
|---|---|---|---|
| 1 | Dropbox Get Word file content | File Path | /blog data/convert-swissqr-merge/3page.docx |
| 2 | PDF4me Convert to PDF | File Content, File Name | From step 1; Test.docx |
| 3 | PDF4me Create SwissQR Bill | Amount, Currency, IBAN, Creditor, Debtor, File Name | 500, CHF, Test AG / Test GmbH; SwissQR.pdf |
| 4 | Dropbox Get Base PDF file content | File Path | /blog data/convert-swissqr-merge/demo_5_page.pdf |
| 5 | PDF4me Merge Overlay | Base (content + name), Layer (content + name) | Get Base PDF → Base.pdf; Create SwissQR → SwissQR.pdf |
| 6 | Dropbox Create file | Folder Path, File Name, File Content | /blog data/convert-swissqr-merge/output; PA_Final_Result.pdf; from step 5 |
For full parameter details, see Create SwissQR Bill — Power Automate and Merge two PDF files one over another as Overlay — Power Automate.
Troubleshooting
Base File Content must be the PDF that should appear underneath (e.g. invoice or letter). Layer File Content must be the Swiss QR Bill PDF from Create SwissQR Bill. Map the correct step outputs (Get Base PDF and Create SwissQR Bill).
Check IBAN format (Swiss IBAN 21 characters), amount and currency, and that creditor and debtor address fields match the required structure (AddressType S or K). Reference must be max 27 characters when used.
See PDF4me Troubleshooting for API key, credits, and connectivity.
What's Next
- Run the flow — Trigger manually and confirm
PA_Final_Result.pdfappears in the output folder with the base content and Swiss QR Bill visible. - Automate — Replace the manual trigger with When a file is created in Dropbox (e.g. in the convert-swissqr-merge folder) and use the trigger file as the Word or base PDF path.
- Dynamic data — Pull amount, debtor, and reference from SharePoint, Excel, or Dynamics 365 and pass them into Create SwissQR Bill for batch generation.
- More actions — Add Send an email or SharePoint – Create file after Create file to email or store the merged PDF.