From d7a98d4c1531d542692be6525c5492d3586e2a2b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 12 Apr 2025 22:27:15 -1000 Subject: [PATCH] ;examples: a copy of the quickstart journal from the home page --- examples/quickstart.journal | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 examples/quickstart.journal diff --git a/examples/quickstart.journal b/examples/quickstart.journal new file mode 100644 index 000000000..1b3a20b0f --- /dev/null +++ b/examples/quickstart.journal @@ -0,0 +1,40 @@ +; keep synced: site/src/index.md > Quick start + +account assets ; type:A +account assets:bank ; type:C +account assets:bank:checking +account assets:bank:savings +account assets:cash ; type:C +account liabilities ; type:L +account liabilities:credit card +account equity ; type:E +account equity:conversion ; type:V +account equity:opening/closing +account income ; type:R +account income:salary +account income:gifts +account expenses ; type:X +account expenses:rent +account expenses:food +account expenses:gifts + +commodity $1000.00 + +2023-01-01 opening balances ; <- First transaction sets starting balances. + assets:bank:checking $1000 ; <- Account names can be anything. + assets:bank:savings $2000 ; <- Colons indicate subaccounts. + assets:cash $100 ; <- 2+ spaces are required before the amount. + liabilities:credit card $-50 ; <- A debt; these are negative. + equity:opening/closing $-3050 ; <- Starting balances come from equity. + ; Equity is also usually negative. + ; (Reports can show as positive when needed.) + +2023-02-01 GOODWORKS CORP ; <- Date order is recommended but optional. + assets:bank:checking $1000 + income:salary ; <- $-1000 is inferred here to balance the txn. + ; Income amounts are negative. + +2023-02-15 market + expenses:food $50 + assets:cash ; <- $-50 is inferred here. +