StmtRecon
ISO 20022 return and status reasons

FOCR ISO 20022 reason — Return following a cancellation request

FOCR identifies return following a cancellation request in a camt.054 return notification. Link the returned cash to the cancellation case and the original payment before closing the recall.

Open this sample in Air-Gapped Converter

Worked bank sample

Synthetic bank data for local reconciliation.

<Document xmlns="urn:iso:std:iso:20022:tech:xsd:camt.054.001.08"><BkToCstmrDbtCdtNtfctn>
<GrpHdr><MsgId>STMT-FOCR</MsgId><CreDtTm>2026-11-30T17:00:00Z</CreDtTm></GrpHdr>
<Ntfctn><Id>NOTICE-FOCR</Id><CreDtTm>2026-11-30T17:00:00Z</CreDtTm>
<Acct><Id><Othr><Id>EUR-OPERATING</Id></Othr></Id><Ccy>EUR</Ccy></Acct>
<Ntry><NtryRef>RET-FOCR</NtryRef><Amt Ccy="EUR">125.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts>
<BookgDt><Dt>2026-11-30</Dt></BookgDt><AcctSvcrRef>BANK-FOCR-42</AcctSvcrRef><BkTxCd><Prtry><Cd>RETURN</Cd><Issr>REPORTING BANK</Issr></Prtry></BkTxCd>
<NtryDtls><TxDtls><Refs><EndToEndId>RECALL-CASE-06</EndToEndId></Refs>
<Amt Ccy="EUR">125.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><RtrInf><Rsn><Cd>FOCR</Cd></Rsn></RtrInf>
</TxDtls></NtryDtls></Ntry></Ntfctn></BkToCstmrDbtCdtNtfctn></Document>

The bank reports EUR 125.00 credited following the recall. The preview retains the notified amount outside booked totals. Match BANK-FOCR-42 and RECALL-CASE-06 to the statement entry before releasing the case.

The sample uses Ntfctn/Ntry. The SDK reads the paired camt.053 statement. This recipe checks the unprefixed notification layout shown here against its booked entry. Confirm account, currency, amount and bank reference before closing the recall.

Field anatomy

Field or pathMeaning in this fileType or formatERP or Excel import risk
Ntry/NtryDtls/TxDtls/RtrInf/Rsn/CdFollowingCancellationRequestExternalReturnReason1CodeA file-wide lookup can assign FOCR to a sibling TxDtls with a different original payment reference.
TxDtls/Refs/EndToEndIdRECALL-CASE-06Max35TextUsing a statement ID as the clearing key matches unrelated items in the same batch.
Ntry/CdtDbtInd and AmtEUR 125.00 returns to the reporting account.DBIT or CRDT and currency amountInferring direction from the reason can reverse the journal sign.
Ntry/AcctSvcrRefBANK-FOCR-42 identifies the servicing bank booking.Text referencePosting the notification and the statement entry doubles the recovery.

Root cause and ERP fix

  1. A cancellation acknowledgement was booked as recovered cash. Locate the actual statement credit and its value date.
  2. A recall case and payment use different identifiers. Cross-reference the bank case number with the original end-to-end reference.
  3. The recovered amount differs from the claim. Investigate partial recovery, currency and separately booked fees before clearing the residual.

Inspect with the MIT parser

Save the sample as iso-20022-reason-focr.xml and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs iso-20022-reason-focr.xml recall-statement.xml.

Open the matching recall-statement.xml file
import { readFile } from 'node:fs/promises';
import { inspect } from '@stmtrecon/parser';
const text = await readFile(process.argv[2], 'utf8');
const statement = inspect(await readFile(process.argv[3]), { transactions: true });
const ref = text.match(/<EndToEndId>([^<]+)<\/EndToEndId>/)?.[1];
const reason = text.match(/<RtrInf>\s*<Rsn>\s*<Cd>([^<]+)<\/Cd>/)?.[1];
for (const entry of statement.transactions) {
  if (reason === 'FOCR' && entry.details.some(d => d.returnReason === reason && d.endToEndId === ref))
    console.log(ref, reason, entry.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 ISO 20022 return and status reasons

Export your full workbook

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