BankLint

Rule reference · SEPA Credit Transfer scheme rules · Control sums

SEPA-SCT-CTRLSUM-004: Group header control sum does not match the amounts

The control sum is defined as the total of all individual amounts in the message (equivalent amounts included). The guidelines leave its validation to your agreement with the bank.

SeverityBLOCKER Blocker: the run fails
StatusRecommendation, or depends on your agreement with the bank
Applies topain.001.001.09, SEPA Credit Transfer
Elements checked
/Document/CstmrCdtTrfInitn/GrpHdr/CtrlSum
SourceEPC132-08 2025 Version 1.0, section 2.1.1, item 1.5 · Standards and sources
Typical pain.002 codeAM10 · pain.002 reason codes
Rule packsepa.sct.pain001.v09 v5, effective 2025-10-05

Why it matters

Banks commonly reject a file whose control sum does not match its amounts.

How to fix it

Check the control sum calculation in the export.

Example

Synthetic XML fragments.

Example that fails
<GrpHdr>
  <MsgId>MSG-S-0014</MsgId>
  <CreDtTm>2026-10-16T09:00:00</CreDtTm>
  <NbOfTxs>4</NbOfTxs>
  <CtrlSum>6000.00</CtrlSum>
  <InitgPty>…</InitgPty>
</GrpHdr>
Corrected
<GrpHdr>
  <MsgId>MSG-2026-0001</MsgId>
  <CreDtTm>2026-10-16T09:00:00</CreDtTm>
  <NbOfTxs>4</NbOfTxs>
  <CtrlSum>6460.44</CtrlSum>
  <InitgPty>…</InitgPty>
</GrpHdr>

Try it with a synthetic example

These files are synthetic test data from BankLint's test corpus. Download one, or validate it directly.

  • Control sums do not equal the amounts: a blocker. The guidelines leave this check to your agreement with the bank, but banks reject these files. FAIL · Download · Validate it
  • One payment uses an equivalent amount (USD 1300.00) while the control sums still total the original EUR 1250.00: the control sums do not match (equivalent amounts count). FAIL · Download · Validate it
  • Control sums 6460.441 (a non-zero third decimal): BLOCKER, and the sums no longer match the amounts. FAIL · Download · Validate it

Explained in

Questions

What does SEPA-SCT-CTRLSUM-004 check?

The control sum is defined as the total of all individual amounts in the message (equivalent amounts included). The guidelines leave its validation to your agreement with the bank.

How do I fix “Group header control sum does not match the amounts”?

Check the control sum calculation in the export.

Is this a SEPA requirement?

It is a recommendation of the EPC SEPA Credit Transfer implementation guidelines, or depends on your agreement with the bank.

Which pain.002 reason code goes with it?

A bank that rejects a file for this reason typically reports AM10 in its pain.002 status report; the exact code depends on the bank.

Validate a pain.001 fileFree, no account needed, files are not stored.