conservancy_beancount/tests/books/ledger.beancount
Brett Smith 52e7f3a221 ledger: Only display accounts requested with --account.
Now that we're accepting classifications, it's possible to specify account
options that select some but not all accounts at the same level of the
hierarchy. This commit tracks requested account names separately from sheet
names to do that correctly.
2020-07-20 13:13:22 -04:00

52 lines
1.5 KiB
Text

2018-01-01 open Equity:OpeningBalance
2018-01-01 open Assets:Checking
classification: "Cash"
2018-01-01 open Assets:PayPal
classification: "Cash"
2018-01-01 open Assets:Prepaid
classification: "Prepaid expenses"
2018-01-01 open Assets:Receivable:Accounts
classification: "Accounts receivable"
2018-01-01 open Expenses:Other
classification: "Other expenses"
2018-01-01 open Income:Other
classification: "Other income"
2018-01-01 open Liabilities:CreditCard
classification: "Accounts payable"
2018-01-01 open Liabilities:Payable:Accounts
classification: "Accounts payable"
2018-01-01 open Liabilities:UnearnedIncome
classification: "Unearned income"
2018-02-28 * "Opening balance"
Equity:OpeningBalance -10,000 USD
Assets:Checking 10,000 USD
2018-06-06 * "Accrued expense"
project: "eighteen"
Liabilities:Payable:Accounts -60 USD
Expenses:Other 60 USD
2018-09-09 * "Paid expense"
Liabilities:Payable:Accounts 60 USD
project: "eighteen"
Assets:Checking -60 USD
2018-12-12 * "Accrued income"
project: "eighteen"
Assets:Receivable:Accounts 120 USD
Income:Other -120 USD
2019-03-03 * "Paid income"
Assets:Receivable:Accounts -120 USD
project: "eighteen"
Assets:Checking 120 USD
2019-06-06 * "Credit card expense"
Liabilities:CreditCard -65 USD
Expenses:Other 65 USD
project: "nineteen"
2019-09-09 * "Credit card paid"
Liabilities:CreditCard 65 USD
Assets:Checking -65 USD