create Swiss QR Bill(a, b, c, d, optional e, optional f, g)


Diese Funktion erlaubt das Erstellen von Swiss-QR-Rechnungen.

Es müssen vier Maps mit den Rechnungsinformationen gefüllt werden. Siehe Beispiel.

Die Datei wird lokal gespeichert, siehe Parameter g.

Parameterbeschreibung


Parameter

Beschreibung

a

Name der Bill-Settings-Map.

b

Name der Creditor-Information-Map.

c

Name der Debitor-Information-Map.

d

Name der Format-Settings-Map.

e

(optional) Ausgabe-Format. Erlaubte Werte: SVG, PNG, PDF. Default: SVG

f

(optional) Ausgabe-Größe. Erlaubte Werte: QR_CODE_ONLY, QR_CODE_WITH_QUIET_ZONE, QR_BILL_ONLY, QR_BILL_EXTRA_SPACE, A4_PORTRAIT_SHEET. Default: QR_CODE_ONLY

g

Pfad und Name der erzeugten Datei.

Bill-Settings-Map-Schlüssel


bill.account

bill.amount

bill.information

bill.currency

bill.reference

bill.referencetype

bill.unstructuredmessage

Creditor-Information-Map-Schlüssel


creditor.address1

creditor.address2

creditor.countrycode

creditor.housenumber

creditor.name

creditor.postalcode

creditor.street

creditor.town

Debitor-Information-Map-Schlüssel


creditor.address1

creditor.address2

creditor.countrycode

creditor.housenumber

creditor.name

creditor.postalcode

creditor.street

creditor.town

Format-Settings-Map-Schlüssel


format.font

format.language

format.countrycode

format.outputsize

format.resolution

format.marginleft

format.marginright

format.scheme

Beispiel


Folgend ein Beispiel-Profil, das die Verwendung der Maps und die Erzeugung verschiedener Formate zeigt.

Import: Profile-Example_SwissQRBilling.pak