Error messages / MT940 file validator
In this file the opening balance plus the entries does not equal the closing balance
What the validator shows
This is the finding for the sample file mt940-warning-arithmetic.sta:
- WarningIn this file the opening balance plus the entries does not equal the closing balanceLine 19 ยท Field 62F (closing balance)
- Expected
- 7684.60 EUR (opening 10000.00 plus entries -2315.40)
- Found
- 7684.61 EUR
:62F:C261005EUR7684,61
Spaces are shown as dots so that they can be counted.
A message of the MT940 file validator, reported as a warning. The validator adds a message's entries to its opening balance and compares the result with the closing balance. Why this is a warning and what it can mean.
What the validator does
For each message it takes the opening balance, adds the credit entries and takes off the debit entries (a reversal of a credit counts as a debit, a reversal of a debit as a credit), and compares the result with the closing balance. This is our own check. No printed rule gives the sum, so it is a warning, and the message says "in this file".
What the finding shows
"Expected" gives the sum and its parts; "Found" gives the closing balance written in the file. In the sample for this page the closing balance is one cent above the sum.
What it can mean
- An entry is missing from the file, or was listed twice.
- The file was edited, or two statements were joined.
- Some bookings may not be in the entry list. We cannot tell.
Test and anonymised files may not add up.
What is skipped
A message with an unreadable entry, balances in different currencies, or no opening or closing balance is not summed. The reason is already reported as an error.
What to do
Compare the balances and the entries with your bank's statement. This tool does not change them.
Source: SWIFT, Category 9 Message Reference Guide (MT 940), and Die Deutsche Kreditwirtschaft, DFU Agreement Appendix 3 V3.8, chapter 8.
Check your own file
Drop your file into the MT940 file validator. It reports problems and does not change the file.
Other MT940 file messages
- This does not look like an MT940 file
- A mandatory field of the statement is missing or empty
- Fields are not in the order the MT940 format lists them
- A field 86 does not follow a field 61
- A field tag is not one the MT940 format lists
- A character is used that the SWIFT character set does not include
- A reference starts or ends with a slash, or has two slashes in a row
- Field 28C is not a statement number of up to 5 digits, optionally followed by / and a sequence number
- A balance date is not a valid date (YYMMDD)
- An amount is not digits with a decimal comma
- The debit/credit mark of a statement line is not C, D, RC or RD
- The transaction type of a statement line is not S, N or F
- An opening balance differs from the closing balance of the previous message of the account