跳到主要内容

创造瑞士 QR 比尔 Zapier

此操作的作用

PDF4me 创建 SwissQR 账单 生成瑞士支付标准(SPS符合 瑞士 QR-账单(QR-发票) 在你里面 Zapier 工作流程。转换来自 Bexio、Sage、Abacus、QuickBooks、Xero、Microsoft Dynamics 或任何其他系统的发票数据。 Zapier将连接的源文件转换为可直接打印的瑞士格式 QR-账单 IBAN,结构化债权人和最终债务人详情, QR 参考 (QRR)或债权人参考(SCOR金额、货币和多语言标签。输出格式为: PDFPNGJPEG, 或者 TIFF瑞士所有银行均接受此卡。 PostFinance以及自那时起使用的瑞士银行应用程序 QR-账单于2022年9月30日成为瑞士唯一有效的支付凭证。

相关博客文章(2)
如何在 Zapier 中将瑞士二维码账单合并到基础 PDF 文件中?Dropbox 七步模式。
Zapier 结合 PDF4me:在 Dropbox 中新建文件,查找 Word 模板,转换为 PDF,创建 SwissQR 账单,查找基础 PDF,合并 PDF 图层,上传文件。Swiss QR 账单自动化流程(附图)。
阅读帖子
在 Zapier 中将瑞士二维码账单添加到任何发票 PDF:4 步 Dropbox 工作流程
四步 Zapier 工作流程:Dropbox 文件夹新建文件触发,查找文件,PDF4me 创建瑞士二维码账单(瑞士法郎,二维码参考号,英文),然后 Dropbox 上传文件。将符合瑞士支付标准的二维码账单页面附加到 /pdf4metest/Swiss-RP 目录下的任何发票 PDF 文件,并将输出保存到 /pdf4meoutput 目录。提供真实屏幕截图和准确字段值。
阅读帖子

验证您的身份 API 要求

要访问 PDF4me 网站 API 通过 Zapier所有操作都必须经过身份验证。点击 连接新帐户 第一次粘贴你的 PDF4me API 关键在于,后续的 Zap 操作会自动重用该连接。

您不容错过的重要事实

瑞士 QR自2022年9月30日起,账单是唯一有效的瑞士支付凭证。
SIX集团和瑞士银行已停用传统的红色(ES)和橙色(ESR)付款单。现在,所有瑞士B2B和B2C发票都需要瑞士付款单。 QR用于支付国内款项的账单。 Zapier 行动产生完全 SPS所有瑞士银行均接受符合标准的输出 PostFinance
QRR 对比 SCOR 对比 NON选择正确的参考类型
使用 QRR (27 位) QR 参考文献) QR-IBAN 用于瑞士银行自动对账。 SCORISO 11649 债权人参考资料) SEPA 跨境发票。使用 NON 用于简单的支付,无需结构化参考信息。可与非结构化消息结合使用以提供上下文信息。
自动对账需要结构化地址(S)。
债权人和最终债务人地址类型均接受 S (结构化:街道、门牌号、邮政编码和城市字段分开) K (合并:两条自由曲线)。S 用于瑞士银行生产流程;K 也允许使用,但精度较低,适用于下游自动化处理。

配置 Zapier

配置 步骤,字段按以下顺序出现。 格式类型IBAN债权人地址类型, 和 债权人名称 必填项(标有星号) Zapier其他字段为可选或条件字段。

Zapier 步骤 3:在“配置”选项卡中创建 SwissQR 账单:格式类型为 PDF,文件映射自之前的 Dropbox 步骤,文件名取自文件名和文件扩展名,分页选项为自定义(页码),页码设置为 2,货币为瑞士法郎 (CHF),参考类型为 QRR

输出和 PDF 位置:格式类型PDF/PNG/JPEG/TIFF),地图可选 文件 或者 文件 URL文件名, 选择 分页选项 (这里 自定义(页码)页码 2), 然后 货币参考类型 (例子: CHFQRR)。

