Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Method GetCashReceiptByKey doesn't return amount remaining and allocated documents

(0) ShareShare
ReportReport
Posted on by 63

Hello Team,

Could you help me with the following question?

I created a payment with allocation to the Invoice.

pastedimage1634675283456v1.png

pastedimage1634675342536v2.png

pastedimage1634675383725v3.png

To receive payment via API, I use this method - GetCashReceiptByKey.
But this method doesn't return the Amount Remaining field and applied Invoice.

How I can receive this data via API?


Categories:
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,012 Most Valuable Professional on at
    RE: Method GetCashReceiptByKey doesn't return amount remaining and allocated documents

    You can use GP Power Tools to create custom REST webservices that can be called via Service Based Architecture (SBA).

    They can be programmed to return any data from any table.

  • Andrew1986 Profile Picture
    63 on at
    RE: Method GetCashReceiptByKey doesn't return amount remaining and allocated documents

    Becky,

    To receive payments via API, Microsoft Dynamics GP suggests using there are three methods:

    GetCashReceiptByKey

    GetCashReceiptList

    GetReceivablesDocumentList

    Using these methods, I can receive the original payment amount.

    But, these methods don't return the payment amount remaining.

    So I cannot detect the correct payment amount via API.

    Could you recommend how I can receive the payment amount remaining via API?

  • Becky Berginski Profile Picture
    on at
    RE: Method GetCashReceiptByKey doesn't return amount remaining and allocated documents

    Hello Andrew,

    Thank you for using Community Forums. My name is Becky and I will assist you.

    Unfortunately, we don't have any document or list that tells us that every specific field that each Web Services method can return for values. You need to go to this Web Services SDK help file and look at the method references for the objects that closest resemble what you're asking and then looking at them specifically to see if they do, in fact, return what we need or not. If not, I believe you can download them from here as well >> Download Microsoft Dynamics GP 2013 Web Services from Official Microsoft Download Center.

    Download Microsoft Dynamics GP 2013 Web Services from Official Microsoft Download Center

    This documentation describes how to use Web Services for Microsoft Dynamics GP, which you can use to build database integrations.

    https://www.microsoft.com/en-us/download/details.aspx?id=36223

    Thanks,

    Becky

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans