>_ Analyst Engineering

ISO 20022 reason code

AM05: Suspected duplicate

AM05 is the ISO 20022 reason code for suspected duplicate (Duplication). The payment is suspected to duplicate one already received. A bank or clearing system matched it against an earlier instruction.

Resend?

Investigate before any resend

Check whether the first payment went through before sending anything else. Resending blindly is how double payments happen.

AM05 at a glance

CodeAM05
ISO nameDuplication
FamilyAmount (AM)
As a status reason Duplication ExternalStatusReason1Code, in pacs.002, pain.002 at StsRsnInf/Rsn/Cd
As a return reason Duplication 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 AM05?

  • A resubmission after a timeout, sent with the same identifiers
  • A file or batch processed twice
  • A retry loop in the sending system with no idempotency control

What should an analyst specify for AM05?

  • Trace both payments by EndToEndId and UETR before any action.
  • Specify idempotency on resubmission: the same business payment keeps its identifiers, a genuinely new payment gets new ones.

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

A test case for AM05

Given a pacs.008 resent after a timeout with the same MsgId and EndToEndId

When the receiver rejects the second one with AM05

Then the first payment's status is checked, and no third submission is generated automatically

All ISO 20022 reason codes

Read next

Questions about AM05

What does ISO 20022 reason code AM05 mean?

AM05 (Duplication) means: Duplication The payment is suspected to duplicate one already received. A bank or clearing system matched it against an earlier instruction.

Should a payment rejected with AM05 be resent?

Investigate before any resend. Check whether the first payment went through before sending anything else. Resending blindly is how double payments happen.

Which messages carry AM05?

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