StmtRecon
MT940 fields and statement controls

Preserve each dated MT940 :65: forward available balance

Repeated :65: fields give available balances for future value dates. Each amount is a position at its date, so the cash forecast should retain a dated series.

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:Release in two stages
:62F:C261130EUR125,00
:64:C261130EUR100,00
:65:C261201EUR110,00
:65:C261202EUR125,00

Field anatomy

Field or pathMeaning in this fileType or formatERP or Excel import risk
:65: dateEffective value dateYYMMDD per occurrenceA single cell keeps only the last observation.
:65: amountForward available positionSigned currency amountAdding 110 and 125 doubles forecast liquidity.

Root cause and ERP fix

  1. A dictionary keyed by tag overwrote the first date. Store one observation per occurrence.
  2. The forecast added balances as inflows. Difference successive positions for the same account and currency.
  3. A missing date was filled with zero. Preserve the gap and verify the release schedule.

Inspect with the MIT parser

Save the sample as mt940-forward-available-balances.sta and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs mt940-forward-available-balances.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 forward = [...text.matchAll(/^:65:([CD])(\d{6})([A-Z]{3})([\d,]+)/gm)];
console.table(forward.map(m => [report.header.statementNumber, ...m.slice(1)]));
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.