TxType Property

This is the type of transaction that was made on the account.

Object Oriented Interface

public function getTxType($txindex);

Procedural Interface

ipworksofx_bankstatement_get($res, 64 , $txindex);

Default Value

0

Remarks

This is the type of transaction that was made on the account. The effect on the account balance depends upon the sign of the amount, not upon the value of this transaction.

For example, if the amount is negative and the type is a credit, a negative credit is applied to the account. If the amount is negative and the type is debit, the amount is still debited from the account. A positive amount indicates the addition of money to the account, regardless of the type.

The types and their meanings are as follows:

ttCredit (0)Generic credit
ttDebit (1)Generic debit
ttInterest (2)Interest earned or paid (note: depends on signage of amount)
ttDividend (3)Dividend
ttFIFee (4)FI fee
ttServiceCharge (5)Service charge
ttDeposit (6)Deposit
ttATM (7)ATM debit or credit (note: depends on signage of amount)
ttPointOfSale (8)Point of sale debit or credit (note: depends on signage of amount)
ttTransfer (9)Transfer
ttCheck (10)Check
ttPayment (11)Payment
ttCash (12)Cash withdrawal
ttDirectDeposit (13)Direct deposit
ttDirectDebit (14)Merchant initiated debit
ttRepeatPayment (15)Repeating payment/standing order
ttLateFee (16)Late Fee (note: applicable to loan accounts only)
ttAdvance (17)Cash Advance which adds to Principal Balance (note: applicable to loan accounts only)
ttBalloon (18)Payment of Balloon Amount (note: applicable to loan accounts only)
ttOther (255)Other (note: see TxMemo for a possible transaction description)

The $txindex parameter specifies the index of the item in the array. The size of the array is controlled by the TxCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OFX 2020 PHP Edition - Version 20.0 [Build 7941]