Error messages / MT940 file validator
A character is used that the SWIFT character set does not include
What the validator shows
This is the finding for the sample file mt940-warning-character-set.sta:
- WarningA character is used that the SWIFT character set does not includeLine 7 · position 64
- Found
- € U+20AC
:86:166?00SEPA-Gutschrift?109301?20EREF+RE-2026-0931?21SVWZ+Rec€n
Spaces are shown as dots so that they can be counted.
A message of the MT940 file validator, reported as a warning. MT940 uses a narrow character set. Which characters the validator flags (controls, euro sign, byte-order mark, braces) and why a euro sign breaks files.
What is flagged
The German banks' specification (DFU Appendix 3, rule 9 of chapter 8.1) says the SWIFT character set should be followed, and that braces must not be used in the text of a message. The validator flags four kinds of character and nothing else:
- control characters other than the line break, such as a tab or the Ctrl-Z that ends some old files,
- a byte-order mark at the start of the file,
- anything beyond the Latin-1 range, such as the euro sign or a curly quote,
{or}inside a field.
The finding names the line, the position and the character. It is a warning: the same rule adds that a receiving system should not reject the file for it.
Why it happens
- A text was typed or pasted from a word processor, which turns quotes and dashes into characters outside the set.
- The file was saved by an editor as UTF-8 with a byte-order mark, or as UTF-16.
- A payment reference holds a euro sign.
What to do
The sample for this page has a euro sign in an :86: line. If the file came from the bank, the bank wrote it. If you saved it with an editor, download it again and open it only to read. This tool does not replace characters.
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 reference starts or ends with a slash, or has two slashes in a row
- Field 28C is not a statement number of up to 5 digits, optionally followed by / and a sequence number
- 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