Trx_type values:

1 = Payment/check
2 = Debit
3 = Misc Credit
4 = PO Invoice
5 = Other Invoice
6 = Discount