Workspace / Technical guides
Technical guidesChecking payment initiation control sums
Reconcile a payment run at transaction, instruction and group levels.
Interpret the record
Count CdtTrfTxInf children per PmtInf. Add their instructed decimal amounts and compare the result with any declared instruction-level control sum.
Control procedure
Repeat the calculation at GrpHdr. A payroll of 1750 and 1500 has a count of two and a control sum of 3250. This check addresses file arithmetic before execution.
Worked example
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.09">
<CstmrCdtTrfInitn><GrpHdr><MsgId>PAY-604</MsgId><NbOfTxs>2</NbOfTxs><CtrlSum>3250.00</CtrlSum></GrpHdr>
<PmtInf><PmtInfId>RUN-06</PmtInfId><NbOfTxs>2</NbOfTxs><CtrlSum>3250.00</CtrlSum><ReqdExctnDt><Dt>2026-06-04</Dt></ReqdExctnDt><DbtrAcct><Id><Othr><Id>PAYROLL</Id></Othr></Id></DbtrAcct>
<CdtTrfTxInf><PmtId><EndToEndId>PAY-00</EndToEndId></PmtId><Amt><InstdAmt Ccy="EUR">1750.00</InstdAmt></Amt><Cdtr><Nm>Employee 1</Nm></Cdtr></CdtTrfTxInf>
<CdtTrfTxInf><PmtId><EndToEndId>PAY-01</EndToEndId></PmtId><Amt><InstdAmt Ccy="EUR">1500.00</InstdAmt></Amt><Cdtr><Nm>Employee 2</Nm></Cdtr></CdtTrfTxInf></PmtInf></CstmrCdtTrfInitn>
</Document>| Excel column | First transaction |
|---|---|
| Account | PAYROLL |
| Currency | EUR |
| Signed_Amount | -1750.00 |
| Reference | PAY-00 |
| Remittance_Info |