# New-ImageQRCodeSwiss

Generates a Swiss QR payment code. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`System.String`

Generates a Swiss QR payment code.

## Syntax

```
New-ImageQRCodeSwiss
[-AlternativeProcedure1 <String>]
[-AlternativeProcedure2 <String>]
[-Amount <Decimal>]
[-BackgroundColor <Color>]
[-BillInformation <String>]
[-CreditorAddressLine1 <String>]
[-CreditorAddressLine2 <String>]
[-CreditorAddressType <StructuredAddress|CombinedAddress>]
[[-CreditorCity] <String>]
[-CreditorCountry <String>]
[[-CreditorHouseNumber] <String>]
[-CreditorName] <String>
[[-CreditorPostalCode] <String>]
[[-CreditorStreet] <String>]
[-Currency <CHF|EUR>]
[-DebtorAddressLine1 <String>]
[-DebtorAddressLine2 <String>]
[-DebtorAddressType <StructuredAddress|CombinedAddress>]
[-DebtorCity <String>]
[-DebtorCountry <String>]
[-DebtorHouseNumber <String>]
[-DebtorName <String>]
[-DebtorPostalCode <String>]
[-DebtorStreet <String>]
[-FilePath] <String>
[-ForegroundColor <Color>]
[-Iban] <String>
[-IbanType <Iban|QrIban>]
[-PixelSize <Int32>]
[-Reference <String>]
[-ReferenceType <QRR|SCOR|NON>]
[-Show]
[-UnstructuredMessage <String>]
[<CommonParameters>]
```

[#](#member-a991178f9762bdcbc3aebe66)

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet to render Swiss QR bill payment details into a payment QR image.

## Examples

### Create a Swiss QR payment code

```powershell
New-ImageQRCodeSwiss -Iban 'CH4431999123000889012' -CreditorName 'Evotec GmbH' -CreditorStreet 'Main Street' -CreditorHouseNumber '1' -CreditorPostalCode '8000' -CreditorCity 'Zurich' -CreditorCountry 'CH' -ReferenceType NON -FilePath swiss.png
```

Renders a Swiss QR payment code from the payment fields supplied to the cmdlet.

### Create a Swiss QR code with amount, message, and custom colors

```powershell
New-ImageQRCodeSwiss -Iban 'CH4431999123000889012' -CreditorName 'Evotec GmbH' -CreditorStreet 'Main Street' -CreditorHouseNumber '1' -CreditorPostalCode '8000' -CreditorCity 'Zurich' -CreditorCountry 'CH' -Amount 249.99 -UnstructuredMessage 'Invoice 2026-041' -FilePath swiss-branded.png -ForegroundColor DarkBlue -BackgroundColor WhiteSmoke -PixelSize 14 -Show
```

Creates a styled Swiss QR payment image and opens it immediately after generation.

## Parameters

**-AlternativeProcedure1 String optional**

Optional first alternative procedure block.

**-AlternativeProcedure2 String optional**

Optional second alternative procedure block.

**-Amount Decimal optional**

Optional payment amount.

**-BackgroundColor Color optional**

Background color of the QR code.

**-BillInformation String optional**

Optional bill information.

**-CreditorAddressLine1 String optional**

Creditor first address line for combined addresses.

**-CreditorAddressLine2 String optional**

Creditor second address line for combined addresses.

**-CreditorAddressType SwissQrAddressType optional**

Creditor address type.

Possible values: `StructuredAddress`, `CombinedAddress`

**-CreditorCity String optionalposition: 5**

Creditor city for structured addresses.

**-CreditorCountry String optional**

Creditor two-letter country code.

**-CreditorHouseNumber String optionalposition: 3**

Optional creditor house number for structured addresses.

**-CreditorName String requiredposition: 1**

Creditor name.

**-CreditorPostalCode String optionalposition: 4**

Creditor postal code for structured addresses.

**-CreditorStreet String optionalposition: 2**

Optional creditor street for structured addresses.

**-Currency SwissQrCurrency optional**

Payment currency.

Possible values: `CHF`, `EUR`

**-DebtorAddressLine1 String optional**

Debtor first address line for combined addresses.

**-DebtorAddressLine2 String optional**

Debtor second address line for combined addresses.

**-DebtorAddressType SwissQrAddressType optional**

Debtor address type.

Possible values: `StructuredAddress`, `CombinedAddress`

**-DebtorCity String optional**

Debtor city for structured addresses.

**-DebtorCountry String optional**

Debtor two-letter country code.

**-DebtorHouseNumber String optional**

Optional debtor house number for structured addresses.

**-DebtorName String optional**

Debtor name.

**-DebtorPostalCode String optional**

Debtor postal code for structured addresses.

**-DebtorStreet String optional**

Optional debtor street for structured addresses.

**-FilePath String requiredposition: 6pipeline: True (ByValue)**

The image format is inferred from the file extension.

**-ForegroundColor Color optional**

Foreground color of QR modules.

**-Iban String requiredposition: 0**

Swiss or Liechtenstein IBAN.

**-IbanType SwissQrIbanType optional**

IBAN kind.

Possible values: `Iban`, `QrIban`

**-PixelSize Int32 optional**

Pixel size for each QR module.

**-Reference String optional**

Reference text for QRR or SCOR reference types.

**-ReferenceType SwissQrReferenceType optional**

Reference type.

Possible values: `QRR`, `SCOR`, `NON`

**-Show SwitchParameter optional**

Opens the image once generated.

**-UnstructuredMessage String optional**

Optional unstructured payment message.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:70290BA4D157DB04A191EA826FE2DFE24EFA4F8359655B34404D70C83DB0A04D -->
