Create Swiss QR Bill using n8n action
PDF4me Create Swiss QR Bill generates compliant Swiss QR bills with embedded payment QR codes through n8n automation workflows. Process PDF invoices via n8n triggers, binary data, base64 strings, or public URLs to create standardized Swiss QR bills with creditor/debtor information, IBAN details, payment amounts, reference numbers, and customizable language options (English, German, French, Italian). This solution ensures full compliance with Swiss payment standards and is ideal for automated invoicing, payment processing, financial reconciliation, accounting system integration, and regulatory compliance workflows that require reliable Swiss QR bill generation.
Setup
Add the PDF4me "Create Swiss QR Bill" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.
Prerequisites:
- PDF4me API credentials
- n8n workflow access
Configuration:
- Add PDF4me node to workflow
- Select "Create Swiss QR Bill" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Create Swiss QR Bill action. Configure these parameters to generate compliant Swiss QR bills.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Input Data Type*** | String | PDF Input Format Selection • Choose the format of your input data (PDF document) • PDF4me supports multiple input types for Swiss QR bill creation • Options: Binary Data, Base64 String, or URL | Binary Data |
| Binary Property | String | Binary Input Property (Required if Binary Data) • Reference the input file property from a previous n8n node • PDF4me processes binary files with automatic format detection • Required when Input Data Type is "Binary Data" | data |
| Base64 Document Content | String | Base64 Encoded Input (Required if Base64 String) • Provide input data as a base64 encoded string • PDF4me automatically decodes and processes the content • Required when Input Data Type is "Base64 String" | UEsDBBQABgAI... |
| File URL | String | Public Input URL (Required if URL) • Provide a public/open permission URL to the input file • PDF4me downloads and processes the file from URL • Required when Input Data Type is "URL" | https://abc.com/xyz.pdf |
| File Name*** | String | Input Filename • Specify the name of the input PDF file • PDF4me uses this for file identification and processing • Essential for proper file handling and error tracking | document.pdf |
| Amount*** | Number | Payment Amount • Set the payment amount for the Swiss QR bill in Swiss Francs • Amount displayed on QR bill and embedded in QR code • Must be positive number with up to 2 decimal places | 1000 |
| Currency*** | String | Currency Selection • Choose the currency for the Swiss QR bill • Options: Swiss Franc (CHF), Euro (EUR) • Swiss Franc is standard for Swiss payment processing | Swiss Franc |
| IBAN*** | String | Creditor IBAN • Enter the creditor's International Bank Account Number • Must be valid Swiss IBAN format (CH followed by 19 digits) • Essential for payment processing and compliance | CH0200700110003765824 |
| Creditor Name*** | String | Creditor Company Name • Enter the name of the creditor company or individual • Appears on the generated QR bill • Must match the IBAN account holder | Test AG |
| Creditor Address Type*** | String | Creditor Address Format • Choose the address format for creditor information • Options: Structured (recommended), Combined • Structured format provides better QR code compatibility | Structured |
| Creditor Address Line 1*** | String | Creditor Street Address • Enter the street name and number for creditor's address • Appears on the Swiss QR bill • Must be accurate for payment processing | Test Strasse |
| Creditor Address Line 2 | String | Creditor Additional Address • Enter additional address information (floor, apartment, building) • Optional field for more detailed address information | 1 |
| Creditor Postal Code*** | String | Creditor Postal Code • Enter the postal code for creditor's address • Must be valid Swiss postal code format (4 digits) • Essential for Swiss QR bill compliance | 8000 |
| Creditor City*** | String | Creditor City • Enter the city name for creditor's address • Must be a valid Swiss city name • Essential for Swiss QR bill compliance | Zurich |
| Ultimate Debtor Name*** | String | Debtor Company Name • Enter the name of the ultimate debtor company or individual • Represents who will pay the bill | Test Debt AG |
| Ultimate Debtor Address Type*** | String | Debtor Address Format • Choose the address format for debtor information • Options: Structured (recommended), Combined • Structured format provides better QR code compatibility | Structured |
| Ultimate Debtor Address Line 1*** | String | Debtor Street Address • Enter the street name and number for debtor's address • Appears on the Swiss QR bill • Must be accurate for payment processing | Test Deb Strasse |
| Ultimate Debtor Address Line 2 | String | Debtor Additional Address • Enter additional address information (floor, apartment, building) • Optional field for more detailed address information | 2 |
| Ultimate Debtor Postal Code*** | String | Debtor Postal Code • Enter the postal code for debtor's address • Must be valid Swiss postal code format (4 digits) • Essential for Swiss QR bill compliance | 8000 |
| Ultimate Debtor City*** | String | Debtor City • Enter the city name for debtor's address • Must be a valid Swiss city name • Essential for Swiss QR bill compliance | Zurich |
| Reference Type*** | String | Reference Type Selection • Choose the type of reference for the Swiss QR bill • Options: No Reference, QR Reference, Creditor Reference • Determines payment reference handling | No Reference |
| Language Type*** | String | Language Selection • Choose the language for Swiss QR bill text and labels • Options: English, German, French, Italian • Affects display language of generated QR bill | English |
| Separator Line*** | String | Separator Line Style • Choose the style of separator line • Options: Line With Scissor, Simple Line, No Line • Affects visual appearance and compliance | Line With Scissor |
| Output File Name*** | String | Output Filename • Specify the name for the generated Swiss QR bill PDF • Must include .pdf extension • PDF4me ensures unique naming and format validation | swissqr_bill.pdf |
| Output Binary Field Name*** | String | Output Binary Field • Specify the name for the binary data field • Contains the PDF data for subsequent workflow steps • Essential for workflow data flow | data |
Advanced Options
The following parameters are available in the Advanced Options section and are optional:
| Parameter | Type | Description | Example |
|---|---|---|---|
| Reference | String | Payment Reference • Enter a custom payment reference number • Embedded in QR code for payment tracking and reconciliation • Must be valid reference format per Swiss payment standards • Optional for advanced payment tracking | 210000000003139471430009017 |
| Unstructured Message | String | Unstructured Message • Enter additional information or message for the QR bill • Can contain payment purpose, invoice details, or other information • Appears on the QR bill • Optional field | for individuals |
| Billing Info | String | Billing Information • Enter structured billing information in Swiss QR bill format • Contains detailed payment information in standardized format • Includes creditor details, amount, and reference data • Optional for advanced billing | S1/01/20200109/33/123455/99/0/123258/30/CH2345677/40/1020/41/300 |
| AV1 Parameter | String | AV1 Parameter • Enter additional parameter 1 for the Swiss QR bill • Contains supplementary information or configuration • For advanced Swiss QR bill processing • Optional field | additional_param_1 |
| AV2 Parameter | String | AV2 Parameter • Enter additional parameter 2 for the Swiss QR bill • Contains supplementary information or configuration • For advanced Swiss QR bill processing • Optional field | additional_param_2 |
| Custom Profiles | String | Custom Configuration Profiles • Set additional options using custom profiles • JSON-like format containing predefined parameters • Enables advanced Swiss QR bill creation settings • Optional for specialized requirements | { "outputDataFormat": "pdf", "validateSwissStandards": true } |
Output
Output Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| fileName | String | PDF4me Swiss QR bill filename - The complete filename of the successfully generated Swiss QR bill PDF file with proper .pdf extension. PDF4me ensures unique naming and validates file format compliance for seamless integration with downstream processes | swissqr_bill.pdf |
| mimeType | String | PDF4me PDF MIME type - The MIME type of the generated Swiss QR bill PDF file, indicating the file format for proper handling in web applications and file systems | application/pdf |
| fileSize | Number | PDF4me PDF file size in bytes - The exact size of the generated Swiss QR bill PDF file in bytes, provided by PDF4me for storage planning, bandwidth optimization, and file transfer monitoring. Essential for enterprise document management and workflow automation | 245760 |
| success | Boolean | PDF4me Swiss QR bill generation status indicator - Boolean flag indicating the success or failure of the Swiss QR bill creation process. PDF4me returns true for successful generation and false for any errors, enabling robust error handling in automated workflows | true |
| message | String | PDF4me processing status message - Human-readable status message providing details about the Swiss QR bill creation process result. Includes success confirmation or error details for troubleshooting | Swiss QR bill created successfully |
N8N Action Response
The PDF4me Create Swiss QR Bill API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
{
"fileName": "swissqr_bill.pdf",
"mimeType": "application/pdf",
"fileSize": 245760,
"success": true,
"message": "Swiss QR bill created successfully"
}
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| fileName | swissqr_bill.pdf |
| mimeType | application/pdf |
| fileSize | 245760 |
| success | true |
| message | Swiss QR bill created successfully |
Schema View
The data structure and types of the response:
1 item
fileName: AB swissqr_bill.pdf
mimeType: AB application/pdf
fileSize: # 245760
success: ☑ true
message: AB Swiss QR bill created successfully
Type Indicators:
AB= String#= Number☑= Boolean
Binary Data View
The actual PDF file data and metadata:
data
─────────────────────────────
File Name: swissqr_bill.pdf
File Extension: pdf
Mime Type: application/pdf
File Size: 240.0 KB
Binary Data Access:
- n8n Binary Object:
$binary.data.data - Base64 Content: Available for direct use
- File Operations: Ready for download, email, or storage
Use Cases
Swiss Banking and Financial Services
- Automatically generate Swiss QR bills for invoice payments, utility bills, and service charges that comply with Swiss banking standards and enable instant payment processing through mobile banking apps
- Process recurring payments and subscription services by creating standardized Swiss QR bills that integrate with Swiss banking systems and automated payment processing workflows
- Generate payment requests for Swiss businesses and service providers that ensure compliance with Swiss financial regulations and provide seamless payment experiences for customers
Swiss Business and Invoice Management
- Create professional invoices and payment documents for Swiss companies that meet Swiss QR bill standards and integrate with Swiss accounting software and tax reporting systems
- Process international transactions and cross-border payments by generating Swiss QR bills that facilitate payments from Swiss customers and comply with Swiss financial regulations
- Generate payment documents for Swiss government services, healthcare providers, and educational institutions that enable digital payment processing and reduce administrative overhead
Swiss E-commerce and Digital Payments
- Integrate Swiss QR bill generation into e-commerce platforms and online stores to provide Swiss customers with familiar and secure payment options that work seamlessly with Swiss banking apps
- Process subscription services and recurring billing for Swiss customers by generating automated Swiss QR bills that enable convenient payment processing and reduce payment friction
- Create digital payment solutions for Swiss marketplaces and service platforms that leverage Swiss QR bill technology for secure, standardized payment processing across different Swiss financial institutions