跳到主要内容

创建 SwissQR 账单 Power Automate

此操作的作用

PDF4me 条形码 - 创建 SwissQR 账单 在发票上附加符合瑞士支付标准的二维码付款单。 PDFPower Automate 流程,或仅根据支付数据生成独立的二维码账单。管道文件内容来自 SharePointOneDriveDropbox数据宇宙, 或者 Outlook 附件; 供应 IBAN +债权人+债务人+参考字段;选择输出格式(PDFPNGJPEG蒂芙);并且该操作返回一个可供瑞士银行扫描的文件,以便进行下游的创建文件、发送电子邮件或 Teams 消息操作。 ISO 20022 符合规范;自 2022 年起被所有瑞士银行应用程序接受。

相关博客文章(3)
先用 Word 文档转 PDF,再在上面添加瑞士二维码钞票。Power Automate 一键合并!
Power Automate流程:从Dropbox获取Word文档,转换为PDF,使用PDF4me创建瑞士二维码账单,获取基础PDF,合并为叠加层,保存最终PDF。包含分步说明、屏幕截图和正确的图像元标签。
阅读帖子
在 Power Automate 中向任何发票 PDF 添加瑞士二维码账单:一个包含 4 个步骤的 Dropbox 工作流程
四步 Power Automate 流程:手动触发,使用 Dropbox 获取文件内容,使用 PDF4me 条形码创建 SwissQR 账单(瑞士法郎,QRR 参考号,英文),然后使用 Dropbox 创建文件。将符合瑞士支付标准的二维码账单页面附加到 /pdf4metest/sample/10 page.pdf,并将重命名后的输出保存到 /pdf4meoutput。提供真实屏幕截图和准确字段值。
阅读帖子
在 Power Automate 中,将瑞士二维码钞票插入到自定义页码中(使用 PDF4me 的 4 步 Dropbox 流程)
Power Automate 流程可将瑞士二维码账单添加到多页发票的特定页面(演示运行中为第 3 页)。流程包括手动触发、Dropbox 获取文件内容、PDF4me 条形码创建 SwissQR 账单(分页选项自定义,页码 3,IBAN CH4431999123000889012,金额 5253531,二维码参考,英文),以及 Dropbox 使用 GUID 创建文件并添加标题/文件名重命名模式。包含真实屏幕截图、精确字段值,并支持 4 种输出格式。
阅读帖子

验证您的身份 API 要求

PDF4me 将连接器连接到 Power Automate 需要有效 联系 握着你的 PDF4me API 关键在于:在流程设计时创建一次连接,然后每次都创建连接。 PDF4me 租户中的操作会重用它。

您不容错过的重要事实

四种输出格式,而不仅仅是 PDF
输出格式类型接受 PDF (混合方式,附加到您的原始发票上) PNGJPEG, 或者 蒂芙 (独立图像) QR (例如,单页)。使用图像格式进行电子邮件内嵌或网页预览;使用 PDF 提交完整发票时。
IBAN 必须是瑞士法郎或列英,货币 CHF 或者 EUR
瑞士支付标准规范限制了 IBAN 发往瑞士/列支敦士登的发行机构(最多 21 个字符)和货币 CHF / EUR。 为了 QRR 参考类型 IBAN 必须是 二维码IBAN并非标准 IBAN对于其他欧洲国家而言, IBANs 使用生成EPC QR 代码 SEPA 反而。
分页选项位于“高级参数”下
点击 显示全部 在高级参数中显示 分页选项页码文件内容, 和 文件名设置分页选项 风俗 + 填写页码以结束 QR-账单位于特定页面(从 1 开始)。仅当输出格式类型为 PDF

参数

这一行动暴露了…… 付款 + 债权人 + 债务人 + 参考 主面板中的字段和下方的 4 个字段 高级参数 控制输入文件和页面位置。下面的屏幕截图反映了字段的确切顺序。 Power Automate 用户界面。

必填项(用户界面中以红色星号标记): IBAN, 数量。 强烈推荐用于符合SPS标准的单据: 输出格式类型、债权人名称、债权人地址类型、地址行 + 邮政编码 + 城市、最终债务人块、货币、参考类型、语言类型、分隔符行。 条件(高级参数): 页码(分页选项为) 风俗; 文件内容 + 文件名(追加时) QR 滑入现有 PDF (如果单独使用,则两者都跳过) QR-滑)。

Power Automate Create SwissQR Bill action: Block 1: Output Format Type, IBAN, Amount, Creditor Name, Creditor Address Type, Address Lines, PostalCode
Block 1: Output Format Type, IBAN, Amount, Creditor Name, Creditor Address Type, Address Lines, PostalCode
Power Automate Create SwissQR Bill action: Block 2: Creditor City, Currency, Ultimate Debtor block (Name, AddressType, Address Lines, PostalCode, City), Reference Type
Block 2: Creditor City, Currency, Ultimate Debtor block (Name, AddressType, Address Lines, PostalCode, City), Reference Type
Power Automate Create SwissQR Bill action: Block 3: Reference, Unstructured Message, Billing Info, AV1 + Av2 Parameters, Language Type, Seperator Line
Block 3: Reference, Unstructured Message, Billing Info, AV1 + Av2 Parameters, Language Type, Seperator Line
范围必需的它的作用例子
Output Format TypeNoContainer of the populated output. PDF (hybrid; appended to source invoice), PNG / JPEG / Tiff (standalone raster image of the QR slip). See the reference card below.PNG
IBANYesIBAN or QR-IBAN of the creditor. Maximum 21 characters with CH or LI country codes only. QR-IBAN required when Reference Type is QRR.CH4431999123000889012
AmountYesPayment amount with up to 2 decimal places, no leading zeros. Maximum 12 digits total.5253531
Creditor NameNoCreditor name or company according to the bank account. Maximum 70 characters.Var Schneider AG
Creditor Address TypeNoAddress format for the creditor. S (Structured, separate PostalCode and City fields) or K (Combined, two free-text address lines).S
Creditor: Street Name or Address Line 1NoCreditor primary address line. Maximum 70 characters.Var Schneider AG
Creditor: Building Number or Address Line 2NoCreditor secondary address line (building number for S, free-text for K). 16 chars (S) or 70 chars (K).23
Creditor PostalCodeNoCreditor postal code. Maximum 16 characters.2501
Creditor CityNoCreditor town or city. Maximum 35 characters.biel
CurrencyNoPayment currency. Only CHF and EUR are permitted by Swiss Payment Standards.CHF
Ultimate Debtor NameNoDebtor name or company. Maximum 70 characters.Pia-Maria Rutschmann-Schnyder
Ultimate Debtor AddressTypeNoSame rules as Creditor Address Type. S (Structured) or K (Combined).S
Ultimate Debtor: Street Name or Address Line 1NoDebtor primary address line. Maximum 70 characters.Grosse Marktgasse
Ultimate Debtor: Building Number or Address Line 2NoDebtor secondary address line. 16 chars (S) or 70 chars (K).33
Ultimate Debtor PostalCodeNoDebtor postal code. Maximum 16 characters.9400
Ultimate Debtor CityNoDebtor town or city. Maximum 35 characters.biel
Reference TypeNoReference format. QRR (Swiss 27-digit numeric, requires QR-IBAN), SCOR (ISO 11649 creditor reference), NON (no reference shown).QRR
ReferenceNoPayment reference value. Format depends on Reference Type. Maximum 27 characters for QRR.210000000003139471430009017
Unstructured MessageNoFree-text payment description shown in the Additional information block. Maximum 140 characters.Instruction of 15.09.2019
Billing InfoNoStructured billing information (Swico, etc) shown alongside the Unstructured Message. Maximum 140 characters.S1/01/20170309/11/10201409/20/14000000/22/36958/30/CH106017086/40/1020/41/3010
AV1 ParametersNoAlternative scheme parameter 1 (e.g. eBill identifier). Maximum 100 characters. Convention: Name AV1: UV;...Name AV1: UV;UltraPay005;12345
Av2 ParametersNoAlternative scheme parameter 2. Maximum 100 characters. Same convention as AV1 when a second alternative scheme is required.Name AV2: XY;XYService;54321
Language TypeNoLanguage for the printed QR-bill labels. German, French, Italian, English.English
Seperator LineNoSeparator line style. LineWithScissor (line + scissor pictogram, standard print), OnlyLine (line, no pictogram), or NoLine (eBill / e-invoice). The Power Automate UI labels this field with the legacy "Seperator" spelling.LineWithScissor
Paging OptionsNo (Advanced)Where the QR-bill page is inserted (PDF Output Format Type only). Options: first, last, add at end, custom. See the reference card below.custom
Page NumberConditional (Advanced)The 1-based page number where the QR-bill is inserted. Required when Paging Options is custom; ignored for every other value.3
File ContentNo (Advanced)Source PDF as dynamic content from a prior Microsoft 365 action (SharePoint Get file content, OneDrive Get file content, Dropbox Get file content using path, Outlook Get attachments). Skip for a standalone QR-slip from payment data.File Content
File NameNo (Advanced)Source filename including .pdf extension. Required when File Content is supplied.abc.pdf