Zapier PDF4me 创建 SwissQR 账单配置步骤:格式类型 PNG,货币 CHF,参考类型 QRR,语言类型 英语,分隔符,金额,IBAN,债权人地址类型 S,债权人姓名和债权人地址字段

付款方和债权人: 货币参考类型数量IBAN以及结构化的 债权人 地址字段(S = 结构化)。

Zapier PDF4me 创建 SwissQR 账单配置步骤:最终债务人地址字段、参考信息、非结构化消息、账单信息、AV1 参数和 AV2 参数

债务人、推荐人和高级字段: 选修的 最终债务人 细节, 参考 (为了 QRR/SCOR), 非结构化消息账单信息 (Swico)和 AV1 / AV2 参数。

参数

创建 SwissQR 账单操作会显示 26 个字段,这些字段以如下方式呈现: Zapier UI 分为五个可滚动区块。以下屏幕截图反映了字段的确切顺序,并截取了实际运行中验证过的示例值。

Zapier Create Swiss QR Bill action: Block 1: Format Type, File / File URL, File Name, Paging Options, Currency
Block 1: Format Type, File / File URL, File Name, Paging Options, Currency
Zapier Create Swiss QR Bill action: Block 2: Reference Type, Language Type, Separator Line, Amount, IBAN, Creditor Address Type
Block 2: Reference Type, Language Type, Separator Line, Amount, IBAN, Creditor Address Type
Zapier Create Swiss QR Bill action: Block 3: Creditor Name, Creditor Address Line 1 / 2, Creditor City, Creditor Postal Code, Ultimate Debtor Address Type
Block 3: Creditor Name, Creditor Address Line 1 / 2, Creditor City, Creditor Postal Code, Ultimate Debtor Address Type
Zapier Create Swiss QR Bill action: Block 4: Ultimate Debtor Name, Ultimate Debtor Address Line 1 / 2, Ultimate Debtor City, Ultimate Debtor Postal Code, Reference
Block 4: Ultimate Debtor Name, Ultimate Debtor Address Line 1 / 2, Ultimate Debtor City, Ultimate Debtor Postal Code, Reference
Zapier Create Swiss QR Bill action: Block 5: Reference, Unstructured Message, Billing Info, AV1 Parameters, AV2 Parameters
Block 5: Reference, Unstructured Message, Billing Info, AV1 Parameters, AV2 Parameters

必需 Zapier UI (带星号): 格式类型 IBAN债权人地址类型,债权人名称。 条件: 文件或文件 URL (二选一,用于嵌入时) QR-现有账单 PDF); 页码(当分页选项为自定义时)。 强烈推荐使用有效的瑞士 QR账单: 所有债权人地址字段和最终债务人字段。瑞士支付标准规范要求提供完整的地址数据,即使…… Zapier UI 不加星号。

