create Swiss QR Bill()

This function allows you to create Swiss-QR invoices.

Four maps must be filled with the invoice information. See example.

The file is saved locally, see parameter g.

Parameters


Parameter

Description

a

Name of the bill settings map.

b

Name of the creditor information map.

c

Name of the debtor information map.

d

Name of the format settings map.

e

(optional) Output format. Allowed values: "SVG", "PNG", "PDF". Default: "SVG".

f

(optional) Output size. Allowed values: "QR_CODE_ONLY", "QR_CODE_WITH_QUIET_ZONE", "QR_BILL_ONLY", "QR_BILL_EXTRA_SPACE", "A4_PORTRAIT_SHEET". Default: "QR_CODE_ONLY".

g

Path and name of the generated file.

Bill settings map keys


bill.account

bill.amount

bill.information

bill.currency

bill.reference

bill.referencetype

bill.unstructuredmessage

Creditor information map keys


creditor.address1

creditor.address2

creditor.countrycode

creditor.housenumber

creditor.name

creditor.postalcode

creditor.street

creditor.town

Debtor information map keys


creditor.address1

creditor.address2

creditor.countrycode

creditor.housenumber

creditor.name

creditor.postalcode

creditor.street

creditor.town

Format settings map keys


format.font

format.language

format.countrycode

format.outputsize

format.resolution

format.marginleft

format.marginright

format.scheme

Example


The following is an example profile showing the use of the maps and the creation of different formats.

Import: Profile-Example_SwissQRBilling.pak