summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2025-07-15 07:53:32 +0100
committerJoe Carstairs <me@joeac.net>2025-07-15 07:54:18 +0100
commit8442dab39c8f22c40e630222bdfb76cbae872f47 (patch)
treeab9aee19836a9438f8c4735492715b48ad48bf38 /requirements
parent55296f35e44ba8f77acbe3a4f1115fff6e1acfd8 (diff)
add dml-transaction
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