/
6.3.11 Generating Swiss QR Bills

6.3.11 Generating Swiss QR Bills

Challenge

Creating invoices with an integrated payment slip with a QR code that meets the specifications of the Swiss QR bill regulations. The QR code should contain all information for easy, automatic, and efficient payment.


Solution

ADvendio users can now avail of automated QR code generation and PDF placement for Swiss invoicing.

How to generate the QR Code?

The QR code portion of the invoice will be generated when the ESR type is set for an invoice. ESR type = ADvendio__ESRType__c.

Once the ESR type of the invoice is set, the payment part of the QR invoice will be shown on the Invoice PDF (landscape & portrait). This will be shown without the QR code. The QR code is only generated during the billing run, once all invoice information is finalized.


ESR reference layout and explanation:

 

Example of full ESR layout :

The full reference number with color coding looks like this: 0100000009988>0004200000000000000001000903+ XXXXXX>

  • first digits (0100000009988) are ESR type amount sequence number

  • digit '8' is a checksum (sequence number)

  • red 000420: is ESR ID from the Invoice or debtor number (debtor number could be up to 25 digits)