normalize type to CREDIT and DEBIT only