Error messages / MT940 file validator

A mandatory field of the statement is missing or empty

What the validator shows

This is the finding for the sample file mt940-error-missing-28c.sta:

  1. ErrorA mandatory field of the statement is missing or empty
    Line 2 ยท Field 28C
    Expected
    Field 28C
    Found
    No such field in the message
    :20:MUSTER-2026-190

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

A message of the MT940 file validator, reported as an error. Fields 20, 25, 28C, 60a and 62a are mandatory in every MT940 message. How to see which one is missing and why files leave one out.

The five mandatory fields

In SWIFT's description of the MT940, a statement message has five fields that must be present: :20: (transaction reference), :25: (account), :28C: (statement number and sequence), :60F: or :60M: (opening balance) and :62F: or :62M: (closing balance). Entries (:61:) are optional. The validator reports one finding for each field that is absent or empty, and says which in the "Expected" line.

Why a file leaves one out

What it means for you

Software that reads MT940 may refuse a message with a mandatory field missing, or fill the gap in its own way. The sample for this page is a normal statement with the :28C: line taken out.

How to fix it

Ask the bank for the statement again, as a complete file. This tool does not add the field for you: a statement number is the bank's, not ours.

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