范围必需的它的作用例子
Format TypeYesOutput file format. PDF for print-ready Swiss QR-bills (default), PNG/JPEG for digital web or email embedding, TIFF for archival quality, Empty/null for raw data. Asterisked in the Zapier UI.PDF
FileConditionalBase PDF where the Swiss QR-bill will be embedded. Either provide File or File URL, not both. Map binary content from a previous step (Dropbox, Google Drive, HTTP). Hint: "Either provide File or File URL".Input sample (sample.pdf)1. File
File URLConditionalPublic URL to the base PDF. Either provide File or File URL. PDF4me downloads the file and embeds the QR-bill onto it.Input sample (sample.pdf)1. File
File NameNoOutput filename for the generated Swiss QR-bill document. Include the extension matching Format Type (.pdf, .png, .jpg, .tiff).Output sample (sample.swissqr.pdf)
paging OptionsNoControls where the QR-bill is placed in the output PDF. First (top of doc), Last (final page), Add Page At End (appends a new dedicated QR-bill page), Custom (specific page index; requires Page Number below).Custom (page number)
Page NumberConditionalSpecific page index for the QR-bill placement. Required when paging Options is Custom. Page index starts at 1.3
CurrencyNoCurrency for the QR-bill payment amount. Only CHF (Swiss Franc, default for Swiss domestic) and EUR (cross-border) are valid per SPS specification.CHF
Reference TypeNoSent as code: NON (No Reference, for simple payments), QRR (27-digit QR Reference for QR-IBAN auto-reconciliation), or SCOR (ISO 11649 Creditor Reference for SEPA-compatible cross-border).QRR
Language TypeNoDisplay language for printed QR-bill labels. Options: English, German, French, Italian. Match the recipient's Swiss region.English
Separator LineNoVisual separator between invoice body and QR-bill tear-off section. Options: "Line with Scissor" (Swiss standard for printed bills), Simple Line, No Line.Line with Scissor
AmountNoPayment amount in the chosen Currency. Enter as a number with up to two decimal places. Leave blank if the customer fills in the amount themselves.19432
IBANYesCreditor's Swiss IBAN. Must start with CH and have 19 digits total. For QRR reference type, use a QR-IBAN (with QR-IID 30000-31999). Asterisked in the Zapier UI.CH4431999123000889012
Creditor Address TypeYesAddress format for creditor information. Sent as code S (Structured, recommended for Swiss banking) or K (Combined, two free-form lines). Asterisked.S
Creditor NameYesFull name of the creditor (company or individual) as registered with the bank. Printed on the generated QR-bill. Asterisked.muneer
Creditor: Street Name or Address Line 1NoStreet name for the creditor (Structured) OR first free-form address line (Combined). Strongly recommended for valid SPS output.vb vcb
Creditor: Building Number or Address Line 2NoHouse/building number (Structured) OR second free-form address line (Combined).1268
Creditor CityNoSwiss city for the creditor. Must correspond to the Postal Code.Zurich
Creditor Postal CodeNoValid 4-digit Swiss postal code for the creditor.2501
Ultimate Debtor Address TypeNoAddress format for the party who will pay the bill. S (Structured) or K (Combined). Use S for automated processing.S
Ultimate Debtor NameNoFull name of the party who will pay. Appears in the payment section of the printed QR-bill.Pia-Maria Rutschmann-Schnyder
Ultimate Debtor: Street Name or Address Line 1NoDebtor street name (Structured) or first free-form line (Combined).Grosse Marktgasse
Ultimate Debtor: Building Number or Address Line 2NoDebtor house/building number or secondary address line.23
Ultimate Debtor CityNoSwiss city of the debtor.Rorschach
Ultimate Debtor Postal CodeNoValid 4-digit Swiss postal code for the debtor.9400
ReferenceNoThe actual reference value embedded in the QR code. Required content when Reference Type is QRR (27-digit numeric) or SCOR (ISO 11649 starting with RF). Empty when Reference Type is NON.210000000003139471430009017
Unstructured MessageNoFree-form payment note printed on the QR-bill. Combined with Billing Info, max 140 characters total. Useful for invoice references when Reference Type is NON.Instruction of 15.09.2019
Billing InfoNoStructured billing information per Swiss QR-bill specification (Swico syntax). Encodes invoice number, date, VAT details. Combined with Unstructured Message, max 140 characters total.S1/01/20170309/11/10201409/20/14000000/22/36958/30/CH106071086/40/1020/41/3010
AV1 ParametersNoAlternative procedure parameter 1 (AV1). Reserved for future Swiss payment alternative procedures and bilateral agreements between sender and receiver.Name AV1: UV;UltraPay005;12345
AV2 ParametersNoAlternative procedure parameter 2 (AV2). Reserved for future Swiss payment alternative procedures.Name AV2: XY;XYService;54321

格式类型选项

控制生成的瑞士国旗的输出文件格式 QR-账单。

