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

Zapierで任意の請求書PDFにスイスのQRコード付き請求書を追加する:Dropboxを使った4ステップのワークフロー

· 1分で読める
SEO and Content Writer

すべてのスイスの請求書には スイスQR紙幣 そのため、銀行や会計ソフトウェアは支払いを自動的にスキャンして処理できます。ZapierとPDF4meを追加すると、 4段階のザップ: Dropbox フォルダ内の新しいファイルDropbox ファイルの検索PDF4me スイスQR紙幣を作成するDropbox ファイルのアップロード以下のスクリーンショットは、キャンバスにキャプチャされた実際の実行手順を示しています。10ページの請求書 /pdf4metest/Swiss-RP スイスの法令に準拠した請求書となり、支払い伝票が添付され、保存されます。 /pdf4meoutput10分以内に本番環境に対応可能。

ザップの概要
1. Dropbox New File in Folder
Watches /pdf4metest/Swiss-RP every 2 minutes. Trigger fires when a new invoice PDF lands.
2. Dropbox Find File
Resolves the file by name (10 page.pdf) and pulls the binary, ready for the next step.
3. PDF4me Create Swiss QR Bill
Appends the QR payment slip with all required SPS fields: CHF, QRR reference, English, Line with Scissor separator.
4. Dropbox Upload File
Writes the populated PDF to /pdf4meoutput. File Name and File Extension carried from the PDF4me output.
要約版

4つのZapステップ。Dropbox フォルダ内の新しいファイル 腕時計 /pdf4metest/Swiss-RP (デフォルトのスペース、サブフォルダー内のファイルを含める) 間違いファイルの内容と共有リンクの両方を含める はいDropbox ファイルの検索 見上げる 10ページ.pdf で /pdf4metest/Files そしてバイナリを返します。PDF4me スイスQR紙幣を作成する スイス決済規格に準拠したQR請求書ページを追加します(フォーマットタイプ PDFページングオプション 初め、 通貨 CHF参照タイプ QRR、 言語 英語セパレーター ハサミで線を引く、 額 1923.67IBAN CH4431999123000889012債権者: Var Schneider AG、最終債務者: Pia-Maria Rutschmann-Schnyder、参照者 210000000003139471430009017Dropbox ファイルのアップロード 入力済みのPDFを書き込む /pdf4meoutput 使用 3. ファイルURL、 と 3. ファイル名 そして 3. ファイル拡張子 出力名として指定します。結果として、アーカイブフォルダ内にスイスの銀行でスキャン可能なPDFファイルが生成されます。

出力が銀行でスキャン可能かどうかを決定する2つの要素

まず、 IBANはCHまたはLIで始まる必要があります 最大21文字です。QRR参照タイプの場合、IBANは QRコードIBAN標準IBANではありません。2番目に、 参照タイプはQRRです、 参照フィールドは、mod 10 チェックデジットを含む 27 桁の数値文字列です。; ない場合は、参照タイプを切り替えてください。 スコア (ISO 11649)または 非 参照欄は空欄のままにしてください。銀行は入力ミスのある参照値を拒否しますが、QRコード自体は拒否しません。

現実世界でよくある疑問を解決します​

人々は次のようなフレーズを使って、まさにこの問題を検索しています。

  • 「Zapierで、スイスのQRコード付き領収書をPDF請求書に自動的に追加するにはどうすればよいですか?」 この4ステップのZapで実現できます。ファイルがDropboxにアップロードされ、Zapが実行され、QRコード付き請求書が追加されたPDFが出力フォルダに保存されます。
  • 「Zapierは既存の請求書からスイスのQRコード付き請求書を作成できますか?」 はい、PDF4meの「スイスQR請求書作成」機能を使えば可能です。出力は、選択したページ(最初、最後、または特定のページ)に支払伝票が添付された同じPDFファイルです。
  • 「QRコードライブラリやスイスのQRコード生成サービスのサブスクリプションは必要ですか?」 いいえ。PDF4meアクションは、QRコード生成、mod-10参照計算、およびスイス決済規格の完全なレイアウトを、単一のZapierステップの背後に隠しています。
  • 「ソースとなるPDFファイルがない場合、QRコードのみの伝票を生成することはできますか?」 はい。ステップ2(ファイルの検索)とステップ3のファイル/ファイルURLフィールドはスキップしてください。このアクションは、支払いデータのみから独立したスイスのQRコード付き請求書PDFを返します。
  • 「スイスの銀行はこの出力を受け入れるだろうか?」 この処理により、ISO 20022スイス決済基準に準拠した伝票が生成されます。スイスのすべての銀行のモバイルバンキングアプリでこの伝票をスキャンして、決済を開始できます。

あなたが構築しているもの​

再利用可能な4ステップのZapier Zapです。トリガーはDropboxフォルダを監視し、Zapは最新の請求書を見つけ、債権者、債務者、支払い情報を使用してPDF4me Swiss QR Billアクションを実行し、強化されたPDFを出力フォルダにアップロードします。このパターンは、顧客への請求書送付、スケジュールされたバッチ実行、または完全にイベント駆動型の売掛金処理にも適用できます。

Zapier Zapキャンバスには、Dropboxフォルダ内の新規ファイル(2分間隔)、Dropboxファイル検索、PDF4meによるSwissQR請求書の作成、Dropboxファイルアップロードの4つのステップがあります。ステータスバナーには、実行IDとともに「2026年6月1日午後1時00分20秒に成功」と表示されます。

上から下へ4つのステップがあります。ステップ1の2分間隔は、ZapierのDropboxトリガーに対するデフォルトのポーリング間隔です。アップグレードプランでは、より頻繁にポーリングできます。


必要なもの​

  • ザピアー アカウント。 Zapierアカウントを作成する 必要であれば。
  • PDF4me APIキー。 APIキーを取得してください PDF4meがZapエディターでアカウントを要求する際に、それを追加します。 PDF4meをZapierに接続する。
  • Dropbox ソースフォルダ (例: /pdf4metest/Swiss-RP)と出力フォルダー(/pdf4meoutput)
  • 請求書のPDFファイル (スクリーンショットは 10ページ.pdfオプション:支払いデータのみからスタンドアロンのQRコードスリップを作成する場合は、ソースファイルをスキップします。
  • スイスの決済データ: a CHまたはLI IBAN、金額、通貨(CHF または ユーロ)、および債権者 + 債務者の氏名/住所ブロック。完全なフィールド参照は アクションドキュメント。

クイックリファレンス:主要パラメータ​

IBAN
CH or LI prefix, max 21 chars. QR-IBAN required for QRR references.
Currency
CHF or EUR only. Other currencies rejected by Swiss Payment Standards.
Reference Type
QRR (27-digit + mod-10), SCOR (ISO 11649), or NON. Pick once, fill Reference accordingly.
Address Type
S = structured (separate Postal Code + City). K = combined (full address in two Address Lines).
paging Options
first, last, append, or a specific 1-based page number.
Format Type
PDF for printable invoices, PNG/JPEG/TIFF for image output.

ザップを作ろう​

ステップ1:Dropbox - フォルダ内の新規ファイル(トリガー)​

ソースフォルダに新しい請求書がないか確認してください。

分野この実行で使用された値
SpaceDefault
Folder/pdf4metest/Swiss-RP
Include files in subfolders?False
Include file contents?Yes
Include sharing link?Yes
Zapier Dropbox フォルダー内の新しいファイル トリガー: スペース デフォルト、フォルダー /pdf4metest/Swiss-RP、サブフォルダー内のファイルを含める False、ファイルの内容を含める Yes、共有リンクを含める Yes。

ステップ2:Dropbox - ファイルを探す​

ファイル名を指定して解決します。これにより、ステップ3で使用するための、安定したマッピング可能なファイル参照が得られます。

分野この実行で使用された値
SpaceDefault
Folder/pdf4metest/Files
Include files in subfolders?False
File Name10 page.pdf
Include Deleted Files?False
Include file contents?Yes
Zapier Dropbox ファイルの検索: スペース デフォルト、フォルダ /pdf4metest/Files、ファイル名 10 page.pdf、削除済みファイルを含める False、ファイルの内容を含める はい。

ステップ3:PDF4me - SwissQR請求書を作成する​

実際に作業を行うアクション。検索 PDF4me アクションピッカーで、 スイスQR紙幣を作成する次に、スクリーンショットと全く同じようにフィールドに入力してください。 アクション参照 表示。この実行結果に一致させるために必要な最小条件:

グループ分野価値
SourceFormat TypePDF
SourceFile2. File: (Exists but not shown)
SourceFile Name2. File Name: 10 page + 2. File Ext: .pdf
Sourcepaging Optionsfirst
PaymentCurrencyCHF
PaymentReference TypeQRR
PaymentLanguage TypeEnglish
PaymentSeparator LineLine with Scissor
PaymentAmount1923.67
PaymentIBANCH4431999123000889012
CreditorCreditor Address TypeS
CreditorCreditor NameVar Schneider AG
CreditorCreditor:Street / Address Line 1Var Schneider AG
CreditorCreditor:Building No. / Address Line 223
CreditorCreditor Citybiel
CreditorCreditor Postal Code2501
DebtorUltimate Debtor Address TypeS
DebtorUltimate Debtor NamePia-Maria Rutschmann-Schnyder
DebtorUltimate Debtor:Address Line 1Grosse Marktgasse
DebtorUltimate Debtor:Address Line 232
DebtorUltimate Debtor CityRorschach
DebtorUltimate Debtor Postal Code9400
Ref/MsgReference210000000003139471430009017
Ref/MsgUnstructured MessageInstruction of 15.09.2019
Ref/MsgBilling InfoS1/01/20170309/11/10201409/20/14000000/22/36958/30/CH106017086/40/1020/41/3010
Ref/MsgAV1 ParametersName AV1: UV;UltraPay005;12345
Ref/MsgAV2 ParametersName AV2: XY;XYService;54321

ステップ4:Dropbox - ファイルのアップロード​

入力済みのPDFファイルを出力フォルダに保存します。

分野この実行で使用された値
SpaceDefault
Folder/pdf4meoutput
File3. File Url (from PDF4me Step 3)
Overwriteno
Specify File Name3. File Name: 10 page (from PDF4me Step 3)
Specify File Extension3. File Extension: .pdf (from PDF4me Step 3)
Zapier Dropbox アップロードファイル: スペース デフォルト、フォルダ /pdf4meoutput、ファイル 3. ファイル URL、上書き いいえ、ファイル名を指定 3. ファイル名: 10 ページ、ファイル拡張子を指定 3. ファイル拡張子: .pdf。

地図 ファイル PDF4meへ ファイルURL 出力(ステップ3);分離 ファイル名を指定してください そして ファイル拡張子を指定してください フィールドは元の名前を保持します。

保存してクリック 公開ザップが稼働中です。新しい請求書をドロップしてください。 /pdf4metest/Swiss-RP QRコード付き紙幣のPDFは /pdf4meoutput 次の投票サイクル内で。


トラブルシューティング​

QR-bill page is blank or unreadable
IBAN is invalid (must start with CH or LI, max 21 chars) or Currency is something other than CHF / EUR. Both are hard requirements of the Swiss Payment Standards.
Bank rejects a QRR reference
QRR references must be 27 digits with a mod-10 check digit. If you do not have one, switch Reference Type to SCOR (ISO 11649) or NON and leave Reference empty.
QR-bill landed on the wrong page
Adjust paging Options. first puts the slip as the new page 1. last appends it after the last page. Pass a 1-based page number to insert at that position.
Creditor or Debtor address looks wrong on the slip
Mismatched Address Type. With S, fill Postal Code + City and use Address Line 1/2 for street. With K, leave Postal Code + City empty and put the full address into Address Line 1 + Address Line 2.
Upload writes a zero-byte or missing file
File field on Step 4 is not bound to the PDF4me File Url. Re-pick 3. File Url. Also confirm Specify File Name and Specify File Extension are mapped to the PDF4me Step 3 outputs, not hardcoded.
Want a standalone QR slip without a source invoice
Skip Step 2 (Find File). In Step 3, leave File and File URL empty and the action returns a standalone Swiss QR-bill PDF.

このパターンはいつ使用するのか​

Outgoing customer invoices
Bills that need to be Swiss-payable directly from a banking app via QR scan.
Subscription billing
QR-IBAN + 27-digit QRR reference identifies the customer or contract on every recurring run.
Bulk invoice retrofitting
When an existing PDF invoice template does not yet carry the payment slip, append it.
e-Bill fallbacks
For customers who prefer paper or in-app QR-scan over electronic Bill.

次に読むべきもの​


よくある質問​

Do I need a special Swiss QR library or font?+
No. The PDF4me Create Swiss QR Bill action bundles QR-code generation, the QR-bill fonts (Liberation Sans), mod-10 reference math, and the Swiss Payment Standards layout. Configure the fields, publish the Zap, and the output is a Swiss-compliant PDF.
What is the difference between QRR, SCOR, and NON references?+
QRR is the Swiss 27-digit numeric reference with a mod-10 check digit; it requires a QR-IBAN. SCOR is the international ISO 11649 creditor reference; it works with a standard IBAN. NON means no reference is shown on the slip. useful for ad-hoc one-off payments where the debtor adds their own reference at payment time.
Can I generate a Swiss QR-bill without an existing PDF invoice?+
Yes. Skip Step 2 (Find File). In Step 3, leave File and File URL empty and the action returns a standalone Swiss QR-bill PDF (just the payment slip, no invoice body).
My IBAN starts with DE / FR / 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 Create EPC QR Code action instead.
Address Type S vs K. which one should I pick?+
S (Structured) is the modern default: Postal Code and City go in separate fields; Address Line 1/2 carries the street. K (Combined) puts the full address in two free-text Address Line fields and ignores Postal Code/City. New integrations should use S unless you are importing legacy data that does not separate postal code and city.
Does the output PDF work with mobile banking apps?+
Yes. Every Swiss bank app that supports payments via QR-bill (which is all of them since 2022) can scan the output to pre-fill the payment form. Test by opening UBS, PostFinance, Raiffeisen, or any Swiss banking app and scanning the QR code on the printed or on-screen slip.
How do I change where the QR-bill page lands?+
Set paging Options. first puts the slip as the new page 1 of the output PDF, last appends it to the end, or pass a 1-based page number to insert it at that position. Page indexing starts at 1.
Same scenario in n8n, Make, or Power Automate?+
Yes. The same PDF4me Create Swiss QR Bill action is available on all four platforms with identical parameters. See the cross-platform comparison at the bottom of the Create Swiss QR Bill action page.

さあ始めましょう​