Swiss QR Generator

Hello

its possible to implement a swiss QR Code Generator in the invoice template?
it looks like this here:

It should appear on the last page of the invoice in any case, unless it has no space or the invoice has several pages.

Best regards
dashmir

Yes of course it is, feel free to implement it and then create a PR so we can test and merge it.

In any case, I will share all my findings with you all. I was hoping for some support since I don’t have experience with such an implementation.

But I have already added the QR code in the template. Now I need to import the other information in this QR Code template.
These are the variables for the invoice recipient information:
$invoice->client_vat_id;
$invoice->client_address_1;
$invoice->client_zip;
$invoice->client_city;
$invoice->client_country;

But I cannot include these in the code (see Pic).
image

Then I get this message:

An uncaught Exception was encountered

Type: ParseError
Message: syntax error, unexpected ‘;’, expecting ‘)’
Filename: /var/www/vhosts/one-hosting.ch/httpdocs/account/qr/example/example.php
Line Number: 49

how can i pass the variables from invoiceplane to the qr-code generator (instance)?