checksum KID(a, b)


This function calculates the check digit for a KID number a (Norwegian customer ID for invoices) using algorithm b.

Parameter Description


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.