1. Data Parsing
FinEye Financial Analysis Suite
  • Bank Statement Analysis
    • Generate Session ID
      POST
    • Upload
      POST
    • Start Analysis
      POST
    • Check Status
      POST
    • Retrieve Report
      GET
  • Data Parsing
    • Generate Session ID
      POST
    • Upload
      POST
    • Pre Analysis
      POST
    • Data Parsing
      POST
    • Pre Analysis with Data Parsing
      POST
    • Check Status
      POST
    • Retrieve Report
      GET
  1. Data Parsing

Data Parsing

POST
https://analysis.fineye.co/ocrAnalysis
Performs the final OCR to extract complete customer details and all transaction data for documents whose pre‑analysis has completed successfully.

Prerequisites#

Only pass document_ids for which Check Status shows pre_analysis.status = OKRES within the same session_id.​​

Balance mismatch handling (Acceptance Policy)#

The OCR engine may detect a balance mismatch when a transaction line does not reconcile with the running balance based on the parsed debit/credit amounts. You can control how the API behaves in such cases using the following optional flags inside acceptance_policy.
consider_balance_mismatch (optional)
Controls whether transaction output is returned when a balance mismatch is detected.
If consider_balance_mismatch is provided (enabled) in acceptance_policy, the API will return the transactions output even if one or more balance mismatches are present.
If consider_balance_mismatch is not provided in acceptance_policy, and a balance mismatch is detected, the API will not return the transactions output for that document.
show_balance_mismatch (optional)
Controls whether balance-mismatched transactions are returned separately for review/debugging.
If show_balance_mismatch is provided (enabled) in acceptance_policy, the OCR response will include an additional object containing only the transactions where a balance mismatch was detected (in addition to normal output behaviour governed by consider_balance_mismatch).

Status Codes#

CodeDescription
OKRESSuccess
AUTHMAuthentication missing or invalid
RLEXXRequest limit exceeded
PARMSRequired parameter missing
IPNTWIP not whitelisted
INSESInvalid session ID
SESEXSession ID expired
NOFILNo files found
ISERRInternal server error

Request

Header Params

Body Params application/json

Examples

Responses

🟢200dataParsing
application/json
Body

🟢200No Privilege
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://analysis.fineye.co/ocrAnalysis' \
--header 'authKey;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "session_id":"",
    "acceptance_policy":[
        "consider_balance_mismatch",
        "show_balance_mismatch"
    ],
    "documents" :[]
}'
Response Response Example
200 - dataParsing
{
    "api_category": "Financial Analysis Suite",
    "api_name": "FinEye - OCR Analysis API",
    "datetime": "2026-01-21 13:45:13.592368",
    "message": "OCR Started Successfully",
    "session_id": "referenceID_IPEuvoSozuCoaRkKyevf",
    "status": "OKRES",
    "txn_id": "3590202e-bafa-45a7-a9a3-eb9de88c2f42"
}
Modified at 2026-03-05 09:46:36
Previous
Pre Analysis
Next
Pre Analysis with Data Parsing
Built with