Validate an MT940 file

Check an MT940 bank statement field by field. Each finding names the line, the field and what was expected against what was found.

Your file never leaves your browser.How to check that
No file at hand?

From an e-mail: save the attachment to Files first, then choose it here.

Nothing is uploaded

The file is read in your browser and the result is made on your device. No upload, no account, no cookie, no analytics script.

To check, switch off Wi-Fi once the page has loaded; the tool keeps working. The page's security policy blocks most background requests, but it is not a complete guarantee by itself (WebRTC, for example, is not covered). Privacy page

What is checked

What is not checked

No error means the checks listed on this page found nothing, and nothing more. The tool does not know your bank's own rules or the content of field 86, and does not check that an account, bank code or currency exists. It reads one file at a time; an MT942 message is recognised and left unchecked.

To turn a statement into a spreadsheet: MT940 to Excel or CSV. Every field explained: MT940 file format.

All messages

Show all 36 messages and their basis
MessageKindBasis
The file is emptyerrorNo claim about MT 940
This does not look like an MT940 fileerrorSWIFT Category 9, MT 940 format table (fields 20, 25a, 28C, 60a)
This looks like an MT942 interim report; it was not checkednoteSWIFT Category 9, MT 942 format table
A mandatory field of the statement is missing or emptyerrorSWIFT Category 9, MT 940 format table (fields 20, 25, 28C, 60a, 62a)
Fields are not in the order the MT940 format lists themerrorSWIFT Category 9, MT 940 format table; DK Appendix 3 V3.8, 8.2.1
A field that may appear only once appears again in the same messageerrorSWIFT Category 9, MT 940 format table; DK Appendix 3 V3.8, 8.2.2
A field 86 does not follow a field 61errorSWIFT Category 9, MT 940 network validated rule C1
A field tag is not one the MT940 format listswarningSWIFT Category 9, MT 940 format table
A message is not followed by a line with a hyphen (-)noteDK Appendix 3 V3.8, 8.1 rule 5
Lines are not separated by CR LFnoteDK Appendix 3 V3.8, 8.1 rule 4
A character is used that the SWIFT character set does not includewarningDK Appendix 3 V3.8, 8.1 rule 9
A line stands outside every field and was not checkednoteNo claim about MT 940
A reference starts or ends with a slash, or has two slashes in a rowerrorSWIFT Category 9, MT 940 fields 20 and 21 (error code T26)
A field has a line its format does not allowerrorSWIFT Category 9, MT 940 field formats
A field is longer than the length the format gives itwarningSWIFT Category 9, MT 940 field formats; DK Appendix 3 V3.8, 8.1 rule 8
The identifier code of a field 25P does not have the shape of a BICerrorSWIFT Category 9, MT 940 field 25a, option P
Field 28C is not a statement number of up to 5 digits, optionally followed by / and a sequence numbererrorSWIFT Category 9, MT 940 field 28C
The sequence numbers of a statement do not start at 1 and rise by onewarningSWIFT Category 9, MT 940 field 28C usage rules
A balance does not start with C (credit) or D (debit)errorSWIFT Category 9, MT 940 field 60a (error code T51)
A balance date is not a valid date (YYMMDD)errorSWIFT Category 9, MT 940 field 60a (error code T50)
A balance currency is not three letterserrorSWIFT Category 9, MT 940 field 60a format
An amount is not digits with a decimal commaerrorSWIFT Category 9, MT 940 field 60a (error codes T40, T43), format 15d
A statement line (field 61) cannot be read in the format of the fielderrorSWIFT Category 9, MT 940 field 61 format
The value date of a statement line is not a valid date (YYMMDD)errorSWIFT Category 9, MT 940 field 61 (error code T50)
The entry date of a statement line is not a month and day (MMDD)errorSWIFT Category 9, MT 940 field 61 (error code T50)
The debit/credit mark of a statement line is not C, D, RC or RDerrorSWIFT Category 9, MT 940 field 61 (error code T51)
The debit/credit mark of a statement line is EC or ED, which the text we checked does not listwarningSWIFT Category 9, MT 940 field 61 (error code T51)
The funds code of a statement line is not the third letter of the currencywarningSWIFT Category 9, MT 940 field 61, subfield 4
The transaction type of a statement line is not S, N or FerrorSWIFT Category 9, MT 940 field 61 (error code T53)
A SWIFT transaction type code is not a number from 100 to 999errorSWIFT Category 9, MT 940 field 61 (error code T18)
A statement line has no customer referencewarningSWIFT Category 9, MT 940 field 61 usage rules
A field 86 is longer than 6 lines of 65 charactersnoteSWIFT Category 9, MT 940 field 86 format
The balances of a message are in currencies that do not share their first two letterserrorSWIFT Category 9, MT 940 network validated rule C2
The balance options (F or M) do not fit the place of the message in its statementwarningSWIFT Category 9, MT 940 fields 60a and 62a usage rules
An opening balance differs from the closing balance of the previous message of the accountwarningSWIFT Category 9, MT 940 field 60a and 62a usage rules
In this file the opening balance plus the entries does not equal the closing balancewarningDerived by this tool; not a printed rule

The wording of every message is fixed, so you can search for it. Those with a link have a page of their own.

Sample files

Made up: no real bank, account or person.

Checked against SWIFT's Category 9 Message Reference Guide (MT 940) and the DFU Agreement, Appendix 3, V3.8 (Die Deutsche Kreditwirtschaft). Not affiliated with SWIFT or any bank.