Error messages / MT940 file validator

This does not look like an MT940 file

What the validator shows

This is the finding for the sample file mt940-error-not-mt940.txt:

  1. ErrorThis does not look like an MT940 file
    Found
    Kontoauszug Oktober

Spaces are shown as dots so that they can be counted.

A message of the MT940 file validator, reported as an error. An MT940 statement is built from fields that start with a tag such as :20: or :60F:. What the validator looks for and what usually goes wrong.

What the validator looks for

An MT940 statement is plain text. Each field begins on a new line with its tag between two colons: :20: for the reference, :25: for the account, :28C: for the statement number, :60F: for the opening balance, :61: for an entry. The validator reports this message when none of the lines of the file starts with one of those five tags.

What it usually means

How to fix it

Open the file in a text editor. A real MT940 file shows lines like :20: and :61:, one field per line. If it shows something else, download the statement again from the bank and choose the MT940 or SWIFT format. This tool does not change files.

The sample file for this page holds one sentence and no field at all.

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.

Check your own file

Other MT940 file messages