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
| Code | AM05 |
|---|---|
| ISO name | Duplication |
| Family | Amount (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
Related reason codes
Read next
- Which ISO 20022 Identifier Do You Trace On? MsgId, InstrId, EndToEndId, TxId, and UETR Five identifiers travel with every payment and only one survives the whole chain. Which to trace on, reconcile on, deduplicate on, and never use as a key.
- Idempotency Testing: Proving Duplicate Requests Are Safe How to test idempotency in APIs and event consumers: idempotency keys, duplicate requests, redelivered events, and race conditions behind double processing.
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.
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.