esc
ID checkers

KID number generator:
Norway, MOD10 and MOD11

Type a customer or invoice number to get its KID with a MOD10 and a MOD11 check digit. Separate several numbers with commas to make a list.

More tools for Norway Other countries

How to use KID number generator

  1. 01Type the numberWithout check digit, or a full KID.
  2. 02Pick MOD10 or MOD11The one in your OCR agreement.
  3. 03Copy the KIDOr a list, one per line.
Front and back of an ID card on one sheet of paper

12345678 → 123456782 (MOD10) or 123456785 (MOD11).

A KID is the payment reference on Norwegian OCR giro and AvtaleGiro invoices: your own reference plus one check digit. The tool follows the Nets OCR giro specification for both methods, including the minus sign MOD11 uses when the remainder is 1.

KID-nummer generator for invoices paid by OCR giro or AvtaleGiro: type the customer or invoice number and get the KID with a MOD10 and a MOD11 check digit side by side. Separate several numbers with commas and Copy gives you one KID per line, ready to paste into a spreadsheet or invoice run.

What a KID is

KID stands for kundeidentifikasjon. It is the reference the payer types or scans when paying an invoice, and it comes back to you on the OCR giro file so payments can be matched automatically.

According to the Nets (now Mastercard Payment Services) OCR giro specification, a KID is at most 25 digits including the check digit and contains no letters. What the digits before the check digit mean is up to you: customer number, invoice number, or both.

MOD10 step by step

  1. Leave out the check digit and start from the right.
  2. Multiply the digits by 2, 1, 2, 1 and so on.
  3. Add up the digits of the products: 12 counts as 1 + 2.
  4. The check digit is 10 minus the last digit of the sum, or 0 if the sum ends in 0. For 1234567 8 the sum is 38, so the check digit is 2: 123456782.

MOD11 step by step

  1. Start from the right and multiply the digits by 2, 3, 4, 5, 6, 7, then 2, 3 … again.
  2. Add up the products (not their digits).
  3. Divide by 11. The check digit is 11 minus the remainder; a remainder of 0 gives 0.
  4. A remainder of 1 would give 10, so the check digit becomes a minus sign. For 12345678 the sum is 138, the remainder 6 and the check digit 5: 123456785.

Choosing how to build the KID

  • Keep KIDs the same length if you can; it makes them easier to check by eye.
  • Don’t reuse a KID for two open invoices, or payments can be matched to the wrong one.
  • With MOD11, about one number in eleven ends in a minus sign. If your systems or forms can’t handle it, skip those invoice numbers or use MOD10.

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

Should I use MOD10 or MOD11?

Use the method in your OCR giro agreement with the bank. Both methods are in the Nets specification, and your agreement says which one your KIDs use.

Why does a MOD11 KID end in a minus sign?

When the MOD11 remainder is 1, the check digit would be 10. The Nets specification writes it as a minus sign (-) instead. If your systems can’t handle that, use different invoice numbers for those cases or MOD10.

How long can a KID be?

Up to 25 digits including the check digit, digits only.

Can I make KIDs for many invoices at once?

Yes. Separate the numbers with commas, for example 1001, 1002, 1003. Copy puts one KID per line. Add “mod11” at the end to copy MOD11 KIDs.

Is anything sent to a server?

No. The KIDs are worked out in your browser.

Can I check a KID I received?

Yes. Paste it in. The tool tells you whether its last digit fits MOD10, MOD11 or neither.

Is the KID the same as the account number?

No. The account number says where the money goes; the KID says which invoice or customer it is for.