web
You’re offline. This is a read only version of the page.
close
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:
I have the same question (0)
  • Becky Berginski Profile Picture
    on at

    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

  • Andrew1986 Profile Picture
    63 on at

    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?

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans