summaryrefslogtreecommitdiffstats
path: root/cholerab/ledger-spec.markdown
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-09-16 12:53:23 +0200
committermakefu <root@pigstarter.de>2013-09-16 12:53:23 +0200
commit4823eb420b0fa7b41493ca0c57a042b2ce1ef294 (patch)
treed47474f320c5c750293f761013dea6f757036ed4 /cholerab/ledger-spec.markdown
parentd064ae45514232825891357b3b31c80ae6f698e8 (diff)
parentc39c60f74a8d6be286648e2bdb264c9f93eaddef (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'cholerab/ledger-spec.markdown')
-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