Erstellen Sie eine SwissQR-Rechnung in Power Automate
PDF4me Barcode – SwissQR-Rechnung erstellen fügt einer Rechnung einen den Schweizer Zahlungsstandards entsprechenden QR-Zahlungsbeleg bei. PDF innerhalb eines Power Automate Es wird ein Datenfluss erzeugt oder allein aus den Zahlungsdaten eine eigenständige QR-Rechnung generiert. Dateiinhalt von Pipe SharePoint, OneDrive, Dropbox, Dataverse, oder Outlook Anhänge; liefern IBAN + Gläubiger + Schuldner + Referenzfelder; Ausgabeformat auswählen (PDF, PNG, JPEG, Tiff); und die Aktion gibt eine von Schweizer Banken scannbare Datei zurück, die für nachfolgende Aktionen wie „Datei erstellen“, „E-Mail senden“ oder „Teams-Nachricht“ bereit ist. ISO 20022 konform; wird seit 2022 von allen Schweizer Banking-Apps akzeptiert.
Authentifizierung Ihres API Anfrage
Der PDF4me Stecker anschließen Power Automate erfordert eine gültige Verbindung halten PDF4me API Wichtig. Die Verbindung einmalig bei der Ablaufplanung erstellen, dann jedes Mal PDF4me Eine Aktion in Ihrem Mandanten verwendet es wieder.
Wichtige Fakten, die Sie nicht verpassen sollten
PDF (Hybrid, wird Ihrer Quellrechnung beigefügt), PNG, JPEG, oder Tiff (eigenständige Bilder der QR Verwenden Sie Bildformate für eingebettete E-Mails oder Web-Vorschauen; verwenden Sie PDF bei Zustellung einer vollständigen Rechnung.Brauch + Seitenzahl eingeben, um zum Ziel zu gelangen QRRechnung auf einer bestimmten Seite (1-basiert). Gilt nur, wenn Ausgabeformattyp ist PDFDieParameter
Die Aktion legt die Zahlung + Gläubiger + Schuldner + Referenz Felder im Hauptfenster und 4 Felder darunter Erweiterte Parameter Diese steuern die Eingabedatei und die Seitenplatzierung. Die folgenden Screenshots spiegeln die genaue Feldreihenfolge wider. Power Automate Benutzeroberfläche.
Erforderlich (rotes Sternchen in der Benutzeroberfläche): IBAN, Menge. Für SPS-konforme Rutschen dringend empfohlen: Ausgabeformattyp, Gläubigername, Gläubigeradressentyp, Adresszeilen + Postleitzahl + Ort, Block des Endschuldners, Währung, Referenztyp, Sprachtyp, Trennlinie. Bedingt (Erweiterte Parameter): Seitenzahl bei aktivierten Paginierungsoptionen Brauch; Dateiinhalt + Dateiname beim Anhängen QR zu einem bestehenden PDF (beides überspringen für eine eigenständige Version) QR-Beleg).



| Parameter | Erforderlich | Was es tut | Beispiel |
|---|---|---|---|
| Output Format Type | Optional | Format 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 |
| IBAN | Required | IBAN 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 Name | Optional | The creditor's name or company according to the account name. | your value |
| Creditor Address Type | Optional | How 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 1 | Optional | The creditor's address line 1 with max 70 characters length. | your value |
| Creditor : Building Number or Address Line 2 | Optional | The creditor's address line 2. For S type 16 characters, K type 70 characters length permitted. | your value |
| Creditor PostalCode | Optional | The creditor's PostalCode with max 16 characters length. | your value |
| Creditor City | Optional | The creditor's Town/City with max 35 characters length. | your value |
| Amount | Required | Amount to pay, without leading zeros and with two decimal places (for example `1250.00`). | 1250.00 |
| Currency | Optional | The payment currency, Only CHF and EUR are permitted. Options: CHF, EUR. Defaults to `CHF`. | CHF |
| Ultimate Debtor Name | Optional | The Ultimate Debtor's name or company according to the account name. | your value |
| Ultimate Debtor AddressType | Optional | How 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 1 | Optional | The Ultimate Debtor's address line 1 with max 70 characters length. | your value |
| Ultimate Debtor : Building Number or Address Line 2 | Optional | The Ultimate Debtor's address line 2. For S type 16 characters, K type 70 characters length permitted. | your value |
| Ultimate Debtor PostalCode | Optional | The Ultimate Debtor's PostalCode with max 16 characters length. | your value |
| Ultimate Debtor City | Optional | The Ultimate Debtor's Town/City with max 35 characters length. | your value |
| Reference Type | Optional | Type of the payment reference given in Reference. Options: QRR, SCOR, NON. Defaults to `QRR`. | QRR |
| Reference | Optional | Reference, Maximum 27 characters permitted. | your value |
| Unstructured Message | Optional | UnstructuredMessage, Maximum 140 characters permitted. | your value |
| Billing Info | Optional | BillingInfo, Maximum 140 characters permitted. | your value |
| AV1 Parameters | Optional | Alternative scheme parameter, Maximum 100 characters permitted. | your value |
| Av2 Parameters | Optional | Alternative scheme parameter, Maximum 100 characters permitted. | your value |
| Language Type | Optional | Choose the language type. Options: German, French, Italian, English. Defaults to `English`. | English |
| Seperator Line | Optional | Separator line type to be displayed in SwissQR Code. Options: LineWithScissor, Line, None. Defaults to `LineWithScissor`. | LineWithScissor |
| Page Number | Conditional | The page where SwissQR Bill is to be added, Only applicable paging option is custom. Shown when Output Format Type is PDF. | 1 |
| Paging Options | Conditional | Where 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 Content | Conditional | Content 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 Name | Conditional | Name 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 |
Optionen für den Ausgabeformattyp

PDFPNGJPEGTiffReferenz zu den Paging-Optionen (Erweiterte Parameter)
Gilt nur, wenn Ausgabeformattyp ist PDFDie Bildformate (PNG, JPEG, TIFF) ignorieren Seiteneinstellungen, da die Ausgabe ein eigenständiges Bild ist. QR Ein Belegbild, kein mehrseitiges Dokument.

firstlastadd at endcustomAusgabe
| Feld | Typ | Was es enthält |
|---|---|---|
| File Content | File content | Content 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 Name | Text | File name of the resulting QR-bill file, as returned by PDF4me. Use it as the file name when saving the file. |
| Page Count | Text | Page count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number. |
Beispieldatei
Schnellkonfiguration
- Hinzufügen PDF4me Zu Barcode – SwissQR-Rechnung erstellen in Ihrem Power Automate fließen.
- Melden Sie sich bei der PDF4me Verbinden Verbinden Sie sich mit Ihrem API Schlüssel.
- Satz Ausgabeformattyp Zu
PDF(oderPNG/JPEG/Tiff(für die Bildausgabe). - Füllen Sie die Zahlungsfelder aus: IBAN (CH oder LI, max. 21 Zeichen), Menge, Währung (
CHFoderEUR), Referenztyp (QRR,SCOR, oderNON), Sprachtyp, TrennlinieDie - Füllen Sie die Gläubiger Block (Name, Adresstyp, Adresszeilen, Postleitzahl, Stadt) und Endgültiger Schuldner Block.
- Optional ausfüllen Referenz, Unstrukturierte Nachricht, Rechnungsinformationen, AV1 / AV2 ParameterDie
- Klicken Alle anzeigen An Erweiterte Parameter. Karte Dateiinhalt Und Dateiname aus einer vorherigen Handlung (SharePoint, OneDriveDropbox, Outlook). Satz Paging-Optionen Zu
first/last/add at end/custom. Wenncustom, füllen Seitenzahl mit dem 1-basierten Seitenindex, wo der Beleg landen soll (z.B.3). - Speichern und ausführen. Die Aktion wird zurückgegeben. Dateiinhalt mit der bevölkerten PDF oder Bild. Weiterleitung in SharePoint Datei erstellen, OneDrive Datei erstellen, Outlook Senden Sie eine E-Mail oder veröffentlichen Sie eine Nachricht über Teams.
Flussbeispiele
Häufige Power Automate-AblaufmusterThree ways to chain Create SwissQR Bill into a flow.
- SharePoint Wenn eine Datei erstellt wird Der Trigger wird beim Speichern von Dokumenten/Rechnungen ausgelöst.
- SharePoint Dateiinhalte laden PDF Binär.
- Die Funktion „SwissQR-Rechnung erstellen“ fügt den Zahlungsbeleg hinzu (Ausgabeformattyp). PDF(Paginierungsoptionen zuletzt).
- Outlook Senden Sie eine E-Mail mit dem ausgefüllten Formular als Anhang. PDF an den Kunden.
- Einen Flow manuell auslösen (oder Dropbox beim Erstellen einer Datei).
- Dropbox: Dateiinhalte anhand des Pfades abrufen
/pdf4metest/sample/10 page.pdfDie - Mit der Funktion „SwissQR-Rechnung erstellen“ wird der Beleg um Paging-Optionen ergänzt.
Brauch, Seitenzahl3Die - Dropbox-Datei erstellen schreibt in
/pdf4meoutputmit einem eindeutigen Dateinamen, der ausguid()+ der Quellname.
- Der Wiederholungsauslöser wird täglich aktiviert.
- Dataverse listet Zeilen mit überfälligen Rechnungen auf.
- Für jeden Schritt anwenden: SwissQR-Rechnung erstellen ohne Dateiinhalt (erweiterte Dateifelder überspringen) unter Verwendung der Zahlungsdaten aus der Zeile. Ausgabeformattyp PNGDie
- Outlook Eine E-Mail senden bettet die QR PNG im Zusammenhang mit einer Zahlungserinnerung.