A digit is added to a given number to check its accuracy. The modulus 7 check digit used with document numbers is the remainder when the number is divided by 7.