Which file do I download from my broker?

In shortEvery broker hides its export somewhere different, so the answer sits beside the place you need it. On the Transactions page, open the Import Data tab: the panel on the right, headed Where do I get my file?, gives the exact steps for each broker. Pick your account first and that broker's steps are already open.

The detail

The in-app guide is the one to follow

Each broker's entry lists the clicks, and often the sign that you have the right file. They are kept in the app, next to the drop zone, so they change the day a broker changes its export. What follows is the same guide in brief.

  • Interactive Brokers — one file: your Flex Query. In IB, open Performance & Reports, then Flex Queries. Once only: beside Activity Flex Query, click + to make a new query (even if you have others: a new one changes nothing else) and name it Kodahfy; under Sections, click each section in turn, tick Select All at the top and click Save (every section); at the bottom set Format to XML (if it says CSV, change it: Kodahfy reads XML only), Period to Last 365 Calendar Days and Include Currency Rates? to Yes, leave the rest, and click Continue. Each time: click the run arrow beside Kodahfy, then Run; when it appears under Batch Flex Queries on the right, click its download arrow, and upload that file. More than a year of history: run it once per year with a Custom period and upload each file. IB's other reports (Transaction History, the Activity Statement) can't say whether a trade opens or closes a position, or when options expire, so Kodahfy reads only this one. The same query can also be connected in Settings, Accounts, to sync every day. Step by step with pictures: Connect Interactive Brokers.
  • CMC Markets (CFD) — one file. Account, History, change the dates to cover your full history, click CSV. The right file has a running balance column on every row.
  • CommSec — one file. Portfolio, Accounts, the Transactions tab, set the dates, Download, CSV. Not the Holdings page: that shows what you own today, which Kodahfy cannot import.
  • IG Markets — two files from the same History page. The Past activity tab is your trades and stops; the Transactions tab is your money. Upload both, one after the other, in either order.
  • Saxo Bank / Totality — one file for each account. Portfolio, open one account, the Transactions tab, "All time", Export, switch "Include details" on, choose Excel. Upload the Excel file as it is.
  • SelfWealth — two reports for each market. Portfolio Movement is your trades; Transaction History is your cash. Australian and US shares are separate Kodahfy accounts, so trading both means four files.

Saxo: one account at a time

Saxo lets you export "All accounts" in one file. Kodahfy refuses that file whole, because it keeps each account's book separate and the file can't be filed into one account. The message says how many accounts the file covers. Go back to Portfolio, open one account, export it, and import that file into its matching Kodahfy account. Repeat for each account.

Saxo also has more than one export layout. Keep to the same one for an account. If you bring in the other layout later, Kodahfy refuses it and says the account is already loaded from Saxo's other export format; to change over, delete that account's imports first and bring it in again.

When the Saxo Excel file has a Trades sheet, Kodahfy reads it as well. That sheet is where Saxo records the units you received from a reinvested distribution.

The two universal rules

Widen the date range. Brokers default their exports to a recent window. A file that starts after your first trade leaves sales with no purchase to pair with. Take the history or transactions report, not a holdings snapshot. Kodahfy needs the movements, not the balance.

Wrong file anyway?

Drop it regardless. Kodahfy tells you it doesn't look like the right file and shows the steps to the correct one. Nothing gets saved. For a broker that isn't listed, upload the file anyway: Kodahfy offers to send it to us, and support for it is usually built within one business day.

Read next