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...
Unanswered

Creating payments via API

(1) ShareShare
ReportReport
Posted on by 32
Hi there,
 
Can someone point me please to any available documentation on posting payments via API?
Here are the 2 questions I've got on the topic:
  1. I want to be able to create a payment applied to the invoice with one request - is it possible?
    Currently, I've managed to create what looks like a draft payment, but I had to manually post it from the Payment journal so that it is added to the Customer's balance.
  2. Is it possible to create a Lump Customer Payment to allocate multiple invoices in one payment via API? Can you direct me to an example payload? I assume there should be an AppliesTo array to list all paid invoices.
Many thanks.
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
  • Judy Profile Picture
    Microsoft Employee on at
    Hi, please refer to the MS document regarding Creates a customer payment object in Business Central.
  • Milla Profile Picture
    32 on at
    Hi Gerardo @gdrenteria,
     
    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 applyCustomerEntries method, which I found here Page "Apply Customer Entries" | Microsoft Learn and expected it to work as well.
     
    Here's the error message that I received from API:
    {
        "error": {
            "code": "BadRequest_NotFound",
            "message": "No HTTP resource was found that matches the request URI
     
    Can you recommend something about it?
    Or maybe there's another way for the customer payments?
     
    Thanks,
    Milla

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March 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,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans