ISO 20022 reference · BPMN 2.0
The ISO 20022 Payment Process in BPMN: 8 Scenarios, Every Status
An ISO 20022 credit transfer is a conversation between five parties: the debtor, the debtor agent, the clearing and settlement mechanism (CSM), the creditor agent and the creditor. This page models that conversation as eight BPMN 2.0 collaboration diagrams: the happy path, rejections at both banks, a timeout, a lost status, a fraud hold, a fraud recall and a return after settlement. Every message flow is labelled with its ISO 20022 message (pain.001, pacs.008, pacs.002, pacs.028, pacs.004, camt.056, camt.029, camt.054) and the status or reason code it carries.
These are real BPMN models, not flowcharts: pools, message flows, event-based gateways, timers and error boundary events. Each scenario downloads as a .bpmn file that opens in Camunda Modeler or bpmn.io, so you can start your own process model from it instead of from a blank canvas.
- 8 scenarios
- BPMN 2.0 XML + SVG downloads
- ISO 20022 base status semantics
- Updated November 2026
How to read the diagrams
Each organisation is a pool, because each one runs its own process and only messages cross between them. Columns are moments in time, so a message always drops straight down or up to the next pool. Faded shapes are the road not taken in that scenario.
The five participants
- Debtor Dbtr
- The customer who pays. Sends the pain.001, receives pain.002 statuses. Drawn as a black-box pool: only its messages matter.
- Debtor agent DbtrAgt
- The debtor's bank. Validates, screens, debits or reserves, sends the pacs.008 and reports every status back.
- CSM InstgAgt / InstdAgt
- The clearing and settlement mechanism (an instant scheme, an ACH or an RTGS). Routes, times out, settles, relays pacs.002, pacs.004 and camt messages.
- Creditor agent CdtrAgt
- The creditor's bank. Checks the account, accepts or rejects, credits, returns, and answers recalls.
- Creditor Cdtr
- The beneficiary. A black-box pool that receives the credit notification or a consent request.
The notation used
- Message start event A message (pain.001, pacs.008, camt.056) starts the process.
- Message catch event The process waits for a message, usually a pacs.002.
- Message end event Sends a message, then the process ends. Green for a success, red for a rejection.
- End event The process ends without sending anything.
- Timer event A time limit: the scheme timeout, a status SLA, a return window.
- Error boundary event A technical failure interrupts the task it sits on.
- Exclusive gateway A question with one answer: exactly one branch is taken.
- Event-based gateway Waits for several events; the first one to occur wins. The timeout pattern.
- Service task Done by a system: validation, screening, settlement.
- User task Done by a person: a fraud analyst, an operations agent.
- Send task The task sends an ISO 20022 message.
- Call activity Reuses another process: here, a scenario drawn elsewhere on this page.
- Sequence flow Order of steps inside one organisation.
- Message flow A message between organisations, labelled with the ISO 20022 message and its status.
All eight scenarios at a glance
| Scenario | Debtor sees | Outcome | Money moved | Codes |
|---|---|---|---|---|
| 1. Happy path: settled and credited | ACTC → ACSP → ACSC | ACSC | Yes, settled and credited | none |
| 2. Rejected by the debtor bank: FF01, AM05, AM04 | RJCT | RJCT | No | FF01, AM05, AM04 |
| 3. Rejected by the creditor bank: AC04 closed account | RJCT | RJCT | No: reserved, then released | AC04 |
| 4. Technical error: creditor bank timeout, AB05 | RJCT | RJCT | No | AB05 |
| 5. Technical error: status never arrives, pacs.028 investigation | ACSP → ACSC or RJCT | ACSC or RJCT | Depends on the status returned | none |
| 6. Fraud: screening alert, hold, PDNG, then reject | ACTC → PDNG → RJCT | RJCT | No | FR01 |
| 7. Fraud after settlement: camt.056 recall, pacs.004 or camt.029 | no pain.002 | Funds returned (pacs.004 FOCR) or recall refused (camt.029 RJCR) | Yes, and back only if the recall succeeds | FRAD, FOCR |
| 8. Return after settlement: pacs.004 AC04 | ACSC → then a return | ACSC, then returned | Yes, twice: out and back | AC04 |
Scenario 1 of 8 · Happy path
Happy path: settled and credited
The debtor sends a pain.001, the debtor agent validates and debits, the pacs.008 crosses the CSM to the creditor agent, which accepts with a pacs.002 ACCP; the CSM settles and confirms ACSC to both agents, the creditor is credited and the debtor receives pain.002 ACSC.
Step by step
- Debtor agent: receives the pain.001, authenticates it and validates syntax and content, then reports pain.002 ACTC (technical validation passed).
- Debtor agent: screens the payment, checks limits and funds, debits the debtor account and sends the pacs.008 to the CSM. It reports pain.002 ACSP: accepted, settlement in process, not final.
- CSM: validates and routes the pacs.008 to the creditor agent.
- Creditor agent: checks the creditor account and screens the payment, then answers with a pacs.002 ACCP (accepted after the customer profile checks).
- CSM: settles between the two agents and sends pacs.002 ACSC (settlement completed) to both.
- Creditor agent: credits the creditor account and sends a camt.054 credit notification.
- Debtor agent: on the pacs.002 ACSC, reports pain.002 ACSC to the debtor. Only now may a channel say the payment is done.
Where schemes differ
Who sends which positive pacs.002 is scheme-specific. Instant schemes such as SEPA Instant define an explicit positive confirmation from the creditor agent and a confirmation from the CSM to both sides; many batch schemes send no positive pacs.002 at all and report only rejections.
Scenario 2 of 8 · Business error
Rejected by the debtor bank: FF01, AM05, AM04
The debtor agent runs three gates before any money moves: schema validation (failure is pain.002 RJCT FF01, often for the whole file), duplicate detection (RJCT AM05) and the funds check (RJCT AM04). Each rejection ends the process at the front door.
The debtor sees: RJCT
Step by step
- Debtor agent: receives the pain.001 and validates it against the schema and the bank's usage guidelines.
- Invalid file: the whole message is refused with pain.002 RJCT FF01, usually at group level (GrpSts), because no transaction in a malformed file can be trusted. This is the technical error of the three.
- Duplicate check: the same debtor, amount, creditor and reference inside the duplicate window returns pain.002 RJCT AM05 for that transaction.
- Funds check: if the available balance does not cover the amount, the transaction is rejected with pain.002 RJCT AM04.
- All three gates passed: the payment continues as in scenario 1.
Where schemes differ
The order of the gates, the duplicate window and whether a file-level FF01 rejects one transaction or the whole group are bank and channel rules, not ISO 20022 rules. Check them in the bank's customer implementation guide.
Scenario 3 of 8 · Business error
Rejected by the creditor bank: AC04 closed account
The creditor agent finds the account closed and answers the pacs.008 with pacs.002 RJCT AC04; the CSM forwards the rejection without settling, the debtor agent releases the reserved funds and reports pain.002 RJCT AC04. Nothing settled, so nothing has to be returned.
The debtor sees: RJCT
Step by step
- Debtor agent: validates, screens and checks funds, reserves the amount and sends the pacs.008.
- CSM: validates and forwards the pacs.008 to the creditor agent.
- Creditor agent: the account is closed, so it answers pacs.002 RJCT AC04 instead of accepting.
- CSM: forwards the pacs.002 RJCT AC04 to the debtor agent. No settlement takes place.
- Debtor agent: releases the reservation and reports pain.002 RJCT AC04. The debtor must get a new account from the creditor: retrying the same account can never work.
Where schemes differ
This is the pre-settlement rejection of instant and real-time schemes. In a batch scheme the creditor agent often discovers the closed account after settlement, and the money comes back as a return instead: that is scenario 8.
Scenario 4 of 8 · Technical error
Technical error: creditor bank timeout, AB05
The creditor agent's core system fails while checking the account, no answer reaches the CSM before the scheme timeout, so the CSM stops the transaction and sends pacs.002 RJCT AB05 to both agents: the debtor agent releases the funds, the creditor agent must not credit a late payment.
The debtor sees: RJCT
Step by step
- Debtor agent: reserves the funds and sends the pacs.008.
- CSM: forwards the pacs.008 and starts the scheme timer, then waits for whichever comes first: the creditor agent's pacs.002 or the timeout.
- Creditor agent: the core banking call fails during the account check (the error boundary event), so no answer is produced in time.
- CSM: the timer wins. It stops the transaction without settlement and sends pacs.002 RJCT AB05 (timeout at the creditor agent) to both agents.
- Debtor agent: releases the reservation and reports pain.002 RJCT AB05. The debtor can retry later: nothing is wrong with the payment data.
- Creditor agent: after recovery it receives the RJCT AB05 and must close the transaction without crediting, even if its own late answer was positive.
Where schemes differ
AB05 (timeout at the creditor agent), AB06 (timeout at an instructed agent) and AB03 (settlement aborted on timeout) are distinct codes: the scheme rulebook says which one the CSM uses, and the timer value (seconds for instant schemes) comes from the same rulebook.
Scenario 5 of 8 · Technical error
Technical error: status never arrives, pacs.028 investigation
The CSM processed the payment but its pacs.002 never reached the debtor agent; when the debtor agent's own status timer fires it sends a pacs.028 status request, receives a fresh pacs.002 and only then reports ACSC or RJCT to the debtor. A payment without a status is stuck, not successful.
Step by step
- Debtor agent: validates, reserves and sends the pacs.008, then waits for a status.
- CSM: processes the payment and sends its pacs.002, which is lost in transit (network, queue, or a gateway that dropped it).
- Debtor agent: its status timer fires first, so it sends a pacs.028 (FI to FI payment status request) quoting the original identifiers.
- CSM: looks the transaction up and answers with a pacs.002 carrying the current status.
- Debtor agent: ACSC means report pain.002 ACSC; RJCT means release the funds and report RJCT with the reason received. PDNG means wait and ask again, with a limit.
Where schemes differ
Not every rail supports pacs.028: some use a proprietary inquiry API, and SWIFT cross-border payments rely on the gpi tracker and the UETR. The timer value is an internal SLA, set below the scheme timeout so the bank asks before the customer does.
Scenario 6 of 8 · Fraud
Fraud: screening alert, hold, PDNG, then reject
Fraud screening raises an alert, the debtor agent holds the payment and reports pain.002 PDNG, an analyst investigates and calls the customer; confirmed fraud stops the payment with pain.002 RJCT, while a false positive is released into the normal flow.
Step by step
- Debtor agent: validates the pain.001 and reports pain.002 ACTC.
- Debtor agent: fraud and sanctions screening raises an alert, so the payment is held before any debit and the debtor receives pain.002 PDNG (pending: further checks will be performed).
- Fraud analyst: investigates the alert and calls the customer (a user task: a person does it, not a system).
- Fraud confirmed (account takeover, or the customer recognises a scam): the payment is stopped, a fraud case is opened and the debtor receives pain.002 RJCT.
- False positive: the hold is released and the payment continues as in scenario 1.
Where schemes differ
The reason code on a fraud rejection is a bank policy decision. FR01 (returned as a result of fraud) is explicit; many banks deliberately use a vague code or a narrative so a fraudster in control of the account learns nothing. A sanctions hit is different again: funds may be frozen rather than rejected, and RR04 or no detail at all is the usual answer.
Scenario 7 of 8 · Fraud
Fraud after settlement: camt.056 recall, pacs.004 or camt.029
The payment already settled when the debtor reports fraud, so it can no longer be rejected: the debtor agent sends a camt.056 recall with reason FRAD, the creditor agent asks the creditor for consent, and answers either with a pacs.004 return (reason FOCR, funds come back) or a camt.029 refusing the recall (RJCR).
Step by step
- Debtor: reports the fraud to the bank (phone, app, branch). This is not an ISO 20022 message.
- Debtor agent: assesses the claim, then sends a camt.056 (FI to FI payment cancellation request) with cancellation reason FRAD.
- CSM: forwards the camt.056 to the creditor agent.
- Creditor agent: asks the creditor for consent to debit the account (required for a fraud recall in most schemes) and checks the funds are still there.
- Consent given and funds available: the creditor agent sends a pacs.004 return with reason FOCR (return following a cancellation request); the CSM settles it and the debtor agent credits the debtor.
- Consent refused, no answer, or the funds are gone: the creditor agent answers camt.029 (resolution of investigation) with status RJCR and a reason; the debtor agent tells the debtor the money was not recovered.
Where schemes differ
Time limits and refusal reasons are rulebook matters. In SEPA the rulebook sets the deadline for sending a recall and gives the creditor bank 15 banking days to answer; refusal reasons there include NOAS (no answer from the creditor), CUST (creditor refuses) and AM04 (funds no longer available). A FRAD recall is a request, never a guarantee.
Scenario 8 of 8 · Exception
Return after settlement: pacs.004 AC04
In a batch scheme the payment settles before the creditor agent applies it; the creditor agent then finds the account closed and sends the money back with a pacs.004 return, reason AC04. The debtor saw ACSC, and later receives the funds back with a camt.054 carrying the return reason.
The debtor sees: ACSC → then a return
Step by step
- Debtor agent: validates, debits the debtor, sends the pacs.008 and reports pain.002 ACSC once it is settled in the cycle.
- CSM: settles in the clearing cycle and forwards the pacs.008.
- Creditor agent: applies the payment after settlement and finds the account closed.
- Creditor agent: sends a pacs.004 (payment return) with return reason AC04 inside the scheme's return window. A return is a new money movement in the opposite direction, not a status.
- CSM: settles the return and forwards the pacs.004.
- Debtor agent: credits the debtor and notifies the return with a camt.054 carrying AC04. The original payment stays ACSC: the return is a second transaction linked to it, which reconciliation must match.
Where schemes differ
Return windows are set by the rulebook (a few interbank business days for SEPA credit transfers, for example). The difference with scenario 3 is timing: before settlement the answer is a rejection (pacs.002 RJCT), after settlement it is a return (pacs.004).
The whole flow on one page
The diagrams show one scenario at a time. The ISO 20022 Payment Flow Cheat Sheet puts every system, message and status of a payment on one printable page, to keep next to the model while you write the specification.
How to use these models on a payments project
- Download the happy path and replace the generic participants with your real ones: your payment hub, the scheme (SEPA Instant, FedNow, Lynx, CBPR+), your correspondent.
- Walk every exception scenario with the team and mark the ones your platform cannot handle today. The missing branch is the requirement.
- Replace the base ISO 20022 statuses with the ones your scheme's usage guidelines allow at each step, and note the timers the rulebook imposes.
- Turn each message flow into a test case: the message, its status, its reason code, and the customer message it must produce. The reason code guides give the expected behaviour per code.
- Model the statuses as a state machine next to the BPMN: the process says who does what, the state machine says which transitions are legal.
Questions about modelling payments in BPMN
How do you model an ISO 20022 payment in BPMN?
As a BPMN collaboration: one pool per organisation (debtor, debtor agent, clearing and settlement mechanism, creditor agent, creditor), sequence flows only inside a pool, and one message flow per ISO 20022 message between pools, labelled with the message and its status or reason code, for example pacs.002 RJCT AC04. Each exception path (rejection, timeout, recall, return) gets its own diagram so the happy path stays readable.
Should banks be pools or lanes in a payment BPMN diagram?
Pools. Two banks are separate organisations that do not share a process or control each other's steps: they only exchange messages, and in BPMN that is exactly what pools and message flows express. Lanes are for roles inside one organisation, such as operations and the fraud team inside the debtor agent. Drawing two banks as lanes of one pool implies a single process owner that does not exist.
How do you model a payment timeout in BPMN?
With an event-based gateway followed by two catch events: a message catch event for the expected pacs.002 and a timer catch event for the scheme timeout. Whichever occurs first takes the token. On the timer branch the CSM rejects with pacs.002 RJCT and a timeout code such as AB05, and notifies both agents so the creditor is not credited late.
What is the difference between a rejection and a return in the payment process?
Timing and money. A rejection (pacs.002 RJCT) happens before settlement: nothing moved, the debtor agent only releases the reservation. A return (pacs.004) happens after settlement: it is a new payment in the opposite direction, with its own settlement and a return reason such as AC04, and the original payment stays settled. A recall (camt.056) is a request to return money, answered by a pacs.004 if accepted or a camt.029 if refused.
Can I open these diagrams in Camunda Modeler or bpmn.io?
Yes. Each scenario downloads as BPMN 2.0 XML with diagram interchange (shapes, waypoints and label positions), checked with bpmn-moddle and rendered with bpmn-js, the libraries behind bpmn.io and Camunda Modeler. Other tools that import standard BPMN 2.0 XML should open them too. The processes are descriptive (isExecutable="false"): they model the flow, they do not run it.
Which payment status can a channel show as completed?
ACSC (settlement completed), or ACCC where the scheme reports the creditor account credit. ACTC, ACCP and ACSP are intermediate acceptances and PDNG is a hold: a channel that shows any of them as "completed" tells the customer the money arrived while it can still be rejected, as scenarios 4 and 5 show.
Read next
- Payment message flows: the same flow as sequence diagrams, message by message.
- Returns, reversals and recalls: pacs.004, pacs.007 and camt.056 in detail.
- ISO 20022 payment status codes, explained: what each rung of the status ladder guarantees.
- BPMN with AI: generating valid BPMN 2.0 XML for your own processes.
- How a technical BA investigates a failed payment: scenarios 3 to 5 from the investigation side.
- The ISO 20022 reference: every article and lookup in one place.
Go deeper on this


Not ready to buy? The free starter kit is a no-cost place to start, and every article here stays free.
Free account
Practice on a payments platform
The Labs put you inside a fictional payments platform with real status reports, rejections and recalls to analyze. A free account saves your progress.
Your email is used to sign you in. Nothing else, unless you ask. Privacy.