>_ Analyst Engineering

ISO 20022 reason code

MD06: Refund requested by the end customer

MD06 is the ISO 20022 reason code for refund requested by the end customer (RefundRequestByEndCustomer). The end customer asked for their money back on a direct debit. It is the refund route after a collection settled.

Resend?

Not a resend decision

Not a resend case. The creditor must settle the dispute with the debtor outside the payment.

MD06 at a glance

CodeMD06
ISO nameRefundRequestByEndCustomer
FamilyMandate (MD)
As a status reason Return of funds requested by end customer ExternalStatusReason1Code, in pacs.002, pain.002 at StsRsnInf/Rsn/Cd
As a return reason Return of funds requested by end customer ExternalReturnReason1Code, in pacs.004 at RtrRsnInf/Rsn/Cd
As a cancellation reason Return of funds requested by end customer. ExternalCancellationReason1Code, in camt.056, camt.055 at CxlRsnInf/Rsn/Cd

Official definitions from the ISO 20022 External Code Sets. Your scheme rulebook decides where the code is permitted.

What usually causes MD06?

  • A debtor exercising a refund right on a direct debit

What should an analyst specify for MD06?

  • Reverse the collection in the creditor's ledger and notify the business owner.
  • Track refund rates per mandate: repeated refunds are a mandate or product problem.

Where MD06 appears in the XML

Illustrative fragment of a pacs.004 (payment return). Identifiers are examples.

<TxInf>
  <RtrId>RTR-20261116-0001</RtrId>
  <OrgnlEndToEndId>E2E-20261116-0001</OrgnlEndToEndId>
  <RtrdIntrBkSttlmAmt Ccy="EUR">250.00</RtrdIntrBkSttlmAmt>
  <RtrRsnInf>
    <Rsn>
      <Cd>MD06</Cd>
    </Rsn>
  </RtrRsnInf>
</TxInf>

A test case for MD06

Given a settled collection

When the debtor requests a refund and a return with MD06 arrives

Then the receivable reopens and the collection is not re-presented automatically

All ISO 20022 reason codes

Read next

Questions about MD06

What does ISO 20022 reason code MD06 mean?

MD06 (RefundRequestByEndCustomer) means: Return of funds requested by end customer The end customer asked for their money back on a direct debit. It is the refund route after a collection settled.

Should a payment rejected with MD06 be resent?

Not a resend decision. Not a resend case. The creditor must settle the dispute with the debtor outside the payment.

Which messages carry MD06?

MD06 is defined as a status reason (ExternalStatusReason1Code, used in pacs.002, pain.002) and a return reason (ExternalReturnReason1Code, used in pacs.004) and a cancellation reason (ExternalCancellationReason1Code, used in camt.056, camt.055). 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.