Check Modulus (CheckMod)

The supported modulus check algorithms are controlled by the ibmSetModOption field (allowable values: 1,2).
  1. The value of the MICR field is stripped of all non-digit characters.
  2. If the field is the routing transit, there must be nine (9) digits and, if not, it is not a modulus error. If the number of digits in the MICR field don’t match the number of weights in the ibmSetModWeights field, it is a modulus error.
  3. If ibmSetModOption is not 1 or 2, it is not a modulus error.
  4. Perform the modulus check and return accordingly.