>_ Analyst Engineering

ISO 20022 reason code

AC04: Closed account number

AC04 is the ISO 20022 reason code for closed account number (ClosedAccountNumber). The account exists in the receiving bank's books but is closed. The identifier was valid, so no correction of the same number can ever make the payment succeed.

Resend?

Do not resend with the same details

Never retry the same account. The payer needs a new, valid account from the beneficiary.

AC04 at a glance

CodeAC04
ISO nameClosedAccountNumber
FamilyAccount (AC)
As a status reason Account number specified has been closed on the bank of account's books. ExternalStatusReason1Code, in pacs.002, pain.002 at StsRsnInf/Rsn/Cd
As a return reason Account number specified has been closed on the bank of account's books ExternalReturnReason1Code, in pacs.004 at RtrRsnInf/Rsn/Cd

Official definitions from the ISO 20022 External Code Sets. Your scheme rulebook decides where the code is permitted.

What usually causes AC04?

  • The beneficiary moved banks and the payer still uses the old details
  • A dormant account closed by the bank
  • A recurring payment or standing order still pointing at a closed account

What should an analyst specify for AC04?

  • Give AC04 its own customer message ("this account is closed, ask the beneficiary for new details"), never the generic account error.
  • Suspend recurring payments and saved beneficiaries that return AC04, so the next run does not fail the same way.
  • Exclude AC04 from any automatic retry logic.

Where AC04 appears in the XML

Illustrative fragment of a pacs.002 (FI to FI payment status report). Identifiers are examples.

<TxInfAndSts>
  <OrgnlEndToEndId>E2E-20261116-0001</OrgnlEndToEndId>
  <TxSts>RJCT</TxSts>
  <StsRsnInf>
    <Rsn>
      <Cd>AC04</Cd>
    </Rsn>
  </StsRsnInf>
</TxInfAndSts>

A test case for AC04

Given a saved beneficiary whose account was closed last month

When the creditor agent returns RJCT with AC04

Then no automatic retry is scheduled, the beneficiary is flagged for update, and the customer is told to obtain new details

All ISO 20022 reason codes

Read next

Questions about AC04

What does ISO 20022 reason code AC04 mean?

AC04 (ClosedAccountNumber) means: Account number specified has been closed on the bank of account's books. The account exists in the receiving bank's books but is closed. The identifier was valid, so no correction of the same number can ever make the payment succeed.

Should a payment rejected with AC04 be resent?

Do not resend with the same details. Never retry the same account. The payer needs a new, valid account from the beneficiary.

Which messages carry AC04?

AC04 is defined as a status reason (ExternalStatusReason1Code, used in pacs.002, pain.002) and a return reason (ExternalReturnReason1Code, used in pacs.004). Each scheme rulebook decides whether it is permitted in a given scenario.

Need the whole flow on one page? The ISO 20022 Payment Flow Cheat Sheet maps every system, status, and message of a payment.

Free account

Practice on a payments platform

The Labs put you inside a fictional payments platform where rejections like this one show up in real contracts and events. A free account saves your progress.

Your email is used to sign you in. Nothing else, unless you ask. Privacy.