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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

customerPayments on customerPaymentJournals

(2) ShareShare
ReportReport
Posted on by 4
Hi,
 
Can we fetch customerPayments on customerPaymentJournals like one here without modifying the code? https://yzhums.com/52159/
 
Below is the customerPaymentJournals
{
"@odata.context": "https://api.businesscentral.dynamics.com/v2.0/cfa8c850-8894-4229-9aee-f71f58c570e3/Production/api/v2.0/$metadata#companies(2694e7e7-fe94-ef11-8a6d-6045bde9ca0a)/customerPaymentJournals",
"value": [
{
"@odata.etag": "W/\"JzE5OzMwMjM5MzY1NDMxNjIzNDc3MzQxOzAwOyc=\"",
"id": "4105ded3-908c-f011-b419-6045bdfd878a",
"code": "KLV",
"displayName": "KLV",
"lastModifiedDateTime": "2025-09-08T08:50:20.7Z",
"balancingAccountId": "00000000-0000-0000-0000-000000000000",
"balancingAccountNumber": "",
"customerPayments": []
},
{
"@odata.etag": "W/\"JzE5Ozg5NTg5MjQ3MDg5MDE2MTg5MDQxOzAwOyc=\"",
"id": "3d564ca4-0195-ef11-8a6d-6045bde9ca0a",
"code": "REDOV",
"displayName": "REDOV",
"lastModifiedDateTime": "2024-10-28T07:53:31.033Z",
"balancingAccountId": "00000000-0000-0000-0000-000000000000",
"balancingAccountNumber": "1910",
"customerPayments": []
},
{
"@odata.etag": "W/\"JzIwOzEwNzI5MDAxMjMyMTkwNDgwMDM3MTswMDsn\"",
"id": "a9b208ea-0e37-f011-9a4a-7ced8d3ec4c6",
"code": "TEST",
"displayName": "",
"lastModifiedDateTime": "2025-05-22T13:16:13.127Z",
"balancingAccountId": "00000000-0000-0000-0000-000000000000",
"balancingAccountNumber": "",
"customerPayments": []
}
]
}
 
But when we try to fetch the payments it is always empty
{
"@odata.context": "https://api.businesscentral.dynamics.com/v2.0/cfa8c850-8894-4229-9aee-f71f58c570e3/Production/api/v2.0/$metadata#companies(2694e7e7-fe94-ef11-8a6d-6045bde9ca0a)/customerPaymentJournals(3d564ca4-0195-ef11-8a6d-6045bde9ca0a)/customerPayments",
"value": []
}
 
Thanks
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    90,179 Super User 2025 Season 2 on at
    customerPayments on customerPaymentJournals
    Hi, hope the following helps.
    Dynamics 365 Business Central: How to use standard customerPayment API to get customer payments (customerPayments/customerPaymentsJournals APIs returns empty records)
     
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    22,623 Most Valuable Professional on at
    customerPayments on customerPaymentJournals

    Hi, good day
    I hope this can help you, and give you some hints.

    Solved: CustomerPayment/CustomerPaymentJournals API returns empty records.

     

    Best Regards
    Gerardo

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,669 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,668

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans