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-*
+23
View File
@@ -0,0 +1,23 @@
; 2026 transactions. Rename this file to your first fiscal year and update
; the include in main.ledger. Uncomment and edit the examples below, or
; delete them. 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
; Founder buys shares when the company is incorporated
; 2026/01/01 Share issuance | Class A shares to founder
; Assets:Bank:Chequing 100.00 CAD
; Equity:ShareCapital:ClassA:Founder -100.00 CAD ; Shares: 100
; Incorporation filing paid personally by the founder (company owes it back)
; 2026/01/01 BC Registries | Incorporation filing
; Expenses:Incorporation 350.00 CAD
; Liabilities:ShareholderLoan
; Sale with GST 5% + BC PST 7%
; 2026/01/15 Invoice 1001 | Customer name
; Assets:AccountsReceivable 1,120.00 CAD
; Income:Sales -1,000.00 CAD
; Liabilities:GST:Collected -50.00 CAD
; Liabilities:PST:Collected -70.00 CAD
@@ -0,0 +1,56 @@
; Chart of accounts for a small BC corporation.
; Add, rename, or delete accounts to suit the business. 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:AccountsReceivable
account Assets:GST:InputTaxCredits
account Assets:Equipment
; Liabilities
account Liabilities:AccountsPayable
account Liabilities:CreditCard
account Liabilities:Loan
account Liabilities:ShareholderLoan
account Liabilities:IncomeTax
account Liabilities:GST:Collected
account Liabilities:PST:Collected
account Liabilities:Payroll:CRA
account Liabilities:WorkSafeBC
; Equity
; One account per shareholder, e.g. Equity:ShareCapital:ClassA:Founder
account Equity:ShareCapital:ClassA:Founder
account Equity:RetainedEarnings
account Equity:OpeningBalances
; Income
account Income:Sales
account Income:Interest
; Expenses
account Expenses:Advertising
account Expenses:BankFees
account Expenses:IncomeTax
account Expenses:Incorporation
account Expenses:Insurance
account Expenses:Interest
account Expenses:Office
account Expenses:ProfessionalFees
account Expenses:Rent
account Expenses:Software
account Expenses:Telephone
account Expenses:Travel
account Expenses:Vehicle
account Expenses:Wages
account Expenses:WorkSafeBC
; Metadata tags
tag Shares
tag closing
+12
View File
@@ -0,0 +1,12 @@
; Monthly budget (Paisa reads periodic transactions as budgets)
; TODO: set amounts, or delete the block until you know your costs.
; Declares the accounts so Paisa's editor can check this file on its own
include accounts.ledger
~ Monthly
Expenses:Rent 1,000.00 CAD
Expenses:Office 200.00 CAD
Expenses:Software 100.00 CAD
Expenses:Telephone 100.00 CAD
Assets:Bank:Chequing
+10
View File
@@ -0,0 +1,10 @@
; TODO: Business Name Ltd. — books (BC, Canada)
; Ledger git repo: ${VOL_PATH:-/data}/paisa, mounted at /root/Documents/paisa
; TODO: incorporation date and fiscal year end
; Sales tax: GST 5% (federal) + PST 7% (BC)
;
; Add a file per fiscal year (2027.ledger, ...) and include it below.
include accounts.ledger
include budget.ledger
include 2026.ledger
+78
View File
@@ -0,0 +1,78 @@
# Paisa template for a BC corporation — copy this folder into ${VOL_PATH:-/data}/paisa (git repo)
# Fill in the TODOs here and in 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
# TODO: month your fiscal year starts (1 = January, for a December 31 year end)
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: Equity:ShareCapital
icon: mdi:account-group
- name: Liabilities:CreditCard
icon: mdi:credit-card
- name: Income:Sales
icon: mdi:cash-register
goals:
retirement: []
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"