See the v3 doc, there's an item for solving that.
https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/edit#

It's not 100% obvious the right way to do it - adjusting the cost basis
with a plugin / scan of the entries will make it more difficult to match
against a previous lot (by specifying the price) but if you don't care
about that it's doable with a plugin. I've writen custom scripts in the
past, for specific accounts.



On Fri, Jan 22, 2021 at 11:37 PM Ghanashyam Prabhu <[email protected]>
wrote:

> 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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/c38eea71-94a5-4cef-b46f-53c5a980de7an%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/c38eea71-94a5-4cef-b46f-53c5a980de7an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhMn1jPEAs2Bk0VKmRRyRnrGxjLHaNxO%3DRS76oxs18d4fA%40mail.gmail.com.

Reply via email to