Files @ 072937eff508
Branch filter:

Location: NPO-Accounting/conservancy_beancount/tests/books/accruals.beancount

Brett Smith
books.Loader: New loading strategy.

The old loading strategy didn't load options, which yielded some
spurious errors. It also created awkward duplication of plugin
information in the code as well as the books.

Implement a new loading strategy that works by reading one of the
"main files" under the books/ subdirectory and includes entries
for additional FYs beyond that.

This is still not ideal in a lot of ways. In particular, Beancount can't
cache any results, causing any load to be slower than it theoretically could
be. I expect more commits to follow. But some of them might require
restructuring the books, and that should happen separately.
2020-01-01 open Assets:Checking
2020-01-01 open Assets:Receivable:Accounts
2020-01-01 open Expenses:FilingFees
2020-01-01 open Expenses:Services:Legal
2020-01-01 open Income:Donations
2020-01-01 open Liabilities:Payable:Accounts

2020-05-05 * "DonorA" "Donation pledge"
  rt-id: "rt:505"
  invoice: "rt:505/5050"
  approval: "rt:505/5040"
  Income:Donations  -1000.00 USD
  Assets:Receivable:Accounts  1000.00 USD

2020-05-10 * "Lawyer" "April legal services"
  rt-id: "rt:510"
  invoice: "rt:510/5100"
  contract: "rt:510/4000"
  Expenses:Services:Legal  200.00 USD
  Liabilities:Payable:Accounts  -200.00 USD

2020-05-15 * "DonorB" "Donation pledge"
  rt-id: "rt://ticket/515"
  invoice: "rt://ticket/515/attachments/5150"
  approval: "rt://ticket/515/attachments/5140"
  Income:Donations  -1500.00 USD
  Assets:Receivable:Accounts  1500.00 USD

2020-05-20 * "DonorA" "Donation made"
  rt-id: "rt:505"
  invoice: "rt:505/5050"
  Assets:Receivable:Accounts  -1000.00 USD
  Assets:Checking  1000.00 USD
  receipt: "DonorAWire.pdf"

2020-05-25 * "Lawyer" "May payment"
  rt-id: "rt:510"
  invoice: "rt:510/5100"
  Liabilities:Payable:Accounts  200.00 USD
  contract: "rt:510/4000"
  Assets:Checking  -200.00 USD
  receipt: "rt:510/5105"

2020-06-10 * "Lawyer" "May legal services"
  rt-id: "rt:510"
  invoice: "rt:510/6100"
  contract: "rt:510/4000"
  Expenses:Services:Legal  220.00 USD
  Liabilities:Payable:Accounts  -220.00 USD

2020-06-12 * "Lawyer" "Additional legal fees for May"
  rt-id: "rt:510"
  invoice: "rt:510/6100"
  contract: "rt:510/4000"
  Expenses:FilingFees  60.00 USD
  Liabilities:Payable:Accounts  -60.00 USD