Skip to content
Sign in

Parse password-protected bank statements

Indian banks often email statements as password-protected PDFs. Send the file as it is and put its password in the job; the parser opens it, and the password is deleted when the job ends.

Sending the password

Upload the file as usual, then add "password" (1 to 256 characters) to the body of POST /v1/jobs, next to the upload_id. Nothing else changes: the bank is still detected from the file. If you retry the call with the same Idempotency-Key, send the same password; a different one is a different request and returns 409 idempotency_conflict.

Which files take a password

Which password your bank uses

The parser never sets the password; the bank's rules do. These guides give what each bank states on its own website, and say so where it states nothing, with a made-up example and what to do when the file will not open:

Wrong or missing passwords

The job still runs and ends as failed_document, which costs no credits. An encrypted PDF with a missing or wrong password, or an Excel file with a wrong one, reports incorrect_password. An encrypted Excel file sent with no password fails too: password_required when you name the parser, otherwise unsupported_statement. Upload the file again and create a new job with the right password.

How the password is kept

The full request format is in the API docs, and each bank page lists the formats that bank supports. Back to the Statement Parser API.