# KID

{% hint style="warning" %}
This feature is only available for stores in Norway and Finland.
{% endhint %}

## What is this?

KID, a Norwegian abbreviation for "Kunde-ID", is a banking/payment feature that Norwegian banks use to identify invoice payments.

By enabling KID, invoice payments will be assigned a unique "KID number" on the invoice, which in turn a specific customer enters when they pay the invoice in their bank.

<figure><img src="https://593715853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0GCVniU8V4PZKEK4axWz%2Fuploads%2FkF5WFnoHCHKTEBOZqE5S%2FSCR-20250102-jvol.png?alt=media&#x26;token=6392ce78-9633-4809-bb5d-4bd0fab9b0a0" alt="" width="359"><figcaption><p>The KID section on a typical invoice.</p></figcaption></figure>

## How do I set up KID support?

{% hint style="danger" %}
Setting up KID might be a bit complicated, and often also involves the accounting system, including EHF setup, and so we recommend that we assist in setting up KID.
{% endhint %}

1. **Enable the KID extension**

   Contact us to have it enabled. Note that most extensions has an added monthly cost.
2. **Configure the KID mask**

   The KID mask can consist of n, c, or fixed numbers. It can have a minimum of 1 character and a maximum of 24 characters (KID can be a maximum of 25 characters in total).

   1. Key Elements:
      1. **n:** Represents the voucher number, invoice number, or document number
      2. **c:** Represents the customer number or account number.
      3. **Combination:** The KID can be a combination of n, c, and fixed numbers.
   2. Examples:
      1. **Example 1:** You want the KID to be nine characters long and consist only of the invoice number.

         1. Use the mask: `nnnnnnnn`.

         *If the invoice number is shorter than eight characters, leading zeros will be added to make it eight digits. A control digit will then be appended at the end.*
      2. **Example 2:** You want the KID to consist of four characters from the customer number and four characters from the invoice number.
         1. Use the mask: `ccccnnnn`.
      3. **Example 3:** You want the KID to start with the number 5, followed by six digits from the invoice number.
         1. Use the mask: `5nnnnnn`.

   This flexible masking system ensures that the KID is generated consistently and meets your specific requirements.
3. **Choose the Modulus Type**\
   In most cases this should be `MOD10`, so unless you have very specific needs, simply type `MOD10` in this field, and you should be good to go.
   1. Alternative modulus type is "`MOD10_FIN`" for Finland specifically.
4. **Thats it!**\
   When creating new sales with the payment method Invoice, every invoice should now get its unique KID assigned to it (and displayed in the invoice PDF)

### Notes

* If you are using an accounting system integration, it is very important that the KID mask is aligned with whatever your acocunting system use.
* This feature only adds the KID to the invoices. You need to make sure to check for payments in the bank, and register the payments manually.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowretail.com/docs/extensions-addons/kid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