PDF默认(可直接打印)
全保真瑞士 QR-账单 PDF 可用于打印、邮寄或存档。瑞士B2B和B2C发票的标准格式。
PNG网络和数字嵌入
QR-账单作为 PNG 图片。嵌入客户门户、网上发票、移动应用程序或 HTML 需要图片格式的电子邮件。
JPEG便于电子邮件发送的压缩图像
文件大小比 PNG适用于电子邮件内嵌或移动设备传输,在这些场景中,带宽比音质更重要。
多伦多国际电影节档案级品质
高分辨率 TIFF 适用于需要最高图像保真度的文档管理系统、银行档案和监管保存工作流程。
空(null)原始数据输出
生的 QR- 不带特定文件包装器的账单数据。用于下游 API 能够自行处理格式转换的集成方案。

参考类型选项

控制嵌入其中的支付参考标准。 QR 代码。这将直接影响收款方银行对账单中付款的核对方式。

无需参考资料(简单付款)
未嵌入结构化参考信息。适用于需要手动或通过“非结构化消息”字段进行对账的一次性付款。与常规 CH- 兼容。IBANs (不是 QR-IBANs)。
QRRQR 参考号(27 位瑞士对账码)
27 位数字参考号(取代旧式 ESR)。 强制的 使用时 QR-IBAN (包含) QR-IID 30000-31999)。支持全自动付款对账。 PostFinance 以及所有瑞士银行。是国内企业间大规模发票处理的标准选择。
得分债权人参考(ISO 11649 SEPA
ISO 11649 结构化的债权人参考资料,从……开始 RF + 两位校验和数字 + 最多 21 个字母数字字符。用于跨境 SEPA-兼容的开票方式,或者当您的会计系统需要标准化开票时 ISO 参考。

地址类型选项

适用于两者 债权人地址类型最终债务人地址类型

S结构化(推荐)
地址的每个组成部分分别存储在单独的字段中(街道、门牌号、邮政编码、城市)。大多数瑞士银行系统需要此信息来进行自动支付对账。 强制性要求 QR-IBAN 加工。
K合并(两条自由曲线)
完整地址以两行自由格式表示。这种方式填写起来更简单,但对于后续的自动化处理来说精度较低。仅当由于旧式地址数据源的限制而无法使用结构化地址时才使用此方法。

分页选项

控制位置 QR-账单被放置在输出中 PDF 当格式类型为 PDF

第一的
地点 QR-输出文档第一页上的账单。
最后的
地点 QR-现有文件最后一页上的账单。
在末尾添加页面
最常用的方法。添加一个专门的新页面。 QR-bill。保留所有发票内容不变。
自定义(页码)
从“页码”字段中获取特定页码索引。当您的发票模板为特定页面预留页码时,请使用此功能。 QR-账单。

示例文件

使用这些文件进行测试 创建 SwissQR 账单 在连接带电的 Zap 之前。 sample.pdf输入平原 PDF 你映射到 文件 (或主办方) 文件 URL)。 sample.swissqr.pdf输出同一份文档 PDF4me 瑞士人补充道 QR-账单支付部分,包含您配置的信息。 IBAN债权人、参考字段。

输出字段

场地类型它包含什么
File ContentBinaryGenerated Swiss QR-bill file (PDF/PNG/JPEG/TIFF). Map into the next step for upload, email, or further processing. See sample.swissqr.pdf for a PDF example.
File UrlStringDirect URL to access the generated QR-bill, useful for sharing or downstream HTTP processing.
File NameStringOutput filename without extension (for example sample.swissqr when the full name is sample.swissqr.pdf).
Full File NameStringComplete output filename with extension matching the chosen Format Type (for example sample.swissqr.pdf).

