Having messed up my original ledger.dat file I am starting fresh and am
immediately confused.
My ~/ledger.dat file so far:
Assets:Checking: $1,669.73
Liabilities:Credit_Card: $1,929.46
Equity:Opening Balance
2021/01/01 (#1004)
Expenses:Rent $1,000.00
Assets:Check
On Thu, 15 Apr 2021 at 20:26, Oliver Hardy wrote:
> My ~/ledger.dat file so far:
> Assets:Checking: $1,669.73
> Liabilities:Credit_Card: $1,929.46
> Equity:Opening Balance
>
> 2021/01/01 (#1004)
> Expenses:Rent $1,000.00
> Assets:Checking
>
> 2021/01/04 IRS
>
* Oliver Hardy [2021-04-15 06:25]:
> My ~/ledger.dat file so far:
> Assets:Checking: $1,669.73
> Liabilities:Credit_Card: $1,929.46
> Equity:Opening Balance
This is not valid syntax. Unfortunately ledger ignores invalid
syntax.
You want:
2021/01/01 * Opening balance
Assets:Checking
Martin:
2021/01/01 * Opening balance
Assets:Checking $1,669.73
Liabilities:Credit_Card -$1,929.46
Equity:Opening Balance
2021/01/01 (#1004)
Expenses:Rent $1,000.00
Assets:Checking
2021/01/04 IRS
Assets:Checking $600.00
Income:Misc
* Oliver Hardy [2021-04-15 07:37]:
> 2021/01/01 * Opening balance
> Assets:Checking $1,669.73
> Liabilities:Credit_Card -$1,929.46
> Equity:Opening Balance
Postings must have a space at the beginning:
2021/01/01 * Opening balance
Assets:Checking $1,669.73
Liabilities:Credit_Card -$1,929.
Thank you, Martin and Yuri. I think I finally have it.
Much appreciated.
Arthur
On Thursday, April 15, 2021 at 10:50:46 AM UTC-4 Martin Michlmayr wrote:
> * Oliver Hardy [2021-04-15 07:37]:
> > 2021/01/01 * Opening balance
> > Assets:Checking $1,669.73
> > Liabilities:Credit_Card -$1,929.46
> >