Sage X3 guide · MT940
Import a Stablefloe MT940 statement into Sage X3
Sage X3 reads an MT940 segment by segment, following definitions (position, length) you enter; a definition made for one bank's MT940 may not read Stablefloe's. Create a dedicated import format: :25: (at most 30 characters) = the bank account's "Account reference", segments :20: :25: :28C: :60F: :61: :86: :62F:, without making :61: and :86: mandatory. This guide follows public Sage X3 v12 help; Stablefloe has not yet run a real import in Sage X3.
Updated : 2026-11-12
Steps (Sage X3, advanced bank statement import)
Enable advanced import
The module requires the BSI activity code (bank statement import). If you are not an administrator, ask your Sage partner.
Fill in the bank account reference
Sage X3 reads :25: into REFBAN (30 characters) and finds the account by the "Account reference" field of the bank account (GESBAN). Enter the Stablefloe account identifier there, exactly (e.g. EURC-060A85CA6AA5087D, at most 22 characters). Account currency = token currency: a statement in another currency is rejected.
Define the segments
Create one segment per tag: :20: (reference, A(20) in BSITRS), :25: (REFBAN), :28C: (number, A(12) in SEQNUM), :60F: and :62F: (C/D, date YYMMDD, currency, amount with decimal comma), :61: (see the table), :86: (free text on 6 lines, no ?00 / ?20 subfields: line 1 carries the hash). The segment ID is the exact tag: :60F: and :62F:, not :60: or :62:.
Define the bank import format
In the format definition, list the segments in file order. In our file: :20: :25: :28C: :60F: as header (:60F:, the last header before lines, set to "Create"), :61: then :86: as lines (:86:, the last line segment, set to "Create"), :62F: as closing header ("Update"). Do not declare :61: or :86: mandatory: a day without movement has none.
Import a sample, then real files
Fill in the bank import settings for the company and account, first import the Sage X3 sample file into a test company, check balances and entries, then move to the account's files. Sage X3 checks neither balance nor statement number on import: Stablefloe checks opening + entries = closing before each delivery.
Stablefloe :61: segment, field by field
Values from the Stablefloe file, laid out like the :61: segment description in the Sage X3 guide. Example: :61:2609300930C12500,00NTRF5C1A000000000000//000000000000-0
- Field
- Segment ID
- Stablefloe value
- :61:
- Length
- 4 fixed
- Field
- Value date
- Stablefloe value
- 260930 (YYMMDD)
- Length
- 6 fixed
- Field
- Booking date
- Stablefloe value
- 0930 (MMDD)
- Length
- 4 fixed
- Field
- Debit/credit
- Stablefloe value
- C or D (never RC / RD)
- Length
- 2 variable
- Field
- Amount
- Stablefloe value
- 12500,00 (decimal comma)
- Length
- 15 variable
- Field
- Constant
- Stablefloe value
- N
- Length
- 1 fixed
- Field
- Transaction code
- Stablefloe value
- TRF
- Length
- 3 fixed
- Field
- Reference
- Stablefloe value
- first 16 characters of the hash, then //bank reference (ignored at the end of the segment)
- Length
- 16 variable
| Field | Stablefloe value | Length |
|---|---|---|
| Segment ID | :61: | 4 fixed |
| Value date | 260930 (YYMMDD) | 6 fixed |
| Booking date | 0930 (MMDD) | 4 fixed |
| Debit/credit | C or D (never RC / RD) | 2 variable |
| Amount | 12500,00 (decimal comma) | 15 variable |
| Constant | N | 1 fixed |
| Transaction code | TRF | 3 fixed |
| Reference | first 16 characters of the hash, then //bank reference (ignored at the end of the segment) | 16 variable |
Sage X3 sources
Steps and constraints taken from public Sage X3 v12 help ("Import de relevé bancaire avancé — paramétrage et configuration", 03/2019, and the segment online help). Stablefloe values come from our generator. Validate on your version.
- Sage X3 — Import de relevé bancaire avancé, paramétrage et configuration (v12, PDF, 03/2019) (as of 2026-11-12)
- Sage X3 — Bank import segment definition (online help) (as of 2026-11-12)
FAQ
- Why does my bank's MT940 import but not Stablefloe's?
- Because Sage X3 reads MT940 with the segments you defined for that bank. If those segments expect another tag (:60: instead of :60F:), another :28C: form or a structured :86: (?00, ?20…), the Stablefloe file does not match. Sage X3 help provides for several import formats for different MT940 variants: create one for Stablefloe.
- MT940 or camt.053 for Sage X3?
- Sage X3 documents both. camt.053 has a default mapping (and the Sage X3 profile adds EndToEndId, which it reads); MT940 requires the segment definitions above. Pick the one your team or Sage partner knows best.
- What does Stablefloe's Sage X3 profile do to the MT940?
- It keeps the generic format, which Sage X3 help does not contradict, and adds two checks before delivery: :25: at most 30 characters (REFBAN) and :28C: at most 12 (SEQNUM). If a field fails, the MT940 is not delivered and the email names the field.
- Has Stablefloe tested the import in Sage X3?
- Not yet. This guide describes public Sage X3 help and the exact content of our files; the "tested with" matrix will say "tested" only after a real import.
This guide is not official Sage documentation nor accounting advice. Screens and codes come from Sage X3 v12 help and may differ in your version. Validate with your administrator or Sage partner.