Error messages / ABA file validator
The credit total does not match the Detail records
What the validator shows
This is the finding for the sample file aba-error-credit-total.aba:
- ErrorThe credit total does not match the Detail recordsLine 5 · File Total (7) · File Credit Total Amount · positions 31-40
- Expected
- 0000472450 ($4724.50)
- Found
- 0000462450
7999-999············000046245000004624500000000000························000003········································
Spaces are shown as dots so that they can be counted.
A message of the ABA file validator, reported as an error. The File Total record of an ABA file must agree with the sum of its detail records. Where the totals sit and what makes them disagree.
The File Total record
The last line of an ABA file starts with 7999-999 and carries the control totals, each ten digits in cents with no decimal point:
| Positions | Field | Must equal |
|---|---|---|
| 21-30 | Net total | The difference between the credit and debit totals |
| 31-40 | Credit total | The sum of all Detail records with transaction codes 50 to 57 |
| 41-50 | Debit total | The sum of all Detail records with transaction code 13 |
| 75-80 | Count | The number of Detail records |
What the sample shows
The first payment was changed from $1,580.00 to $1,680.00 after the file was written. The Detail records now add up to $4,724.50, the File Total record still says $4,624.50, and because the net total is derived from the credit total it no longer agrees either. The validator reports both fields with the values it expected.
Why it happens
- An amount was edited in the file by hand, or a line was deleted or pasted in.
- The amount was written in dollars rather than cents, or a debit (code 13) was added to the credit total.
- A balancing entry was added to the Detail records but the totals were calculated before it.
Self-balanced files
In a self-balanced file the last Detail record is a debit to your own account for the sum of the credits, so the net total is zero. The validator notes whether a file is self-balanced but treats neither form as an error.
How to fix it
Make the change in the package that created the file and export again, so that the totals and the count are rebuilt with it.
Check your own file
Drop your file into the ABA file validator. It reports problems and does not change the file.