Coinbase no TaxChain
BetaO TaxChain lê Coinbase e está testado com as suas respostas documentadas e gravadas, mas ainda não foi reconciliado com dados reais. Compare os valores com o extrato de Coinbase antes de declarar.
Esta página está em inglês, para dizer exatamente o que dizem a documentação da plataforma e o código do TaxChain. Os títulos e o resto do site estão no seu idioma.
Coinbase's app and its Advanced Trade screen, one account. TaxChain reads Coinbase's transaction history report, a CSV of every buy, sell, convert, send, receive and reward. An API import through CCXT exists in the code but is not offered, and today it cannot finish a sync.
Formas de importar
Envio de ficheiroBeta
Coinbase transaction history report (CSV)
The transaction history report, as CSV, covering your whole history [1]. Both layouts are read: the one Coinbase issues today (with an ID column and amounts such as €1,000.00) and the one it issued until 2023 (Spot Price columns, plain numbers).
A downloaded report starts with lines before the column names (today "Transactions" and a line with your name and user id [2]; in the older report a disclaimer and empty rows). TaxChain finds the column names below them, so upload the file as you downloaded it.
Ligação por APIAinda não disponível
CCXT `coinbase` (Advanced Trade fills, and the app's v2 transaction list) [3]
A Coinbase Developer Platform key with the View permission only: a key name and a private key, no passphrase.
Not offered in production: no CCXT exchange is, until a sync against a sandbox or a real account has read a known history in full.
It also cannot finish. CCXT reads Coinbase deposits, withdrawals and the transaction list one account (one asset) at a time and refuses a request for all of them, which is how TaxChain asks; a sync stops at deposits after reading the Advanced Trade fills.
Fills come from the Advanced Trade fills list [4]. Coinbase does not say whether it lists them newest or oldest first, which decides whether TaxChain's paging reads them all.
Converts, staking and other rewards are only in the app's v2 transaction list [5], which CCXT reads per account by cursor. Reading it properly means walking every account and mapping Coinbase's transaction types; that is work still to do.
CCXT has no sandbox for Coinbase, so it cannot be tried on a test stack.
O que é lido
| Operação | Estado |
|---|---|
| Buys and sellsSimple trades and Advanced Trade (also under the older spelling Advance Trade), and Credit rows, which are buys. When a trade was paid in another asset (USDC on BTC-USDC, say), that asset and its quantity are read from the Notes column, so both sides are recorded. | Lido |
| ConvertsThe asset received is read from the Notes column. If the note does not name it, the asset given is still disposed of, with a warning, and the asset received has no purchase recorded. | Lido |
| Deposits and withdrawalsCrypto sends and receives, and bank deposits and withdrawals. A send counts as a disposal unless you mark it as a transfer to a wallet of your own. | Lido |
| Trading feesRecorded as the report states them, in your account's currency. On a trade paid in USDC, the USDC side is the quantity the Notes give. Parsers of real reports read that as the amount paid including the fee on a buy, and as the amount received after the fee on a sale [6], so the fee's USDC is accounted for; this has not been checked against a real export. | Lido em parte |
| Network fees on sendsThe report gives a value, not the coins spent; whether the quantity sent includes the fee has not been checked against a real export. | Lido em parte |
| Staking rewardsStaking Income, Rewards Income, Reward Income and Inflation Reward. ETH2 is read as ETH. | Lido |
| Learning rewards (Coinbase Earn) and interestLearning Reward, Coinbase Earn, Interest and Interest Payout rows are income, read as staking rewards, and so is a Receive whose note says it came from Coinbase Earn or Coinbase Rewards. A Receive from a referral is read as a reward received for nothing, like an airdrop. | Lido |
| RebatesSubscription rebates (Coinbase One) are read as rewards received for nothing, like an airdrop. A rebate paid in money rather than crypto is not a crypto transaction and is left out. | Lido |
| Spending and dustRetail Simple Dust (small balances swept), Card Spend and Subscription rows are sales of the crypto for your account's currency, at the value the report gives; a sweep whose note names a crypto received is a swap into it. Donation and Admin Debit rows are disposals listed for review, like a send. A payment from a money balance moves no crypto and is left out. | Lido |
| Asset migrationsCoinbase writes a token migration as two rows: the old asset leaving is a disposal, the new one arriving a receipt at its value. The older report does not sign its quantities, so there an Asset Migration row is skipped with a warning: add it by hand. | Lido em parte |
| Moves between your own Coinbase accountsPro, Prime and Exchange deposits and withdrawals, moves into and out of staking, the vault and savings, and Transfer rows are transfers: nothing is taxed. | Lido |
| Futures and perpetualsTaxChain reads no derivative rows from Coinbase. Through the API a futures fill stops the sync. | Não lido |
| Coinbase WalletA separate, self-custody app. Add its addresses as chain sources. | Não se aplica |
Limitações
- A row whose type TaxChain does not know is skipped with an "Unknown transaction type" warning naming the type. A missing purchase stops a calculation; missing income does not, so read the import's warnings and add such rows by hand.
- Learning rewards and receipts from Coinbase Earn or Coinbase Rewards are counted as staking income, and referral rewards and subscription rebates as rewards received for nothing. If your adviser classes them otherwise, change them in TaxChain.
- Donations, admin debits and the outgoing side of an asset migration are counted as disposals at their value, as a send is. Review them: a donation may be treated differently where you file.
- If your Coinbase account's currency is not EUR, the report's values are in that currency, and TaxChain does not take them as euro amounts.
- Trades made on Coinbase Pro, which closed in 2023, had statements of their own, and TaxChain reads no Pro statement. The Pro deposits and withdrawals in this report, which moved coins between the two, are read as transfers.
- Futures and perpetuals on Coinbase are not read.
Como foi verificado
- 19 de novembro de 2026Both report layouts tested on rows written to Coinbase's format: buys, sells and Advanced Trade trades paid in USDC, converts, staking, currency-prefixed and signed amounts, duplicate rows in the older layout.
- 20 de novembro de 2026Every transaction type other parsers of real exports document [6] run through the adapter: 22 read and classified, 5 internal moves produce nothing, and 10 income or spending types are skipped (tests marked as expected failures until fixed). The file as downloaded, preamble included, fails under the import's own parsing.
- 21 de novembro de 2026The skipped types placed, each as the same parser reads it: Reward Income, Interest Payout and Subscription Rebates as income, Retail Simple Dust, Card Spend and Subscription as sales, Donation, Admin Debit and an outgoing Asset Migration as disposals, the vault, savings, Prime and Transfer rows as transfers, a Receive from Coinbase Earn, Coinbase Rewards or a referral as income. Each fix was checked by putting the defect back and seeing its test fail. The ids of rows read before are unchanged. The file as downloaded, both layouts, is now read through the import's own header search.
- 20 de novembro de 2026API: CCXT's recorded Advanced Trade fills and v2 sends through the normalizers, and a sync through the real CCXT client with its HTTP calls replaced: it stops at deposits.
O que o tornaria Verificado
Check against a real report what the newly read types look like: the Notes of a dust sweep, the sign of Asset Migration rows, and whether an Advanced Trade's Notes quantity includes the fee.
A real transaction history report, ideally several years with converts, staking and Advanced Trade trades in USDC, imported and reconciled through the engine: each asset's final quantity against Coinbase's own balances, and the year's figures against the report's values.
For the API: read the v2 transaction list per account with its cursor, map Coinbase's documented types, and reconcile a real account's sync against its own report.
Como adicionar
- On coinbase.com, on a computer, open your profile and choose Reports (or Statements).
- Next to Transaction history, choose Generate report, pick CSV, all assets and all time, and download the file when it is ready [1].
- In TaxChain, open Wallets, choose Add source, pick Coinbase and upload the file as downloaded. Read the warnings: each skipped row is listed with its type.
Referências
- [1]How to view your balance and transactions (transaction history report). Coinbase Help. The help centre refuses automated reading; the steps are as summarised by search on 2026-11-20 and should be checked in the app.
- [2]Coinbase: nouveau format de fichier (issue 595). CryptoFiscaFacile, GitLab. A user report of the current layout: a "Transactions" and user line, then the ID, Timestamp… header.
- [3]CCXT 4.5.93, coinbase.ts. CCXT. Read for the endpoints each method calls, the parameters it requires, and whether it has a sandbox URL.
- [4]Advanced Trade API: List Fills. Coinbase Developer Platform. Cursor pagination and start and end timestamps; the default order is by creation time, direction not stated.
- [5]Track APIs: Transactions. Coinbase Developer Platform. The app's transaction types (buy, sell, trade, send, earn_payout, staking_transfer, subscription_rebate…) and the View scope.
- [6]BittyTax Coinbase parser (coinbase.py). BittyTax. Lists the report's layouts and transaction types as found in real exports, and the Notes patterns for trades and converts.
Última verificação face à documentação da plataforma e ao código do TaxChain em 21 de novembro de 2026.