summaryrefslogtreecommitdiff
path: root/requirements/data_models/dml-transaction.md
blob: db7d1ed800a277db9135388d01f27bd923782c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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