# QR Code use

## Prerequisite: licence

QR Code is subject to a perpetual licence. The licence cost is per bank account to which the generated QR Code refers. The QR Code is usually set up by our staff, followed by an invoice for the relevant licence. If customers add bank accounts associated with the QR Code on their own, they are asked to inform us so that the licence can be regularised.

### Details at the link: [QR Code licence](https://www.paganinisoftware.ch/en/support/help-training/qr-code-licenza.md)

## QR Code - setup

The QR Code for each bank relationship is normally set up by Paganini Software staff. For a new setup and/or corrections, always contact our support.

## Use

Once set up, the QR Code appears on the final invoice and the QR payment slip is generated automatically. The QR payment slip can be displayed for printing automatically, i.e. when you issue a final invoice both the invoice and the payment slip are shown in the browser (Chrome, Edge, Safari, ...) in two different tabs, or later. The payment slip can always be displayed and printed from **Fatture > Polizza QR** (invoices > QR payment slip). It is not always necessary to send the payment slip to debtors, because payment is already possible by scanning the QR Code on the invoice.

## QR-bill - How to code the debtor's address

### The fields are as follows

### Header (optional)

### Debtor name (mandatory) *

### Name extension (optional)

### Street and number (optional)

### Postcode + town (mandatory) *

### Country (mandatory) *

The drop-down menu shows the most frequently used countries. You can enter any country in the world manually.List of countries: see link: [https://it.wikipedia.org/wiki/ISO_3166-1](https://it.wikipedia.org/wiki/ISO_3166-1)

### For the countries IT, DE, FR, ES, AT, LI, US, the program checks that the postcode is numeric.

## Address examples

**Clients in Switzerland**The country ID is not neededCliente in SvizzeraVia alla Stazione 216900 LuganoorCliente in SvizzeraVia alla Stazione 216900 LuganoCH - SvizzeraorCliente in SvizzeraVia alla Stazione 216900 LuganoCH Svizzera**Clients abroad with a numeric postcode**The country ID is neededCliente in ItaliaVia alla Stazione 2120100 MilanoIT - ItaliaorCliente in ItaliaVia alla Stazione 2120100 MilanoIT ItaliaorCliente in ItaliaVia alla Stazione 2120100 MilanoIT (Italia)Cliente in GermaniaBanhofstrasse 2170565 StuttgartDE - DeutschlandCliente nel LiechtensteinUnder Rüttigass69494 SchaanLI - Liechtenstein**Clients abroad with an alphanumeric postcode**The country ID is neededCliente in UKFlat 149, Juxon StreetOX26DR OxfordUK - United Kingdom

## Invoice with an alternative name and address

### (In progress: expected to be available in the 1st quarter of 2024)

Code the names of the alternative debtors among the contacts defined with contact type $$ (contact type to be coded in **Dati di base > Tabelle** (basic data > tables)).When issuing the pro forma or final invoice, you can choose the alternative invoice addressee.The invoice is in any case posted in the accounts under the client to whom the contact belongs.Of course, you can also open the alternative client as a separate debtor (file) and transfer the billing entries to that debtor (**fatturazione > In blocco** (billing > bulk)). In that case the accounting (statement and so on) will be separate.

## When the QR Code is not generated on the invoice

The QR Code is not generated on the invoice, but the bank details for payment (bank, IBAN and other data set by the user) are in any case printed on the invoice, in the following cases:

- if Ixx (IBAN) is blank
- if Qxx (IBAN) is blank or does not match what must be entered in Qxx as described above (the fixed jpg+pdf copy of the manual setup is used)
- if the country ID (the first two capital letters of the country) of the debtor is not correct; code the **Nazione** (country) field with country ID + country name, for example: IT Italia, or: IT - Italia. Note: the program that generates the QR code only considers the country ID (the first two characters of the Nazione field); the descriptive country name field is only useful for postal delivery)
- For countries other than: IT, DE, FR, ES, AT, LI, GB, UK, USFor these countries the program checks that the postcode is numeric or alphanumeric, depending on the country. The check is needed to make sure the generated QR Code is valid. For other countries, for which there is no formal check on the postcode, the QR Code is not generated. The bank details for payment are in any case printed on the invoice,The complete list of countries, for the correctness of the address for postal delivery, not for generating the QR Code, is at the link: [https://it.wikipedia.org/wiki/ISO_3166-1](https://it.wikipedia.org/wiki/ISO_3166-1)

- if the debit or credit balance amount is negative (example: credit note, invoice with an advance greater than the invoice amount)

## Free (neutral) QR payment slip per file

You can (in the **Mappa** (map) or in the Timesheet, title on the right) issue free payment slips per file as follows:

- with or without the debtor's name and address
- without an amount or with an amount entered manually

the file ID always appears

This option allows you to generate the payment slip for an advance payment request. There is in any case a dedicated procedure for advance payment requests. Detailed explanations at the link:

[Advance payment request](https://www.paganinisoftware.ch/en/support/help-training/richiesta-di-acconto.md)

## Free (neutral) QR payment slip for each bank relationship and each country

You can print free payment slips in the currencies you want (CHF, EUR, USD and any other currency) without the debtor's name appearing. On these payment slips you can enter an amount or leave the amount open. The free payment slip can be prepared for debtors whose country is not checked by the program, or whose postcode and town are not known exactly.

**How to do it**

Open a file for each bank relationship, for example:

If files are coded manually

ID: CS.CHF, file name "Polizza CS CHF", file currency CHF, for payments to Credit Suisse in CHF

D: CS.EUR, file name "Polizza CS EUR", file currency EUR, for payments to Credit Suisse in EUR

ID: PF.CHF, file name "Polizza PostFinance CHF", file currency CHF, for payments to PostFinance in CHF

ID: PF.EUR, file name "Polizza PostFinance EUR", file currency EUR, for payments to PostFinance in EUR

By selecting each of these IDs, you can generate a neutral payment slip for the related bank relationship.

If files are coded automatically

Create files with automatic IDs whose file description and currency are as described above.
