There's no facility to do this. You can write a script to handle the separation by processing the stream of transactions yourself.
On Tue, Apr 6, 2021 at 3:16 PM david e <i...@davidebner.de> wrote: > I am wondering about how to book transaction costs correctly. as I am > doing ethereum tx, I have to track cost basis of the fees. compared to > paying fees to a broker, this is a bit more work. > > my entry would look like this: > > 2018-01-01 * "Send 1.5 ETH & 0.05 ETH gas" > Assets:Crypto:ETH -1.55 ETH {} > Expenses:Crypto 100 USD > Expenses:Crypto:Fees 1 USD > Income:Crypto:PnL > > but in this case, the PnL is the total of both ETH entries (Assets and > Fees). to have the entries separated, it could look like this, split into > two entries: > > 2018-01-01 * "Send 1.5 ETH example" > Assets:Crypto:ETH -1.5 ETH {} > Expenses:Crypto 100 USD > Income:Crypto:PnL > > 2018-01-01 * "Send 0.05 ETH for gas example" > Assets:Crypto:ETH -0.05 ETH {} > Expenses:Crypto:Fees 1 USD > Income:Crypto:PnL > > my question: is it possible to calculate / report the PnL of the fees > separately even though I list it in one entry as shown above? or do I have > to split it for correct calculation? > > my assumption is that for tax reporting I have to be able to list PnL for > each position and therefore it would be a problem to mix it with the fees. > > thanks > > -- > 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 beancount+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/929614fd-dbff-4a6f-a43e-07dfd3ab7879n%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/929614fd-dbff-4a6f-a43e-07dfd3ab7879n%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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMJ7b8qpS9nhOruN0WODJk5B76gpS8u2HbtVVd_cnJFWA%40mail.gmail.com.