summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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