Error messages / MT940 file validator
An amount is not digits with a decimal comma
What the validator shows
This is the finding for the sample file mt940-error-amount-format.sta:
- ErrorAn amount is not digits with a decimal commaLine 5 · Field 60F (opening balance) · positions 16-24
- Expected
- Digits and a decimal comma, at most 15 characters, for example 1234,50
- Found
- 10.000,00
:60F:C261002EUR10.000,00
Spaces are shown as dots so that they can be counted.
A message of the MT940 file validator, reported as an error. MT940 amounts use a comma as the decimal mark, which is mandatory, and no thousands separator. What the validator accepts and why 10.000,00 is refused.
The format
SWIFT's description says an amount has at least one digit before the decimal comma, that the comma is mandatory, and that the comma counts toward the maximum length of 15 characters (error codes T40 and T43). So 1190,00, 100, and 0, fit. 1190.00, 10.000,00, ,50, 1190, a minus sign or a letter do not.
What the finding shows
The "Found" line gives the text read as the amount. In the sample for this page the opening balance is written 10.000,00, with a dot as thousands separator, as many programs print it.
Why it happens
- The file was written by a program that formats numbers for the screen.
- The amount was edited in a spreadsheet and saved again.
- The field is longer than 15 characters.
What it means for you
Compare the amounts with your statement.
How to fix it
Download the statement again. This tool does not rewrite amounts, and no program should guess them.
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 character is used that the SWIFT character set does not include
- 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)
- 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