Error messages / MT940 file validator

The transaction type of a statement line is not S, N or F

What the validator shows

This is the finding for the sample file mt940-error-transaction-type.sta:

  1. ErrorThe transaction type of a statement line is not S, N or F
    Line 6 · Field 61 (statement line) · Transaction type · position 24
    Expected
    S, N or F
    Found
    Q
    :61:2610051005CR1190,00QTRFNONREF//2026100500001

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

A message of the MT940 file validator, reported as an error. After the amount, a :61: line has one letter for the transaction type: S, N or F. What each means and what the validator says about other letters.

The rule

After the amount, the field :61: has one letter and three more characters. SWIFT's description says the letter must be S, N or F (error code T53). With S, the three characters are a SWIFT message type number; with N and F they are an identification code such as TRF for a transfer. The validator checks the letter and, for S, that the three characters are a number from 100 to 999.

What it does not check

The identification codes themselves are not checked. The text lets banks use others, and this tool carries no list of them.

What the finding shows

The "Found" line gives the letter. In the sample for this page it is Q where the statement has N.

Why it happens

What it means for you

Programs may use this code to classify entries. An unknown letter may leave the entry unclassified or stop the import.

How to fix it

Ask the bank. This tool does not change the file.

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