esc
Payment QR

UPN QR generator:
QR code for the Slovenian payment order (version 15, ISO 8859-2)

Izdelava UPN QR: type the recipient, IBAN, reference, amount, purpose code and purpose to get the QR code for a UPN QR payment order, exactly as the Bank Association of Slovenia prescribes.

What the code contains

–
More tools for Slovenia Other countries

How to use UPN QR generator

  1. 01Type the recipient and IBANName, street, place, IBAN.
  2. 02Add reference and amountSI or RF model, purpose code.
  3. 03Download the codePrint it 32.6 mm wide.
Phone scanning a sheet of paper

20 fields, version 15, ECC M, ECI 4.

The UPN QR code holds 20 fields, each ending with a line feed: UPNQR, four empty payer-bank fields, the payer’s name, street and place, the amount in cents on 11 digits, the purpose code, purpose, due date, recipient IBAN, model and reference, the recipient’s name, street and place, and a checksum (the lengths of fields 1–19 plus 19). It is always QR version 15 with error correction M and ISO 8859-2 text, marked with ECI 4. The tool does all of that and shows each field and the printed form of the amount and IBAN.

Izdelava UPN QR in the browser: the Bank Association of Slovenia (ZBS) offers only a Windows program, so this page builds the same QR code from the rules in its instructions for programmers. Its worked example, Janez Plačnik paying Prejemnik d.o.o., comes out with the same content and checksum.

The 20 fields

  • 1 UPNQR. 2–5 empty (payer IBAN, deposit, withdrawal, payer reference).
  • 6–8 payer’s name, street and place, up to 33 characters each.
  • 9 amount in cents on 11 digits: 75,57 is 00000007557.
  • 10–11 empty (payment date, urgent). 12 purpose code: 4 capital letters, e.g. COST.
  • 13 payment purpose, up to 42 characters. 14 due date as DD.MM.YYYY, or empty.
  • 15 recipient IBAN without spaces. 16 model and reference together, e.g. SI121234567890120 or RF45SBO2010.
  • 17–19 recipient’s name, street and place, up to 33 characters each.
  • 20 checksum: the lengths of fields 1–19 plus 19, on three digits (193 in the ZBS example).

QR settings that must not change

ZBS requires QR version 15 (77 × 77 modules) for every UPN QR, byte mode, error correction level M and the ISO 8859-2 code page announced with ECI 000004; many libraries wrongly write ECI 26 (UTF-8). Printed, the code is 32.6 mm square without its white border and 36 mm with it, at 600 dpi or more.

Printed form versus QR content

The form and the QR code hold the same data written differently. On the form the amount is ***75,57 and the IBAN SI56 1920 0123 4567 892; in the code they are 00000007557 and SI56192001234567892. The tool shows both.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

Kako se izračuna kontrolna vsota?

Add the lengths of fields 1 to 19 and then 19 for their line feeds. For the ZBS example (Janez Plačnik, Obveznosti za 11/2022, …) that is 193. A sum under 100 gets a leading zero, e.g. 081.

Why is my QR code always the same size?

UPN QR must be version 15 (77 × 77 modules) whatever the content, so it fits the field on the form: 32.6 mm square at a module size of 0.423 mm.

Can I use č, š and ž?

Yes. UPN QR uses the ISO 8859-2 code page, which has all Slovenian letters. Characters outside it, such as €, are refused.

Does the tool check my reference?

It checks an RF reference fully (ISO 11649) and an SI reference’s format. The control number of SI models is set by a separate regulation that the tool doesn’t check, so verify it yourself.

Is anything I type sent to a server?

No. The code is built in your browser, so your account details never leave your device.

Can I leave the payer empty?

Only for humanitarian payments where the payer is unknown; otherwise the payer’s name, street and place are required.

Which purpose code should I use?

A 4-letter code from the purpose code list (šifrant kod namena), such as COST in the ZBS example. Ask your bank if unsure.

Does it print the whole form?

No. It makes the QR code and shows its content. Print the code on a UPN QR form with the same data in the text fields.