ValidateFin

pain.001.001.03 — CtrlSum mismatch

A pain.001 whose control sum lies: CtrlSum declares 1 000.00 EUR while the transactions add up to 1 500.00 EUR. The mismatch is reported twice, once for the payment batch and once for the file header.

pain.001.001.03 — Invalid

A pain.001 whose control sum lies: CtrlSum declares 1 000.00 EUR while the transactions add up to 1 500.00 EUR. The mismatch is reported twice, once for the payment batch and once for the file header.

SEPA Credit Transfer (pain.001) pain.001.001.03 ISO 20022Expected result: Invalid — 2 errors

What this file shows

A pain.001 whose control sum lies: CtrlSum declares 1 000.00 EUR while the transactions add up to 1 500.00 EUR. The mismatch is reported twice, once for the payment batch and once for the file header.

Transactions2
Total€1,500.00
SchemeSEPA
Date in the file2026-02-25

The defects it carries

  • CtrlSumPmtInf CtrlSum mismatch: a payment batch declares 1000.00 but its transactions total 1500.00.
  • CtrlSumCtrlSum mismatch: header declares 1000.00 but calculated total is 1500.00.

Quoted verbatim from the validator, not paraphrased.

Last verified: License: CC-BY-4.0

Every party, IBAN and amount below is fictitious. The IBANs are structurally valid — they pass the mod-97 check — but they belong to no real account.

File content

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ValidateFin sample file - SEPA Credit Transfer, pain.001.001.03.
  Expected validation result: INVALID - exactly one error.
  Deliberate defect: CtrlSum declares 1 000.00 EUR but the transactions total
  1 500.00 EUR. The control sum must equal the sum of the amounts it covers.

  All parties and account numbers are fictitious.
  Reference page: https://validatefin.com/en/resources/samples/sepa-pain001-invalid-ctrlsum
  License: CC-BY-4.0
-->
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CstmrCdtTrfInitn>
    <GrpHdr>
      <MsgId>MSG-ERR-CTRLSUM-001</MsgId>
      <CreDtTm>2026-02-23T10:00:00</CreDtTm>
      <NbOfTxs>2</NbOfTxs>
      <CtrlSum>1000.00</CtrlSum>
      <InitgPty>
        <Nm>Societe Test Erreur</Nm>
      </InitgPty>
    </GrpHdr>
    <PmtInf>
      <PmtInfId>PMT-ERR-001</PmtInfId>
      <PmtMtd>TRF</PmtMtd>
      <NbOfTxs>2</NbOfTxs>
      <CtrlSum>1000.00</CtrlSum>
      <PmtTpInf>
        <SvcLvl>
          <Cd>SEPA</Cd>
        </SvcLvl>
      </PmtTpInf>
      <ReqdExctnDt>2026-02-25</ReqdExctnDt>
      <Dbtr>
        <Nm>Societe Test Erreur</Nm>
      </Dbtr>
      <DbtrAcct>
        <Id>
          <IBAN>FR7630006000011234567890189</IBAN>
        </Id>
      </DbtrAcct>
      <DbtrAgt>
        <FinInstnId>
          <BIC>BNPAFRPP</BIC>
        </FinInstnId>
      </DbtrAgt>
      <CdtTrfTxInf>
        <PmtId>
          <EndToEndId>E2E-ERR-001</EndToEndId>
        </PmtId>
        <Amt>
          <!-- Montant reel : 750 €, mais CtrlSum declare 1000 au total -->
          <InstdAmt Ccy="EUR">750.00</InstdAmt>
        </Amt>
        <CdtrAgt>
          <FinInstnId>
            <BIC>SOGEFRPP</BIC>
          </FinInstnId>
        </CdtrAgt>
        <Cdtr>
          <Nm>Creancier Test Un</Nm>
        </Cdtr>
        <CdtrAcct>
          <Id>
            <IBAN>FR0430003000209876543210093</IBAN>
          </Id>
        </CdtrAcct>
        <RmtInf>
          <Ustrd>Paiement test 1</Ustrd>
        </RmtInf>
      </CdtTrfTxInf>
      <CdtTrfTxInf>
        <PmtId>
          <EndToEndId>E2E-ERR-002</EndToEndId>
        </PmtId>
        <Amt>
          <!-- 750 + 750 = 1500, mais CtrlSum dit 1000 → ERREUR -->
          <InstdAmt Ccy="EUR">750.00</InstdAmt>
        </Amt>
        <CdtrAgt>
          <FinInstnId>
            <BIC>CMCIFRPP</BIC>
          </FinInstnId>
        </CdtrAgt>
        <Cdtr>
          <Nm>Creancier Test Deux</Nm>
        </Cdtr>
        <CdtrAcct>
          <Id>
            <IBAN>FR3314508600001234567890150</IBAN>
          </Id>
        </CdtrAcct>
        <RmtInf>
          <Ustrd>Paiement test 2</Ustrd>
        </RmtInf>
      </CdtTrfTxInf>
    </PmtInf>
  </CstmrCdtTrfInitn>
</Document>

How we know these results hold

Every file in this library is run through the site's own validator on each build. The expected result stated above is asserted by an automated test — if a file stopped matching what this page claims, the build would fail. Two inherited fixtures were repaired this way before publication: three IBANs failed the mod-97 check and several names used characters outside the basic SEPA character set.

SEPA Credit Transfer (pain.001)