StmtRecon
MT940 fields and statement controls

Resolve MT940 :61: value date and entry date across year-end

The first six digits of :61: give the value date and the optional next four give the entry month and day. Around year-end these dates can belong to different years, affecting the ledger cutoff and interest reconciliation.

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:C261231EUR100,00
:61:2612310102C25,00NTRFYEAR-END//BK-0102
:86:December value, January booking
:62F:C270102EUR125,00

Field anatomy

Field or pathMeaning in this fileType or formatERP or Excel import risk
:61: positions 1–6Value dateYYMMDDUsing value date puts the posting in December.
Optional next fourEntry date without yearMMDDCopying the value year moves the booking back a year.

Root cause and ERP fix

  1. The ERP uses one date for interest and posting. Stage both fields and assign their roles explicitly.
  2. A January booking inherited the December year. Resolve it against the statement period.
  3. A missing entry date shifted the amount parser. Detect the optional digits before reading the mark.

Inspect with the MIT parser

Save the sample as mt940-value-date-entry-date.sta and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs mt940-value-date-entry-date.sta.

import { readFile } from 'node:fs/promises';
import { inspect } from '@stmtrecon/parser';
const text = await readFile(process.argv[2], 'utf8');
const report = inspect(text, { transactions: true });
const rows = report.transactions;
const { valueDate, bookingDate } = rows[0];
console.log(valueDate, bookingDate, report.header.closingDate);
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.