--- title: "checksum KID()" slug: "basic-checksum-kid" updated: 2025-09-17T20:21:15Z published: 2025-09-22T09:16:08Z canonical: "docs.lobstersoftware.com/basic-checksum-kid" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # checksum KID() This function calculates the check digit for a KID number **a** (Norwegian customer ID for invoices) using algorithm **b**. ## Parameters | Parameter | Description | | --- | --- | | a | The KID number (without check digit). | | b | The algorithm (MOD10 or MOD11) for the calculation of the check digit. Allowed values: "10" and "11". |