On 11/10/2017 17:19, David Houck wrote:
Hi,

Anyone use the budgetting and forecasting to model income in addition to expenses as shown in the example on page 94 of the latest ledger-cli PDF user guide?

If so, how would the income be expressed in the periodic transaction block? I tried placing two ~ Monthly transactions in the ledger file, one for expenses, one for income, but that did not seem to work.

Could you show us an example of what you are trying to do?
Something like this should work:

~ Monthly since 2017/01/01 until 2017/12/31
    Income                                     -$5.000,00
    Assets

~ Monthly since 2017/01/01 until 2017/12/31
    Expenses:Housing:Rent                       $1.000,00
    Assets

Then, to get a budget report for income

    ledger budget --real -p 'this year' income

Or, if you want both income and expenses:

    ledger budget --real -p 'this year' income expenses

Life.

--

--- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to