For crypto taxation, the cost basis is calculated along cost of the crypto inclusive of the exchange fees. Consider the following transaction recorded by an exchange.
2020-10-25 * "Coinbase" "Buy BTC at Coinbase"
Assets:US:Crypto:Coinbase:BTC 0.03683173 BTC {13575.25 USD, 2020-10-25}
Assets:US:Crypto:Coinbase:Cash -500.00 USD
I have one account Assets:US:Crypto:Coinbase:Cash to which I transfer cash from a checking out. From this Coinbase:Cash account I purchase BTC and I'd like to record fees spent as well.
Here the cost basis of 13575.25 USD per BTC is calculated inclusive of the cost of the Fees.
How does one record the exchange fees so we can track fees in the beancount ledger?
Pls suggest.