How to import from Interactive Brokers

For people who are still struggling, I advise you to create separate deposit accounts. For example, I have IB GBP and IB USD, each linked to separate securities accounts and each in their own currency.

Then, you can import twice the XML and the transactions will import correctly.