Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
date | date | ||
amount | float | The transaction amount in milliunits format | |
memo | str | ||
cleared | str | The cleared status of the transaction | |
approved | bool | Whether or not the transaction is approved | |
flag_color | str | The transaction flag | |
account_id | str | ||
payee_id | str | ||
category_id | str | ||
transfer_account_id | str | ||
import_id | str | If the Transaction was imported, this field is a unique (by account) import identifier. If this transaction was imported through File Based Import or Direct Import and not through the API, the import_id will have the format: 'YNAB:[milliunit_amount]:[iso_date]:[occurrence]'. For example, a transaction dated 2015-12-30 in the amount of -$294.23 USD would have an import_id of 'YNAB:-294230:2015-12-30:1'. If a second transaction on the same account was imported and had the same date and same amount, its import_id would be 'YNAB:-294230:2015-12-30:2'. | |
account_name | str | ||
payee_name | str | ||
category_name | str | ||
subtransactions | list[SubTransaction] | If a split transaction, the subtransactions. |