快速设置

  1. Zapier, 点击 + 添加新操作并选择 PDF4me
  2. 选择 创建 SwissQR 账单 作为行动事件。
  3. 连接您的 PDF4me 帐户或粘贴您的 API 出现提示时按下按键。
  4. 格式类型PDF 对于打印的发票, PNG/JPEG 用于网页/电子邮件 TIFF 仅供存档。
  5. 如果嵌入 QR-现有账单 PDF, 地图 文件 或者 文件 URL (两者不可兼得)并选择 分页选项 (自定义要求) 页码)。
  6. 进入 货币CHF 对于瑞士国内而言, EUR (跨境) 数量参考类型QRR / SCOR / NON), 语言类型, 和 分离线
  7. 进入 IBAN (有效的瑞士瑞士法郎) IBAN; 为了 QRR 引用类型使用 QR-IBANQR-IID 30000: 31999)。
  8. 填写所有 债权人 字段:姓名、地址类型(建议使用 S)、街道名称、楼号、城市、邮政编码。
  9. 充满 最终债务人 包含付款方详细信息的字段(采用相同的结构化/组合模式)。
  10. 对于更复杂的情况,请添加 参考 (27 位) QRR 或射频... SCOR), 非结构化消息账单信息 (Swico语法) AV1AV2
  11. 使用示例数据测试该操作,验证输出,然后启用 Zap。

工作流程示例

工作流程示例Common Zapier workflow patterns using Create SwissQR Bill.
Bexio / Sage 发票 → 瑞士 QR账单 → 通过电子邮件发送给客户
  1. 当瑞士客户的新 B2B 发票最终确定时,Bexio、Sage 或 Abacus webhook 会触发。
  2. PDF4me 创建 SwissQR 账单:格式类型 = PDF货币 = CHF,参考类型 = QRR (和 QR-IBAN),语言类型 = 德语,金额和 IBAN 从 webhook 有效负载映射而来。
  3. 债权人字段来自您的公司记录;最终债务人字段来自源系统中的客户记录。
  4. Gmail 或 Outlook 步骤发送 QR-账单 PDF 以电子邮件附件的形式发送到客户的账单邮件中。该文件已完全加载。 SPS符合规定,可通过任何瑞士银行应用程序进行即时支付。
  5. Google Sheets 或 Airtable 日志记录发票 ID、客户、金额、 QR 应收账款核对的参考编号和时间戳。
瑞士电子商务订单 → QR-账单 PNG → 结账邮件
  1. 当瑞士客户选择“通过银行转账付款”而不是使用银行卡付款时,Shopify、WooCommerce 或 Stripe 的结账 webhook 就会触发。
  2. PDF4me 创建 SwissQR 账单:格式类型 = PNG (图像嵌入),货币 = CHF,参考类型 = QRR,金额取自订单总额,语言类型与客户的语言区域匹配。
  3. PNG 图片以内嵌方式嵌入在……中 HTML 订单确认电子邮件,以便客户可以直接在银行应用程序中扫描进行支付。
  4. 已收到款项 → 银行对账单匹配 QR 自动追溯到原订单。
  5. Shopify订单标记为已付款后,无需人工核对或猜测发票号码即可开始发货。
每月订阅批次 → QR-账单 → 存档于 SharePoint
  1. 时间表 Zapier 每月1日触发月度订阅计费。 CHF
  2. Google Sheets 或 Airtable 的查找功能可以检索所有活跃订阅者及其信息。 IBAN地址、金额和 QR 参考模板。
  3. 循环 Zapier 遍历每个订阅者。 PDF4me 创建 SwissQR 账单会生成一个 QR每行账单 QRR 参考页和页尾添加页码。
  4. 每个 QR-账单 PDF 邮件会通过 Gmail 发送给订阅者,并存档在 Microsoft 数据库中。 SharePoint 使用类似这样的文件名模式 qrbill_{customerId}_{YYYY-MM}.pdf
  5. 每月向财务团队发送的汇总电子邮件会报告总发票金额、订阅用户数量和异常数量,以便从第一天起就能清晰了解现金流情况。

常见问题解答

What is the Swiss QR-bill and why did Switzerland introduce it?+
The Swiss QR-bill (Swiss QR-Rechnung) is the official digital payment standard introduced by SIX Group and Swiss banks in June 2020 to replace the legacy orange (ESR) and red (ES) payment slips. Every Swiss QR-bill contains a Swiss QR Code carrying structured payment data (IBAN, amount, currency, creditor, debtor, and reference) that can be scanned by Swiss banking apps and PostFinance for instant, error-free payments. All Swiss banks, PostFinance, and the Swiss payment ecosystem support the QR-bill format as the only valid domestic payment document since 30 September 2022. The legacy slips were officially retired on that date and are no longer accepted by Swiss banks for new payments.
What is the difference between QR Reference (QRR), Creditor Reference (SCOR), and No Reference (NON)?+
QRR (QR Reference) is a 27-digit numeric reference replacing the legacy ESR reference. It is mandatory for QR-IBAN accounts (IBANs containing the QR-IID 30000-31999) and enables fully automated payment reconciliation in Swiss banking systems. Your bank statement maps each incoming payment back to the original invoice using this reference number. SCOR (Creditor Reference) is the ISO 11649 structured reference starting with RF, used for SEPA-compatible cross-border invoicing where the recipient operates in the broader EU/EEA payment area. NON (No Reference) is used when no structured reference is needed, most often paired with an Unstructured Message describing the payment purpose. Choose QRR for Swiss domestic B2B and B2C with auto-reconciliation, SCOR for cross-border SEPA, NON for simple one-off payments.
What is the difference between Structured (S) and Combined (K) address types?+
Structured address type (code S) stores each address component in separate fields: Street Name (or Address Line 1), Building Number (or Address Line 2), Postal Code, and City. This gives maximum compatibility with the Swiss Payment Standards specification and automated bank reconciliation systems. Combined address type (code K) stores the full address as two free-form lines, simpler to populate from legacy CRMs but less precise for downstream automated processing. Structured is recommended for all production Swiss QR-bills and is mandatory for QR-IBAN reconciliation; Combined is permitted but should only be used when you have no choice. The Zapier action accepts S or K codes directly in the Creditor Address Type and Ultimate Debtor Address Type fields.
Can I generate a Swiss QR-bill in PNG, JPEG, or TIFF format instead of PDF?+
Yes. The Format Type parameter supports PDF (default, print-ready Swiss QR-bill, the standard for B2B and B2C invoicing), PNG (digital web embedding for customer portals, web invoices, mobile apps), JPEG (email-friendly compressed image for HTML emails), TIFF (archival quality for document management and regulatory retention), and Empty/null (raw data for downstream API integrations). PNG is particularly useful for e-commerce checkout flows where the QR-bill is shown inline so customers can scan directly from their phone screen. PDF remains the standard for printed invoices and bank archival. For PDF output, you can also use Paging Options to control where the QR-bill appears within an existing multi-page invoice (First, Last, Add Page At End, or Custom).
How does this Zapier Swiss QR-bill generator compare to SmallPDF, SIX Group QR-Bill Generator, or manual ESR tools?+
Manual tools like SmallPDF, the SIX Group QR-Bill Generator at qr-rechnung.ch, qr-rechnung.com, bank-portal generators from PostFinance/UBS/Raiffeisen, and standalone desktop apps require you to fill in payment details one bill at a time, typically 2-5 minutes per invoice plus license fees per user seat. The PDF4me Zapier action automates the same Swiss QR-bill creation at scale, triggered by invoice creation events from Bexio, Sage Swiss, Abacus, Microsoft Dynamics 365, QuickBooks, Xero, Shopify, Stripe, or any of 6,000+ Zapier-connected business apps. The output is fully Swiss Payment Standards (SPS) compliant, accepted by every Swiss bank including UBS, PostFinance, Raiffeisen, ZKB, and the cantonal banks, and integrates directly with your existing invoicing and accounting workflows without manual data re-entry. Use this when you generate dozens, hundreds, or thousands of Swiss QR-bills monthly rather than one-off ad-hoc bills.

相关操作

在其他平台上执行相同任务

获取帮助