输出格式类型选项

Power Automate 输出格式类型下拉菜单中,PNG 格式已被选中,其他选项包括 JPEG、PDF、PNG 和 Tiff。
“输出格式类型”下拉菜单列出了 4 个选项。
PDF
Standard. Hybrid output: QR-bill page appended to your source invoice (use Paging Options to control where). Most common choice for outgoing invoices.
PNG
Standalone raster image of the QR-bill slip. Best for inline email embeds and web previews. QR stays scannable at high DPI.
JPEG
Compressed raster image. Smaller file size than PNG, still bank-scannable.
Tiff
Lossless raster archive format. Use when the recipient needs print-grade quality.

分页选项参考(高级参数)

仅当输出格式类型为 PDF 图像格式类型(PNG、JPEG、TIFF)忽略分页选项,因为输出是独立的。 QR 图片仅供参考,并非多页文档。

Power Automate 高级参数展开,显示第 3 页、分页选项自定义、文件内容和文件名插槽
高级参数已展开:页码 3、分页选项自定义、映射文件内容、文件名 abc.pdf。
first
Insert the QR-bill as the new page 1 of the output. The original first page becomes page 2.
last
Insert the QR-bill at the end, after the original last page.
add at end
Functional alias for last. Pick whichever phrasing matches your downstream documentation.
custom
Insert the QR-bill at a specific 1-based page index. Requires Page Number to be filled with the desired index (e.g. 3 inserts the slip as the new page 3).

输出

场地类型它包含什么
File Content二进制人口稠密的瑞士 QR-以选定的输出格式类型输出账单。传递到 SharePoint 创建文件, OneDrive 创建文件, Outlook 发送电子邮件,或在 Teams 中发布消息。
File NameString根据输入文件名(如果没有提供源文件,则使用默认值)输出文件名。

示例文件

快速设置

  1. 添加 PDF4me条形码 - 创建 SwissQR 账单 你的 Power Automate 流动。
  2. 登录 PDF4me 连接 与您的连接器 API 钥匙。
  3. 输出格式类型PDF (或者 PNG / JPEG / Tiff 用于图像输出)。
  4. 填写付款信息: IBAN (中文或中文,最多 21 个字符) 数量货币CHF 或者 EUR), 参考类型QRRSCOR, 或者 NON), 语言类型分离线
  5. 填写 债权人 块(名称、地址类型、地址行、邮政编码、城市) 最终债务人 堵塞。
  6. (可选) 参考非结构化消息账单信息AV1 / AV2 参数
  7. 点击 显示全部高级参数。 地图 文件内容文件名 先前的行为(SharePointOneDriveDropbox, Outlook)。 放 分页选项first / last / add at end / custom。 如果 custom, 充满 页码 使用从 1 开始的页面索引,将纸条放置到该索引位置(例如: 3)。
  8. 保存并运行。操作返回 文件内容 人口稠密 PDF 或图像。管道输入 SharePoint 创建文件, OneDrive 创建文件, Outlook 发送电子邮件,或在 Teams 中发布消息。

