howeyc / ledger

Command line double-entry accounting program
https://howeyc.github.io/ledger/
ISC License
461 stars 43 forks source link

Result of register report in reverse order #24

Closed pedroalbanese closed 3 years ago

pedroalbanese commented 3 years ago

Two examples:

2020/11/01 Paypal Invoice
    Assets:Checking                                                       68.67
    Assets:Wallet                                                          0.13
    Income:Paypal                                                        -68.80

2020/12/22 Withdraw
    Assets:Funds:Bank                                                   -170.00
    Assets:Wallet                                                        170.00

2020/11/01 Paypal Invoice Assets:Wallet                     68.67      68.67
2020/11/01 Paypal Invoice Assets:Checking                    0.13      68.80
2020/12/22 Withdraw       Assets:Wallet                   -170.00    -101.20
2020/12/22 Withdraw       Assets:Funds:Bank                170.00      68.80

In the register report the order is reversed, it is crediting 68.67 in the wallet, and 0.13 in the checking account.. Why?

Thanks.