Skip to main content

Notifications

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

Applying customer invoices to customer payments via API

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
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 72,895 Super User 2024 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
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 11,796 Most Valuable Professional on at

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,101 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,908 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans