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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

How to apply a payment to multiple vendor ledger entries via API

(0) ShareShare
ReportReport
Posted on by 40

I could apply payments to multiple vendor ledger entries via MSBC UI like described here gyde.ai/.../how-to-apply-a-payment-to-a-single-or-multiple-vendor-ledger-entries

But which API endpoints I can use to do it programmatically?

What I already tried (both REST and OData APIs):

  1. Tried to create a Vendor Payment entity, but it could be created with only one applied PI.
  2. Tried to update Vendor_Ledger_Entries entity, but it doesn't contain a field to link the payment number
  3. Tried to call applyVendorEntries API, but it has only GET and PATCH verbs, POST is not supported  learn.microsoft.com/.../dynamics_applyvendorentry_get
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    101,995 Super User 2026 Season 1 on at

    Hi, here is a very detailed description, I hope to give you some tips.

    Apply multiple invoice entries against a payment entry through APIs in D365 Business Central

    https://mohana-dynamicsnav.blogspot.com/2022/02/apply-multiple-invoice-entries-against.html

    Thanks.

    ZHU

  • Andrew1986 Profile Picture
    63 on at
    But this example only for applyVendorEntries.
     
    I would like to use it for customers Payments.

    But API method applyCustomerEntries doesn't work.

    How I can use it? Could you provide the example?

     
  • PK-20051639-0 Profile Picture
    11 on at
    Hi. Were you able to find a way to achieve this? We also have similar use case.
    Regards.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,119 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,522 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,177 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans