メインコンテンツへスキップ

SwissQR請求書を作成する Power Automate

このアクションが何をするか

PDF4me バーコード - SwissQRコード付き紙幣を作成 スイス決済基準に準拠したQRコード付き請求書を請求書に添付します。 PDF 内部 Power Automate フロー、または支払いデータのみからスタンドアロンのQR請求書を生成します。パイプファイルの内容 SharePoint、 OneDrive、 Dropbox、 データバース、 または Outlook 添付ファイル; 供給 IBAN + 債権者 + 債務者 + 参照フィールド。出力形式を選択します (PDF、 PNG、 JPEG、 ティフ); そして、このアクションは、下流の「ファイルの作成」、「電子メールの送信」、または「Teams メッセージ」アクションに使用できる、スイス銀行でスキャン可能なファイルを返します。 ISO 20022 準拠済み。2022年以降、すべてのスイスの銀行アプリで利用可能。

関連ブログ記事(4)
Word文書をPDFに変換し、その上にスイスのQRコード付き領収書を重ねる。Power Automateがすべてを統合します!
Power Automateフロー:DropboxからWordファイルを取得し、PDFに変換、PDF4meでスイスQR請求書を作成、ベースとなるPDFを取得し、オーバーレイとして結合、最終PDFを保存。スクリーンショットと適切な画像メタタグを使用したステップバイステップの手順。
投稿を読む →
Power Automateで任意の請求書PDFにスイスQRコード付き請求書を追加する:Dropboxワークフロー(4つのアクション)
Power Automate の 4 つのアクションの流れ: 手動でトリガー、Dropbox でファイルの内容を取得、PDF4me バーコード - SwissQR 請求書の作成 (CHF、QRR 参照、英語)、次に Dropbox でファイルを作成。スイス決済規格に準拠した QR 請求書ページを /pdf4metest/sample/10 page.pdf に追加し、名前を変更した出力を /pdf4meoutput に保存します。実際のスクリーンショット、正確なフィールド値。
投稿を読む →
Power Automateでカスタムページ番号にスイスのQRコード付き紙幣を挿入する(PDF4meを使用した4アクションのDropboxフロー)
Power Automate フローで、複数ページの請求書の特定ページ (デモ実行では 3 ページ目) にスイス QR 請求書を配置します。手動トリガー、Dropbox ファイルのコンテンツ取得、PDF4me バーコード、SwissQR 請求書の作成 (ページオプション カスタム、ページ番号 3、IBAN CH4431999123000889012、金額 5253531、QRR 参照、英語)、Dropbox GUID とヘッダー/ファイル名変更パターンを使用したファイルの作成。実際のスクリーンショット、正確なフィールド値、4 つの出力形式を網羅しています。
投稿を読む →

認証 API リクエスト​

の PDF4me コネクタを接続します Power Automate 有効な 繋がり あなたの PDF4me API キー。フロー設計時に一度接続を作成し、その後は PDF4me テナント内のアクションがそれを再利用します。

見逃してはならない重要な事実​

出力形式は4種類、 PDF
出力フォーマットタイプは、 PDF (ハイブリッド形式、元の請求書に添付されます) PNG、 JPEG、 または ティフ ( QR (スリップ)。インラインメール埋め込みまたはウェブプレビューには画像形式を使用します。 PDF 完全な請求書を送付する際。
IBAN 通貨はCHまたはLIである必要があります CHF または EUR
スイス決済基準仕様は制限する IBAN スイス/リヒテンシュタインの発行者(最大21文字)と通貨 CHF / EUR。 のために QRR 参照タイプ IBAN でなければならない QRコードIBAN標準ではない IBANその他のヨーロッパ諸国については IBANs EPC生成機能を使用する QR コード SEPA その代わり。
ページングオプションは詳細設定の中にあります。
クリック すべて表示 高度なパラメータを公開する ページングオプション、 ページ番号、 ファイルの内容、 そして ファイル名ページングオプションを次のように設定します。 カスタム + ページ番号を入力してランディングページへ QR-特定のページ(1ベース)に請求書を記載します。出力フォーマットタイプが PDF。

パラメータ​

この行動は 支払い + 債権者 + 債務者 + 参照 メインパネルのフィールドと、その下の4つのフィールド 詳細パラメータ 入力ファイルとページの配置を制御する。以下のスクリーンショットは、フィールドの順序を正確に反映しています。 Power Automate UI。

必須(UI上の赤いアスタリスク): 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 TypeOptionalFormat of the result - a PDF or a PNG, JPEG or TIFF image. After you choose it, the fields for that format are loaded into the action card. Options: PDF, PNG, JPEG, Tiff. Defaults to `PDF`.PDF
IBANRequiredIBAN or QR-IBAN of the creditor's account. Only Swiss (CH) and Liechtenstein (LI) IBANs are accepted, with a maximum of 21 characters.your value
Creditor NameOptionalThe creditor's name or company according to the account name.your value
Creditor Address TypeOptionalHow the creditor's address is given: S (structured: street and building number in separate fields) or K (combined: two free address lines). Options: S, K. Defaults to `S`.S
Creditor : Street Name or Address Line 1OptionalThe creditor's address line 1 with max 70 characters length.your value
Creditor : Building Number or Address Line 2OptionalThe creditor's address line 2. For S type 16 characters, K type 70 characters length permitted.your value
Creditor PostalCodeOptionalThe creditor's PostalCode with max 16 characters length.your value
Creditor CityOptionalThe creditor's Town/City with max 35 characters length.your value
AmountRequiredAmount to pay, without leading zeros and with two decimal places (for example `1250.00`).1250.00
CurrencyOptionalThe payment currency, Only CHF and EUR are permitted. Options: CHF, EUR. Defaults to `CHF`.CHF
Ultimate Debtor NameOptionalThe Ultimate Debtor's name or company according to the account name.your value
Ultimate Debtor AddressTypeOptionalHow the ultimate debtor's address is given: S (structured: street and building number in separate fields) or K (combined: two free address lines). Options: S, K. Defaults to `S`.S
Ultimate Debtor: Street Name or Address Line 1OptionalThe Ultimate Debtor's address line 1 with max 70 characters length.your value
Ultimate Debtor : Building Number or Address Line 2OptionalThe Ultimate Debtor's address line 2. For S type 16 characters, K type 70 characters length permitted.your value
Ultimate Debtor PostalCodeOptionalThe Ultimate Debtor's PostalCode with max 16 characters length.your value
Ultimate Debtor CityOptionalThe Ultimate Debtor's Town/City with max 35 characters length.your value
Reference TypeOptionalType of the payment reference given in Reference. Options: QRR, SCOR, NON. Defaults to `QRR`.QRR
ReferenceOptionalReference, Maximum 27 characters permitted.your value
Unstructured MessageOptionalUnstructuredMessage, Maximum 140 characters permitted.your value
Billing InfoOptionalBillingInfo, Maximum 140 characters permitted.your value
AV1 ParametersOptionalAlternative scheme parameter, Maximum 100 characters permitted.your value
Av2 ParametersOptionalAlternative scheme parameter, Maximum 100 characters permitted.your value
Language TypeOptionalChoose the language type. Options: German, French, Italian, English. Defaults to `English`.English
Seperator LineOptionalSeparator line type to be displayed in SwissQR Code. Options: LineWithScissor, Line, None. Defaults to `LineWithScissor`.LineWithScissor
Page NumberConditionalThe page where SwissQR Bill is to be added, Only applicable paging option is custom. Shown when Output Format Type is PDF.1
Paging OptionsConditionalWhere the QR-bill page goes in the PDF: on the first page, on the last page, as a new page at the end, or on a specific page (set in Page Number). Page numbering starts at 1. Options: first, last, AddPageAtEnd, custom. Defaults to `first`. Shown when Output Format Type is PDF.first
File ContentConditionalContent of the PDF to add the QR-bill to. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content. Shown when Output Format Type is PDF.@{body('Get_file_content')?['$content']}
File NameConditionalName of the PDF to add the QR-bill to, including its extension (for example `invoice.pdf`). Map it from the file name returned by a previous action. Shown when Output Format Type is PDF.invoice.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 ContentFile contentContent of the resulting QR-bill, in the chosen output format. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file.
File NameTextFile name of the resulting QR-bill file, as returned by PDF4me. Use it as the file name when saving the file.
Page CountTextPage count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number.

サンプルファイル​

クイックセットアップ​

  1. 追加 PDF4me に バーコード - SwissQRコード付き紙幣を作成 あなたの Power Automate 流れ。
  2. サインイン PDF4me 接続する コネクタと API 鍵。
  3. セット 出力フォーマットタイプ に PDF (または PNG / JPEG / Tiff 画像出力用)。
  4. 支払い欄に記入してください。 IBAN (CHまたはLI、最大21文字) 額、 通貨 (CHF または EUR) 参照タイプ (QRR、 SCOR、 または NON) 言語タイプ、 分離ライン。
  5. 記入してください 債権者 ブロック(名前、住所タイプ、住所行、郵便番号、都市)および 最終債務者 ブロック。
  6. 任意で記入 参照、 非構造化メッセージ、 請求情報、 AV1 / Av2 パラメータ。
  7. クリック すべて表示 の上 詳細パラメータ地図 ファイルの内容 そして ファイル名 以前のアクションから(SharePoint、 OneDrive、Dropbox、 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 ファイルの作成書き込み先 /pdf4meoutput 固有のファイル名で構築 guid() + ソース名。
スタンドアロン QR データバースデータからのスリップ
  1. 再発の引き金は毎日引かれる。
  2. Dataverseリストの行から、支払期限を過ぎた請求書が取得されます。
  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.

関連アクション​

他のプラットフォームでも同じタスクを実行​

ヘルプが必要な場合​