summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
Diffstat (limited to 'requirements')
-rw-r--r--requirements/data_models/dml-transaction.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/requirements/data_models/dml-transaction.md b/requirements/data_models/dml-transaction.md
new file mode 100644
index 0000000..db7d1ed
--- /dev/null
+++ b/requirements/data_models/dml-transaction.md
@@ -0,0 +1,14 @@
+# dml-transaction
+
+A transaction represents a real transaction, such as buying a beer or depositing
+a wage slip. It may be associated with at most one bucket.
+
+| Field | Type | Description |
+| ------------ | ------- | -------------------------------------------------- |
+| id | string | |
+| amount | number | The amount of money involved in the transaction. |
+| date | date | The calendar date when the transaction took place. |
+| counterparty | string | The other party in the transaction. |
+| bucket | string? | The bucket associated with the transaction. |
+
+Source: req-010, req-017