the way I've seen it done:
1 account : due to XYZ sub (all subs - other current liability)
1 account: loan from ABC sub (all subs - other current asset)
create appropriate journal to credit account DUE to XYZ and to debit Loan from ABC
memorized intercompany journal for interest payment, or memorized intercompany sale/purchase