>_ Analyst Engineering

ISO 20022 reason code

AM04: Insufficient funds

AM04 is the ISO 20022 reason code for insufficient funds (InsufficientFunds). The funds available do not cover the payment amount. The problem is money on the debit side, not the beneficiary or the data.

Resend?

Resend later, once the condition clears

Resend only after funds are available. For direct debits, follow the scheme and creditor rules on re-presentment.

AM04 at a glance

CodeAM04
ISO nameInsufficientFunds
FamilyAmount (AM)
As a status reason Amount of funds available to cover specified message amount is insufficient. ExternalStatusReason1Code, in pacs.002, pain.002 at StsRsnInf/Rsn/Cd
As a return reason Amount of funds available to cover specified message amount is insufficient. 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 AM04?

  • Balance lower than the payment amount at execution time
  • Funds reserved by other payments or holds
  • A direct debit collected on a day the debtor's account was short

What should an analyst specify for AM04?

  • Never tell the payer the beneficiary's details are wrong when the code is AM04.
  • Define whether your product retries automatically, how many times, and when, and document it for operations.

Where AM04 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>AM04</Cd>
    </Rsn>
  </StsRsnInf>
</TxInfAndSts>

A test case for AM04

Given a scheduled payment with an available balance below the amount

When execution returns AM04

Then the payment is marked as failed for insufficient funds, the customer is told to fund the account, and the configured retry rule applies

All ISO 20022 reason codes

Read next

Questions about AM04

What does ISO 20022 reason code AM04 mean?

AM04 (InsufficientFunds) means: Amount of funds available to cover specified message amount is insufficient. The funds available do not cover the payment amount. The problem is money on the debit side, not the beneficiary or the data.

Should a payment rejected with AM04 be resent?

Resend later, once the condition clears. Resend only after funds are available. For direct debits, follow the scheme and creditor rules on re-presentment.

Which messages carry AM04?

AM04 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.