create Swiss QR Bill(a, b, c, d, optional e, optional f, g)
Group |
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.
Parameter Description
Parameter |
Description |
a |
Name of the bill settings map. |
b |
Name of the creditor information map. |
c |
Name of the debitor 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 |
Debitor 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