paisa: templates/ (personal, household, business, corporation); richer demo data

- templates/: split template/ into personal, household, business (sole
  proprietor) and corporation
- demo: BMO/RBC/Scotiabank/CIBC accounts, GIC, BTC wallet, office
  equipment, hand tools, recurring internet/water/cleaning, more credit
  card activity; tax sheet figures updated
- year and budget files include accounts.ledger so the editor's
  per-file --pedantic check passes
- docs follow ${VOL_PATH:-/data}/paisa; drop paisa VOL_PATH exceptions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
code
2026-11-22 17:55:25 +00:00
co-authored by Claude Opus 5.5
parent 16e957108f
commit da178b48fc
41 changed files with 973 additions and 86 deletions
+3
View File
@@ -0,0 +1,3 @@
# paisa.db is a rebuildable cache next to paisa.yaml; keep it out of git
paisa.db
paisa.db-*
+41
View File
@@ -0,0 +1,41 @@
; 2026 transactions. Uncomment and edit the examples below, or delete them.
; Add a file per year (2027.ledger, ...) and include it in main.ledger.
; See docs/ledger-cheatsheet.md for more patterns.
; Declares the accounts so Paisa's editor can check this file on its own
include accounts.ledger
; Starting balances: what you have and owe on day one
; 2026/01/01 Opening balances
; Assets:Bank:Chequing 2,500.00 CAD
; Assets:Bank:Savings 5,000.00 CAD
; Liabilities:CreditCard -800.00 CAD
; Equity:OpeningBalances
; Paycheque: record gross pay and each deduction from the pay stub
; 2026/01/15 Employer | Pay period ending Jan 15
; Assets:Bank:Chequing 2,150.00 CAD
; Expenses:Tax:Income 480.00 CAD
; Expenses:Tax:CPP 170.00 CAD
; Expenses:Tax:EI 50.00 CAD
; Income:Salary -2,850.00 CAD
; Rent
; 2026/02/01 Landlord | February rent
; Expenses:Housing:Rent 1,800.00 CAD
; Assets:Bank:Chequing
; Groceries on the credit card
; 2026/01/18 Grocery store
; Expenses:Food:Groceries 124.37 CAD
; Liabilities:CreditCard
; Pay off the credit card
; 2026/01/25 Credit card payment
; Liabilities:CreditCard 924.37 CAD
; Assets:Bank:Chequing
; TFSA contribution
; 2026/01/31 TFSA contribution
; Assets:Investments:TFSA 500.00 CAD
; Assets:Bank:Chequing
+58
View File
@@ -0,0 +1,58 @@
; Chart of accounts for one person in BC.
; Add, rename, or delete accounts to suit you. With strict: "yes",
; every account used in a transaction must be declared here first.
commodity CAD
format 1,000.00 CAD
; Assets
account Assets:Bank:Chequing
account Assets:Bank:Savings
account Assets:Cash
account Assets:Investments:TFSA
account Assets:Investments:RRSP
account Assets:Investments:NonRegistered
; Liabilities
account Liabilities:CreditCard
account Liabilities:LineOfCredit
account Liabilities:Loan:Vehicle
account Liabilities:Loan:Student
; Equity
account Equity:OpeningBalances
; Income
account Income:Salary
account Income:Interest
account Income:Dividends
account Income:TaxRefund
account Income:Gifts
; Payroll deductions (from the pay stub)
account Expenses:Tax:Income
account Expenses:Tax:CPP
account Expenses:Tax:EI
; Expenses
account Expenses:Housing:Rent
account Expenses:Housing:Insurance
account Expenses:Utilities:Hydro
account Expenses:Utilities:Internet
account Expenses:Utilities:Phone
account Expenses:Food:Groceries
account Expenses:Food:Restaurants
account Expenses:Transport:Transit
account Expenses:Transport:Fuel
account Expenses:Transport:Insurance
account Expenses:Health:MSP
account Expenses:Health:Dental
account Expenses:Health:Pharmacy
account Expenses:Personal:Clothing
account Expenses:Personal:Subscriptions
account Expenses:Entertainment
account Expenses:Travel
account Expenses:Gifts
account Expenses:Donations
account Expenses:BankFees
account Expenses:Interest
+17
View File
@@ -0,0 +1,17 @@
; Monthly budget (Paisa reads periodic transactions as budgets)
; TODO: set amounts to match your spending, or delete lines you don't need.
; Declares the accounts so Paisa's editor can check this file on its own
include accounts.ledger
~ Monthly
Expenses:Housing:Rent 1,800.00 CAD
Expenses:Utilities:Hydro 60.00 CAD
Expenses:Utilities:Internet 80.00 CAD
Expenses:Utilities:Phone 60.00 CAD
Expenses:Food:Groceries 500.00 CAD
Expenses:Food:Restaurants 200.00 CAD
Expenses:Transport:Transit 110.00 CAD
Expenses:Personal:Subscriptions 40.00 CAD
Expenses:Entertainment 150.00 CAD
Assets:Bank:Chequing
+9
View File
@@ -0,0 +1,9 @@
; TODO: Your Name — personal books (BC, Canada)
; Ledger git repo: ${VOL_PATH:-/data}/paisa, mounted at /root/Documents/paisa
; Calendar year (January 1 to December 31), matching the personal tax year
;
; Add a file per year (2027.ledger, ...) and include it below.
include accounts.ledger
include budget.ledger
include 2026.ledger
+87
View File
@@ -0,0 +1,87 @@
# Paisa template: Personal (single person) — copy this folder into ${VOL_PATH:-/data}/paisa (git repo)
# Fill in the TODOs in main.ledger and accounts.ledger, then start recording in the year file.
# Reference: https://paisa.fyi/reference/config/
# Relative paths resolve from this file's directory (in git)
journal_path: main.ledger
sheets_directory: sheets
# Database sits next to this file; .gitignore keeps it out of git
db_path: paisa.db
# ledger | hledger | beancount (hledger/beancount need the matching image tag)
ledger_cli: ledger
# Upstream defaults are tuned for India (INR / en-IN / April FY)
default_currency: CAD
locale: en-US
time_zone: America/Vancouver
display_precision: 2
amount_alignment_column: 52
# Calendar year, matching the personal tax year
financial_year_starting_month: 1
week_starting_day: 0
# Accounts and commodities are declared in accounts.ledger; typos become errors
strict: "yes"
budget:
rollover: "yes"
# Empty = no login. Add users to enable auth; password is sha256 hashed twice:
# echo -n 'ChangeThisPassword' | sha256sum | head -c 64 | sha256sum | head -c 64
user_accounts: []
# - username: admin
# password: sha256:<hash>
accounts:
- name: Assets:Bank:Chequing
icon: mdi:bank
- name: Assets:Investments:TFSA
icon: mdi:piggy-bank
- name: Assets:Investments:RRSP
icon: mdi:chart-line
- name: Liabilities:CreditCard
icon: mdi:credit-card
- name: Income:Salary
icon: mdi:briefcase
goals:
retirement: []
# - name: Retirement
# icon: mdi:beach
# swr: 4
# expenses:
# - Expenses:*
# savings:
# - Assets:Investments:*
savings: []
# - name: Emergency Fund
# icon: mdi:piggy-bank
# target: 10000
# target_date: "2027-12-31"
# accounts:
# - Assets:Bank:Savings
schedule_al:
- code: bank
accounts:
- Assets:Bank:*
- code: cash
accounts:
- Assets:Cash
- code: loan
accounts:
- Liabilities:Loan:*
allocation_targets: []
commodities: []
import_templates: []
credit_cards: []
# - account: Liabilities:CreditCard
# credit_limit: 10000
# statement_end_day: 15
# due_day: 5
# network: visa
# number: "0000"
# expiration_date: "2029-12-31"