I lied I was missing the new error message:
/home/salotz/tree/personal/studio/projects/index/finance/ledger/ledger.beancount:1161:
Transaction does not balance: (0.00105853 BTC)
2017-06-14 * "Transfer" "Transfer funds to Jaxx wallet"
Expenses:Fees:BTCMining 0.00105853
BTC
Assets:BTC:Coinbase -0.00144853 BTC {2661.48 USD,
2017-06-14}
Assets:BTC:Jaxx 0.00039 BTC @
9885.214421538461538461538462 USD
Upon investigation in bean-doctor:
------------ Balances before transaction
Expenses:Fees:BTCMining
Assets:BTC:Coinbase 0.004151 BTC {2247.70 USD,
2017-05-24}
Assets:BTC:Coinbase 0.01878653 BTC {2661.48 USD,
2017-06-14}
Assets:BTC:Jaxx
------------ Transaction
2017-06-14 * "Transfer" "Transfer funds to Jaxx wallet"
Expenses:Fees:BTCMining 0.00105853 BTC
; 0.00105853 BTC
Assets:BTC:Coinbase -0.00144853 BTC {2661.48 USD, 2017-06-14}
; -3.8552336244 USD
Assets:BTC:Jaxx 0.00039000 BTC @ 9885.21 USD ;
3.855233624400000000000000000 USD
Residual: (0.00105853 BTC)
Tolerances: BTC=5E-9
Basis: (-3.8552336244 USD)
------------ Balances after transaction
* Expenses:Fees:BTCMining
0.00105853 BTC
Assets:BTC:Coinbase 0.004151 BTC {2247.70 USD,
2017-05-24}
* Assets:BTC:Coinbase 0.01733800 BTC {2661.48 USD,
2017-06-14}
* Assets:BTC:Jaxx
0.00039 BTC
It seems that it is booking the lot from Assets:BTC:Coinbase all to
Assets:BTC:Jaxx because of the use of that syntax, and then the mining fee
leg is unbalanced and not considered at all. So I tried:
2017-06-14 * "Transfer" "Transfer funds to Jaxx wallet"
Assets:BTC:Coinbase
-0.00144853 BTC {}
Expenses:Fees:BTCMining
0.00105853 BTC @ USD
Assets:BTC:Jaxx
0.00039 BTC @ USD
And to reverse the autofilling of the amount:
2017-06-14 * "Transfer" "Transfer funds to Jaxx wallet"
Assets:BTC:Coinbase
-0.00144853 BTC {}
Expenses:Fees:BTCMining
Assets:BTC:Jaxx
0.00039 BTC @ USD
But I get this error for both:
/home/salotz/tree/personal/studio/projects/index/finance/ledger/ledger.beancount:1163:
Too many missing numbers for currency group 'USD'
Not sure what to do at this point except for booking the mining fee in a
separate transaction.
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/0a916715-69ab-4337-b327-c256aa3e1f3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.