Error messages / MT940 file validator
Field 28C is not a statement number of up to 5 digits, optionally followed by / and a sequence number
What the validator shows
This is the finding for the sample file mt940-error-statement-number.sta:
- ErrorField 28C is not a statement number of up to 5 digits, optionally followed by / and a sequence numberLine 4 ยท Field 28C (statement number)
- Expected
- 5n[/5n], for example 190/1
- Found
- 19O/1
:28C:19O/1
Spaces are shown as dots so that they can be counted.
A message of the MT940 file validator, reported as an error. Field 28C holds a statement number of up to five digits, optionally followed by a slash and a sequence number. How the validator reads it.
The format
SWIFT's description of the field :28C: gives it as up to five digits, optionally followed by a slash and up to five more digits: the statement number, then the sequence number of the message within that statement. Examples that fit: 190, 190/1, 00001/001. Letters, a sign, more than five digits or a slash with nothing after it do not fit.
What the finding shows
The "Found" line gives the text of the field. In the sample for this page the number is written 19O/1 with the letter O in place of a zero, which looks the same in many fonts.
Why it happens
- A letter that looks like a digit, typed or produced by a character recognition tool.
- A statement number that grew past five digits, or a date used as the number.
- A second slash, as in
2026/001/1: only one is allowed.
What it means for you
Programs use this field to see whether a statement is missing between two others. If it cannot be read, the check is skipped or the file is refused.
How to fix it
Download the statement again. This tool does not renumber statements.
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
- 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
- In this file the opening balance plus the entries does not equal the closing balance