FF01 ISO 20022 reason — Invalid file format
FF01 identifies invalid file format in a pain.002 status report. A format rejection can apply to an entire file. Hold the original payment run while determining which records the bank accepted.
Open this sample in Air-Gapped ConverterWorked bank sample
Synthetic bank data for local reconciliation.
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.10"><CstmrPmtStsRpt>
<GrpHdr><MsgId>ACK-FF01</MsgId><CreDtTm>2026-11-30T09:00:00Z</CreDtTm></GrpHdr>
<OrgnlGrpInfAndSts><OrgnlMsgId>PAY-604</OrgnlMsgId><OrgnlMsgNmId>pain.001.001.09</OrgnlMsgNmId>
<GrpSts>RJCT</GrpSts>
<StsRsnInf><Rsn><Cd>FF01</Cd></Rsn></StsRsnInf>
</OrgnlGrpInfAndSts></CstmrPmtStsRpt></Document>The status table should show PAY-604, RJCT and FF01. Its amount cells stay empty. Use the original group ID to locate the payment run in the ERP.
The sample reports a group rejection. The SDK checks the paired pain.001 initiation. The extraction below reads the unprefixed pain.002 layout shown here. Pass the original instruction as the second filename.
Field anatomy
| Field or path | Meaning in this file | Type or format | ERP or Excel import risk |
|---|---|---|---|
| OrgnlGrpInfAndSts/OrgnlMsgId | Original payment file identifier | Max35Text | Matching the acknowledgement’s own MsgId leaves the payment run open. |
| OrgnlGrpInfAndSts/GrpSts | Group processing status | RJCT | A group rejection recorded as cash creates a false ledger entry. |
| StsRsnInf/Rsn/Cd | InvalidFileFormat | ExternalStatusReason1Code | Do not use FF01 as a booked return reason. File the exception against the original message identifier. |
Root cause and ERP fix
- The file declares a different message version from the contracted channel. Validate the namespace against the bank profile.
- A transform dropped a required element or changed element order. Validate the submitted bytes against the matching schema.
- The ERP marked every invoice paid when the file was sent. Reconcile the group status and any separate accepted file before clearing the run.
Inspect with the MIT parser
Save the sample as iso-20022-reason-ff01.xml and the script as inspect.mjs. With @stmtrecon/parser installed, run node inspect.mjs iso-20022-reason-ff01.xml original.xml.
Open the matching original.xml fileimport { readFile } from 'node:fs/promises';
import { inspect } from '@stmtrecon/parser';
const text = await readFile(process.argv[2], 'utf8');
const original = inspect(await readFile(process.argv[3]));
const group = text.match(/<OrgnlGrpInfAndSts>([\s\S]*?)<\/OrgnlGrpInfAndSts>/)?.[1];
const id = group?.match(/<OrgnlMsgId>([^<]+)<\/OrgnlMsgId>/)?.[1];
const reason = group?.match(/<StsRsnInf>\s*<Rsn>\s*<Cd>([^<]+)<\/Cd>/)?.[1];
if (id === original.header.messageId && reason === 'FF01') console.log(id, reason);Open this sample in Air-Gapped ConverterExport 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