Check-digit algorithm
A weighted-sum calculation (weights 7, 3, 1 cycling, modulo 10) over the character values of MRZ fields; used to detect data transcription or alteration errors in document number, date of birth, expiry date, optional data, and composite fields.