What is inside a HUB3 barcode
The barcode holds 14 lines of text. The first line is the header HRVHUB30, the second is the currency, and the rest follow in a fixed order.
- Amount
- Fifteen digits with no decimal point, so 42.90 is
000000000004290. - Payer
- Name, street and town of the payer. Leave them empty: the banking app fills in the payer, and this barcode is often public.
- Recipient
- Name (25 characters), street (25) and town (27).
- IBAN
- The recipient's account, which starts with
HR. - Reference
- A model such as
HR00and a reference number of up to 22 characters (the Croatian poziv na broj). - Purpose
- A four-letter code such as
COSTand a description of up to 35 characters.
Details that often go wrong
- The standard barcode is PDF417, a wide rectangle. Do not assume a banking app will read a QR code that holds the same text.
- Mark the text as UTF-8 so č, ć, š, ž and đ survive. Scanay does it for you.
- The amount has no decimal separator, so a missing leading zero shifts the amount by a factor of ten.
Using it in your Shopify store
Scanay makes the code for every order automatically and puts it into your Shopify order e-mails, so you never type these details yourself. It picks the right standard from the country of the order.
The setup guide takes about ten minutes, or start the free trial.
Questions
Is HUB3 a QR code?
No. It is a PDF417 barcode, a stacked linear barcode. Croatian banking apps read both the printed barcode and the image on screen.
Has HUB3 changed with the euro?
Croatia has paid in euro since 2023, and the barcode now carries EUR as its currency. The structure of the fields is the same.
Other standards
- UPN QR: The QR code on Slovenian payment slips, read by Slovenian banking apps.
- QR Platba: The short, readable QR code for Czech bank transfers, supported by Czech banking apps.
- PAY by square: The compressed QR code used for Slovak bank transfers and invoices.
- ZBP: The pipe-separated 2D payment code recommended by the Polish Bank Association.
- MNB QR: The payment QR code defined by the Hungarian central bank, with a validity date.
- EPC QR: The European QR code for SEPA credit transfers in euro, also known as GiroCode.
Scanay is not affiliated with the organisations that define these standards. The descriptions summarise their public specifications; check the specification itself for binding details.