StmtRecon
MT940 fields and statement controls

Verify MT940 :60F:/:60M: and :62F:/:62M: continuity

An intermediate page closes with :62M: and the next page carries that booked balance in :60M:. Reconcile movements on each page and compare the carry between pages for the same account and currency.

Open this sample in Air-Gapped Converter

Worked bank sample

Synthetic bank data for local reconciliation.

:20:REPORT-1
:25:EUR-OPERATING
:28C:007/1
:60F:C261130EUR100,00
:61:2611301130C25,00NTRFINV-0042//BANK-841
:86:First page receipt
:62M:C261130EUR125,00
:20:REPORT-2
:25:EUR-OPERATING
:28C:007/2
:60M:C261130EUR125,00
:61:2611301130C25,00NTRFINV-0042//BANK-841
:86:Second page receipt
:62F:C261130EUR150,00

Field anatomy

Field or pathMeaning in this fileType or formatERP or Excel import risk
:60F: / :60M:First / intermediate openingMark + date + currency + amountSumming carried openings duplicates cash.
:62M: → :60M:Adjacent page carrySigned booked balancesBalanced pages can still have a broken carry.

Root cause and ERP fix

  1. A page was omitted during download. Check sequence numbers even when both equations balance.
  2. A debit closing lost its sign. Compare signed amounts and currencies across the carry.
  3. A new account starts in the file. Reset the continuity key when the account changes.

Inspect with the MIT parser

Save the sample as mt940-opening-closing-continuity.sta and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs mt940-opening-closing-continuity.sta.

import { readFile } from 'node:fs/promises';
import { inspect } from '@stmtrecon/parser';
const text = await readFile(process.argv[2], 'utf8');
const blocks = text.replace(/\r/g, '').replace(/^-[ \t]*$/gm, '').trim().split(/(?=^:20:)/m);
const reports = blocks.map(block => inspect(block.trim(), { transactions: true }));
const [first, second] = reports;
console.log(first.closing, second.opening, first.closing === second.opening);
Open this sample in Air-Gapped Converter

Export a multi-sheet Excel workbook with balance checks and batch reconciliation on your device. No Node installation or cloud upload is required.

npm package · SDK source · Format reference

Related MT940 fields and statement controls

Export your full workbook

Purchases are currently unavailable. Existing licenses can be activated offline.