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-*
+46
View File
@@ -0,0 +1,46 @@
; 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 the household has and owes on day one
; 2026/01/01 Opening balances
; Assets:Bank:Joint:Chequing 4,000.00 CAD
; Assets:Bank:Joint:Savings 10,000.00 CAD
; Assets:Home 750,000.00 CAD
; Liabilities:Mortgage -450,000.00 CAD
; Equity:OpeningBalances
; Partner A's paycheque, deposited to the joint account
; 2026/01/15 Employer A | Pay period ending Jan 15
; Assets:Bank:Joint:Chequing 2,600.00 CAD
; Expenses:Tax:Income:PartnerA 620.00 CAD
; Expenses:Tax:CPP:PartnerA 210.00 CAD
; Expenses:Tax:EI:PartnerA 60.00 CAD
; Income:Salary:PartnerA -3,490.00 CAD
; Mortgage payment: split principal and interest from the lender's statement
; 2026/02/01 Bank | Mortgage payment
; Liabilities:Mortgage 1,400.00 CAD
; Expenses:Housing:MortgageInterest 1,100.00 CAD
; Assets:Bank:Joint:Chequing
; Canada Child Benefit (tax-free, paid monthly)
; 2026/01/20 CRA | Canada Child Benefit
; Assets:Bank:Joint:Chequing 650.00 CAD
; Income:Benefits:CCB
; Daycare (keep receipts: childcare expenses are deductible)
; 2026/01/31 Daycare | January
; Expenses:Child:Childcare 500.00 CAD
; Assets:Bank:Joint:Chequing
; RESP contribution; the 20% CESG grant arrives later
; 2026/01/31 RESP contribution
; Assets:Investments:RESP:Child 208.33 CAD
; Assets:Bank:Joint:Chequing
; 2026/03/15 CESG grant
; Assets:Investments:RESP:Child 41.67 CAD
; Income:Benefits:RESPGrant
+76
View File
@@ -0,0 +1,76 @@
; Chart of accounts for a BC household: two adults and one child.
; TODO: rename PartnerA/PartnerB/Child to your names (or keep them).
; 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:Joint:Chequing
account Assets:Bank:Joint:Savings
account Assets:Bank:PartnerA:Chequing
account Assets:Bank:PartnerB:Chequing
account Assets:Cash
account Assets:Investments:TFSA:PartnerA
account Assets:Investments:TFSA:PartnerB
account Assets:Investments:RRSP:PartnerA
account Assets:Investments:RRSP:PartnerB
account Assets:Investments:RESP:Child
account Assets:Home
; Liabilities
account Liabilities:Mortgage
account Liabilities:CreditCard:PartnerA
account Liabilities:CreditCard:PartnerB
account Liabilities:LineOfCredit
account Liabilities:Loan:Vehicle
; Equity
account Equity:OpeningBalances
; Income
account Income:Salary:PartnerA
account Income:Salary:PartnerB
account Income:Benefits:CCB
account Income:Benefits:GST
account Income:Benefits:RESPGrant
account Income:Interest
account Income:TaxRefund
account Income:Gifts
; Payroll deductions (from each pay stub)
account Expenses:Tax:Income:PartnerA
account Expenses:Tax:Income:PartnerB
account Expenses:Tax:CPP:PartnerA
account Expenses:Tax:CPP:PartnerB
account Expenses:Tax:EI:PartnerA
account Expenses:Tax:EI:PartnerB
; Expenses
account Expenses:Housing:MortgageInterest
account Expenses:Housing:PropertyTax
account Expenses:Housing:Insurance
account Expenses:Housing:Maintenance
account Expenses:Utilities:Hydro
account Expenses:Utilities:Gas
account Expenses:Utilities:Internet
account Expenses:Utilities:Phone
account Expenses:Food:Groceries
account Expenses:Food:Restaurants
account Expenses:Transport:Fuel
account Expenses:Transport:Insurance
account Expenses:Transport:Maintenance
account Expenses:Transport:Transit
account Expenses:Child:Childcare
account Expenses:Child:Activities
account Expenses:Child:Clothing
account Expenses:Child:School
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
+20
View File
@@ -0,0 +1,20 @@
; Monthly household 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:MortgageInterest 1,100.00 CAD
Expenses:Housing:PropertyTax 300.00 CAD
Expenses:Utilities:Hydro 120.00 CAD
Expenses:Utilities:Gas 80.00 CAD
Expenses:Utilities:Internet 90.00 CAD
Expenses:Utilities:Phone 140.00 CAD
Expenses:Food:Groceries 1,200.00 CAD
Expenses:Food:Restaurants 250.00 CAD
Expenses:Transport:Fuel 300.00 CAD
Expenses:Child:Childcare 500.00 CAD
Expenses:Child:Activities 150.00 CAD
Expenses:Entertainment 200.00 CAD
Assets:Bank:Joint:Chequing
+9
View File
@@ -0,0 +1,9 @@
; TODO: Family Name — household 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
+95
View File
@@ -0,0 +1,95 @@
# Paisa template: Household (family of three) — 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:Joint:Chequing
icon: mdi:bank
- name: Assets:Home
icon: mdi:home
- name: Assets:Investments:RESP:Child
icon: mdi:school
- name: Liabilities:Mortgage
icon: mdi:home-city
- name: Liabilities:CreditCard
icon: mdi:credit-card
- name: Income:Benefits:CCB
icon: mdi:baby-face
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:Joint:Savings
schedule_al:
- code: bank
accounts:
- Assets:Bank:*
- code: cash
accounts:
- Assets:Cash
- code: loan
accounts:
- Liabilities:Loan:*
- code: home
accounts:
- Assets:Home
- code: mortgage
accounts:
- Liabilities:Mortgage
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"