Switzerland · Exchanges · OKX
OKX and taxes in Switzerland
Trading account and Funding account, one statement each: upload both, or use the API with a passphrase.
Connect OKX through the API
With an API key you create at OKX, read-only. The key's passphrase is needed too.
BitLedger asks OKX what the key may do, when you connect and before every sync. A key that can also trade or withdraw is refused.
Beta: the OKX connection has not yet been checked against a real account. Compare the figures with OKX's statements before you file.
OKX export as a file
Export the bills of the trading and the funding account. Then upload the file on the Wallets page.
Upload both files; together they make one account.
Beta: the file import has not yet been checked against a customer's file. BitLedger shows a preview before importing; check the figures before you file.
What BitLedger reads from OKX
- spot trades and converts as swaps, fees in the balance
- earn and staking income, plus airdrops
- futures and perpetuals
BitLedger puts these to you for review: deposits and withdrawals, except deposits it can match to a send from one of your connected wallets. It classifies the rest itself, and you can correct any classification.
How OKX gets into your tax return
- Get the data. Connect OKX through the API with a read-only key, or upload the export as a file, as described above.
- Review. BitLedger puts deposits and withdrawals to you for review; you can correct any classification.
- Enter the holdings. Each currency you hold at OKX on 31 December goes on its own line, with quantity and tax value in francs, in the schedule of securities and assets (Wertschriften- und Guthabenverzeichnis), usually under a category such as «übriges Guthaben» (other assets).
- Enter the income. Staking, earn and interest income goes in the income part of the schedule, at the price on the day received.
Step by step, with the price source and attachments: Entering crypto in your tax return
Tax: what this means for OKX
- For private investors, buying, selling and swapping for other coins are tax-free capital gains. Losses are no more deductible than trading fees. Crypto taxes in Switzerland
- Staking, earn and interest credits are income when credited, valued at that day's price. Selling them later is tax-free again. Staking taxes in Switzerland
- Airdrops and tokens received for nothing in return are income. Crypto taxes in Switzerland
- Futures and other derivatives get the treatment the law of your tax residence provides on every import and count as reviewed: in Switzerland a gain on private assets is tax-free and a loss not deductible. The report shows the net result as forward transactions. Using derivatives for more than hedging fails one of the five criteria for private trading. Professional crypto trading
- Your OKX holdings on 31 December are wealth, valued at the ESTV price. Tax value on 31 December
Frequently asked questions about OKX and taxes
Do I pay tax on gains at OKX in Switzerland?
For private investors, buying, selling and swapping for other coins are tax-free capital gains. Losses are no more deductible than trading fees. Futures and other derivatives get the treatment the law of your tax residence provides on every import and count as reviewed: in Switzerland a gain on private assets is tax-free and a loss not deductible. The report shows the net result as forward transactions. Using derivatives for more than hedging fails one of the five criteria for private trading.
How do I export OKX for my tax return?
Export the bills of the trading and the funding account. Then upload the file on the Wallets page. Upload both files; together they make one account. Or through the API: With an API key you create at OKX, read-only. The key's passphrase is needed too.
What permissions does the OKX key need?
BitLedger asks OKX what the key may do, when you connect and before every sync. A key that can also trade or withdraw is refused.
Are staking and earn rewards at OKX taxable?
Staking, earn and interest credits are income when credited, valued at that day's price. Selling them later is tax-free again.
Are airdrops at OKX taxable?
Airdrops and tokens received for nothing in return are income.
How are my OKX holdings taxed?
Your OKX holdings on 31 December are wealth, valued at the ESTV price. They go in the schedule of securities and assets, one line per currency.
Has the OKX import been checked?
Beta: the OKX connection has not yet been checked against a real account. Compare the figures with OKX's statements before you file. Beta: the file import has not yet been checked against a customer's file. BitLedger shows a preview before importing; check the figures before you file.
Other exchanges
Kraken · Binance · Coinbase · Bybit · KuCoin · Gate.io · Bitget · Crypto.com · Bitvavo · HTX · Bitstamp · Bitfinex · Bitpanda · MEXC