Balance of Payment (BPM6) - Direct Investment: how to record
Assuming country EXT builds a factory in DOMES: 

For country DOMES: this is direct investment liability
For country EXT: this is direct investment asset