The OfxTransactionData stucture contains all available information about an actual transaction in an account.
Definition at line 423 of file inc/libofx.h.
Use this for matching with the relevant account in your application
Definition at line 430 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_account(), and ofx_proc_transaction_cb().
Pointer to the full account structure, see OfxAccountData
Definition at line 433 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_account().
Investment transaction type. You should read this if transactiontype == OFX_OTHER. See OFX spec 1.6 p.442 to 445 for details
Definition at line 440 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), ofx_proc_transaction_cb(), and OfxInvestmentTransactionContainer::OfxInvestmentTransactionContainer().
double OfxTransactionData::units |
Variation of the number of units of the commodity Suppose units is -10, ave unitprice is 1. If the commodity is stock, you have 10 less stock, but 10 more dollars in you amccount (fees not considered, see amount). If commodity is money, you have 10 less dollars in your pocket, but 10 more in your account
Definition at line 446 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Value of each unit, 1.00 if the commodity is money
Definition at line 453 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
double OfxTransactionData::amount |
Total monetary amount of the transaction, signage will determine if money went in or out. amount is the total amount: -(units) * unitprice - various fees
Definition at line 456 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Generated by the financial institution (fi), unique id of the transaction, to be used to detect duplicate downloads
Definition at line 461 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The id of the security being traded. Mandatory for investment transactions
Definition at line 473 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxTransactionContainer::gen_event(), and ofx_proc_transaction_cb().
Usially "CUSIP" for FIs in north america
Definition at line 475 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
A pointer to the security's data.
Definition at line 479 of file inc/libofx.h.
Referenced by OfxTransactionContainer::gen_event(), and ofx_proc_transaction_cb().
Date the transaction took effect (ex: date it appeared on your credit card bill). Setlement date; for stock split, execution date.
Mandatory for bank and credit card transactions
Definition at line 481 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Date the transaction was initiated (ex: date you bought something in a store for credit card; trade date for stocks; day of record for stock split)
Mandatory for investment transactions
Definition at line 488 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Date the funds are available (not always provided) (ex: the date you are allowed to withdraw a deposit
Definition at line 495 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
IMPORTANT: if fi_id_corrected is present, this transaction is meant to replace or delete the transaction with this fi_id. See OfxTransactionData::fi_id_correction_action to know what to do.
Definition at line 502 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The OfxTransactionData::FiIdCorrectionAction enum contains the action to be taken
Definition at line 506 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Used for user initiated transaction such as payment or funds transfer. Can be seen as a confirmation number.
Definition at line 511 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The check number is most likely an integer and can probably be converted properly with atoi(). However the spec allows for up to 12 digits, so it is not garanteed to work
Definition at line 516 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Might present in addition to or instead of a check_number. Not necessarily a number
Definition at line 520 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The standard industrial code can have at most 6 digits
Definition at line 522 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The identifier of the payee
Definition at line 525 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Can be the name of the payee or the description of the transaction
Definition at line 527 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Extra information not included in name
Definition at line 530 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Commission paid to broker (investment transactions only)
Definition at line 532 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
double OfxTransactionData::fees |
Fees applied to trade (investment transactions only)
Definition at line 534 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Pointer to the full account structure, see OfxAccountData
Definition at line 433 of file libofx-0.9.1/inc/libofx.h.
Use this for matching with the relevant account in your application
Definition at line 430 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_account(), and ofx_proc_transaction_cb().
Pointer to the full account structure, see OfxAccountData
Definition at line 433 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_account().
Investment transaction type. You should read this if transactiontype == OFX_OTHER. See OFX spec 1.6 p.442 to 445 for details
Definition at line 440 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), ofx_proc_transaction_cb(), and OfxInvestmentTransactionContainer::OfxInvestmentTransactionContainer().
double OfxTransactionData::units |
Variation of the number of units of the commodity Suppose units is -10, ave unitprice is 1. If the commodity is stock, you have 10 less stock, but 10 more dollars in you amccount (fees not considered, see amount). If commodity is money, you have 10 less dollars in your pocket, but 10 more in your account
Definition at line 446 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Value of each unit, 1.00 if the commodity is money
Definition at line 453 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
double OfxTransactionData::amount |
Total monetary amount of the transaction, signage will determine if money went in or out. amount is the total amount: -(units) * unitprice - various fees
Definition at line 456 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Generated by the financial institution (fi), unique id of the transaction, to be used to detect duplicate downloads
Definition at line 461 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The id of the security being traded. Mandatory for investment transactions
Definition at line 473 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxTransactionContainer::gen_event(), and ofx_proc_transaction_cb().
Usially "CUSIP" for FIs in north america
Definition at line 475 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
A pointer to the security's data.
Definition at line 479 of file inc/libofx.h.
Referenced by OfxTransactionContainer::gen_event(), and ofx_proc_transaction_cb().
Date the transaction took effect (ex: date it appeared on your credit card bill). Setlement date; for stock split, execution date.
Mandatory for bank and credit card transactions
Definition at line 481 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Date the transaction was initiated (ex: date you bought something in a store for credit card; trade date for stocks; day of record for stock split)
Mandatory for investment transactions
Definition at line 488 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Date the funds are available (not always provided) (ex: the date you are allowed to withdraw a deposit
Definition at line 495 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
IMPORTANT: if fi_id_corrected is present, this transaction is meant to replace or delete the transaction with this fi_id. See OfxTransactionData::fi_id_correction_action to know what to do.
Definition at line 502 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The OfxTransactionData::FiIdCorrectionAction enum contains the action to be taken
Definition at line 506 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Used for user initiated transaction such as payment or funds transfer. Can be seen as a confirmation number.
Definition at line 511 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The check number is most likely an integer and can probably be converted properly with atoi(). However the spec allows for up to 12 digits, so it is not garanteed to work
Definition at line 516 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Might present in addition to or instead of a check_number. Not necessarily a number
Definition at line 520 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The standard industrial code can have at most 6 digits
Definition at line 522 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
The identifier of the payee
Definition at line 525 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Can be the name of the payee or the description of the transaction
Definition at line 527 of file inc/libofx.h.
Referenced by OfxBankTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Extra information not included in name
Definition at line 530 of file inc/libofx.h.
Referenced by OfxTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Commission paid to broker (investment transactions only)
Definition at line 532 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
double OfxTransactionData::fees |
Fees applied to trade (investment transactions only)
Definition at line 534 of file inc/libofx.h.
Referenced by OfxInvestmentTransactionContainer::add_attribute(), and ofx_proc_transaction_cb().
Pointer to the full account structure, see OfxAccountData
Definition at line 433 of file libofx-0.9.1/inc/libofx.h.