Finland Payment Reference Number Generator (Viitenumero and RF)

Enter a base number to create a Finnish reference number and its RF version, or paste references to check them, one or many at a time.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Enter a base

    A customer or invoice number.

  2. 2
    Generate

    Get the reference and RF form.

  3. 3
    Print it

    Use groups of five or four characters.

  4. 4
    Check payments

    Paste references to verify them.

  5. 5
    Fix mistakes

    See the expected check digit.

About this tool

Finnish invoices carry a reference number (viitenumero) so that the recipient's accounting can match payments automatically. A domestic reference has 4 to 20 digits; the last digit is a check digit. To calculate it, the digits of the base are multiplied from right to left by 7, 3, 1, 7, 3, 1 and so on, the products are added, and the check digit is the difference to the next multiple of ten. The international RF creditor reference wraps the same number with RF and two mod 97 check digits, so it can be used across SEPA. This tool generates both forms and checks existing references.

Who this is for

Small businesses and freelancers invoicing in Finland, associations collecting membership fees, accountants and developers of invoicing software.

Building a reference

1. Choose a base, such as a customer and invoice number, of 3 to 19 digits. 2. Multiply its digits from the right by 7, 3, 1, 7, 3, 1 and so on. 3. Add the products. 4. Subtract the sum from the next multiple of ten; the result (0 to 9) is the check digit. Example: base 1234567 gives check digit 2, so the reference is 12345672.

Printing references

On invoices, domestic references are printed in groups of five digits from the right, for example 12 34567 2 style grouping, and RF references in groups of four. The bank barcode (virtuaaliviivakoodi) includes the reference.

RF references

The RF creditor reference follows ISO 11649: RF, two check digits and up to 21 characters. Finnish banks accept RF references for domestic and SEPA payments. Converting 12345672 gives RF85 1234 5672.

Why references matter

Without a reference, payments must be matched manually. With a reference, the bank's reference payment file allows automatic reconciliation. Payers must type the reference in the reference field, not in the message field; a payment can have either a reference or a message.

E-invoices

Finnish e-invoices (verkkolasku) carry the reference automatically. The same rules apply.

Checking references

Paste references to check them. The tool reports the expected check digit if one is wrong, which helps find typing errors in customer payments.

Worked example

Base 1234567 gives 12345672. The RF version is RF85 1234 5672. 12345678 is invalid: the check digit should be 2.

For developers

When generating references in software, keep the base numeric, avoid leading zeros if possible, and store the full reference with its check digit. Validate references on payment import and flag mismatches for manual review. The same function serves Estonian references.

Batch tips

When a customer pays with a wrong reference, the expected check digit shown by the tool often reveals which digit was mistyped.

Limits

The tool does not create the bank barcode. References stay on your device. Reference checks follow the published standard but are not advice from Finance Finland.

Worked example

Base 1234567 gives the reference 12345672 and the RF reference RF85 1234 5672.

Quick facts

Frequently asked questions

How is a Finnish reference number checked?

With weights 7, 3, 1 from the right and a check digit to the next multiple of ten.

How long can a reference be?

4 to 20 digits including the check digit.

What is an RF reference?

The international ISO 11649 creditor reference, usable across SEPA.

Can a payment have both a reference and a message?

No. It has either a reference or a message.

Can I check many references?

Yes, one per line.

Is my data stored?

Only in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages