summaryrefslogtreecommitdiffstats
path: root/cholerab
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-09-11 20:40:14 +0200
committertv <tv@nomic.retiolum>2013-09-11 20:40:14 +0200
commitc39c60f74a8d6be286648e2bdb264c9f93eaddef (patch)
tree6b80fe05fde92dd4304555ab2b0767de4c56feb1 /cholerab
parent74961ef05afc5d06d0af192752912466021882c4 (diff)
cholerab ledger-spec: talk about DATE and AMOUNT
Diffstat (limited to 'cholerab')
-rw-r--r--cholerab/ledger-spec.markdown12
1 files changed, 10 insertions, 2 deletions
diff --git a/cholerab/ledger-spec.markdown b/cholerab/ledger-spec.markdown
index 15a290bf..812bce33 100644
--- a/cholerab/ledger-spec.markdown
+++ b/cholerab/ledger-spec.markdown
@@ -1,8 +1,16 @@
-# Format
+# Ledger Specification
+
+## Transaction Record
+
+### External Representation
DATE DESTINATION-ACCOUNT SOURCE-ACCOUNT AMOUNT UNIT [COMMENT...]
-# Example
+ where
+ - `DATE` has the form `YYYY-MM-DD`
+ - `AMOUNT` is a non-negative, decimal number
+
+### Example
2013-01-01 krebs-ml amazon 30 EUR C0DE-AAAA-BBBB-CCCC
2013-02-02 momo krebs-ml 50 EUR C0DE-AAAA-BBBB-CCCC