added error parsing to the bank statement api