parse_bank_statement
Parse a Bank Statement document using AI-powered OCR to extract account information and transaction details.
The parser extracts banking information including:
- Account information (account number, account holder name, bank details)
- Balance information (opening balance, closing balance, available balance)
- Transaction history (date, description, amount, balance)
- Statement period (from date, to date)
- Bank and branch information
- Customer contact information
Raises:
ValueError: If document path is invalid or parsing fails.
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| document_path (required) | Path to the Bank Statement document (PDF, JPEG, or PNG). | Union[Path, str] | None |
Return Value
abstra_internals.contracts_generated.CloudApiCliModelsBankStatementResponse