MT940 guide
Import a stablecoin MT940 statement into your software
Stablefloe delivers an MT940 per address and token every day: text in the SWIFT character set, CRLF line endings, :86: on at most 6 lines of 65 characters. Create a bank account in your software whose identifier is the :25: value, choose the MT940 (SWIFT) import, then check opening and closing balances. Menus depend on the vendor and version; this guide covers the principle and the exact file content.
Updated : 2026-11-12
Steps
Get the day's MT940
In Stablefloe, download the .sta file for the account and date, or fetch it from your sFTP drop. Each file is read back before delivery (structure, lengths, balances).
Create the bank account in your software
Create one bank account (or bank journal) per address and token. Its identifier is the :25: value (e.g. EURC-060A85CA6AA5087D), shown on the account's "Import settings" sheet. It is neither an IBAN nor a BIC: pick an "other identifier" account if the tool offers one. Currency: the token's (EUR for EURC, USD for USDC).
Choose the MT940 import
In the bank or treasury module, start the statement import and select the MT940 format (sometimes "SWIFT MT940"). Do not import the file as CSV.
Import and check
Import the file, then check the opening balance (:60F:), the entries (:61: / :86:) and the closing balance (:62F:). The transaction hash sits alone on the first :86: line, so it stays searchable in one piece for matching.
If the import is rejected
Note the tool's message and the tag involved. Compare with the table below and with your software's profile on the import help page; software that reads MT940 through configured segments (Sage X3, for instance) needs a definition matching the Stablefloe file.
What each MT940 tag contains
Same structure for every account and every day; only the values change. One file = one account (address + token) and one day, in the token's reference currency.
- Tag
- :20:
- Stablefloe content
- Statement reference, unique per account and day (account key + YYMMDD)
- Length
- 16 characters
- Tag
- :25:
- Stablefloe content
- Account identifier, e.g. EURC-060A85CA6AA5087D (same value as camt Acct/Id/Othr/Id)
- Length
- token + 17, at most 22
- Tag
- :28C:
- Stablefloe content
- Statement number YYDDD (year + day of year), restarts at YY001 on 1 January
- Length
- 5 digits
- Tag
- :60F:
- Stablefloe content
- Opening balance: C/D, date YYMMDD, currency, amount with decimal comma
- Length
- —
- Tag
- :61:
- Stablefloe content
- Value date YYMMDD, booking date MMDD, C/D, amount, NTRF, first 16 characters of the hash, //next 12 + log index
- Length
- reference 16, bank reference 16
- Tag
- :86:
- Stablefloe content
- Line 1: transaction hash; line 2: counterparty address; then REF <reference> if any; then nature and name (VIREMENT INTERNE…) if known
- Length
- 6 lines of 65 at most
- Tag
- :62F:
- Stablefloe content
- Closing balance, same format as :60F:
- Length
- —
- Tag
- -
- Stablefloe content
- End of statement
- Length
- —
| Tag | Stablefloe content | Length |
|---|---|---|
| :20: | Statement reference, unique per account and day (account key + YYMMDD) | 16 characters |
| :25: | Account identifier, e.g. EURC-060A85CA6AA5087D (same value as camt Acct/Id/Othr/Id) | token + 17, at most 22 |
| :28C: | Statement number YYDDD (year + day of year), restarts at YY001 on 1 January | 5 digits |
| :60F: | Opening balance: C/D, date YYMMDD, currency, amount with decimal comma | — |
| :61: | Value date YYMMDD, booking date MMDD, C/D, amount, NTRF, first 16 characters of the hash, //next 12 + log index | reference 16, bank reference 16 |
| :86: | Line 1: transaction hash; line 2: counterparty address; then REF <reference> if any; then nature and name (VIREMENT INTERNE…) if known | 6 lines of 65 at most |
| :62F: | Closing balance, same format as :60F: | — |
| - | End of statement | — |
Vendor help that documents MT940 import
These public pages document MT940 statement import. They are not a test of a Stablefloe file: see the "tested with" matrix on the import help page.
- Sage X3 — Import de relevé bancaire avancé, paramétrage et configuration (v12, PDF, 03/2019) (as of 2026-11-12)
- SAP KBA 3716930 — MT940 file upload fails when tag :86: is missing after tag :61: (S/4HANA Cloud Public Edition) (as of 2026-11-12)
- Oracle NetSuite — Bank Statement Parsers SuiteApp (as of 2026-11-12)
FAQ
- MT940 or camt.053?
- Use the format your software documents. When it documents both, camt.053 carries more structured data (transaction codes, counterparty); MT940 remains useful for software that imports it better or only. Each profile states the suggested format.
- Which encoding and line endings?
- The generic profile delivers text limited to the SWIFT character set (unaccented letters, digits and / - ? : ( ) . , ' +), so it is identical in ASCII and UTF-8, without BOM, with CRLF line endings. A profile only changes these options when the vendor documents it.
- What if an MT940 is not compliant?
- It is not delivered: Stablefloe reads back every MT940 before deposit. If a field fails (:86: length, character, balances…), you get an email naming the field; the day's camt.053 is delivered as usual.
- Has Stablefloe tested the import in my software?
- Not yet: to date, Stablefloe has not run a real import in any third-party software. The "tested with" matrix states, per software, whether the vendor documents the format.
This guide is generic. It is not official vendor documentation nor accounting advice. Validate on your version, ideally on a test environment.