Bankgiro OCR Reference Number Generator dan Checker (Swedia)
Periksa nomor OCR dari faktur atau buatlah dari nomor pelanggan dan faktur dengan digit kontrol mod 10 dan, jika perjanjian Anda menggunakannya, angka panjang.
Berjalan di browser Anda. File Anda tidak pernah keluar dari perangkat. Lihat cara memeriksa
…
Cara melakukannya
- 1Tetapkan aturanmu
Tandakan digit panjang jika perjanjian Anda menggunakannya dan atur batas panjang.
- 2Periksa referensi
Tempelkan nomor OCR, satu per baris, untuk melihat yang lulus.
- 3Membuat
Gunakan tombol contoh atau tambahkan tanda centang ke nomor dasar Anda sendiri.
- 4Perbaiki kesalahan
Gunakan digit pemeriksaan yang diharapkan untuk memperbaiki referensi yang salah.
- 5Ekspor
Unduh hasil sebagai CSV.
Tentang alat ini
Most Swedish invoices ask the payer to enter an OCR number with the payment. The OCR reference lets the payee's bank match the payment automatically to the right invoice. For Bankgiro receivables with OCR control, the reference must end with a check digit calculated with the modulo 10 (Luhn) method, and some agreements also require a length digit, the last digit of the total length, placed just before the check digit. Payments with a wrong reference are rejected by the payer's bank, which saves you from unmatched payments. This tool generates valid OCR numbers from your invoice or customer numbers and checks existing ones in bulk, with your agreement's length limits.
Who this is for
Small businesses and associations that send invoices with Bankgiro, developers building invoicing software, and accountants checking reference lists.
How the check digit works
Starting from the right of the number without the check digit, every other digit is doubled. When a doubled digit is 10 or more, its two digits are added. The sum of all digits is taken, and the check digit is what brings the sum up to the next multiple of 10. For 123456789 the check digit is 7, so the OCR number is 1234567897. This method catches every single wrong digit and almost all swaps of two neighbouring digits.
The length digit
With OCR control at the highest level, Bankgirot can also check the length. The length digit is the last digit of the total number of digits, including the length digit and the check digit, and it sits just before the check digit. For a base of 12345, the full number has 7 digits, so the length digit is 7 and the check digit is calculated over 123457. Tick the box if your Bankgiro agreement uses length control.
Length limits
OCR references can have from 2 to 25 digits. Your agreement may set a fixed length or a range; enter it so that the checker rejects numbers outside it. A fixed length is common because it makes the length digit unnecessary.
Building good references
A common pattern is customer number plus invoice number, for example 1002 and 3456 become 10023456 plus the check digit. Keep the length fixed if you can, avoid leading zeros that a payer might drop, and print the reference clearly on the invoice and in the payment slip.
Batch
Paste a list of base numbers to see their check digits, or paste references from a bank file to find the ones that are wrong. Export the results as CSV.
Plusgiro
Plusgiro uses the same modulo 10 method for its OCR references, so the checker works for those too, but check your agreement for length rules.
Worked example
The base 123456789 gets the check digit 7, giving 1234567897. With length control, the base 12345 becomes 1234577: length digit 7, then the check digit.
Limits
The tool follows the published method; your bank decides what it accepts. It is not affiliated with Bankgirot.
Contoh perhitungan
The base number 123456789 gets the check digit 7, so the OCR reference is 1234567897.
Fakta singkat
- Kategori: Uang & pajak
- Berfungsi di browser Anda, tanpa daftar, tanpa unggah.
- Masukan Anda tetap di perangkat Anda.
- Tersedia dalam bahasa Inggris.
- Konten terakhir ditinjau:
- Sumber resmi: Bankgirot, OCR reference control (mod 10 / Luhn check digit, optional length digit), as described in the Bankgiro Inbetalningar technical manual
Pertanyaan yang sering diajukan
Bagaimana digit pemeriksaan OCR dihitung?
Dengan metode modulo 10 (Luhn): menggandakan setiap digit lain dari kanan, menambahkan angka dan membulatkan ke sepuluh berikutnya.
Berapa digit panjangnya?
Angka terakhir dari total panjang, ditempatkan sebelum digit centang, hanya digunakan jika perjanjian Anda memiliki kontrol panjang.
Berapa lama bisa nomor OCR?
Dari 2 sampai 25 digit, kecuali perjanjian Anda menetapkan panjang atau rentang yang tetap.
Mengapa pembayaran ditolak?
Biasanya karena nomor OCR salah ketik dan digit centang tidak cocok lagi.
Apakah ini bekerja untuk Plusgiro?
Ya, referensi OCR Plusgiro menggunakan pemeriksaan modulo 10 yang sama.
Apakah nomorku diunggah?
Tidak, ceknya hanya berjalan di perangkatmu.
