Putting a collection back — pain.008 → pain.007
A creditor collected something it should not have: the same invoice twice, or a debit with no mandate. The collection has settled, so a cancellation request () is too late. The creditor asks its own bank to put the money back. That request is a , and it runs customer to bank. The bank may then pass it on to the debtor's bank as an interbank pacs.007.
You are not filling in a form. A pain.007 is a request, sent to somebody who can say no, about a payment that may already be gone. What you can ask for depends on where the payment has got to — and getting a reference wrong does not raise an error, it changes what the message means.
Choose your role
You write the request and send it to someone who can say no, then see what could come back.
Where has the payment got to?
Step 6 of 8 — SettlementPositions settle in central bank money
Ask your bank to reverse it
The collection has settled between the banks, so it cannot be stopped any more. The creditor can ask its own bank to put it back. The B2B rulebook text this site read allows a reversal only from the settlement date, and only for a short time. It does not make the bank say yes.
What goes in the pain.007, and where it comes from
Every field of the pain.007, with the pain.008 field it came from. A curated subset — the fields that carry the lesson.
Paths as in pain.007.001.11 — the version of this site's validated sample; other versions and scheme profiles differ. pain.008 paths are as in pain.008.001.09, the version this site's path check reads. This site's validated pain.008 sample is pain.008.001.08, so check the version you build against.
| In the pain.008 | Origin | In the pain.007 |
|---|---|---|
| — nothing — | Minted | GrpHdr/MsgIdMessage identification |
| — nothing — | Conditional | GrpHdr/GrpRvslGroup reversal |
GrpHdr/MsgIdMessage identification | Copied | OrgnlGrpInf/OrgnlMsgIdOriginal message identification |
| — nothing — | Fixed | OrgnlGrpInf/OrgnlMsgNmIdOriginal message name identification |
PmtInf/PmtInfIdPayment information identification | Copied | OrgnlPmtInfAndRvsl/OrgnlPmtInfIdOriginal payment information identification |
DrctDbtTxInf/PmtId/EndToEndIdEnd-to-end identification | Copied | OrgnlPmtInfAndRvsl/TxInf/OrgnlEndToEndIdOriginal end-to-end identification |
| — nothing — | Conditional | OrgnlPmtInfAndRvsl/TxInf/OrgnlUETROriginal UETR |
DrctDbtTxInf/InstdAmtInstructed amount | Copied | OrgnlPmtInfAndRvsl/TxInf/OrgnlInstdAmtOriginal instructed amount |
| — nothing — | Conditional | OrgnlPmtInfAndRvsl/TxInf/RvsdInstdAmtReversed instructed amount |
| — nothing — | Chosen | OrgnlPmtInfAndRvsl/TxInf/RvslRsnInf/Rsn/CdReversal reason code |
| — nothing — | Minted | OrgnlPmtInfAndRvsl/TxInf/RvslRsnInf/AddtlInfAdditional information |
GrpHdr/MsgIdMinted- New every time. This is the reversal's own reference, not the collection file's. If the creditor reuses the file's identifier here, the bank's system sees an identifier it has already handled and may drop the reversal. The sending screen still says delivered.
GrpHdr/GrpRvslConditional- Set true when the WHOLE collection file is being reversed, not particular collections in it. Setting it and also listing single collections makes two claims about one file. ISO's rule for
pain.007.001.11is that a true flag means one reason for the whole group and no payment-level block. OrgnlGrpInf/OrgnlMsgIdCopied- The collection file being reversed, copied from its group header. A reversal that does not say what it reverses is not a reversal.
OrgnlGrpInf/OrgnlMsgNmIdFixed- The message DEFINITION of the original, such as
pain.008.001.08. It is fixed by which message the base is.pain.008on its own is not enough, because the version is part of the name. The identifier above names the file. This names the version of the standard the file was written in, and the bank needs it to read the references. In the excerpts seen of the European Payments Council (EPC) guideline, the reversal type is implied by the pain.007 name together with an original message name that starts with pain.008. OrgnlPmtInfAndRvsl/OrgnlPmtInfIdCopied- Which block inside the file. A pain.008 groups collections by creditor account and collection date, so one batch can be named while the rest of the file stands.
OrgnlPmtInfAndRvsl/TxInf/OrgnlEndToEndIdCopied- The creditor's own reference for one collection, and the one its ledger is keyed on. Optional in the schema, but key in practice. Without it the bank can only match on amount and date. That fails when two similar collections went out the same day. A creditor that reuses end-to-end references between runs makes its own reversals ambiguous.
OrgnlPmtInfAndRvsl/TxInf/OrgnlUETRConditional- Only if the original carried a Unique End-to-end Transaction Reference (UETR), the identifier Swift uses to track a payment. This site's record for the direct debit initiation, pain.008, has no UETR, so a collection often gives nothing to copy here. The end-to-end identifier above then does the job.
OrgnlPmtInfAndRvsl/TxInf/OrgnlInstdAmtCopied- What the collection said, amount and currency together. Copy it to the minor unit, which is the cent for euros. A figure rounded on the way across is a mismatch, not a near match.
OrgnlPmtInfAndRvsl/TxInf/RvsdInstdAmtConditional- How much the creditor asks to get back. The schema lets it differ from the amount above. That is why "the collection was reversed" is an incomplete sentence. Read this figure against the original before booking anything. The schema allows a part reversal. Whether the direct debit rules do was not established here. This site's walkthrough of the interbank collection (pacs.003) and its reversal (pacs.007) treats the reversal as for the full amount.
OrgnlPmtInfAndRvsl/TxInf/RvslRsnInf/Rsn/CdChosen- Why, from ExternalReversalReason1Code — the same eleven-value list the interbank pacs.007 draws on, which is worth noticing because most of this message’s neighbours use a DIFFERENT list on each leg. Seven of the eleven describe the bank’s or the creditor’s own mistake, which is what a reversal is for. Two of them, MS02 and MS03, say only that nobody would give a reason — and which of the two you send records whether it was the customer or the agent who declined to say.
OrgnlPmtInfAndRvsl/TxInf/RvslRsnInf/AddtlInfMinted- Free text beside the reason code, in units of 105 characters and repeatable. Where the detail lives when the code names none — and a reversal that leaves it empty is a message somebody has to telephone about.
Send it. What comes back?
AGAINST THE SAMPLE THIS SITE SHIPS
The fields above are what a pain.007 carries. This site also ships an annotated pain.007 sample: structure accepted by the ISO 20022 base schema pain.007.001.11 (schema from the ISO 20022 Registration Authority; checked 2026-11-20); this does not check code values the schema leaves to ISO's externally maintained lists, scheme usage rules, bank or market-infrastructure requirements, or whether the message is right for the situation. Comparing them asks whether the message we teach looks like the message we ship. An absent field is usually a conditional element the sample leaves out on purpose. Saying which is the point, so nothing on the reference page surprises somebody building against the sample.
- In the sample
- 10 of 11 fields. Read the annotated pain.007 →
- Not in this sample
OrgnlPmtInfAndRvsl/TxInf/OrgnlUETR
The validator on this site parses a real message against the published base ISO 20022 schema — open the XSD validator. It answers a narrower question than it appears to. A message the base schema accepts can still be refused under a scheme’s usage rules or by the receiving bank or market infrastructure. Neither is checked here.
“Reversal reason code” is drawn from ISO's externally maintained code list. The base schema checks only that a value is 1 to 4 characters long, so an invented value still passes it. Three further checks decide whether a value really works: ISO's list, the scheme profile, and the receiving bank or market infrastructure. They are not checked here.
The whole case as text (works without JavaScript)
pain.008 → pain.007
A creditor collected something it should not have: the same invoice twice, or a debit with no mandate. The collection has settled, so a cancellation request (camt.055) is too late. The creditor asks its own bank to put the money back. That request is a pain.007, and it runs customer to bank. The bank may then pass it on to the debtor's bank as an interbank pacs.007.
The same message asks a different thing as the payment moves
- Ask your bank to reverse it — from settle. The collection has settled between the banks, so it cannot be stopped any more. The creditor can ask its own bank to put it back. The B2B rulebook text this site read allows a reversal only from the settlement date, and only for a short time. It does not make the bank say yes.
- Reverse it after the creditor was credited — from credit-creditor. The creditor's account already holds the credit it now wants to give back. The message is the same. What changes is how much of the time limit is left.
Fields
Paths as in pain.007.001.11 — the version of this site's validated sample; other versions and scheme profiles differ. pain.008 paths are as in pain.008.001.09, the version this site's path check reads. This site's validated pain.008 sample is pain.008.001.08, so check the version you build against.
GrpHdr/MsgId(Message identification) — Minted. New every time. This is the reversal's own reference, not the collection file's. If the creditor reuses the file's identifier here, the bank's system sees an identifier it has already handled and may drop the reversal. The sending screen still says delivered.GrpHdr/GrpRvsl(Group reversal) — Conditional. Set true when the WHOLE collection file is being reversed, not particular collections in it. Setting it and also listing single collections makes two claims about one file. ISO's rule forpain.007.001.11is that a true flag means one reason for the whole group and no payment-level block.OrgnlGrpInf/OrgnlMsgId(Original message identification) — Copied fromGrpHdr/MsgId. The collection file being reversed, copied from its group header. A reversal that does not say what it reverses is not a reversal.OrgnlGrpInf/OrgnlMsgNmId(Original message name identification) — Fixed. The message DEFINITION of the original, such aspain.008.001.08. It is fixed by which message the base is.pain.008on its own is not enough, because the version is part of the name. The identifier above names the file. This names the version of the standard the file was written in, and the bank needs it to read the references. In the excerpts seen of the European Payments Council (EPC) guideline, the reversal type is implied by the pain.007 name together with an original message name that starts with pain.008.OrgnlPmtInfAndRvsl/OrgnlPmtInfId(Original payment information identification) — Copied fromPmtInf/PmtInfId. Which block inside the file. A pain.008 groups collections by creditor account and collection date, so one batch can be named while the rest of the file stands.OrgnlPmtInfAndRvsl/TxInf/OrgnlEndToEndId(Original end-to-end identification) — Copied fromDrctDbtTxInf/PmtId/EndToEndId. The creditor's own reference for one collection, and the one its ledger is keyed on. Optional in the schema, but key in practice. Without it the bank can only match on amount and date. That fails when two similar collections went out the same day. A creditor that reuses end-to-end references between runs makes its own reversals ambiguous.OrgnlPmtInfAndRvsl/TxInf/OrgnlUETR(Original UETR) — Conditional. Only if the original carried a Unique End-to-end Transaction Reference (UETR), the identifier Swift uses to track a payment. This site's record for the direct debit initiation, pain.008, has no UETR, so a collection often gives nothing to copy here. The end-to-end identifier above then does the job.OrgnlPmtInfAndRvsl/TxInf/OrgnlInstdAmt(Original instructed amount) — Copied fromDrctDbtTxInf/InstdAmt. What the collection said, amount and currency together. Copy it to the minor unit, which is the cent for euros. A figure rounded on the way across is a mismatch, not a near match.OrgnlPmtInfAndRvsl/TxInf/RvsdInstdAmt(Reversed instructed amount) — Conditional. How much the creditor asks to get back. The schema lets it differ from the amount above. That is why "the collection was reversed" is an incomplete sentence. Read this figure against the original before booking anything. The schema allows a part reversal. Whether the direct debit rules do was not established here. This site's walkthrough of the interbank collection (pacs.003) and its reversal (pacs.007) treats the reversal as for the full amount.OrgnlPmtInfAndRvsl/TxInf/RvslRsnInf/Rsn/Cd(Reversal reason code) — Chosen — chosen from: AC03, AC04, AG02, AM05, AM09, MD01, MD05, MS02, MS03, RC07, TM01. Why, from ExternalReversalReason1Code — the same eleven-value list the interbank pacs.007 draws on, which is worth noticing because most of this message’s neighbours use a DIFFERENT list on each leg. Seven of the eleven describe the bank’s or the creditor’s own mistake, which is what a reversal is for. Two of them, MS02 and MS03, say only that nobody would give a reason — and which of the two you send records whether it was the customer or the agent who declined to say.OrgnlPmtInfAndRvsl/TxInf/RvslRsnInf/AddtlInf(Additional information) — Minted. Free text beside the reason code, in units of 105 characters and repeatable. Where the detail lives when the code names none — and a reversal that leaves it empty is a message somebody has to telephone about.
What comes back
- Yes — The bank passes it on and the debtor is credited Fix the duplicate-generation defect, reconcile all three movements, and confirm no other collections were affected.
- No — Only part comes back, and it is booked as the whole
- No — The bank does not offer it, or the time has run out This site did not find what a bank sends back here, so it shows no message. Two limits are in the rulebook text read. A creditor's bank need not offer reversals, and a late reversal must not be processed. Some bank guides show a pain.002 status report that can carry a rejection, but those were search excerpts only. The bank's own service terms decide what the creditor is told. Read them before relying on any reply.
- No — The references do not match the collection A reversal that quotes the wrong file, batch or end-to-end reference points at nothing. This site did not find a rule for what the bank sends back, so it shows no message. The quiet risk is that the request is treated as a separate event and not as a correction of the collection. Then the two entries sit unreconciled until somebody checks by hand.
Receiving it: the decisions behind the codes
- Do we offer reversals to this customer? The creditor's bank decides this from its own service terms. The B2B rulebook does not make a creditor's bank offer reversals. If this bank does not offer it, the request goes nowhere.
- Is it inside the time limit? The rulebook text this site read allows a reversal only from the settlement date, and only for a short time after the due date. A late one must not be processed. The day count was not confirmed, so check the current rulebook.
- Which file, which block, which collection? Three levels of reference, and a reversal can speak at any of them. The original message identifier names the file. The payment-information identifier names the block. The end-to-end identifier names one collection.
- How much does the creditor want back? The reversed amount, read against the original amount. They are separate elements because they can differ. Booking a part reversal as a full one is an easy quiet error on this message.
- Is the whole file reversed, or part of it? The group-reversal flag, read before the transaction list. A file reversed as a group and a file with single collections reversed are different events. A message that seems to say both has to be queried, not guessed at.
Sources for this derivation and its code lists — 10 sources
- Official requirement
ISO 20022 Catalogue of messages ↗ — ISO 20022 Registration Authority
Each message set is described by a Message Definition Report; earlier versions remain available in the ISO 20022 messages archive.
- Scheme-specific rule
ISO 20022 Catalogue of messages ↗ — ISO 20022 Registration Authority · Scope text of the CustomerPaymentReversal message: "sent by the initiating party to the next party in the payment chain. It is used to reverse a payment previously executed"; the original it refers to is named as a CustomerDirectDebitInitiation message (Payments Initiation Message Definition Report 2020-2021 draft for pain.007.001.11, seen as search excerpts; page not opened)
Each message set is described by a Message Definition Report; earlier versions remain available in the ISO 20022 messages archive.
- Official requirement
ISO 20022 message XSD schemas ↗ — ISO 20022 Registration Authority
Each Message Definition Report links its published XSD; download it directly rather than relying on a third-party mirror.
- Scheme-specific rule2025 version 1.0
SEPA Direct Debit B2B implementation guidelines and XSDs ↗ — European Payments Council · SDD B2B Customer-to-PSP Implementation Guidelines (EPC131-08, 2025 version 1.0): the creditor sends the reversal message pain.007 to its own bank, used with data set DS-03 for the collection; the reversal type is implied by the pain.007 name plus an original message name that starts with pain.008 (search excerpt, page not opened; the edition seen pins an earlier pain.007 version than this site's sample, and the message record names it)
EPC XSDs formalise guideline restrictions for technical validation; they are not production artefacts or proof that all scheme business rules pass.
- Scheme-specific rule2025 version 1.0
SEPA Direct Debit Core implementation guidelines and XSDs ↗ — European Payments Council · SDD Core Customer-to-PSP Implementation Guidelines (EPC130-08): the same customer-to-bank reversal (search excerpts, pages not opened; the editions seen pin earlier pain.007 versions than this site's sample, and the message record names them)
EPC XSDs formalise guideline restrictions for technical validation; they are not production artefacts or proof that all scheme business rules pass.
- Scheme-specific rule2025 v1.2 (EPC222-07)
2025 SEPA Direct Debit Business-to-Business rulebook version 1.2 (EPC222-07) ↗ — European Payments Council · The rulebook does not require Creditor PSPs to offer the Reversal facility to Creditors (search excerpt of one rulebook edition; page not opened)
Version 1.2 formally replaced version 1.1 at its publication on 30 September 2026 (the European Payments Council's wording, seen as a search excerpt; the page was not opened). The EPC states that the change is limited to address-message elements and makes no other business or operational rule changes. Later verification on6November2026 opened and read the official2025v1.2 PDF: section4.1,printedpp27–28, creditor-held signed mandate and debtor-PSP mandate-data checks.
- Scheme-specific rule2025 v1.2 (EPC222-07)
2025 SEPA Direct Debit Business-to-Business rulebook version 1.2 (EPC222-07) ↗ — European Payments Council · Reversals may only be processed from Settlement Date and within a set number of Inter-PSP Business Days after the Due Date of the original Collection; later presentations must not be processed (search excerpt of an earlier rulebook edition; page not opened; the 2025 text was not read; a vendor guide gives a different day count for B2B, so the count is unconfirmed)
Version 1.2 formally replaced version 1.1 at its publication on 30 September 2026 (the European Payments Council's wording, seen as a search excerpt; the page was not opened). The EPC states that the change is limited to address-message elements and makes no other business or operational rule changes. Later verification on6November2026 opened and read the official2025v1.2 PDF: section4.1,printedpp27–28, creditor-held signed mandate and debtor-PSP mandate-data checks.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Curated field set drawn from this site's own record for the customer payment reversal, pain.007. The walkthrough follows the Single Euro Payments Area (SEPA) direct debit reading, as far as search excerpts of the European Payments Council (EPC) guidelines and rulebook show it. ISO's scope wording is wider, and no source read shows a credit transfer reversed this way. The bank's reply to a pain.007 was not found, so no reply message is shown. Field origins (copied, minted, chosen, conditional, fixed) are this site's teaching vocabulary rather than an ISO 20022 classification.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Official requirement
ISO 20022 External code sets ↗ — ISO 20022 Registration Authority
Updated quarterly in XLSX, XSD and JSON formats. The 22 November 2026 check opened the catalogue and the JSON distribution advertised as August 2026 v3. Its archive contains 2Q2026_externalcodesets_v3.json. ExternalPaymentGroupStatus1Code and ExternalPaymentTransactionStatus1Code define distinct code contexts. Bank Transaction Code combinations are published separately under iso20022-btc-codification. Earlier observation, kept for the record: Search summaries of the publisher's page on 2026-10-01 list an August 2026 release labelled v3; the page was not opened and the release name was not seen.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: The plain-language meanings are this site's wording. These are every value on the externally maintained list in the ISO release named on the card, not a curated subset. But that list is issued again quarterly (Feb/May/Aug/Nov) on iso20022.org, and the base schema does not police it. So check the current list before treating the set as exhaustive.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.