BankLint

Rule reference · SEPA Credit Transfer scheme rules · Number of transactions

SEPA-SCT-NBOFTXS-002: Group header number of transactions does not match

NbOfTxs is defined as the number of individual transactions in the message. 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/NbOfTxs
SourceEPC132-08 2025 Version 1.0, section 2.1.1, item 1.4 · Standards and sources
Typical pain.002 codeAM18 · pain.002 reason codes
Rule packsepa.sct.pain001.v09 v5, effective 2025-10-05

Why it matters

Banks commonly reject a file whose number of transactions does not match.

How to fix it

Check the transaction count in the export.

Example

Synthetic XML fragments.

Example that fails
<GrpHdr>
  <MsgId>MSG-2026-0001</MsgId>
  <CreDtTm>2026-10-16T09:00:00</CreDtTm>
  <NbOfTxs>5</NbOfTxs>
  <CtrlSum>6460.44</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.

  • Number of transactions does not match: a blocker, although the guidelines leave this check to your agreement with the bank. FAIL · Download · Validate it

Explained in

Questions

What does SEPA-SCT-NBOFTXS-002 check?

NbOfTxs is defined as the number of individual transactions in the message. The guidelines leave its validation to your agreement with the bank.

How do I fix “Group header number of transactions does not match”?

Check the transaction count 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 AM18 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.