Bank Statement Processing
Extract account details and individual transactions from bank statements (PDF or XLSX). This recipe uses the workflow results endpoint to retrieve unified JSON results, which is useful when you process many statements through the same workflow and want to access all results at once.Workflow Fields
| Field | Type | Description |
|---|---|---|
account_holder | string | Name on the account |
account_number | string | Account number (masked or full) |
statement_period_start | date | Start of statement period |
statement_period_end | date | End of statement period |
opening_balance | float | Balance at start of period |
closing_balance | float | Balance at end of period |
total_deposits | float | Sum of all deposits |
total_withdrawals | float | Sum of all withdrawals |
transaction_count | integer | Number of transactions |
transactions | object | Individual transaction records |
Field Configuration
Process a Document
Process multiple statements through the same workflow.Get Results in Bulk
After statements are processed, use the workflow results endpoint to retrieve all results as unified JSON.JSON Export
file_id query parameter:
Single File Results
You can also get results for an individual statement by polling its file ID.Example Response
Tips
XLSX files typically yield better results than scanned PDF statements, since the data is structured in cells rather than requiring OCR.
The workflow results endpoint (
/v2/workflows/{id}/results/) returns unified JSON with parse and extraction data for all files. Use the file_id parameter to filter to a single file.- Use
floatfor all monetary values. Describe amounts as “positive for deposits, negative for withdrawals” to get consistent sign conventions. - The
objecttype withnested_fieldscaptures the full transaction table, with each row as an object in the array. - When uploading multiple statements, add a short delay between uploads to stay within rate limits (60 requests per minute).
integerfortransaction_countgives you a quick sanity check against the number of extracted transactions.
Next Steps
Response Formats
Learn about the unified JSON response format
Workflow Results
Export all results for a workflow
