You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The email address is the one tied to your Coinbase user, and the last line represents which Account you have exported the history for.
Next is the header line, which I've split into one column per line for readability:
Timestamp
Balance
Amount
Currency
To
Notes
Instantly Exchanged
Transfer Total
Transfer Total Currency
Transfer Fee
Transfer Fee Currency
Transfer Payment Method
Transfer ID
Order Price
Order Currency
Order BTC
Order Tracking Code
Order Custom Parameter
Order Paid Out
Recurring Payment ID
Coinbase ID (visit https://www.coinbase.com/transactions/[ID] in your browser)
Bitcoin Hash (visit https://www.coinbase.com/tx/[HASH] in your browser for more info)
Following that are the transactions. I'll give three examples.
First is a time I purchased BTC with a linked bank account.
2017-01-01 12:00:00 -0700,0.1,0.1,BTC,username@example.com,Paid for with $20.00 from Acme Bank - Bank xxxxxxxx1234.,false,20.00,USD,0.30,USD,Acme Bank - Bank ********1234,0xsomehex,"","","","","","","",0xsomehex,0xsomehex
The next two are similar but I'm not sure what the difference in cause was. It could be the first was me manually sending BTC to an address and the second was using the Coinbase integration from a third-party site.
2017-02-01 09:00:00 -0700,0.25,-0.03,BTC,SomeBTCAddress,"",false,"","","","","","",5.0,USD,0.04,ABC123,AABBCC112233,true,"",0xsomehex,0xsomehex
2017-03-01 18:00:00 -0700,0.4,-0.1,BTC,SomeBTCAddress,Merchant Order ABC123,false,"","","","","","",10.0,USD,0.1,ABC123,AABBCC112233,true,"",0xsomehex,""
So the full CSV would look like this:
Transactions
User,username@example.com,0xsomehex
Account,BTC Wallet,0xsomehex
Timestamp,Balance,Amount,Currency,To,Notes,Instantly Exchanged,Transfer Total,Transfer Total Currency,Transfer Fee,Transfer Fee Currency,Transfer Payment Method,Transfer ID,Order Price,Order Currency,Order BTC,Order Tracking Code,Order Custom Parameter,Order Paid Out,Recurring Payment ID,Coinbase ID (visit https://www.coinbase.com/transactions/[ID] in your browser),Bitcoin Hash (visit https://www.coinbase.com/tx/[HASH] in your browser for more info)
2017-01-01 12:00:00 -0700,0.1,0.1,BTC,username@example.com,Paid for with $20.00 from Acme Bank - Bank xxxxxxxx1234.,false,20.00,USD,0.30,USD,Acme Bank - Bank ********1234,0xsomehex,"","","","","","","",0xsomehex,0xsomehex
2017-02-01 09:00:00 -0700,0.25,-0.03,BTC,SomeBTCAddress,"",false,"","","","","","",5.0,USD,0.04,ABC123,AABBCC112233,true,"",0xsomehex,0xsomehex
2017-03-01 18:00:00 -0700,0.4,-0.1,BTC,SomeBTCAddress,Merchant Order ABC123,false,"","","","","","",10.0,USD,0.1,ABC123,AABBCC112233,true,"",0xsomehex,""
For completeness, this is what I would expect ledger-autosync to output:
I'd like to request the ability to import my Coinbase history using
ledger-autosync
. You can download your Coinbase history as a CSV file here.What follows is a description of the format of the CSV.
At the top is an extra header section that looks like this:
The email address is the one tied to your Coinbase user, and the last line represents which Account you have exported the history for.
Next is the header line, which I've split into one column per line for readability:
Following that are the transactions. I'll give three examples.
First is a time I purchased BTC with a linked bank account.
The next two are similar but I'm not sure what the difference in cause was. It could be the first was me manually sending BTC to an address and the second was using the Coinbase integration from a third-party site.
So the full CSV would look like this:
For completeness, this is what I would expect
ledger-autosync
to output:Of course, the account names could be slightly different, or if possible we could detect them based on previous Ledger entries.
As a bonus, maybe we could include the
Bitcoin Hash
and the destination address (aboveSomeBTCAddress
) as tags on the relevant transactions.Thanks to the
Balance
column, it should also be possible to include balance assertions if requested.The text was updated successfully, but these errors were encountered: