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 :
Small and medium business | Business Central, N...
Suggested Answer

No response from Business Central REST API for customer payments and vendor payments

(0) ShareShare
ReportReport
Posted on by 5

Hi,

While sending request to GET the customer payments & vendor payments, receiving a blank response. Please advise how can Get the data, currently I am using the below API request for customer payments:

api/v1.0/companies(7ae38f27-11a8-eb11-bb60-00155df3a615)/customerPaymentJournals(b1574e9e-15a8-eb11-bb60-00155df3a615)/customerPayments

I've also attached the blank response from above API request.

pastedimage1648639015475v1.png

  • Suggested answer
    JAngle Profile Picture
    159 on at

    The confusion may stem from where you think this is grabbing data from. Here is the code of the page: github.com/.../APIV2CustomerPayments.Page.al

    It is not looking at customer ledger entries. It is for payments logged as journal lines. Difference between this endpoint and the customerPaymentJournals is that you are only querying the batch level of a journal.

    I would suggest reviewing whether this endpoint actually does what you require.

  • Vishal Kamboj Profile Picture
    5 on at

    It seems that you are correct, is there any way to get the data from REST API for payments and Credit Notes.

  • Suggested answer
    JAngle Profile Picture
    159 on at

    Not best practice but the quickest none development route is web services. Publish the customer ledger entries page and use the url it produces. Ensure you get the filters right to limit poor performance. Other choice is to develop a custom api page - if you don’t have the in house skills for that check out the simple object designer on appsource

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 750 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 534 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 287 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans