Xero Allows you to create an Allocation for prepayments

PUT /Prepayments/{PrepaymentID}/Allocations for Xero Accounting API.