summaryrefslogtreecommitdiff
path: root/requirements/data_models/dml-transaction.md
blob: 921eb10b9d80bcf20ec08355692d92b00a77b8d2 (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_id    | string? | The bucket associated with the transaction.        |

Source: req-010, req-017