IPWorks OFX 2020 Python Edition

Questions / Feedback?

tx_type Property

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

Syntax

def get_tx_type(tx_index: int) -> int: ...

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 tx_memo for a possible transaction description)

The tx_index parameter specifies the index of the item in the array. The size of the array is controlled by the tx_count property.

This property is read-only.

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