It's currently not possible to allocate purchase ledger transactions against each other through the Sage 200 API. It's possible to do this in the software, and it's possible to do this on the Sales Ledger via the API (with the /v1/sales_allocation...