Finnish Reference Numbers (Viitenumero) and RF References Explained
How Finnish payment reference numbers work, how to calculate the 7-3-1 check digit, how to print them, and when to use international RF references.
%20and%20RF%20References%20Explained&c=%2337474f&k=money)
Finnish Reference Numbers (Viitenumero) and RF References Explained
Finnish invoices almost always carry a reference number (viitenumero). It lets the recipient's bookkeeping match payments automatically, even when thousands arrive each day. The Finland Payment Reference Number Generator creates and checks references and their RF versions. This guide explains how they work.
What a reference number is
A domestic reference has between 4 and 20 digits. The last digit is a check digit; the rest is chosen by the invoicing party. Common choices are a customer number, an invoice number or a combination. The reference is entered in the payment's reference field, and the bank passes it to the recipient in the reference payment file.
Calculating the check digit
- Take the base, for example 1234567.
- Multiply the digits from the right by 7, 3, 1, 7, 3, 1 and so on: 7×7 + 6×3 + 5×1 + 4×7 + 3×3 + 2×1 + 1×7 = 118.
- Subtract the sum from the next multiple of ten: 120 − 118 = 2.
- Append the check digit: 12345672.
If the sum is already a multiple of ten, the check digit is 0. The base must have at least three digits, so the shortest reference has four.
Printing references
References are printed in groups of five digits counted from the right, which makes them easier to read and type. The bank barcode (virtuaaliviivakoodi) printed on invoices contains the IBAN, amount, due date and reference, so payers scanning it avoid typing errors altogether.
Reference or message
A Finnish payment carries either a reference or a free-text message, not both. If a payer puts the reference in the message field, the payment arrives without a reference and must be matched manually. Invoices should state clearly that the reference must be used.
RF creditor references
The RF reference, defined in ISO 11649, is an international structured reference usable across SEPA. It consists of RF, two check digits calculated with mod 97, and up to 21 characters. Finnish banks accept RF references both domestically and from abroad. A domestic reference can be converted by putting RF and the check digits in front: 12345672 becomes RF85 12345672, printed as RF85 1234 5672.
Designing a reference scheme
- Keep references unique per invoice if you want to match each payment to one invoice.
- Use a fixed reference per customer for recurring payments, such as rent or membership fees.
- Avoid changing the scheme often, because payers save references in their online banks.
E-invoices
In Finnish e-invoices (verkkolasku) and direct payments, the reference is included automatically. The rules for the check digit are the same.
Checking incoming references
When a payment arrives with an invalid reference, it usually contains a typing error. The tool shows the expected check digit, which often points to the wrong digit, for example a swap between two neighbours.
For developers
Implement the 7-3-1 algorithm when generating references and validate on import. Store references as strings to keep leading zeros. For RF, compute the mod 97 digits rather than hard-coding them.
Quick answers
Is the reference the same as the invoice number? It can contain it, plus the check digit.
Can I use letters? Not in domestic references; RF references allow letters.
Using the tool
- Enter a base number to create a reference and its RF form.
- Paste existing references, one per line, to check them.
- Use the expected check digit to correct errors.
The tool does not create the bank barcode and does not know which references your customers use. This guide is general information, not financial advice.



&c=%23991b1b&k=business)