BankLint

Rule reference · SEPA Credit Transfer scheme rules · Identifiers

SEPA-SCT-ID-004: Message or payment information ID is blank

The message identification (MsgId) or a payment information identification (PmtInfId) consists of spaces only. The ISO 20022 schema accepts it (at least one character), but the guidelines do not allow elements without content, and an identification of spaces identifies nothing.

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/*/MsgId · PmtInfId
SourceEPC132-08 2025 Version 1.0, section 1.3 (empty elements are not allowed); 2.1.1, items 1.1 and 2.1 · Standards and sources
Rule packsepa.sct.pain001.v09 v5, effective 2025-10-05

Why it matters

Banks use these identifications for duplicate checks and status reports; a blank one is commonly rejected.

How to fix it

Check how message and payment information identifiers are generated; an empty source field must not be exported as spaces.

Example

Synthetic XML fragments.

Example that fails
<PmtInf>
  <PmtInfId>   </PmtInfId>
  <PmtMtd>TRF</PmtMtd>
  <BtchBookg>true</BtchBookg>
  <NbOfTxs>4</NbOfTxs>
  <CtrlSum>6460.44</CtrlSum>
  <PmtTpInf>…</PmtTpInf>
  <ReqdExctnDt>…</ReqdExctnDt>
  <Dbtr>…</Dbtr>
  <DbtrAcct>…</DbtrAcct>
  <DbtrAgt>…</DbtrAgt>
  <ChrgBr>SLEV</ChrgBr>
  …
</PmtInf>
Corrected
<PmtInf>
  <PmtInfId>PMTINF-0001</PmtInfId>
  <PmtMtd>TRF</PmtMtd>
  <BtchBookg>true</BtchBookg>
  <NbOfTxs>4</NbOfTxs>
  <CtrlSum>6460.44</CtrlSum>
  <PmtTpInf>…</PmtTpInf>
  <ReqdExctnDt>…</ReqdExctnDt>
  <Dbtr>…</Dbtr>
  <DbtrAcct>…</DbtrAcct>
  <DbtrAgt>…</DbtrAgt>
  <ChrgBr>SLEV</ChrgBr>
  …
</PmtInf>

Linty calls this bug the Reference Scribbler. Try it in Spot the bug

Try it with a synthetic example

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

  • Payment information identification of spaces only: the schema accepts it, but it identifies nothing. FAIL · Download · Validate it

Explained in

Questions

What does SEPA-SCT-ID-004 check?

The message identification (MsgId) or a payment information identification (PmtInfId) consists of spaces only. The ISO 20022 schema accepts it (at least one character), but the guidelines do not allow elements without content, and an identification of spaces identifies nothing.

How do I fix “Message or payment information ID is blank”?

Check how message and payment information identifiers are generated; an empty source field must not be exported as spaces.

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.

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