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