QR codes in TailorPDF: an overview
Two QR-code types with different purposes
| Feature | Authenticity QR | Swiss QR 1 / Swiss QR 2 |
|---|---|---|
| Purpose | Open a document-specific verification page | Transfer payment data into a banking app |
| Content | Verification URL with document identifier | Structured payment dataset |
| Typical use | Confirmations, certificates, personalised documents | Invoices, payment requests, donations |
| Colours | Configurable foreground and background | Standard black and white with Swiss cross |
| Position | Page, X, Y, width and height | Page, X, Y and square size |
| Data source | Automatically generated verification link | Fixed values and data columns, or a complete SPC dataset |
All three instances can be activated independently. The authenticity QR is enabled by default and can be disabled in template settings if unsuitable for your use.
Two Swiss QR codes
Up to two Swiss QR codes can appear on one or two PDF pages. For example, provide one with a fixed amount and one with an open amount, or two different references to offer a donor or payer a choice of projects.
Parameter-based generation
Set creditor, account, address, currency and reference in Swiss QR settings. Variable details use placeholders from the data file. This is the usual approach when TailorPDF should assemble the payment dataset.
A preassembled SPC dataset
If your accounting or banking system already supplies the full payment dataset, TailorPDF can insert a Swiss QR in a PDF form field. Set the text field's default value to {{<your data-column name>|swissqr}}. The QR is always 45 × 45 mm and uses that field's page and position. The upstream system remains responsible for the dataset's validity.
What is not generated automatically?
Inserting a Swiss QR does not automatically create the receipt and payment-section layout, visible creditor address, visible payment reference, visible amount and currency, or a reference number matching the account. Prepare these correctly and check them against the QR content.