流程示例

常见的 Power Automate 流程模式Three ways to chain Create SwissQR Bill into a flow.
SharePoint 发票库通过电子邮件发送
  1. SharePoint 创建文件时 触发器在 /Documents/Invoices 上触发。
  2. SharePoint 获取文件内容加载 PDF 二进制。
  3. 创建 SwissQR 账单时,会附加付款单(输出格式类型)。 PDF(分页选项最后)。
  4. Outlook 发送电子邮件时,附件中包含已填写的内容。 PDF 对客户而言。
Dropbox 归档工作流程
  1. 手动触发流程(或 Dropbox 在创建文件时触发)。
  2. Dropbox 使用路径读取获取文件内容 /pdf4metest/sample/10页.pdf
  3. 创建 SwissQR 账单时,会在账单上附加分页选项。 风俗页码 3
  4. Dropbox 创建文件写入 /pdf4me输出 具有由以下方式构建的唯一文件名 guid() + 来源名称。
独立版 QR 从 Dataverse 数据中滑落
  1. 重复触发机制每日触发。
  2. Dataverse List 列出逾期发票。
  3. 对每项应用:创建 SwissQR 账单 没有 文件内容(跳过高级文件字段),使用行中的支付数据。输出格式类型 PNG
  4. Outlook 发送电子邮件时会嵌入以下内容 QR PNG 与付款提醒同时进行。

常见问题解答

What output formats does Create SwissQR Bill produce?+
Four: PDF (hybrid output with the QR-bill page appended to the source invoice, most common), PNG, JPEG, or Tiff (standalone raster images of the QR-bill slip). The PDF output also honors the Paging Options field to control where the slip is inserted.
How do I insert the QR-bill on a specific page?+
Click Show all on Advanced parameters. Set Paging Options to custom, then fill Page Number with the 1-based page index where the slip should land. Paging Options also accepts first, last, and add at end if you do not need a specific position. Only applies when Output Format Type is PDF.
What is the difference between QRR, SCOR, and NON?+
QRR is the Swiss 27-digit numeric reference with a mod-10 check digit; it requires a QR-IBAN. SCOR is the ISO 11649 international creditor reference; it works with a standard IBAN. NON means no reference is shown on the slip, useful for ad-hoc payments where the debtor adds their own reference.
Can I generate a standalone QR-bill without a source PDF?+
Yes. Skip the File Content and File Name fields in Advanced parameters. The action returns a standalone Swiss QR-bill in the chosen Output Format Type. Useful when the debtor only needs the payment slip.
Address Type S or K which one should I pick?+
S (Structured) is the modern default and the recommended choice for new integrations. Fill PostalCode and City as separate fields, with the street going on Address Line 1 / 2. K (Combined) puts the full address as free text on the two Address Line fields and leaves PostalCode / City empty. Use K only when importing legacy data.
What does the Seperator Line field control?+
The separator pictogram printed on the QR-bill section. LineWithScissor (a line plus scissor icon, the standard for paper invoices), OnlyLine (a line, no pictogram), or NoLine (no separator, used in eBill / e-invoice scenarios where the slip will not be cut). The Power Automate UI labels the field with the legacy Seperator spelling.
Will Swiss banks actually accept this output?+
Yes. The action produces an ISO 20022 Swiss Payment Standards compliant slip. Every Swiss bank app that supports QR-bill payments (every major bank since 2022) can scan the output to pre-fill the payment form.
My IBAN starts with DE, FR, or 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 Generate EPC QR Code for SEPA action instead.

相关操作

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

获取帮助