Apart from patio11's good advice I would add that it may be important (depending on your tax laws) to record the value of the asset (i.e. BTC or whatever) when you received it and the value when you sold it. The difference may be capital gains/losses and might be taxed differently. You also need to understand if the accounting is LIFO (the last BTC you received are sold first), FIFO (the first BTC you received are sold first) or cost averaged. Some countries require that you declare which system you are using before you do any transactions, so some caution is warranted. I don't know how the tax system works in your country so this is not advice. See paragraph 1 :-)
P.S. I've never bought nor sold crypto currencies, but my small consulting business is primarily overseas work, so I have to do a lot of FOREX.
Wish there was a dummies book on this. I do have an accountant btw but want to learn myself.
If you run a small business which grosses $X,000 per month, you will a) find that that is not that rare and b) benefit from keeping appropriate records of your expenses, including electricity and depreciation of expensive equipment, such that you can claim them on the tax return for your business each year.
You might choose to swap assets of the business directly for pizza but this is, in general, not a good decision relative to swapping them for money and money for pizza.
Your cost basis in intellectual property is typically the marginal cost to produce it. You can run the question of how exactly to bookkeep it past your accountant, but the profit of a mining businesses with $8k gross revenue and $2k of expenses per month should be $6k.
If you believe your mining business to have insurmountable challenges in bookkeeping at the scale you’re operating it at then maaaaaybe you should hire professional help or exit the business.