Norway KID Number Generator and Checker (MOD10 and MOD11)

Check KID numbers from invoices or generate them from customer and invoice numbers with the control digit method your bank agreement uses.

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

…

How to do it

  1. 1
    Choose the method

    MOD10 or MOD11 as in your bank agreement.

  2. 2
    Paste KIDs

    One KID per line to check them.

  3. 3
    Generate samples

    Create KIDs with the selected method for testing.

  4. 4
    Fix rejected KIDs

    Each failure shows the control digit the base needs.

  5. 5
    Export

    Download the results as CSV.

About this tool

Norwegian invoices ask payers to enter a KID number (kundeidentifikasjon) with the payment. The KID lets the payee's bank match the payment automatically to the right invoice through OCR giro, and it identifies the payer in AvtaleGiro direct debits. A KID has from 2 to 25 digits and ends with a control digit calculated with either MOD10 (the Luhn method) or MOD11, depending on the payee's agreement with the bank. With MOD11, a result of 10 is shown as a hyphen, which many payees avoid. This tool generates and checks KID numbers with both methods.

Who this is for

Small businesses and associations invoicing in Norway, accounting staff and developers of invoicing systems.

MOD10

Starting from the right of the number without the control digit, every second digit is doubled, digits of products above 9 are added, and the control digit brings the total up to a multiple of 10. For 123456789, the control digit is 7: KID 1234567897.

MOD11

Starting from the right, the digits are multiplied by 2, 3, 4, 5, 6, 7, 2, 3 and so on. The control digit is 11 minus the remainder of the sum divided by 11: a result of 11 becomes 0 and 10 becomes a hyphen (-). Many payees choose base numbers that avoid the hyphen, because some banks reject it.

Which method to use

Your agreement with the bank for OCR giro states the method, the length and the position of the control digit. Using the wrong method means payments are rejected or not matched.

Building good KIDs

- Combine customer number and invoice number, for example 1002 and 3456. - Keep a fixed length if your agreement requires it. - Avoid leading zeros that payers might drop. - Print the KID clearly with the account number and amount.

eFaktura and AvtaleGiro

The same KID logic is used in eFaktura and AvtaleGiro agreements, where the KID identifies the payer's agreement.

Batch use

Paste KIDs to check, or generate samples with your method. Failing KIDs show the control digit the base number needs. Export as CSV.

Worked example

With MOD10, the base 123456789 gets the control digit 7, giving 1234567897. With MOD11, the same base gets 2: 1234567892.

Checking a payment file

When incoming payments arrive in an OCR file from the bank, the KID of each payment is shown. If a payment did not match an invoice, run its KID through the checker: a wrong control digit means the payer typed it wrong and the bank should not have accepted it, while a correct one with no match points to a numbering problem on your side.

Limits

The tool implements the published methods; your bank agreement decides what is accepted.

Worked example

The base 123456789 becomes KID 1234567897 with MOD10, or 1234567892 with MOD11.

Quick facts

Frequently asked questions

What is a KID number?

A payment reference of 2 to 25 digits that lets the payee's bank match payments automatically.

What is the difference between MOD10 and MOD11?

They are different control digit methods; your bank agreement decides which one applies.

Why does a KID end with a hyphen?

With MOD11, a control value of 10 is written as a hyphen; many payees avoid such numbers.

How long can a KID be?

From 2 to 25 digits, as set in the agreement.

Is KID used for AvtaleGiro?

Yes, the KID identifies the payer's agreement in AvtaleGiro and eFaktura.

Are my numbers uploaded?

No. They are checked 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