@@ -29,24 +29,28 @@ account Asset:Checking
account Liabilities:Credit Card:Visa
note Visa Credit Card account for entire organization
assert commodity == "$"
; Organizational accrual accounts
account Accrued:Accounts Receivable:Main Org
note Accrued receivables for Main Org
account Accrued:Accounts Payable:Main Org
note Accrued payables for Main Org
; Organizational Expense Accounts
; NOTE: the payee =~ test is *not* included herein and must be cut-and-pasted
; to the assert in ever Expense account because of the following bug:
; http://bugs.ledger-cli.org/show_bug.cgi?id=953
define expenseChecker() = (tag("Receipt") !~ /^\s*$/ or tag("Invoice") !~ /^\s*$/ or tag("Statement") !~ /^\s*$/) and tag("Program") !~ /^\s*$/
; or payee =~ /NEVER CHARGED/
account Expense:Main Org:Office Supplies
assert expenseChecker() or payee =~ /NEVER CHARGED/
note Main Organization's Office Supplies and Sundries
@@ -58,21 +62,25 @@ account Expense:Main Org:Payroll:Salary
account Expense:Main Org:Payroll:Benefits
note Main Organization's Staff Benefits
account Expense:Main Org:Phones
note Main Organization's Phone Expenses
account Expense:Main Org:Hosting
note Main Organization's Network Hosting Provider services
account Expense:Main Org:Development
note Main Organization's software development expenses
account Expense:Main Org:Occupancy
note Main Organization's Occupancy for Office Space and the like
; Organizational Income Accounts
account Income:Main Org:Donations
assert tag("IncomeType") =~ /^Donations$/
note Donation income to the Main Org.