# 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. | | timestamp | number | The time the transaction was inserted as a Unix timestamp. | Source: req-010, req-017