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-*
+39
View File
@@ -0,0 +1,39 @@
; 2026 transactions. Uncomment and edit the examples below, or delete them.
; Sole proprietors file on the calendar year (T1 with T2125).
; 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
; Owner puts money into the business account
; 2026/01/01 Owner contribution
; Assets:Bank:Chequing 2,000.00 CAD
; Equity:Owner:Contributions
; Sale with GST 5% + BC PST 7% (register for GST once revenue passes $30,000)
; 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
; Customer pays
; 2026/01/30 Payment | Invoice 1001
; Assets:Bank:Chequing 1,120.00 CAD
; Assets:AccountsReceivable
; Expense with GST input tax credit
; 2026/01/20 Office supply store
; Expenses:Office 100.00 CAD
; Assets:GST:InputTaxCredits 5.00 CAD
; Liabilities:CreditCard
; Owner pays themselves: a draw, not wages or an expense
; 2026/01/31 Owner draw
; Equity:Owner:Drawings 1,500.00 CAD
; Assets:Bank:Chequing
; Set aside money for personal income tax and CPP (both owed by the owner)
; 2026/01/31 Tax savings
; Assets:TaxSavings 800.00 CAD
; Assets:Bank:Chequing
+51
View File
@@ -0,0 +1,51 @@
; Chart of accounts for a BC sole proprietorship (not incorporated).
; Expense accounts roughly follow CRA form T2125 so year-end is easier.
; 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
account Assets:TaxSavings
; Liabilities
account Liabilities:AccountsPayable
account Liabilities:CreditCard
account Liabilities:Loan
account Liabilities:GST:Collected
account Liabilities:PST:Collected
; Equity: there are no shares; the owner contributes and draws
account Equity:Owner:Contributions
account Equity:Owner:Drawings
account Equity:OpeningBalances
; Income
account Income:Sales
account Income:Interest
; Expenses (T2125 categories)
account Expenses:Advertising
account Expenses:BankFees
account Expenses:BusinessUseOfHome
account Expenses:Insurance
account Expenses:Interest
account Expenses:Meals
account Expenses:Office
account Expenses:ProfessionalFees
account Expenses:Rent
account Expenses:Software
account Expenses:Subcontractors
account Expenses:Supplies
account Expenses:Telephone
account Expenses:Travel
account Expenses:Vehicle
; Metadata tags
tag closing
+13
View File
@@ -0,0 +1,13 @@
; 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:Office 150.00 CAD
Expenses:Software 100.00 CAD
Expenses:Telephone 80.00 CAD
Expenses:Advertising 100.00 CAD
Assets:TaxSavings 800.00 CAD
Assets:Bank:Chequing
+10
View File
@@ -0,0 +1,10 @@
; TODO: Business Name — sole proprietorship books (BC, Canada)
; Ledger git repo: ${VOL_PATH:-/data}/paisa, mounted at /root/Documents/paisa
; Fiscal year: calendar year (required for most sole proprietors)
; Sales tax: GST 5% (federal) + PST 7% (BC)
;
; Add a file per year (2027.ledger, ...) and include it below.
include accounts.ledger
include budget.ledger
include 2026.ledger
+80
View File
@@ -0,0 +1,80 @@
# Paisa template: Business (sole proprietor, not incorporated) — 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
# Sole proprietors use the calendar 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:TaxSavings
icon: mdi:piggy-bank
- name: Equity:Owner
icon: mdi:account
- 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"