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):
- Tried to create a Vendor Payment entity, but it could be created with only one applied PI.
- Tried to update Vendor_Ledger_Entries entity, but it doesn't contain a field to link the payment number
- Tried to call applyVendorEntries API, but it has only GET and PATCH verbs, POST is not supported learn.microsoft.com/.../dynamics_applyvendorentry_get