Norway KID - KID Number, KID Match and OCR Giro Import (MOD10 / MOD11)
by Modvanta https://modvantaapps.tech/odoo-apps/no-kid/$ 44.87
Built and supported by Modvanta - modvantaapps@gmail.com
What it does
A valid KID on every invoice, and every OCR giro payment reconciled with the invoice it pays
Norwegian customers pay with a KID: the customer identification number printed on the invoice. This module writes that KID for you, with the check digit your bank agreement uses (MOD10 or MOD11), an optional prefix and an optional fixed length. The KID is the payment reference of the invoice, so it appears on the invoice and Odoo's own Peppol / EHF export sends it as the payment id.
When the bank sends the OCR giro file (the Nets file of payments made with a KID), import it: every control total of the file is checked first, each payment becomes a bank line in the right bank journal, and each one is reconciled with the invoice that carries its KID. A file imported twice adds nothing.
The same KID match works on bank lines that arrive any other way - a bank feed or a statement file - and a KID typed on a Norwegian supplier's bill is checked against both check digit methods before the bill is confirmed.
Who it is for
Made for Norwegian companies that invoice with KID
Accounts receivable Customers pay with the KID on the invoice; the payment finds its invoice by itself. |
Companies on OCR giro The daily OCR file from the bank becomes reconciled bank lines in one step. |
Accounts payable A mistyped KID on a supplier bill is caught before the payment is sent. |
Key features
What you get
1KID settings on the sales journal
Choose Norwegian KID as the communication standard, then MOD10 or MOD11, the prefix, the fixed length and whether the KID is made from the invoice number or from the customer number and the invoice number. The journal shows an example KID as you change the settings.

2The KID on the customer invoice
Posting the invoice writes the KID as its payment reference. A number that does not fit the agreed length stops the posting with a clear message instead of cutting digits (two invoices must never share a KID).

3Import the OCR giro file
Upload the file from the bank. The bank journal is found from the assignment account of the file, or chosen here. Control records are checked: a truncated download is refused.

4Payments reconciled by KID
Each payment shows its KID, the invoice it matched and the outcome. Exact payments are reconciled; a payment of another amount is flagged and left for you (or reconciled as a partial payment if you allow it).

5The invoice is paid
The matched invoice is marked paid, reconciled with the bank line of the OCR payment.

6KID check on vendor bills
A digits-only payment reference on a Norwegian supplier's bill is checked with MOD10 and MOD11. A wrong check digit is shown on the bill and, if you want, the bill cannot be confirmed.

7Settings
Automatic KID matching every hour, exact amount or partial payments, blocking of wrong supplier KIDs, and the Nets agreement ids whose files this company accepts.

How it works
Step by step
| 1 | Set the sales journal to Norwegian KID Accounting -> Configuration -> Journals -> your sales journal -> Advanced Settings: communication standard Norwegian KID, then MOD10 / MOD11, prefix and length. |
| 2 | Invoice as usual Every posted invoice gets its KID as payment reference. |
| 3 | Put the bank account on the bank journal The 11 digit account of the OCR agreement, so the file finds its journal. |
| 4 | Import the OCR giro file Customers -> KID / OCR giro -> Import OCR giro. Payments are reconciled by KID. |
| 5 | Check what needs a look Customers -> KID / OCR giro -> KID payments, filter Needs attention. |
Settings
What you can configure
| Setting | Where | What it does |
| KID check digit | Sales journal | MOD10 (Luhn) or MOD11, as agreed with your bank. |
| KID prefix and length | Sales journal | Fixed digits first, and a fixed total length of 2 to 25 positions. |
| KID made from | Sales journal | The invoice number, or the customer number and the invoice number. |
| Match new bank lines by KID | Accounting settings | Every hour, bank lines with a KID are reconciled. |
| Exact amount only | Accounting settings | Off: a smaller payment is reconciled as a partial payment. |
| Block wrong supplier KIDs | Accounting settings | A Norwegian supplier bill with a wrong KID cannot be confirmed. |
| OCR agreement ids | Accounting settings | Only files for these Nets agreements are accepted. |
FAQ
Questions buyers ask
Which OCR giro format is read?
The Nets (Mastercard Payment Services) OCR giro file: 80 character records, transmission and assignment start and end records, amount items 1, 2 and 3 - including credit notes and terminal purchases and reversals.
What if two invoices have the same KID?
Nothing is guessed: the payment is flagged "Several invoices share this KID" and waits for you.
Does it work with bank feeds?
Yes. Any bank line whose label or reference holds a valid KID can be matched, by the button or by the hourly job.
Do I need the Norwegian localization?
No. It works with or without l10n_no; with this module a new Norwegian company's journals default to Norwegian KID.
Does it send AvtaleGiro or eFaktura?
No. It writes KIDs, reads the OCR giro file and reconciles; it does not create direct debit mandates.
Compatibility
Works with
Odoo 19.0 Community Enterprise Odoo.sh On premiseDepends on Invoicing (account) only. Translated to Norwegian Bokmal.
KID on every invoice, payments matched by KID
Questions before buying, help with setup, or a change you need: write to us and a developer answers.
SUPPORT |
AUTHOR Modvanta |
INCLUDED Source code, free bug fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 750 |
| Technical Name |
mdv_no_kid |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/no-kid/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module