diff options
author | tv <tv@nomic.retiolum> | 2013-09-11 20:40:14 +0200 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-09-11 20:40:14 +0200 |
commit | c39c60f74a8d6be286648e2bdb264c9f93eaddef (patch) | |
tree | 6b80fe05fde92dd4304555ab2b0767de4c56feb1 /cholerab | |
parent | 74961ef05afc5d06d0af192752912466021882c4 (diff) |
cholerab ledger-spec: talk about DATE and AMOUNT
Diffstat (limited to 'cholerab')
-rw-r--r-- | cholerab/ledger-spec.markdown | 12 |
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 |