Error messages / NACHA file validator
The routing number check digit is wrong
What the validator shows
This is the finding for the sample file nacha-error-routing-check-digit.ach:
- ErrorThe routing number check digit is wrongLine 4 · Entry Detail (6) · Check Digit · position 12
- Expected
- 3 (routing number 990000123)
- Found
- 4
62299000012444455566·········0000212550EMP0002········SAMPLE·EMPLOYEE·TWO·····0990000010000002
Spaces are shown as dots so that they can be counted.
A message of the NACHA file validator, reported as an error. How the ninth digit of an ABA routing number is calculated, with a worked example, and what a wrong check digit in an ACH entry means.
The ninth digit
A US routing number has nine digits. The first eight identify the bank; the ninth is calculated from them, so that a mistyped number is caught. In an Entry Detail record the eight digits are in positions 4-11 and the check digit in position 12.
The calculation
- Multiply the first eight digits by the weights 3, 7, 1, 3, 7, 1, 3, 7.
- Add the eight results.
- The check digit is whatever brings that sum up to the next multiple of ten (0 if it already is one).
Worked example for 99000012: 9×3 + 9×7 + 0 + 0 + 0 + 0 + 1×3 + 2×7 = 27 + 63 + 3 + 14 = 107. The next multiple of ten is 110, so the check digit is 3 and the full number is 990000123. The sample file has 4 in position 12 of that entry, and the validator shows the digit it expected.
What it usually means
- One digit of the routing number was typed wrongly, or two neighbouring digits were swapped, when the payee was set up.
- The routing number was stored as a number and lost a leading zero, or was entered in the account number field.
How to fix it
Correct the routing number in the payee's record in your payroll or accounting system, using the number printed on a cheque or confirmed by the payee, then export the file again. Do not simply change the ninth digit to the expected value: the check digit only tells you the nine digits do not belong together, not which one is wrong.
A correct check digit does not prove the bank exists. The validator cannot look a routing number up; it has no network access.
Check your own file
Drop your file into the NACHA file validator. It reports problems and does not change the file.