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

Applying customer invoices to customer payments via API

(1) ShareShare
ReportReport
Posted on by 25
Hello,
 
I am trying to create a customer payment using Business Central API. 
 
Even though I need to create and post customer payments, not the vendor ones, I got through to the moment where I can locate the journal and send the unposted payment to it. But I struggled with the further steps of applying invoices to the payment: where the author used the applyVendorEntries method, I tried to replace it with the Page /Apply Customer Entries/ | Microsoft Learn endpoint, but I receive the following error + I am unsure this custom endpoint should work for the default customerPayments 
 
{    /error/: {        /code/: /BadRequest_NotFound/,        /message/: /No HTTP resource was found that matches the request URI
 
Can you recommend something about the error?
Or maybe there's another way to apply invoices to the customer payments?
 
Thanks
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    23,855 Most Valuable Professional on at
    Applying customer invoices to customer payments via API
  • Suggested answer
    YUN ZHU Profile Picture
    93,872 Super User 2025 Season 2 on at
    Applying customer invoices to customer payments via API
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to use Standard/Custom API Bound Actions
     
     
    Thanks.
    ZHU

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,179

#2
OussamaSabbouh Profile Picture

OussamaSabbouh 1,999

#3
YUN ZHU Profile Picture

YUN ZHU 1,892 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans