web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Import bank response file through Return File - in Vendor Payment transfer form in D365FO

(0) ShareShare
ReportReport
Posted on by 120

Hi ,

I am trying to import electronic payment file( ISO20022 Pain.002) through "Return file- vendor" using payment transfer process ,it doesn't  change it's payment status from sent to received or something else. I have done all pre prerequisite steps mentioned in Microsoft Doc before importing file. Can anyone suggest how I could resolve this issue ? 

I have the same question (0)
  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi Abdul,

    Pain.002 that you get from bank should be in regards to the Pain.001 that you send to the bank.

    Please compare the Pain.001 and Pain.002 to check If they have same value for MsgId and date. For example if your Pain002 just have node for "OrgnlGrpInfAndSts", following values must be the same between Pain001 and Pain002.

    1-<CstmrCdtTrfInitn>-<GrpHdr><MsgId>. Pain001 == <CstmrPmtStsRpt></GrpHdr><OrgnlGrpInfAndSts><OrgnlMsgId>. Pain.002

    pastedimage1630602187656v1.png

    pastedimage1630602560299v3.png

    2- Check Account payable > Setup > Payment setup > Return format status mapping for the company that you want to import the Pain002 file that if the value for "GrpSts" exists in this table as return status. As an example:

    pastedimage1630602739414v4.png

    I hope it helps.

    Please mark this thread as verified if the answer is helpful.

    Regards,

    Alireza

  • Abdul Manan Profile Picture
    120 on at

    Thanks Alireza,

    There was difference in MsgId and OrgnlMsgId values ,making it same manually in Pain002 and then import it.It successfully update payment status on payment transfer.

    Not sure who is actually responsible for this variation ,marking this thread as verified it really helpful for me.

    Regards,

    Abdul Manan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans