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
| Code | AC04 |
|---|---|
| ISO name | ClosedAccountNumber |
| Family | Account (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
Related reason codes
Read next
- ISO 20022 Reason Codes: AC01 to RR04, the Rejection Codes That Matter The ISO 20022 reason codes analysts meet daily: account codes (AC01, AC04, AC06), amount codes (AM04, AM05), agent and regulatory codes, and what each means.
- Reason Code Mapping: From Error to Customer Message How to map payment reason codes to causes and customer messages: ISO 20022 codes like AC04, internal errors, and the mapping that prevents support incidents.
- Payment Returns, Reversals, and Recalls: pacs.004, pacs.007, and camt.056 ISO 20022 gives three ways to bring money back: returns, reversals, and recalls. Who initiates each, which message carries it, and how to model them.
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.
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.