wouldn't it be correct to add the transaction costs in its own account into the transaction, and thereby beancount is able to list the fees separately?
compared to my example from above I would have to add one line: 2018-01-01 * "Send 1.5 ETH & 0.05 ETH gas" Assets:Crypto:ETH -1.5 ETH {} ;; list the ETH amount without tx cost Expenses:Crypto 100 USD ;; matching the 1.5 eth Assets:Crypto:ETH -0.05 ETH {} ;; tx cost listed separately Expenses:Crypto:Fees 1 USD ;; cost matching the 0.05 eth Income:Crypto:PnL this way I would be able to query for all entries including fees and therefore this solution works instead of dividing the tx into two entries? bl...@furius.ca schrieb am Mittwoch, 7. April 2021 um 00:16:41 UTC+2: > 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 <in...@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+...@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/2d7daa6e-32a2-4a33-92b2-af1b48dbf29cn%40googlegroups.com.