BankLint

Rule reference · SEPA Credit Transfer scheme rules · IBAN checks

SEPA-SCT-IBAN-002: Creditor IBAN check digits are wrong

The check digits of the creditor IBAN (characters 3 and 4) do not match the rest of the IBAN (ISO 13616, ISO 7064 MOD 97-10).

SeverityBLOCKER Blocker: the run fails
StatusRequirement of the guidelines
Applies topain.001.001.09, SEPA Credit Transfer
Elements checked
/Document/CstmrCdtTrfInitn/PmtInf/CdtTrfTxInf/CdtrAcct/Id/IBAN
SourceISO 13616-1 2020, section IBAN check digits, ISO 7064 MOD 97-10 (EPC132-08 2.1.1 item 2.141 requires an IBAN) · Standards and sources
Typical pain.002 codeAC01 · pain.002 reason codes
Rule packsepa.sct.pain001.v09 v5, effective 2025-10-05

Why it matters

An IBAN with wrong check digits does not exist; the bank rejects the payment.

How to fix it

Check the vendor bank master data for a typing error in the IBAN.

Example

Synthetic XML fragments.

Example that fails
<Id>
  <IBAN>NL85TEST0000000022</IBAN>
</Id>
Corrected
<Id>
  <IBAN>NL84TEST0000000022</IBAN>
</Id>

Linty calls this bug the Digit Dodger. 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.

  • Creditor IBAN of the second transaction with wrong check digits. FAIL · Download · Validate it

Explained in

Questions

What does SEPA-SCT-IBAN-002 check?

The check digits of the creditor IBAN (characters 3 and 4) do not match the rest of the IBAN (ISO 13616, ISO 7064 MOD 97-10).

How do I fix “Creditor IBAN check digits are wrong”?

Check the vendor bank master data for a typing error in the IBAN.

Is this a SEPA requirement?

Yes. SEPA requires it, and BankLint checks it against ISO ISO 13616-1 2020, section IBAN check digits, ISO 7064 MOD 97-10 (EPC132-08 2.1.1 item 2.141 requires an IBAN).

Which pain.002 reason code goes with it?

A bank that rejects a file for this reason typically reports AC01 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.