Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 3.1 KB

File metadata and controls

47 lines (38 loc) · 3.1 KB

TransactionSummaryBase

Properties

Name Type Description Notes
id str
var_date date The transaction date in ISO format (e.g. 2016-12-01)
amount int The transaction amount in milliunits format
memo str [optional]
cleared TransactionClearedStatus
approved bool Whether or not the transaction is approved
flag_color TransactionFlagColor [optional]
flag_name str The customized name of a transaction flag [optional]
account_id UUID
payee_id UUID [optional]
category_id UUID [optional]
transfer_account_id UUID If a transfer transaction, the account to which it transfers [optional]
transfer_transaction_id str If a transfer transaction, the id of transaction on the other side of the transfer [optional]
matched_transaction_id str If transaction is matched, the id of the matched transaction [optional]
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'. [optional]
import_payee_name str If the transaction was imported, the payee name that was used when importing and before applying any payee rename rules [optional]
import_payee_name_original str If the transaction was imported, the original payee name as it appeared on the statement [optional]
debt_transaction_type str If the transaction is a debt/loan account transaction, the type of transaction [optional]
deleted bool Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests.

Example

from ynab.models.transaction_summary_base import TransactionSummaryBase

# TODO update the JSON string below
json = "{}"
# create an instance of TransactionSummaryBase from a JSON string
transaction_summary_base_instance = TransactionSummaryBase.from_json(json)
# print the JSON string representation of the object
print(TransactionSummaryBase.to_json())

# convert the object into a dict
transaction_summary_base_dict = transaction_summary_base_instance.to_dict()
# create an instance of TransactionSummaryBase from a dict
transaction_summary_base_from_dict = TransactionSummaryBase.from_dict(transaction_summary_base_dict)

[Back to Model list] [Back to API list] [Back to README]