If a user creates one overpayment with the UI inside an invoice, automatically Xero creates, in Bank Transaction, a transaction called "Payment:multiple items". Inside the transaction, Xero UI shows "Transaction: View Transaction" with two areas, one for the Invoice Payments and the other for the Overpayments and Prepayments.
Is possible , with the XERO API, create a bank transaction with Multiple Items?. How it is done?
I tried with the API create an Overpayment through Bank Transaction and a Payment , both with the same Contact, but the UI Bank Transaction menu shows two different Bank Transaction.