paisa: promote from _dev; add config, demo, template, docs; remove maybe_dev

- Rename paisa_dev to paisa (production-ready)
- config/: blank-slate paisa.yaml and main.ledger
- demo/: Demolition Company Ltd. sample books (Dec 2025 to Feb 2026)
  with a tax-estimates sheet
- template/: starter books for a new small BC corporation
- docs/: demo guide, ledger cheatsheet, Paisa for accountants
- Remove maybe_dev stack

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
code
2026-11-22 16:54:02 +00:00
co-authored by Claude Opus 5.5
parent 80f2243424
commit b9ede12780
29 changed files with 1251 additions and 200 deletions
+3
View File
@@ -0,0 +1,3 @@
# paisa.db lives in VOL_PATH; ignore it if both paths point at the same folder
paisa.db
paisa.db-*
+20
View File
@@ -0,0 +1,20 @@
; 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.
; 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
+56
View File
@@ -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
+9
View File
@@ -0,0 +1,9 @@
; Monthly budget (Paisa reads periodic transactions as budgets)
; TODO: set amounts, or delete the block until you know your costs.
~ 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_PROJECTS:-/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 new business — copy this folder into ${VOL_PROJECTS:-/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 is not in git: ${VOL_PATH:-/data}/paisa, backed up by restic
db_path: /var/lib/paisa/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"
View File