Skip to main content

Create SwissQR Bill

BarcodeCreate SwissQR Bill

The Create SwissQR Bill API generates a Swiss QR-bill PDF that complies with the official Swiss standard. You send a base PDF (docContent, docName), creditor details (IBAN, name, address), debtor details, amount, currency, referenceType, languageType, seperatorLine, and optionally IsAsync. The API returns a PDF with the SwissQR Bill attached. Use the tester below to try it; more details are in the sections that follow.

Try the Create SwissQR Bill API

Quick reference

Endpoint: POST /api/v2/CreateSwissQrBill · Required: api-key, docContent, docName, iban, crName, crAddressType, crStreetOrAddressLine1/2, crPostalCode, crCity, amount, currency, udName, udAddressType, udStreetOrAddressLine1/2, udPostalCode, udCity, referenceType, languageType, seperatorLine, IsAsync

Try it live

Use the form below to send your API key, PDF (Base64), and all creditor/debtor and payment fields. The response is the PDF with the Swiss QR-bill. No code required—fill the fields and click Send request.

Loading API Tester...

Overview, parameters, and use cases

What is Create SwissQR Bill?

This endpoint creates a Swiss QR-bill PDF that complies with the official Swiss standard (June 2020). You provide a base PDF and full payment data: creditor (IBAN, name, address), ultimate debtor, amount, currency, reference type, language, and separator style. The API returns a PDF with the Swiss QR-bill attached, ready for banking and digital payment.

Key features

  • Swiss standard compliant – Structured payment info, creditor/debtor details, embedded QR code, and proper layout.
  • Full payment data – IBAN, amount, currency (CHF, EUR, USD), reference type (QRR, NON, SCOR), language (English, German, French, Italian).
  • Separator optionsseperatorLine: LineWithScissor, DashedLineWithScissor, or SolidLine for cutting/tearing.
Best for

Use for Swiss invoices, bills, or any document that must carry a Swiss QR-bill. Combine with Read SwissQR Code to verify or extract payment data from existing Swiss QR-bills.

Prerequisites

Before using this endpoint, make sure you have:

  • A valid PDF4me API key (Get your API Key)
  • A PDF document to attach the SwissQR Bill to
  • All required payment information (IBAN, creditor details, debtor details, amount, currency)
  • The PDF file encoded in Base64 format

Response Format

The API returns a PDF file with the SwissQR Bill. Status 200 returns the PDF in the response body; Status 202 means processing is asynchronous—poll the Location header URL until the PDF is ready.

Get Help