Is it possible to automatically allocate a purchase ledger receipts to a purchase ledger payment using the API?
There's currently not an endpoint for Purchase Ledger Allocations.
(However : if it's Sage 200 Professional 2023R2 or above that you're working with and you're a member of the Sage 200 Developer programme - or your Business partner is - then it's possible to extend the API with your own endpoints. I've added quite a few endpoints to provide 'missing' functionality for client integrations, and exposing PL allocations is among them. It's not terribly difficult to do.)
There's currently not an endpoint for Purchase Ledger Allocations.
(However : if it's Sage 200 Professional 2023R2 or above that you're working with and you're a member of the Sage 200 Developer programme - or your Business partner is - then it's possible to extend the API with your own endpoints. I've added quite a few endpoints to provide 'missing' functionality for client integrations, and exposing PL allocations is among them. It's not terribly difficult to do.)
*Community Hub is the new name for Sage City