Form Wh-405 - Batch Filing Program For Withholding Quarterly Tax Returns Page 6

ADVERTISEMENT

South Carolina Department of Revenue
Check Digit Calculation - Modulus 10 [2121…]
Revised 11/29/07
The number is given a weight by which it is multiplied. The positions in the number are weighted from left
to right. The scheme for this routine is 2121… where the first number in the number is multiplied by 2.
The second number is multiplied by 1 and the third number is multiplied by 2 and so forth. These weights
are used to multiply the digits of the number to produce a result. The result of the multiplication could be a
two digit number where each digit is treated as a single digit. An example is 7 x 2 = 14 which will convert
to 1 + 4. The last digit (right most) of the grand total of all the multiplication results is subtracted from 10
to create the check digit.
** If the sum is 10, 20, 30, etc… the check digit value is 0 **
Example for File Number:
File Number = 79098924
Number digits: 7 9 0 9 8 9 2 4
Multiplier:
2 1 2 1 2 1 2 1
Results:
14 9 0 9 16 9 4 4
Sum = 1+4+9+0+9+1+6+9+4+4 = 47
Check Digit = 10 – 7 = 3
Example for Scan Line with numeric only:
Column
1
2
3
4
5
6
7
1234567890123456789012345678901234567890123456789012345678901234567890
AAAAAAAAXXBBBBBBBBBXXCCCCCCCCCXXDDEEXXFFFFFFFFFFFXXXXXXXXXXXG
30801021
123456789
987654321
1208
00000010000
6
Check Digit calculation for fields B, C, D, E and F using Modulus 10 (21…) starting from the left digit.
Do NOT use spaces in the calculation, only digits (or digit translation from alpha characters).
Number digits: 1 2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1 1 2 0 8 0 0 0 0 0 0 1 0 0 0 0
Multiplier:
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2
Results:
2 2 6 4 10 6 14 8 18 9 16 7 12 5 8 3 4 1 2 2 0 8 0 0 0 0 0 0 2 0 0 0 0
Sum =
2+2+6+4+1+0+6+1+4+8+1+8+9+1+6+7+1+2+5+8+3+4+1+2+2+0+8+0+0+0+0+0+0+2+0+0+0+0=104
Check Digit = 10 – 4 = 6
3

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Financial