How to Export OKX Trading Records: A Guide for Tax Reporting and Reconciliation
The core path to export trading records:On the web version, go to [Asset Management] → [Order Center] → [Transaction Bills] or [Fund Bills], set the time range, and download the CSV file.Currently, only the web version supports full custom time range export; the app only allows viewing records from the last 90 days, with limited download functionality.
The following procedures are tailored for two main scenarios: tax reporting and account reconciliation.
1. Differences Between the Two Bill Types
Before exporting, clarify which data you need:
| Bill Type | Content | Use Case |
|---|---|---|
| Transaction Bills | Order execution records (buy/sell, contract open/close), fees | Calculate trading profit/loss, review trades |
| Fund Bills | Deposits, withdrawals, C2C trades, event rewards, financial activities, etc. | Verify asset flow, confirm deposit/withdrawal records for tax reporting |
Data export range on OKX: Fund bills are available fromFebruary 2021, transaction bills fromJanuary 28, 2021.
2. Export Steps on Web Version
This is the most complete export method; it is recommended to use a computer for all subsequent operations.
Export Transaction Bills:
Log in to the OKX website, click [Asset Management] in the top right corner.
Select [Order Center] → [Transaction Bills] (or go directly to the transaction bills page).
In the filter bar at the top, select the currency, bill main type, and desired time range.
Click [Download] or [Export], select the date range, and confirm.
Once the bill is generated, a download link will be provided. Click to download the CSV file.
Export Fund Bills (including deposits, withdrawals, C2C, rewards, etc.):
Similarly, go to [Order Center] and select [Fund Bills].
Filter by date, currency, and bill type.
Click [Download] and select a custom date range.
Download once generated.
Important Limitations:
A single export supports up to90 daysof trading records; for more than 90 days, export in multiple batches.
The download supports a"Copy Link"function, with the link valid for24 hours, allowing you to share it with others or download on different devices.
The main account can download bills for all sub-accounts at once.
3. Export Instructions on the App
The app has less functionality than the web version and is only suitable for viewing or exporting recent data:
On the app, you can viewtrading records from the last 90 days.
Go to [Assets] → tap the [Trading Records] icon in the top right → click [Download], then select a period (last 30 days / last 90 days) to download the bill.
For a complete bill with a custom time range, it is still recommended to use the web version.
4. Account Statements: For Year-End Asset Snapshots
If you need data like "how many assets are in the account as of a certain date" for tax reporting of holdings, use the [Account Statement] feature:
Web Version:
Click [Asset Management] → [My Assets].
In the top submenu, click [Account Statement].
The system generates statements monthly; you can select a specific month to download a PDF.
Alternatively, scroll to the bottom of the page and customize any date to generate a statement.
App Version:Go to [Personal Center] → [More] → [Tax Center] to download a PDF report.
The account statement records an asset snapshot as of 0:00 (UTC time) on the selected date, including all equity assets in the funding account, trading account, and financial account. This is useful for filling in "year-end held assets" sections in certain countries' tax returns.
5. Tax Reporting Considerations
CSV Format and Fields:The exported CSV file includes complete fields such as transaction time, trading pair, direction, quantity, price, fees, and order status. Some tax software (e.g., CoinTracking, CoinLedger) supports direct upload of OKX CSV files to automatically calculate profits and losses.
Time Zone Differences:All OKX bills default toUTC time zone. If your region is several hours away from UTC, transactions from the last few days of the year may appear in the next year's bill. Be mindful of this when reconciling.
Merging Multiple Accounts:If you use both a main account and sub-accounts, it is recommended to download all sub-account bills at once from the main account and then merge them.
Is there a fee for exporting?
No. Bill export is a free feature with no limit on usage.
What if the CSV file shows garbled text when opened in Excel?
The CSV uses UTF-8 encoding. Opening it directly in Windows Excel may cause garbled Chinese characters. Solution: Open it using "Data → From Text/CSV" in Excel, or first save the file as ANSI encoding using Notepad before opening.
Can I export only trading records without deposit/withdrawal records?
Yes. Select [Transaction Bills] in [Order Center] to include only transaction-related records; for deposits, withdrawals, rewards, etc., select [Fund Bills]. The two types of bills are exported separately.
