StmtRecon
MT940 fields and statement controls

Map MT940 :86: evidence to camt.053 transaction paths

A structured MT940 narrative combines identifiers and purpose text that camt.053 can deliver in separate TxDtls elements. Reconcile entry totals before testing detail-level reference coverage during a parallel run.

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:166?00TRANSFER?20EREF+MIG-0042?21SVWZ+INV-042?32EXAMPLE SUPPLY
:62F:C261130EUR125,00

Field anatomy

Field or pathMeaning in this fileType or formatERP or Excel import risk
EREF+ → TxDtls/Refs/EndToEndIdOriginal payment referenceIdentifier stringUsing NtryRef joins at the wrong level.
SVWZ+ → TxDtls/RmtInf/UstrdUnstructured remittanceRepeatable textTaking one line drops invoice allocations.
?32 → TxDtls/RltdPtiesName under the applicable party roleVersion-dependent party elementA fixed debtor mapping swaps parties on debits.

Root cause and ERP fix

  1. The XML groups payments under one Ntry. Compare the entry amount before expanding children.
  2. A migration searches across the whole document. Resolve identifiers within each TxDtls.
  3. ERP match rates fell despite equal totals. Compare remittance, parties and references on the same booked movements.

Inspect with the MIT parser

Save the sample as mt940-structured-narrative-to-camt053-paths.sta and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs mt940-structured-narrative-to-camt053-paths.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 fields = report.transactions[0].subfields;
const purpose = fields.filter(f => /^2\d$/.test(f.code)).map(f => f.text).join('');
console.log({ endToEndId: purpose.match(/EREF\+(.+?)SVWZ\+/)[1], ustrd: purpose.split('SVWZ+')[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.