If you're a bitcoin investor and have cashed in on your gains — or made purchases using the cryptocurrency — don't forget the Internal Revenue Service is entitled to a piece of the action. The value of one bitcoin has surged this year to more than $9,000 as of Thursday morning from $997 (and up from less than a dollar in 2010). There's a good chance if you have cashed out or paid for anything using it, you have capital gains to report to the IRS. Basically, the tax agency has ruled that bitcoin and other cryptocurrencies are viewed as property and not currency for tax purposes. And although you may not receive a Form 1099 from whatever exchange you trade on, you remain responsible for paying taxes on gains. (Click on chart below to enlarge.)

"If you make a transaction, the onus will be on you to report it," said certified financial planner Samuel Boyd, senior vice president of Capital Asset Management Group in Washington, D.C. "Those transactions generate either short-term capital gains or losses or long-term capital gains or losses." For many investments, individuals generally receive a Form 1099 that shows their taxable gains. The form also is sent to the IRS, which gives the agency a way to identify any differences in what's reported between brokerages and taxpayers. The IRS has ruled that even if you get no official notice of your taxable gains, the agency wants its share. On Wednesday, a U.S. District Court judge in California ordered Coinbase, a popular platform for buying and selling bitcoin and other cryptocurrencies, to turn over identifying information on accounts worth at least $20,000 during 2013 to 2015. It's unclear whether the exchange will comply or contest the ruling.

Jaap Arriens | NurPhoto | Getty Images

The order, which affects about 10,000 accounts, is a narrowing of an earlier effort by the IRS. In a blog on the Coinbase website, the company notes that the first request would have impacted another 480,000 accounts. The court case arose after the IRS found that for in each year from 2013 to 2015, only about 800 taxpayers claimed bitcoin gains. During that time, the cryptocurrency rose to $430 from about $13. So how do you determine what you owe? If you held it for one year or less, it is a considered a short-term gain and is taxed as ordinary income. Depending on your tax bracket for 2017, that could range from a tax rate of 10 percent to 39.6 percent.

It might seem innocuous and veiled and like no will follow up, but records of those transactions are available. Samuel Boyd Senior vice president of Capital Asset Management Group