* psionl0 <gsch...@iinet.net.au> [2021-12-10 00:32]:
> "I thought that by adding the ; [=DATE] in methods 2 and 3 I was recording 
> the day the paypal account was settled, am I wrong?"
> You are putting the date in a comment which means it has no effect on the 
> reports that Ledger generates.

It's actually valid syntax for an aux date on a posting; you have to
use --effective to use the aux date.

# ledger -f e reg payp
2021-05-20 Starbucks   Assets:Paypal    -90.00 EUR               -90.00 EUR
                       Assets:Paypal     90.00 EUR                        0
                       Assets:Paypal    -80.00 GBP               -80.00 GBP
# ledger -f e reg payp --effective
2021-05-22 Starbucks   Assets:Paypal    -90.00 EUR               -90.00 EUR
2021-05-31 Starbucks   Assets:Paypal     90.00 EUR                        0
^^^^^^^^^^^^^^
2021-05-22 Starbucks   Assets:Paypal    -80.00 GBP               -80.00 GBP

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/YbNcu0sBnLiv91Hk%40jirafa.cyrius.com.

Reply via email to