StmtRecon
MT940 fields and statement controls

Map MT940 NTRF, NCHK, NCHG, NMSC and NDDT

The four-character identifier after the amount in :61: describes the transaction type. Use the separate debit or credit mark for direction and the bank’s code table to choose the clearing workflow.

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:261130C5,00NTRFTYPE-0//B-0
:86:Transfer
:61:261130D5,00NCHKTYPE-1//B-1
:86:Check
:61:261130D5,00NCHGTYPE-2//B-2
:86:Charges
:61:261130D5,00NMSCTYPE-3//B-3
:86:Miscellaneous
:61:261130D5,00NDDTTYPE-4//B-4
:86:Direct debit
:62F:C261130EUR85,00

Field anatomy

Field or pathMeaning in this fileType or formatERP or Excel import risk
NTRF / NCHKTransfer / chequeFour charactersUsing type to infer sign misstates outgoing transfers.
NCHG / NMSC / NDDTCharges / miscellaneous / direct debitFour charactersA broad NMSC default can expense principal.

Root cause and ERP fix

  1. A transfer rule assumes every NTRF is a credit. Read the sign independently.
  2. Charges and miscellaneous entries share one expense rule. Separate NCHG and investigate NMSC using the advice.
  3. The direct debit reporting option changed. Confirm the bank’s NDDT mapping before assigning mandates.

Inspect with the MIT parser

Save the sample as mt940-transaction-type-identifiers.sta and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs mt940-transaction-type-identifiers.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 lines = text.split(/\r?\n/).filter(line => line.startsWith(':61:'));
const types = lines.map(line => line.match(/\d,[0-9]*(N[A-Z]{3})/)[1]);
console.table(types.map((type, i) => [type, report.transactions[i].amount]));
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.