diff --git a/.env.example b/.env.example new file mode 100644 index 0000000000000000000000000000000000000000..778d44247372f00a2f3ebdeed1ef3fb77d29b3fe --- /dev/null +++ b/.env.example @@ -0,0 +1,11 @@ +# ───────────────────────────────────────────────────────────────────── +# Uplan PoC — Environment Variables +# ───────────────────────────────────────────────────────────────────── +# Copy to .env and fill in your values. + +# ─── Option A: Google AI Studio (default, simpler) ─────────────────── +GEMINI_API_KEY=your_api_key_here + +# ─── Model Overrides (optional) ───────────────────────────────────── +# FLASH_MODEL=gemini-2.0-flash +# PRO_MODEL=gemini-2.5-pro-preview-05-06 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..e5bb5f44ac89a2be08a99c75062961e63dbd604e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +.env.exampletest_files/ diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..0e5338f372076c8663ba3c9e98195a3920166432 --- /dev/null +++ b/__init__.py @@ -0,0 +1 @@ +# Uplan — Adversarial Immigration Document Intelligence diff --git a/__pycache__/config.cpython-314.pyc b/__pycache__/config.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bf56752c9eda9fb4060ef35160aad3b8cd026121 Binary files /dev/null and b/__pycache__/config.cpython-314.pyc differ diff --git a/__pycache__/server.cpython-314.pyc b/__pycache__/server.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..479029e36e797b545d9497edc1ad0198741bad2e Binary files /dev/null and b/__pycache__/server.cpython-314.pyc differ diff --git a/agents/__init__.py b/agents/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..1c1e02277e0e1b60f77bcbd23d499993c6bc1390 --- /dev/null +++ b/agents/__init__.py @@ -0,0 +1 @@ +# Specialist agents — Gemini Pro reasoning on semantic graph diff --git a/agents/__pycache__/__init__.cpython-314.pyc b/agents/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7553a459dad95d136ab9510aabeb2d5f1720e221 Binary files /dev/null and b/agents/__pycache__/__init__.cpython-314.pyc differ diff --git a/agents/__pycache__/base_agent.cpython-314.pyc b/agents/__pycache__/base_agent.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..198543914f53d6ec174e6da604e5978ad382f941 Binary files /dev/null and b/agents/__pycache__/base_agent.cpython-314.pyc differ diff --git a/agents/__pycache__/enrollment_agent.cpython-314.pyc b/agents/__pycache__/enrollment_agent.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9dc30f6f1b241ced7555bc679d1915ab952e9e1e Binary files /dev/null and b/agents/__pycache__/enrollment_agent.cpython-314.pyc differ diff --git a/agents/__pycache__/financial_agent.cpython-314.pyc b/agents/__pycache__/financial_agent.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..39cadfcf0b31b282391b051f78ce4c6d22d56ea9 Binary files /dev/null and b/agents/__pycache__/financial_agent.cpython-314.pyc differ diff --git a/agents/__pycache__/identity_agent.cpython-314.pyc b/agents/__pycache__/identity_agent.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b0fc8ba6e0cffcd119a651a6c865ced64e61e506 Binary files /dev/null and b/agents/__pycache__/identity_agent.cpython-314.pyc differ diff --git a/agents/__pycache__/narrative.cpython-314.pyc b/agents/__pycache__/narrative.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c5ecb706ebb2e87c7570ec3d91ad925e09db5b8c Binary files /dev/null and b/agents/__pycache__/narrative.cpython-314.pyc differ diff --git a/agents/__pycache__/sponsor_agent.cpython-314.pyc b/agents/__pycache__/sponsor_agent.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2a92b3f0567d97c8f6abd17d08779914aa4c426b Binary files /dev/null and b/agents/__pycache__/sponsor_agent.cpython-314.pyc differ diff --git a/agents/__pycache__/temporal_agent.cpython-314.pyc b/agents/__pycache__/temporal_agent.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f5496441c4bffa42850cac00fac4582bb185af1 Binary files /dev/null and b/agents/__pycache__/temporal_agent.cpython-314.pyc differ diff --git a/agents/base_agent.py b/agents/base_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..16710b393320cf6b988a0198b9c8323a6c3cd288 --- /dev/null +++ b/agents/base_agent.py @@ -0,0 +1,168 @@ +""" +Uplan Base Specialist Agent + +Abstract base class for all 5 domain agents. +Handles: graph subset extraction, rule filtering, Gemini Pro call with +structured output, and exponential backoff retry for rate limits. +""" + +from __future__ import annotations + +import random +import time +from abc import ABC, abstractmethod +from typing import Optional + +from pydantic import BaseModel, Field + +from config import ( + PRO_MODEL, + API_RETRY_ATTEMPTS, + API_RETRY_BASE_DELAY, + API_RETRY_MAX_DELAY, + client, +) +from orchestrator.state import UplanState + + +class Anomaly(BaseModel): + """A single anomaly detected by a specialist agent.""" + field_path: str = Field(description="Dot-path to the relevant graph field, e.g. 'financial.spikes[0].amount'") + severity: str = Field(description="'critical', 'warning', or 'info'") + explanation: str = Field(description="Plain English explanation, 1-2 sentences") + rule_id: Optional[str] = Field(default=None, description="Links back to rule engine finding if applicable") + + +class AgentFinding(BaseModel): + """Structured output from each specialist agent.""" + agent_id: str = Field(description="Identifier of the agent producing this finding") + anomalies: list[Anomaly] = Field(default_factory=list, description="All detected anomalies") + confidence: float = Field(description="Agent confidence in its assessment, 0.0-1.0") + agent_verdict: str = Field(description="'pass', 'flag', or 'critical'") + summary: str = Field(description="1-sentence summary for the narrative agent") + + +class BaseSpecialistAgent(ABC): + """ + Abstract base for domain specialist agents. + Subclasses override agent_id, focus_nodes, and _build_prompt(). + """ + agent_id: str + focus_nodes: list[str] # Which keys to pull from semantic_graph + + def _extract_focus(self, graph: dict) -> dict: + """Extract only the graph nodes relevant to this agent.""" + return {k: graph[k] for k in self.focus_nodes if k in graph and graph[k]} + + def _relevant_rules(self, rule_findings: list[dict]) -> list[dict]: + """Filter rule findings to this agent's primary domain.""" + prefix = self.focus_nodes[0] # Primary domain + return [r for r in rule_findings if r.get("field_path", "").startswith(prefix)] + + @abstractmethod + def _build_prompt(self, graph_subset: dict, rule_findings: list[dict], jurisdiction: str) -> str: + """Build the domain-specific reasoning prompt.""" + pass + + def _call_with_retry(self, prompt: str) -> AgentFinding: + """Call Gemini Pro with exponential backoff retry on rate limits.""" + last_err = None + for attempt in range(API_RETRY_ATTEMPTS): + try: + response = client.models.generate_content( + model=PRO_MODEL, + contents=prompt, + config={ + "response_mime_type": "application/json", + "response_schema": AgentFinding, + }, + ) + return response.parsed + except Exception as e: + last_err = e + err_str = str(e) + is_rate_limit = "429" in err_str or "RESOURCE_EXHAUSTED" in err_str + + if is_rate_limit and attempt < API_RETRY_ATTEMPTS - 1: + delay = min( + API_RETRY_BASE_DELAY * (2 ** attempt) + random.uniform(0, 1), + API_RETRY_MAX_DELAY, + ) + print(f" [WAIT] {self.agent_id}: rate limited, retry in {delay:.0f}s (attempt {attempt + 1}/{API_RETRY_ATTEMPTS})") + time.sleep(delay) + elif not is_rate_limit: + break + + raise last_err + + def run(self, state: UplanState) -> dict: + """Execute this agent: extract focus -> build prompt -> Gemini Pro -> return finding.""" + graph = state["semantic_graph"] + graph_subset = self._extract_focus(graph) + relevant_rules = self._relevant_rules(state.get("rule_findings", [])) + + # Inject document type context so agents understand what they're looking at + doc_types = graph.get("source_doc_types", []) + source_is_affidavit = graph.get("financial", {}).get("source_is_affidavit", False) + + jurisdiction = "" + if state.get("visa_context"): + jurisdiction = state["visa_context"].get("jurisdiction_context", "") + + # Augment graph_subset with document context + dossier completeness + all_possible_types = [ + "passport", "bank_statement", "payslip", "tax_return", + "sponsor_letter", "employment_letter", "enrollment_letter", "affidavit", + ] + present_types = set(doc_types) + missing_types = [t for t in all_possible_types if t not in present_types] + + graph_subset["_document_context"] = { + "source_doc_types": doc_types, + "missing_doc_types": missing_types, + "is_partial_dossier": len(missing_types) > 0, + "source_is_affidavit": source_is_affidavit, + "note": ( + "IMPORTANT: If source_is_affidavit=True and 'bank_statement' is NOT in source_doc_types, " + "then transaction_count=0 is EXPECTED and NORMAL. An affidavit declares static balances, " + "it does NOT have transaction history. Do NOT flag zero transactions as 'funds parking' " + "when the only financial document is an affidavit. Instead flag the ABSENCE of bank statements." + ) if source_is_affidavit and "bank_statement" not in doc_types else "Standard multi-document analysis.", + "partial_dossier_instructions": ( + "THIS IS A PARTIAL DOSSIER. The user has NOT uploaded all required documents yet. " + f"Missing: {missing_types}. " + "RULES: 1) If a data node is null because the corresponding document was not uploaded, " + "classify this as 'info' severity with explanation 'Document not provided — required for complete audit.' " + "Do NOT escalate missing-document gaps to 'critical'. " + "2) ONLY flag as 'critical' genuine anomalies found WITHIN the provided documents " + "(e.g., smurfing, unexplained spikes, forged data, balance discontinuities). " + "3) Set agent_verdict to 'flag' for missing-doc issues, reserve 'critical' for real anomalies." + ) if len(missing_types) > 0 else "Complete dossier — standard adversarial analysis.", + } + + prompt = self._build_prompt(graph_subset, relevant_rules, jurisdiction) + logger = state.get("_debug_logger") + + # CP4 -- log exact prompt sent to Pro + if logger: + logger.cp4_agent_prompt(self.agent_id, prompt, self.focus_nodes) + + t0 = time.time() + parse_error = None + try: + finding = self._call_with_retry(prompt) + except Exception as e: + parse_error = str(e) + raise + + finding.agent_id = self.agent_id + elapsed = time.time() - t0 + + # CP5 -- log agent response + if logger: + logger.cp5_agent_response(self.agent_id, finding.model_dump(), elapsed, parse_error) + + return { + "agent_findings": [finding.model_dump()], + "completed_agents": [self.agent_id], + } diff --git a/agents/enrollment_agent.py b/agents/enrollment_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..c55d159be040b8a3a9086791fcf89e064d0b5d45 --- /dev/null +++ b/agents/enrollment_agent.py @@ -0,0 +1,51 @@ +""" +Enrollment Specialist Agent + +Probes: program cost vs available balance, CoE date vs visa dates, +study duration feasibility, institution verification signals. +""" + +from __future__ import annotations + +import json + +from agents.base_agent import BaseSpecialistAgent + + +class EnrollmentAgent(BaseSpecialistAgent): + agent_id = "enrollment_agent" + focus_nodes = ["enrollment", "financial", "temporal"] + + def _build_prompt(self, graph_subset: dict, rule_findings: list[dict], jurisdiction: str) -> str: + ctx_block = f"\nJURISDICTION CONTEXT:\n{jurisdiction}\n" if jurisdiction else "" + dossier_ctx = graph_subset.get("_document_context", {}) + partial_note = dossier_ctx.get("partial_dossier_instructions", "") + return f"""You are an adversarial pre-submission auditor reviewing enrollment documentation. +Your task: identify enrollment/financial inconsistencies in the PROVIDED documents and flag missing +enrollment documents as informational gaps. +{ctx_block} +DOSSIER COMPLETENESS: {partial_note} + +ENROLLMENT DATA: +{json.dumps(graph_subset.get("enrollment"), indent=2)} + +FINANCIAL DATA: +{json.dumps(graph_subset.get("financial"), indent=2)} + +TEMPORAL DATA: +{json.dumps(graph_subset.get("temporal"), indent=2)} + +RULE ENGINE FLAGS (already detected): +{json.dumps(rule_findings, indent=2)} + +Analyse the following — be specific, cite exact values: +1. Does the applicant's closing_balance cover program_cost? Show the arithmetic. + Include a living expense estimate (~$1,500/month × duration_months) if relevant. +2. Does enrollment_start align with the visa application timeline? +3. Is the program_duration_months realistic for the stated program? +4. If funds_cover_full_stay is false, quantify the shortfall exactly. +5. If no enrollment data exists (null), classify as 'info' severity — enrollment documents + may not have been uploaded yet, or this may be a non-student visa. + Do NOT treat missing enrollment as a critical rejection issue. + +Respond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path.""" diff --git a/agents/financial_agent.py b/agents/financial_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..286a28f21422e7cb539353396534353bbbdc0b63 --- /dev/null +++ b/agents/financial_agent.py @@ -0,0 +1,79 @@ +""" +Financial Specialist Agent + +Probes: spike explanation, income-balance coherence, unlabeled deposits, +cross-document income discrepancies (payslip vs bank deposit amounts). +""" + +from __future__ import annotations + +import json + +from agents.base_agent import BaseSpecialistAgent + + +class FinancialAgent(BaseSpecialistAgent): + agent_id = "financial_agent" + focus_nodes = ["financial", "identity"] + + def _build_prompt(self, graph_subset: dict, rule_findings: list[dict], jurisdiction: str) -> str: + ctx_block = f"\nJURISDICTION CONTEXT:\n{jurisdiction}\n" if jurisdiction else "" + dossier_ctx = graph_subset.get("_document_context", {}) + partial_note = dossier_ctx.get("partial_dossier_instructions", "") + return f"""You are an adversarial pre-submission auditor reviewing financial documents. +Your task: identify genuine financial anomalies in the PROVIDED documents. Focus on patterns that +indicate fund manipulation, smurfing, or unexplained activity — NOT on missing documents. +{ctx_block} +DOSSIER COMPLETENESS: {partial_note} + +FINANCIAL DATA: +{json.dumps(graph_subset.get("financial"), indent=2)} + +APPLICANT IDENTITY: +{json.dumps(graph_subset.get("identity"), indent=2)} + +RULE ENGINE FLAGS (already detected): +{json.dumps(rule_findings, indent=2)} + +Analyse the following — be specific, cite exact values: +1. For each spike in spikes[]: is there a plausible source? If unlabeled, flag as warning or critical + based on the severity of the spike ratio and clustering pattern. +2. Does avg_monthly_income × visa_duration cover declared costs? Show the arithmetic. + If income data is missing because payslips haven't been uploaded, note this as 'info' not 'critical'. +3. Does the balance trajectory make sense given declared income? Flag any impossible accumulation. +4. Are there cross-document income discrepancies (payslip vs bank deposit amounts)? +5. If the closing balance is below a threshold, note the current documented balance and suggest + the user upload additional accounts to meet the requirement — do NOT issue a hard rejection. +6. Aggregate balances across ALL provided accounts before assessing financial thresholds. + +SEVERITY GUIDE: +- 'critical': Genuine anomalies WITHIN the data (smurfing clusters, forged amounts, impossible balances) +- 'warning': Suspicious patterns that need explanation (large unlabeled deposits, unusual spikes) +- 'info': Missing data because documents haven't been uploaded yet + +CRITICAL RULE — SMURFING vs PASS-THROUGH: +Before flagging inbound deposits as 'smurfing' or 'fund parking', you MUST look at the subsequent +outbound debits within a 24-48 hour window. If a large deposit is followed almost immediately by +outbound transfers of similar amounts to the same recipient (a 'pass-through' pattern), it is +NOT smurfing, because the funds are not inflating the closing balance. + +Example of PASS-THROUGH (NOT smurfing): + Aug 17: 30,000 IN → Aug 17: 28,000 OUT to same payee → net impact: +2,000 + Aug 18: 30,000 IN → Aug 18: 30,000 OUT to same payee → net impact: 0 + +This is a transit/conduit pattern where the account is used as a pipeline. The balance barely moves. +Only flag as smurfing if the deposits ACCUMULATE and the closing balance grows significantly +as a result of the clustered deposits WITHOUT corresponding outflows. + +Assess the NET IMPACT of each transaction cluster before classifying it. + +UPI/MICRO-TRANSACTION RULE: +Do NOT count or flag micro-transactions (inbound transfers under 10,000 INR / 100 USD equivalent) +as 'unlabeled deposits' or suspicious activity. In modern digital banking (especially India's UPI +ecosystem), high volumes of small peer-to-peer transfers are completely normal daily behavior — +lunch splits, shared bills, small reimbursements, etc. +Only flag deposits as 'unlabeled' or suspicious if they are LARGE, distinct deposits (> 25,000 INR) +that lack a clear source (like salary, business income, or identifiable sender). +When reporting unlabeled_deposit_count, exclude micro-transactions from the count entirely. + +Respond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path.""" diff --git a/agents/identity_agent.py b/agents/identity_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..3a5c7e65ef2f2f397fc0ffda29aa534c68a4c6bc --- /dev/null +++ b/agents/identity_agent.py @@ -0,0 +1,57 @@ +""" +Identity Specialist Agent + +Probes: name variant analysis, transliteration mismatches, +cross-document identity coherence, passport-to-document name matching. +""" + +from __future__ import annotations + +import json + +from agents.base_agent import BaseSpecialistAgent + + +class IdentityAgent(BaseSpecialistAgent): + agent_id = "identity_agent" + focus_nodes = ["identity"] + + def _build_prompt(self, graph_subset: dict, rule_findings: list[dict], jurisdiction: str) -> str: + ctx_block = f"\nJURISDICTION CONTEXT:\n{jurisdiction}\n" if jurisdiction else "" + dossier_ctx = graph_subset.get("_document_context", {}) + partial_note = dossier_ctx.get("partial_dossier_instructions", "") + return f"""You are an adversarial pre-submission auditor reviewing identity documents. +Your task: identify identity inconsistencies in the PROVIDED documents and flag missing identity documents +as informational gaps — NOT as rejection grounds. +{ctx_block} +DOSSIER COMPLETENESS: {partial_note} + +IDENTITY DATA: +{json.dumps(graph_subset.get("identity"), indent=2)} + +RULE ENGINE FLAGS (already detected): +{json.dumps(rule_findings, indent=2)} + +Analyse the following — be specific, cite exact field paths: +1. Are all name_variants plausibly the same person? Consider transliteration rules + (e.g. Japanese: family-first vs given-first, romanisation differences). +2. If cross_doc_name_match is false, is this a genuine mismatch or an expected + transliteration variation? Rate the severity. +3. Check for date_of_birth consistency — is it the same across all documents? +4. Does the passport_number match the identity page expectations for the stated nationality? +5. If passport data is null, classify as 'info' severity — the passport document has not been uploaded yet. + Do NOT treat missing passport as a critical rejection issue. + +CRITICAL ROLE RESOLUTION: +Before checking for name mismatches, review Affidavit or Sponsor letters to establish roles. +If Document A (Passport) belongs to the Applicant and Document B (Bank Statement) belongs to a +Sponsor/Parent/Guardian, DO NOT flag this as a name mismatch. They are two distinct, verified +individuals linked by the Affidavit. Different names across documents belonging to DIFFERENT PEOPLE +are expected and correct — not fraud. +Only flag mismatches if: + a) The APPLICANT'S name is spelled differently across the applicant's own documents, OR + b) The SPONSOR'S name is spelled differently across the sponsor's own documents. +A father's bank statement showing 'SATYANARAYANA' alongside a son's passport showing 'SAI KIRAN' +is a normal sponsor-applicant relationship, NOT an identity discrepancy. + +Respond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path.""" diff --git a/agents/narrative.py b/agents/narrative.py new file mode 100644 index 0000000000000000000000000000000000000000..dd398057fe52713e84e3a1310401b29e9018d9d8 --- /dev/null +++ b/agents/narrative.py @@ -0,0 +1,170 @@ +""" +Narrative Synthesis Agent + +Receives ALL 5 specialist agent findings + rule engine findings + full semantic graph. +Produces: verdict, risk score, rejection narrative, rebuttal guidance, citations. +Includes exponential backoff retry for rate limits. +""" + +from __future__ import annotations + +import json +import random +import time +from typing import Optional + +from pydantic import BaseModel, Field + +from config import ( + PRO_MODEL, + API_RETRY_ATTEMPTS, + API_RETRY_BASE_DELAY, + API_RETRY_MAX_DELAY, + client, +) +from orchestrator.state import UplanState + + +class NarrativeVerdict(BaseModel): + """Final cross-document verdict -- the output of the entire Uplan pipeline.""" + verdict: str = Field(description="'PASS', 'CONDITIONAL', 'INCOMPLETE_DOSSIER', or 'FAIL'") + risk_score: float = Field(description="0.0 = clean application, 1.0 = near-certain rejection") + missing_documents: list[str] = Field( + default_factory=list, + description="Document types that are missing from the dossier (e.g. 'passport', 'enrollment_letter')", + ) + critical_issues: list[str] = Field(default_factory=list, description="Bullet-point critical issues found WITHIN provided documents") + warning_issues: list[str] = Field(default_factory=list, description="Bullet-point warnings") + rejection_narrative: str = Field( + description="Pre-submission audit narrative — formal, specific, distinguishing anomalies from missing docs" + ) + rebuttal_guidance: list[str] = Field( + default_factory=list, + description="For each issue: what additional document or explanation would resolve it", + ) + citations: list[str] = Field( + default_factory=list, + description="Graph node paths supporting each finding (e.g. 'financial.spikes[0]')", + ) + + +# All document types that constitute a complete dossier +COMPLETE_DOSSIER_TYPES = [ + "passport", "bank_statement", "payslip", "tax_return", + "sponsor_letter", "employment_letter", "enrollment_letter", "affidavit", +] + + +class NarrativeAgent: + """Cross-document synthesis agent -- the final reasoning step.""" + + def run(self, state: UplanState) -> dict: + graph = state["semantic_graph"] + doc_types = graph.get("source_doc_types", []) + source_is_affidavit = graph.get("financial", {}).get("source_is_affidavit", False) + + # Compute dossier completeness + present = set(doc_types) + missing = [d for d in COMPLETE_DOSSIER_TYPES if d not in present] + is_partial = len(missing) > 0 + + doc_context_note = "" + if source_is_affidavit and "bank_statement" not in doc_types: + doc_context_note = ( + "\n\nDOCUMENT CONTEXT: The financial data comes ONLY from an affidavit (sworn declaration). " + "An affidavit legitimately has zero bank transactions -- it declares point-in-time asset values. " + "Do NOT cite 'zero transactions' as evidence of fraud. Instead, note that actual bank statements " + "are MISSING and must be submitted." + ) + + partial_dossier_instructions = "" + if is_partial: + partial_dossier_instructions = f""" + +CRITICAL CONTEXT — PARTIAL DOSSIER: +The user has uploaded ONLY these document types: {doc_types} +The following document types are MISSING: {missing} + +RULES FOR PARTIAL DOSSIER: +1. You MUST set verdict to "INCOMPLETE_DOSSIER" (not FAIL) because the user has not submitted all documents yet. +2. List all missing document types in the missing_documents field. +3. DO NOT treat missing data nodes (null passport, null enrollment, null sponsor) as rejection-worthy anomalies. + These are simply documents the user has not uploaded yet. +4. ONLY flag as "critical" issues that represent genuine anomalies WITHIN the provided documents + (e.g., smurfing patterns, unexplained spikes, forged signatures, balance discontinuities). +5. The risk_score should reflect the risk of the PROVIDED documents only, not penalize for missing docs. + A clean bank statement with no anomalies but missing passport = risk 0.2-0.3, NOT 0.99. +6. In rejection_narrative, frame it as a pre-submission audit report, NOT a visa denial letter. + Example tone: "The provided bank statement shows X anomalies that require attention before submission. + Additionally, the following documents must be uploaded to complete the dossier: [list]." +7. In rebuttal_guidance, list actionable steps to complete the dossier and address any real anomalies.""" + + prompt = f"""You are an adversarial pre-submission auditor. Your job is to identify gaps and anomalies +BEFORE the applicant submits their visa package to the embassy. You are helping them strengthen their case, +not judging them. + +DOCUMENT TYPES PROCESSED: {doc_types} +{doc_context_note} +{partial_dossier_instructions} + +SEMANTIC GRAPH (full document picture): +{json.dumps(graph, indent=2)} + +RULE ENGINE FINDINGS: +{json.dumps(state.get("rule_findings", []), indent=2)} + +SPECIALIST AGENT FINDINGS: +{json.dumps(state.get("agent_findings", []), indent=2)} + +Your task: +1. Synthesise ALL findings into a single coherent verdict. +2. Distinguish between: + a) ACTUAL ANOMALIES found within provided documents (these are critical/warning) + b) MISSING INFORMATION because documents haven't been uploaded yet (these are info-level gaps) +3. Write the rejection_narrative as a pre-submission audit: formal, specific, citing document evidence. + Separate the "Anomalies Found" section from the "Documents Still Required" section. +4. For each issue, write one rebuttal_guidance item: what additional document or action would resolve it. +5. Risk score: 0.0 = clean provided documents, 1.0 = severe anomalies in provided documents. + Do NOT inflate risk score just because documents are missing. +6. In citations, list the exact graph node paths that support your findings (e.g. 'financial.spikes[0].amount'). + +Respond ONLY with NarrativeVerdict JSON.""" + + t0 = time.time() + last_err = None + for attempt in range(API_RETRY_ATTEMPTS): + try: + response = client.models.generate_content( + model=PRO_MODEL, + contents=prompt, + config={ + "response_mime_type": "application/json", + "response_schema": NarrativeVerdict, + }, + ) + v = response.parsed + elapsed = time.time() - t0 + + # CP6 -- log narrative synthesis + logger = state.get("_debug_logger") + if logger: + logger.cp6_narrative(prompt, v.model_dump(), elapsed) + logger.close() + + return {"verdict": v.model_dump(), "risk_score": v.risk_score} + except Exception as e: + last_err = e + err_str = str(e) + is_rate_limit = "429" in err_str or "RESOURCE_EXHAUSTED" in err_str + + if is_rate_limit and attempt < API_RETRY_ATTEMPTS - 1: + delay = min( + API_RETRY_BASE_DELAY * (2 ** attempt) + random.uniform(0, 1), + API_RETRY_MAX_DELAY, + ) + print(f" [WAIT] narrative: rate limited, retry in {delay:.0f}s (attempt {attempt + 1}/{API_RETRY_ATTEMPTS})") + time.sleep(delay) + elif not is_rate_limit: + break + + raise last_err diff --git a/agents/sponsor_agent.py b/agents/sponsor_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..9a65253589f7a4906cb8e500147bd6b34dc57234 --- /dev/null +++ b/agents/sponsor_agent.py @@ -0,0 +1,51 @@ +""" +Sponsor Specialist Agent + +Probes: sponsor income vs total trip cost, relationship plausibility, +jurisdiction verification, income documentation sufficiency. +""" + +from __future__ import annotations + +import json + +from agents.base_agent import BaseSpecialistAgent + + +class SponsorAgent(BaseSpecialistAgent): + agent_id = "sponsor_agent" + focus_nodes = ["sponsor", "identity", "financial"] + + def _build_prompt(self, graph_subset: dict, rule_findings: list[dict], jurisdiction: str) -> str: + ctx_block = f"\nJURISDICTION CONTEXT:\n{jurisdiction}\n" if jurisdiction else "" + dossier_ctx = graph_subset.get("_document_context", {}) + partial_note = dossier_ctx.get("partial_dossier_instructions", "") + return f"""You are an adversarial pre-submission auditor reviewing sponsor documentation. +Your task: identify sponsorship inconsistencies in the PROVIDED documents and flag missing sponsor +documents as informational gaps. +{ctx_block} +DOSSIER COMPLETENESS: {partial_note} + +SPONSOR DATA: +{json.dumps(graph_subset.get("sponsor"), indent=2)} + +APPLICANT IDENTITY: +{json.dumps(graph_subset.get("identity"), indent=2)} + +APPLICANT FINANCIAL DATA: +{json.dumps(graph_subset.get("financial"), indent=2)} + +RULE ENGINE FLAGS (already detected): +{json.dumps(rule_findings, indent=2)} + +Analyse the following — be specific, cite exact values: +1. Does the sponsor's declared_income realistically cover the applicant's total costs + (tuition + living expenses + travel)? Show the arithmetic. +2. Is the stated relationship plausible? (e.g. "uncle" sponsoring a non-relative is suspicious) +3. If income_supports_coverage is false, quantify the shortfall. +4. Does the sponsor's income_currency match the jurisdiction where they claim to reside? +5. If no sponsor data exists (null), classify as 'info' severity — the sponsor documents + have not been uploaded yet. The applicant may be self-funded or sponsor docs are pending. + Do NOT treat missing sponsor as a critical rejection issue. + +Respond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path.""" diff --git a/agents/temporal_agent.py b/agents/temporal_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..f6d6d366c60f0427be4f798325b138e7f1526a01 --- /dev/null +++ b/agents/temporal_agent.py @@ -0,0 +1,58 @@ +""" +Temporal Specialist Agent + +Probes: employment gap arithmetic, date range overlaps, visa window fit, +chronological consistency across documents. +""" + +from __future__ import annotations + +import json + +from agents.base_agent import BaseSpecialistAgent + + +class TemporalAgent(BaseSpecialistAgent): + agent_id = "temporal_agent" + focus_nodes = ["temporal", "financial"] + + def _build_prompt(self, graph_subset: dict, rule_findings: list[dict], jurisdiction: str) -> str: + ctx_block = f"\nJURISDICTION CONTEXT:\n{jurisdiction}\n" if jurisdiction else "" + dossier_ctx = graph_subset.get("_document_context", {}) + partial_note = dossier_ctx.get("partial_dossier_instructions", "") + return f"""You are an adversarial pre-submission auditor reviewing the timeline of an application. +Your task: identify temporal inconsistencies in the PROVIDED documents. Missing temporal data due to +un-uploaded documents should be flagged as 'info', not 'critical'. +{ctx_block} +DOSSIER COMPLETENESS: {partial_note} + +TEMPORAL DATA: +{json.dumps(graph_subset.get("temporal"), indent=2)} + +FINANCIAL DATA (for date cross-reference): +{json.dumps(graph_subset.get("financial"), indent=2)} + +RULE ENGINE FLAGS (already detected): +{json.dumps(rule_findings, indent=2)} + +Analyse the following — be specific, cite exact dates: +1. Do employment_start and employment_end form a continuous period? Flag any gaps. +2. Do the doc_date_ranges overlap logically? A bank statement ending after an + employment letter's issue date is normal; the reverse is suspicious. +3. If visa_window_start/end exist, does the employment and financial history + cover the required pre-application period (typically 3-6 months)? +4. Check chronology_valid — if false, explain what dates are logically impossible. +5. Are transaction dates within the stated employment period? +6. If employment dates are null because employment letters haven't been uploaded, + classify as 'info' severity — not a critical temporal anomaly. + +CRITICAL RULE — BANK STATEMENT DATE GAPS: +Bank statements only record days with active transactions. Gaps of days or even weeks between +transaction dates are COMPLETELY NORMAL human behavior — people do not transact every single day. +Do NOT flag date gaps as 'missing days', 'discontinuities', or 'suspicious gaps' UNLESS: + a) The running mathematical balance breaks (e.g., closing balance on page N does not match + opening balance on page N+1), OR + b) Page numbers are explicitly missing from the sequence (e.g., page 5 jumps to page 7). +A person who buys something on April 24th and then next on May 7th is normal. Do NOT flag this. + +Respond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path.""" diff --git a/config.py b/config.py new file mode 100644 index 0000000000000000000000000000000000000000..ac39e153cd3424aaeccf67bd90b06bac09dfa791 --- /dev/null +++ b/config.py @@ -0,0 +1,40 @@ +""" +Uplan -- Central Configuration +Initializes the Gemini client and exposes model names + rule thresholds. +Uses Google AI Studio directly via API key. +""" + +import os +from dotenv import load_dotenv +from google import genai + +load_dotenv() + +# -- Client Initialization ------------------------------------------------ +# Using Google AI Studio directly via API key. +client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY")) + +# -- Model Selection ------------------------------------------------------- +# Available models confirmed via models.list(): +# Extraction: gemini-3-flash-preview (fast, vision-capable) +# Reasoning: gemini-3.1-pro-preview (smart, structured output) +FLASH_MODEL = os.environ.get("FLASH_MODEL", "gemini-3-flash-preview") +PRO_MODEL = os.environ.get("PRO_MODEL", "gemini-3.1-pro-preview") + +# -- Rate Limit / Retry Config -------------------------------------------- +# With paid credits, rate limits are generous. Keeping retry logic as safety net. +MAX_CONCURRENT_PAGES = int(os.environ.get("MAX_CONCURRENT_PAGES", "5")) +API_RETRY_ATTEMPTS = int(os.environ.get("API_RETRY_ATTEMPTS", "3")) +API_RETRY_BASE_DELAY = float(os.environ.get("API_RETRY_BASE_DELAY", "2.0")) +API_RETRY_MAX_DELAY = float(os.environ.get("API_RETRY_MAX_DELAY", "30.0")) +INTER_AGENT_DELAY = float(os.environ.get("INTER_AGENT_DELAY", "1.0")) + +# -- Rule Engine Thresholds ------------------------------------------------ +# Hardcoded for PoC. Will be RAG-fed from policy store in production. +ALPHA_SPIKE_RATIO = float(os.environ.get("ALPHA_SPIKE_RATIO", "3.0")) +EPSILON_INCOME_COHERENCE = float(os.environ.get("EPSILON_INCOME_COHERENCE", "0.20")) +DELTA_GAP_WARN_DAYS = int(os.environ.get("DELTA_GAP_WARN_DAYS", "30")) +DELTA_GAP_CRIT_DAYS = int(os.environ.get("DELTA_GAP_CRIT_DAYS", "90")) + +# -- Page Rendering -------------------------------------------------------- +PAGE_DPI = int(os.environ.get("PAGE_DPI", "150")) diff --git a/debug/20260518_092733/cp0_ingestion.json b/debug/20260518_092733/cp0_ingestion.json new file mode 100644 index 0000000000000000000000000000000000000000..ef1de893845a719997e0dc318a16c4004c321272 --- /dev/null +++ b/debug/20260518_092733/cp0_ingestion.json @@ -0,0 +1,19 @@ +{ + "file_path": "document_1.pdf", + "file_size_bytes": 82676, + "page_count": 2, + "is_electronic": true, + "is_scanned": false, + "pages": [ + { + "page": 1, + "char_count": 1805, + "has_text_layer": true + }, + { + "page": 2, + "char_count": 101, + "has_text_layer": true + } + ] +} \ No newline at end of file diff --git a/debug/20260518_092733/cp1_page_01_raw.json b/debug/20260518_092733/cp1_page_01_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..1ee933cddf3f330789f7fb021584eeecd32e416e --- /dev/null +++ b/debug/20260518_092733/cp1_page_01_raw.json @@ -0,0 +1,7 @@ +{ + "page": 1, + "png_size_kb": 220.1, + "has_text_layer": true, + "text_char_count": 1805, + "text_preview": "Affidavit \nTo whomsoever concerned \n \nI, KORADA SATYANARAYANA, Father of Korada SaiKiran, declare that I am a \nresident at the address “Plot No. 76, SBI Colony, Balaji Nagar, Totapalem area, \nnear Srinivasa College, near Abdul Kalam Park, Vizianagaram”. I hereby declare that \nI will bear all expenses for my son during his studies in Japan. \n \nMy family includes the following people – \n1.​ Korada Satyanarayana (Self), Date of Birth: 21/02/1971, Age: 55 Y. \n2.​ Korada Venkata Lakshmi (Wife), Dat" +} \ No newline at end of file diff --git a/debug/20260518_092733/cp1_page_02_raw.json b/debug/20260518_092733/cp1_page_02_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..e17d6b334f44ae96b1e825363ae6037a29aba3e7 --- /dev/null +++ b/debug/20260518_092733/cp1_page_02_raw.json @@ -0,0 +1,7 @@ +{ + "page": 2, + "png_size_kb": 19.5, + "has_text_layer": true, + "text_char_count": 101, + "text_preview": "What is stated in the above is true and correct to the best of my knowledge, belief, and information." +} \ No newline at end of file diff --git a/debug/20260518_092733/cp2_page_01_extraction.json b/debug/20260518_092733/cp2_page_01_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..eb0a4e3d2eff17955a10c6b409ebe10bc3d6d684 --- /dev/null +++ b/debug/20260518_092733/cp2_page_01_extraction.json @@ -0,0 +1,89 @@ +{ + "page": 1, + "elapsed_s": 9.8, + "page_type_detected": "affidavit", + "non_null_fields": { + "page_number": 1, + "page_type": "affidavit", + "person_name": "KORADA SATYANARAYANA", + "date_of_birth": "21/02/1971", + "applicant_dob": "02-06-2003", + "currency": "INR", + "sponsor_name": "KORADA SATYANARAYANA", + "sponsor_relationship": "Father", + "sponsor_declared_income": 1200000.0, + "sponsor_income_currency": "INR", + "applicant_name": "Korada Sai Kiran", + "declared_liquid_assets": 1744664.76, + "declared_movable_assets": 2500000.0, + "declared_property_value": 16360000.0, + "declared_annual_income": 1200000.0 + }, + "null_or_empty_fields": [ + "nationality", + "passport_number", + "opening_balance", + "closing_balance", + "transactions", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "period_start", + "period_end", + "employment_start", + "employment_end", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 1, + "page_type": "affidavit", + "person_name": "KORADA SATYANARAYANA", + "date_of_birth": "21/02/1971", + "applicant_dob": "02-06-2003", + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": null, + "transactions": [], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": null, + "period_end": null, + "employment_start": null, + "employment_end": null, + "sponsor_name": "KORADA SATYANARAYANA", + "sponsor_relationship": "Father", + "sponsor_declared_income": 1200000.0, + "sponsor_income_currency": "INR", + "applicant_name": "Korada Sai Kiran", + "declared_liquid_assets": 1744664.76, + "declared_movable_assets": 2500000.0, + "declared_property_value": 16360000.0, + "declared_annual_income": 1200000.0, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp2_page_02_extraction.json b/debug/20260518_092733/cp2_page_02_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..bc0c5bd27b7433709a589b2c02e9c951eb1f42b4 --- /dev/null +++ b/debug/20260518_092733/cp2_page_02_extraction.json @@ -0,0 +1,89 @@ +{ + "page": 2, + "elapsed_s": 14.18, + "page_type_detected": "unknown", + "non_null_fields": { + "page_number": 2, + "page_type": "unknown" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "opening_balance", + "closing_balance", + "transactions", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "period_start", + "period_end", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 2, + "page_type": "unknown", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": null, + "closing_balance": null, + "transactions": [], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": null, + "period_end": null, + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp3_graph.json b/debug/20260518_092733/cp3_graph.json new file mode 100644 index 0000000000000000000000000000000000000000..eee697fb2d2ccab9b51b3868e17ff885c28cd453 --- /dev/null +++ b/debug/20260518_092733/cp3_graph.json @@ -0,0 +1,62 @@ +{ + "identity": { + "name_variants": [ + "Korada Sai Kiran" + ], + "canonical_name": "Korada Sai Kiran", + "date_of_birth": "02-06-2003", + "nationality": null, + "passport_number": null, + "transliteration_flags": [], + "cross_doc_name_match": true + }, + "financial": { + "currency": "INR", + "opening_balance": null, + "closing_balance": 1744664.76, + "avg_monthly_income": 100000.0, + "total_credits": 0.0, + "total_debits": 0.0, + "transaction_count": 0, + "spikes": [], + "unlabeled_deposit_count": 0, + "income_percentile": null, + "declared_property_value": 16360000.0, + "declared_movable_assets": 2500000.0, + "source_is_affidavit": true + }, + "temporal": { + "doc_date_ranges": [], + "employment_start": null, + "employment_end": null, + "visa_window_start": null, + "visa_window_end": null, + "gap_flags": [], + "chronology_valid": true + }, + "sponsor": { + "sponsor_name": "KORADA SATYANARAYANA", + "relationship": "Father", + "declared_income": 1200000.0, + "income_currency": "INR", + "income_supports_coverage": true, + "jurisdiction": null + }, + "enrollment": null, + "edges": [ + { + "edge_type": "sponsor_link", + "source_node": "identity", + "target_node": "sponsor", + "coherent": true, + "detail": null + } + ], + "token_count": 367, + "source_page_count": 2, + "estimated_raw_tokens": 4000, + "source_doc_types": [ + "affidavit", + "unknown" + ] +} \ No newline at end of file diff --git a/debug/20260518_092733/cp3_graph_summary.txt b/debug/20260518_092733/cp3_graph_summary.txt new file mode 100644 index 0000000000000000000000000000000000000000..538e47847a30a70349d9f7fb91ea9a3364f333b2 --- /dev/null +++ b/debug/20260518_092733/cp3_graph_summary.txt @@ -0,0 +1,27 @@ +=== GRAPH SUMMARY (run: 20260518_092733) === +Source pages: 2 | Doc types: ['affidavit', 'unknown'] +Token count: 367 | Compression: 4,000 -> 367 + +--- IDENTITY --- + canonical_name: Korada Sai Kiran + date_of_birth: 02-06-2003 + nationality: None + passport_number: None + name_variants: ['Korada Sai Kiran'] + +--- FINANCIAL --- + source_is_affidavit: True + currency: INR + closing_balance: 1744664.76 + avg_monthly_income: 100000.0 + transaction_count: 0 + declared_property: 16360000.0 + declared_movables: 2500000.0 + +--- SPONSOR --- + sponsor_name: KORADA SATYANARAYANA + relationship: Father + declared_income: 1200000.0 + + enrollment: null + edges: [] \ No newline at end of file diff --git a/debug/20260518_092733/cp4_enrollment_agent_prompt.json b/debug/20260518_092733/cp4_enrollment_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..bb49dc5bff3bd5aa45580c1422867da72422cc46 --- /dev/null +++ b/debug/20260518_092733/cp4_enrollment_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "enrollment_agent", + "graph_subset_keys": [ + "enrollment", + "financial", + "temporal" + ], + "estimated_input_tokens": 453, + "prompt_char_count": 1815, + "prompt": "You are an adversarial immigration officer reviewing enrollment documentation.\nYour task: identify every enrollment/financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nENROLLMENT DATA:\nnull\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": null,\n \"closing_balance\": 1744664.76,\n \"avg_monthly_income\": 100000.0,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": 16360000.0,\n \"declared_movable_assets\": 2500000.0,\n \"source_is_affidavit\": true\n}\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the applicant's closing_balance cover program_cost? Show the arithmetic.\n Include a living expense estimate (~$1,500/month × duration_months) if relevant.\n2. Does enrollment_start align with the visa application timeline?\n3. Is the program_duration_months realistic for the stated program?\n4. If funds_cover_full_stay is false, quantify the shortfall exactly.\n5. If no enrollment data exists (null), note that this may be a non-student visa\n and enrollment checks are not applicable.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_092733/cp4_financial_agent_prompt.json b/debug/20260518_092733/cp4_financial_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..7d47fb6dd13273f9a48eb1f176725fac72c0c205 --- /dev/null +++ b/debug/20260518_092733/cp4_financial_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "financial_agent", + "graph_subset_keys": [ + "financial", + "identity" + ], + "estimated_input_tokens": 500, + "prompt_char_count": 2003, + "prompt": "You are an adversarial immigration officer reviewing financial documents.\nYour task: identify every financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": null,\n \"closing_balance\": 1744664.76,\n \"avg_monthly_income\": 100000.0,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": 16360000.0,\n \"declared_movable_assets\": 2500000.0,\n \"source_is_affidavit\": true\n}\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"Korada Sai Kiran\"\n ],\n \"canonical_name\": \"Korada Sai Kiran\",\n \"date_of_birth\": \"02-06-2003\",\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (1,744,665 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 255,335 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"1,744,665 JPY\"\n }\n]\n\nAnalyse the following — be specific, cite exact values:\n1. For each spike in spikes[]: is there a plausible source? If unlabeled, flag as critical.\n2. Does avg_monthly_income × visa_duration cover declared costs? Show the arithmetic.\n3. Does the balance trajectory make sense given declared income? Flag any impossible accumulation.\n4. Are there cross-document income discrepancies (payslip vs bank deposit amounts)?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_092733/cp4_identity_agent_prompt.json b/debug/20260518_092733/cp4_identity_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..d0ff043f0e4ced0b7815269e7aed2be49b6f7861 --- /dev/null +++ b/debug/20260518_092733/cp4_identity_agent_prompt.json @@ -0,0 +1,9 @@ +{ + "agent_id": "identity_agent", + "graph_subset_keys": [ + "identity" + ], + "estimated_input_tokens": 349, + "prompt_char_count": 1396, + "prompt": "You are an adversarial immigration officer reviewing identity documents.\nYour task: identify every identity inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nIDENTITY DATA:\n{\n \"name_variants\": [\n \"Korada Sai Kiran\"\n ],\n \"canonical_name\": \"Korada Sai Kiran\",\n \"date_of_birth\": \"02-06-2003\",\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact field paths:\n1. Are all name_variants plausibly the same person? Consider transliteration rules\n (e.g. Japanese: family-first vs given-first, romanisation differences).\n2. If cross_doc_name_match is false, is this a genuine mismatch or an expected\n transliteration variation? Rate the severity.\n3. Check for date_of_birth consistency — is it the same across all documents?\n4. Does the passport_number match the identity page expectations for the stated nationality?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_092733/cp4_sponsor_agent_prompt.json b/debug/20260518_092733/cp4_sponsor_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..90f53c85ff7e099ff7899501413a7a4e804c043c --- /dev/null +++ b/debug/20260518_092733/cp4_sponsor_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "sponsor_agent", + "graph_subset_keys": [ + "sponsor", + "identity", + "financial" + ], + "estimated_input_tokens": 526, + "prompt_char_count": 2107, + "prompt": "You are an adversarial immigration officer reviewing sponsor documentation.\nYour task: identify every sponsorship inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nSPONSOR DATA:\n{\n \"sponsor_name\": \"KORADA SATYANARAYANA\",\n \"relationship\": \"Father\",\n \"declared_income\": 1200000.0,\n \"income_currency\": \"INR\",\n \"income_supports_coverage\": true,\n \"jurisdiction\": null\n}\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"Korada Sai Kiran\"\n ],\n \"canonical_name\": \"Korada Sai Kiran\",\n \"date_of_birth\": \"02-06-2003\",\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n}\n\nAPPLICANT FINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": null,\n \"closing_balance\": 1744664.76,\n \"avg_monthly_income\": 100000.0,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": 16360000.0,\n \"declared_movable_assets\": 2500000.0,\n \"source_is_affidavit\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the sponsor's declared_income realistically cover the applicant's total costs\n (tuition + living expenses + travel)? Show the arithmetic.\n2. Is the stated relationship plausible? (e.g. \"uncle\" sponsoring a non-relative is suspicious)\n3. If income_supports_coverage is false, quantify the shortfall.\n4. Does the sponsor's income_currency match the jurisdiction where they claim to reside?\n5. If no sponsor data exists (null), note that the application lacks financial sponsorship\n documentation — this may be acceptable if self-funded.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_092733/cp4_temporal_agent_prompt.json b/debug/20260518_092733/cp4_temporal_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..9088d98ec8083a44b59568319047fa0177dc38e2 --- /dev/null +++ b/debug/20260518_092733/cp4_temporal_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "temporal_agent", + "graph_subset_keys": [ + "temporal", + "financial" + ], + "estimated_input_tokens": 460, + "prompt_char_count": 1840, + "prompt": "You are an adversarial immigration officer reviewing the timeline of an application.\nYour task: identify every temporal inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nFINANCIAL DATA (for date cross-reference):\n{\n \"currency\": \"INR\",\n \"opening_balance\": null,\n \"closing_balance\": 1744664.76,\n \"avg_monthly_income\": 100000.0,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": 16360000.0,\n \"declared_movable_assets\": 2500000.0,\n \"source_is_affidavit\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact dates:\n1. Do employment_start and employment_end form a continuous period? Flag any gaps.\n2. Do the doc_date_ranges overlap logically? A bank statement ending after an\n employment letter's issue date is normal; the reverse is suspicious.\n3. If visa_window_start/end exist, does the employment and financial history\n cover the required pre-application period (typically 3-6 months)?\n4. Check chronology_valid — if false, explain what dates are logically impossible.\n5. Are transaction dates within the stated employment period?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_092733/cp5_enrollment_agent_response.json b/debug/20260518_092733/cp5_enrollment_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..38de593cf211a396104cf952eb9c490c24ee8012 --- /dev/null +++ b/debug/20260518_092733/cp5_enrollment_agent_response.json @@ -0,0 +1,41 @@ +{ + "agent_id": "enrollment_agent", + "elapsed_s": 24.48, + "parse_error": null, + "verdict": "critical", + "confidence": 1.0, + "anomaly_count": 4, + "summary": "The student visa application is critically flawed due to a complete lack of enrollment documentation and the failure to provide the mandatory six-month financial history, warranting immediate rejection.", + "full_finding": { + "agent_id": "enrollment_agent", + "anomalies": [ + { + "field_path": "enrollment", + "severity": "critical", + "explanation": "The application for a student visa contains no enrollment data. This is a fundamental failure, making it impossible to verify the applicant's purpose of entry, program details, or associated costs.", + "rule_id": null + }, + { + "field_path": "temporal.doc_date_ranges", + "severity": "critical", + "explanation": "The application fails to provide the required 6 months of consecutive bank statements. The provided financial data shows zero transactions and the document date range is empty, which is an automatic disqualifier.", + "rule_id": null + }, + { + "field_path": "financial.source_is_affidavit", + "severity": "critical", + "explanation": "The source of the entire 1,744,664.76 INR closing balance is substantiated only by an affidavit, which is not considered sufficient proof of funds. With no transaction history, the origin of this large sum is undocumented and suspicious.", + "rule_id": null + }, + { + "field_path": "financial.closing_balance", + "severity": "warning", + "explanation": "The sufficiency of the closing balance cannot be verified. Without program cost and duration from the missing enrollment data, it is impossible to assess if funds cover tuition and living expenses as required.", + "rule_id": null + } + ], + "confidence": 1.0, + "agent_verdict": "critical", + "summary": "The student visa application is critically flawed due to a complete lack of enrollment documentation and the failure to provide the mandatory six-month financial history, warranting immediate rejection." + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp5_financial_agent_response.json b/debug/20260518_092733/cp5_financial_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..a6b7cb518780f661c2f34634d5c081e8c6add907 --- /dev/null +++ b/debug/20260518_092733/cp5_financial_agent_response.json @@ -0,0 +1,41 @@ +{ + "agent_id": "financial_agent", + "elapsed_s": 24.75, + "parse_error": null, + "verdict": "critical", + "confidence": 1.0, + "anomaly_count": 4, + "summary": "The application is critically flawed due to a complete lack of required transaction history, an unverifiable source of funds, and an unexplained large balance relative to income.", + "full_finding": { + "agent_id": "financial_agent", + "anomalies": [ + { + "field_path": "financial.transaction_count", + "severity": "critical", + "explanation": "The financial record shows zero transactions, credits, or debits. This fails to meet the 6-month consecutive bank statement requirement needed to assess financial stability and the legitimate accumulation of funds.", + "rule_id": null + }, + { + "field_path": "financial.closing_balance", + "severity": "critical", + "explanation": "The closing balance of 1,744,664.76 INR is over 17 times the declared monthly income of 100,000.0 INR. This accumulation is completely undocumented within the provided transaction history.", + "rule_id": null + }, + { + "field_path": "financial.source_is_affidavit", + "severity": "critical", + "explanation": "The source of funds is supported only by an affidavit, which is insufficient primary evidence. The origin of the large balance is unverifiable without supporting transactional or legal documents.", + "rule_id": null + }, + { + "field_path": "financial.opening_balance", + "severity": "critical", + "explanation": "The opening balance is null, indicating an incomplete financial record that violates the requirement for a continuous 6-month statement history.", + "rule_id": null + } + ], + "confidence": 1.0, + "agent_verdict": "critical", + "summary": "The application is critically flawed due to a complete lack of required transaction history, an unverifiable source of funds, and an unexplained large balance relative to income." + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp5_identity_agent_response.json b/debug/20260518_092733/cp5_identity_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..902c1a30305de90138f5094e96a978fff0be5857 --- /dev/null +++ b/debug/20260518_092733/cp5_identity_agent_response.json @@ -0,0 +1,29 @@ +{ + "agent_id": "identity_agent", + "elapsed_s": 10.25, + "parse_error": null, + "verdict": "critical", + "confidence": 1.0, + "anomaly_count": 2, + "summary": "The application is critically deficient due to missing nationality and passport number, preventing basic identity verification.", + "full_finding": { + "agent_id": "identity_agent", + "anomalies": [ + { + "field_path": "nationality", + "severity": "critical", + "explanation": "Applicant nationality is not specified. This is a mandatory field for identity verification and visa processing.", + "rule_id": null + }, + { + "field_path": "passport_number", + "severity": "critical", + "explanation": "Applicant passport number is missing. A valid passport is a required document for any visa application.", + "rule_id": null + } + ], + "confidence": 1.0, + "agent_verdict": "critical", + "summary": "The application is critically deficient due to missing nationality and passport number, preventing basic identity verification." + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp5_sponsor_agent_response.json b/debug/20260518_092733/cp5_sponsor_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..a908dfec9433a329027108b89b67b11383930095 --- /dev/null +++ b/debug/20260518_092733/cp5_sponsor_agent_response.json @@ -0,0 +1,41 @@ +{ + "agent_id": "sponsor_agent", + "elapsed_s": 27.05, + "parse_error": null, + "verdict": "critical", + "confidence": 1.0, + "anomaly_count": 4, + "summary": "The application should be rejected due to the use of an affidavit instead of required bank statements and the sponsor's insufficient declared income.", + "full_finding": { + "agent_id": "sponsor_agent", + "anomalies": [ + { + "field_path": "applicant_financials.source_is_affidavit", + "severity": "critical", + "explanation": "Financial data is provided via an affidavit, but visa regulations require six months of consecutive bank statements, making it impossible to verify the history and stability of the funds.", + "rule_id": null + }, + { + "field_path": "sponsor.declared_income", + "severity": "critical", + "explanation": "The sponsor's declared income of 1,200,000 INR is insufficient to meet the requirement to cover at least 1.2 times the total program costs for studying in Japan, which typically exceed this amount annually.", + "rule_id": null + }, + { + "field_path": "sponsor.jurisdiction", + "severity": "warning", + "explanation": "The sponsor's jurisdiction is not specified, preventing verification of their employment, residence, and the authenticity of their claimed income.", + "rule_id": null + }, + { + "field_path": "applicant_financials.closing_balance", + "severity": "warning", + "explanation": "While the closing balance of 1,744,664.76 INR may be numerically sufficient when converted, its legitimacy cannot be confirmed due to the absence of the required 6-month statement history.", + "rule_id": null + } + ], + "confidence": 1.0, + "agent_verdict": "critical", + "summary": "The application should be rejected due to the use of an affidavit instead of required bank statements and the sponsor's insufficient declared income." + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp5_temporal_agent_response.json b/debug/20260518_092733/cp5_temporal_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..af39a76ba3b80665e00245e4d483f708c2f8a5f0 --- /dev/null +++ b/debug/20260518_092733/cp5_temporal_agent_response.json @@ -0,0 +1,29 @@ +{ + "agent_id": "temporal_agent", + "elapsed_s": 19.65, + "parse_error": null, + "verdict": "critical", + "confidence": 1.0, + "anomaly_count": 2, + "summary": "The application is critically deficient, lacking any bank statements or employment history, making financial and temporal verification impossible.", + "full_finding": { + "agent_id": "temporal_agent", + "anomalies": [ + { + "field_path": "doc_date_ranges", + "severity": "critical", + "explanation": "The application is missing the mandatory six months of consecutive bank statements. This complete absence of documentation makes it impossible to verify the history, source, and stability of the declared funds.", + "rule_id": null + }, + { + "field_path": "employment_start", + "severity": "critical", + "explanation": "No employment start date or employment history has been provided for the applicant or sponsor. This prevents the verification of the source of income and the sponsor's ability to meet financial support requirements.", + "rule_id": null + } + ], + "confidence": 1.0, + "agent_verdict": "critical", + "summary": "The application is critically deficient, lacking any bank statements or employment history, making financial and temporal verification impossible." + } +} \ No newline at end of file diff --git a/debug/20260518_092733/cp6_narrative.json b/debug/20260518_092733/cp6_narrative.json new file mode 100644 index 0000000000000000000000000000000000000000..6c18b3db6fd288490d8b8c196ebc5ddbca080194 --- /dev/null +++ b/debug/20260518_092733/cp6_narrative.json @@ -0,0 +1,45 @@ +{ + "elapsed_s": 19.3, + "parse_error": null, + "verdict": "FAIL", + "risk_score": 1.0, + "critical_issues_count": 7, + "prompt_char_count": 9896, + "prompt": "You are a senior immigration officer writing the official assessment.\n\nDOCUMENT TYPES PROCESSED: ['affidavit', 'unknown']\n\n\nDOCUMENT CONTEXT: The financial data comes ONLY from an affidavit (sworn declaration). An affidavit legitimately has zero bank transactions -- it declares point-in-time asset values. Do NOT cite 'zero transactions' as evidence of fraud. Instead, note that actual bank statements are MISSING and must be submitted. The declared liquid assets and income should be treated as sponsor's declared financial standing, not as bank account history.\n\nSEMANTIC GRAPH (full document picture):\n{\n \"identity\": {\n \"name_variants\": [\n \"Korada Sai Kiran\"\n ],\n \"canonical_name\": \"Korada Sai Kiran\",\n \"date_of_birth\": \"02-06-2003\",\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n },\n \"financial\": {\n \"currency\": \"INR\",\n \"opening_balance\": null,\n \"closing_balance\": 1744664.76,\n \"avg_monthly_income\": 100000.0,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": 16360000.0,\n \"declared_movable_assets\": 2500000.0,\n \"source_is_affidavit\": true\n },\n \"temporal\": {\n \"doc_date_ranges\": [],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n },\n \"sponsor\": {\n \"sponsor_name\": \"KORADA SATYANARAYANA\",\n \"relationship\": \"Father\",\n \"declared_income\": 1200000.0,\n \"income_currency\": \"INR\",\n \"income_supports_coverage\": true,\n \"jurisdiction\": null\n },\n \"enrollment\": null,\n \"edges\": [\n {\n \"edge_type\": \"sponsor_link\",\n \"source_node\": \"identity\",\n \"target_node\": \"sponsor\",\n \"coherent\": true,\n \"detail\": null\n }\n ],\n \"token_count\": 367,\n \"source_page_count\": 2,\n \"estimated_raw_tokens\": 4000,\n \"source_doc_types\": [\n \"affidavit\",\n \"unknown\"\n ]\n}\n\nRULE ENGINE FINDINGS:\n[\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (1,744,665 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 255,335 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"1,744,665 JPY\"\n }\n]\n\nSPECIALIST AGENT FINDINGS:\n[\n {\n \"agent_id\": \"identity_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"nationality\",\n \"severity\": \"critical\",\n \"explanation\": \"Applicant nationality is not specified. This is a mandatory field for identity verification and visa processing.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"passport_number\",\n \"severity\": \"critical\",\n \"explanation\": \"Applicant passport number is missing. A valid passport is a required document for any visa application.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 1.0,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The application is critically deficient due to missing nationality and passport number, preventing basic identity verification.\"\n },\n {\n \"agent_id\": \"financial_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"financial.transaction_count\",\n \"severity\": \"critical\",\n \"explanation\": \"The financial record shows zero transactions, credits, or debits. This fails to meet the 6-month consecutive bank statement requirement needed to assess financial stability and the legitimate accumulation of funds.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"The closing balance of 1,744,664.76 INR is over 17 times the declared monthly income of 100,000.0 INR. This accumulation is completely undocumented within the provided transaction history.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.source_is_affidavit\",\n \"severity\": \"critical\",\n \"explanation\": \"The source of funds is supported only by an affidavit, which is insufficient primary evidence. The origin of the large balance is unverifiable without supporting transactional or legal documents.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.opening_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"The opening balance is null, indicating an incomplete financial record that violates the requirement for a continuous 6-month statement history.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 1.0,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The application is critically flawed due to a complete lack of required transaction history, an unverifiable source of funds, and an unexplained large balance relative to income.\"\n },\n {\n \"agent_id\": \"temporal_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"doc_date_ranges\",\n \"severity\": \"critical\",\n \"explanation\": \"The application is missing the mandatory six months of consecutive bank statements. This complete absence of documentation makes it impossible to verify the history, source, and stability of the declared funds.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"employment_start\",\n \"severity\": \"critical\",\n \"explanation\": \"No employment start date or employment history has been provided for the applicant or sponsor. This prevents the verification of the source of income and the sponsor's ability to meet financial support requirements.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 1.0,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The application is critically deficient, lacking any bank statements or employment history, making financial and temporal verification impossible.\"\n },\n {\n \"agent_id\": \"sponsor_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"applicant_financials.source_is_affidavit\",\n \"severity\": \"critical\",\n \"explanation\": \"Financial data is provided via an affidavit, but visa regulations require six months of consecutive bank statements, making it impossible to verify the history and stability of the funds.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"sponsor.declared_income\",\n \"severity\": \"critical\",\n \"explanation\": \"The sponsor's declared income of 1,200,000 INR is insufficient to meet the requirement to cover at least 1.2 times the total program costs for studying in Japan, which typically exceed this amount annually.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"sponsor.jurisdiction\",\n \"severity\": \"warning\",\n \"explanation\": \"The sponsor's jurisdiction is not specified, preventing verification of their employment, residence, and the authenticity of their claimed income.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"applicant_financials.closing_balance\",\n \"severity\": \"warning\",\n \"explanation\": \"While the closing balance of 1,744,664.76 INR may be numerically sufficient when converted, its legitimacy cannot be confirmed due to the absence of the required 6-month statement history.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 1.0,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The application should be rejected due to the use of an affidavit instead of required bank statements and the sponsor's insufficient declared income.\"\n },\n {\n \"agent_id\": \"enrollment_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"enrollment\",\n \"severity\": \"critical\",\n \"explanation\": \"The application for a student visa contains no enrollment data. This is a fundamental failure, making it impossible to verify the applicant's purpose of entry, program details, or associated costs.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"temporal.doc_date_ranges\",\n \"severity\": \"critical\",\n \"explanation\": \"The application fails to provide the required 6 months of consecutive bank statements. The provided financial data shows zero transactions and the document date range is empty, which is an automatic disqualifier.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.source_is_affidavit\",\n \"severity\": \"critical\",\n \"explanation\": \"The source of the entire 1,744,664.76 INR closing balance is substantiated only by an affidavit, which is not considered sufficient proof of funds. With no transaction history, the origin of this large sum is undocumented and suspicious.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"warning\",\n \"explanation\": \"The sufficiency of the closing balance cannot be verified. Without program cost and duration from the missing enrollment data, it is impossible to assess if funds cover tuition and living expenses as required.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 1.0,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The student visa application is critically flawed due to a complete lack of enrollment documentation and the failure to provide the mandatory six-month financial history, warranting immediate rejection.\"\n }\n]\n\nYour task:\n1. Synthesise ALL findings into a single coherent verdict.\n2. A finding from ANY agent with severity \"critical\" = FAIL unless directly contradicted by another agent.\n3. Write the rejection_narrative as an officer would: formal, specific, citing document evidence.\n4. For each issue, write one rebuttal_guidance item: what additional document would resolve it.\n5. Risk score: 0.0 = clean application, 1.0 = near-certain rejection.\n6. In citations, list the exact graph node paths that support your verdict (e.g. 'financial.spikes[0].amount').\n\nRespond ONLY with NarrativeVerdict JSON.", + "full_verdict": { + "verdict": "FAIL", + "risk_score": 1.0, + "critical_issues": [ + "Application is critically incomplete, lacking mandatory identity, financial, and enrollment documentation.", + "No passport number or nationality provided for the applicant, preventing basic identity verification.", + "Financial evidence is provided via an affidavit, which is insufficient. Official, consecutive 6-month bank statements are required and have not been submitted.", + "No proof of enrollment in an educational institution has been provided, failing to establish the purpose of travel.", + "Sponsor's declared income of 1,200,000 INR is insufficient to cover typical program and living costs.", + "The closing liquid balance of 1,744,664.76 INR is below the minimum financial threshold required.", + "No employment history for the sponsor was provided to substantiate the source of their declared income." + ], + "warning_issues": [ + "The sponsor's jurisdiction is not specified, which hinders verification of their financial standing.", + "Sufficiency of the closing balance cannot be assessed without enrollment data detailing program costs." + ], + "rejection_narrative": "The application is refused on the grounds that the applicant has failed to provide fundamental documentation required to assess their eligibility. The application is materially incomplete and does not satisfy regulatory requirements.\n\nFirst, key identity information is missing. The submitted documents do not contain the applicant's passport number or nationality, making basic identity verification impossible. \n\nSecond, the applicant has not demonstrated sufficient financial capacity. The financial evidence consists solely of a sworn affidavit. This document is not a substitute for the mandatory six months of consecutive, official bank statements required to verify the origin, accumulation, and stability of funds. Consequently, the declared closing balance of 1,744,664.76 INR is unsubstantiated. Furthermore, the sponsor's declared annual income of 1,200,000 INR is deemed insufficient to cover the anticipated costs of tuition and living expenses, and no evidence of the sponsor's employment has been provided to verify this income.\n\nThird, the purpose of travel is not established. The application lacks any proof of enrollment, such as a letter of acceptance from a designated learning institution. Without this, the applicant's stated intent to study cannot be verified.\n\nDue to these critical and numerous deficiencies, the application is refused.", + "rebuttal_guidance": [ + "Submit a clear, valid copy of the applicant's passport bio-data page showing the full name, passport number, and nationality.", + "Submit complete, official bank statements for the primary sponsor for the last six consecutive months. These must be from a financial institution and not a self-declared affidavit.", + "Submit an official Letter of Acceptance from the designated educational institution, detailing the program of study, duration, and associated costs.", + "Provide verifiable proof of the sponsor's current employment and income, such as a letter from their employer, recent salary slips, and tax documents.", + "Provide an updated financial statement showing a closing balance that meets or exceeds the minimum requirement, which must be supported by a six-month transaction history." + ], + "citations": [ + "identity.passport_number", + "identity.nationality", + "financial.source_is_affidavit", + "temporal.doc_date_ranges", + "enrollment", + "sponsor.declared_income", + "temporal.employment_start", + "financial.closing_balance", + "sponsor.jurisdiction" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_092733/run_summary.json b/debug/20260518_092733/run_summary.json new file mode 100644 index 0000000000000000000000000000000000000000..e3252aab754252a4f31cd163ebe198b15775b315 --- /dev/null +++ b/debug/20260518_092733/run_summary.json @@ -0,0 +1,144 @@ +{ + "run_id": "20260518_092733", + "total_elapsed_s": 145.1, + "checkpoints": [ + { + "checkpoint": "CP0", + "timestamp": "2026-05-18T09:27:33.914679+00:00", + "file": "document_1.pdf", + "pages": 2, + "electronic": true + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T09:27:43.831219+00:00", + "page": 1, + "type": "affidavit", + "non_null_count": 15, + "elapsed_s": 9.8 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T09:27:48.242405+00:00", + "page": 2, + "type": "unknown", + "non_null_count": 2, + "elapsed_s": 14.18 + }, + { + "checkpoint": "CP3", + "timestamp": "2026-05-18T09:27:48.483168+00:00", + "canonical_name": "Korada Sai Kiran", + "doc_types": [ + "affidavit", + "unknown" + ], + "closing_balance": 1744664.76, + "token_count": 367 + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T09:27:48.485627+00:00", + "agent": "identity_agent", + "estimated_tokens": 349, + "graph_keys": [ + "identity" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T09:27:58.740777+00:00", + "agent": "identity_agent", + "verdict": "critical", + "confidence": 1.0, + "elapsed_s": 10.25, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T09:27:59.742961+00:00", + "agent": "financial_agent", + "estimated_tokens": 500, + "graph_keys": [ + "financial", + "identity" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T09:28:24.496202+00:00", + "agent": "financial_agent", + "verdict": "critical", + "confidence": 1.0, + "elapsed_s": 24.75, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T09:28:25.497703+00:00", + "agent": "temporal_agent", + "estimated_tokens": 460, + "graph_keys": [ + "temporal", + "financial" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T09:28:45.147839+00:00", + "agent": "temporal_agent", + "verdict": "critical", + "confidence": 1.0, + "elapsed_s": 19.65, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T09:28:46.149433+00:00", + "agent": "sponsor_agent", + "estimated_tokens": 526, + "graph_keys": [ + "sponsor", + "identity", + "financial" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T09:29:13.198454+00:00", + "agent": "sponsor_agent", + "verdict": "critical", + "confidence": 1.0, + "elapsed_s": 27.05, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T09:29:14.200277+00:00", + "agent": "enrollment_agent", + "estimated_tokens": 453, + "graph_keys": [ + "enrollment", + "financial", + "temporal" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T09:29:38.680531+00:00", + "agent": "enrollment_agent", + "verdict": "critical", + "confidence": 1.0, + "elapsed_s": 24.48, + "parse_error": null + }, + { + "checkpoint": "CP6", + "timestamp": "2026-05-18T09:29:58.985743+00:00", + "verdict": "FAIL", + "risk_score": 1.0, + "elapsed_s": 19.3 + } + ], + "output_dir": "C:\\Users\\ksk76\\Downloads\\uplan-hackathon-space-amd\\refined\\new-plan\\debug\\20260518_092733" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp0_ingestion.json b/debug/20260518_142500/cp0_ingestion.json new file mode 100644 index 0000000000000000000000000000000000000000..868d7bdcf214a48862067be19d1b573a0ee525e7 --- /dev/null +++ b/debug/20260518_142500/cp0_ingestion.json @@ -0,0 +1,199 @@ +{ + "file_path": "document_1.pdf", + "file_size_bytes": 685797, + "page_count": 38, + "is_electronic": true, + "is_scanned": false, + "pages": [ + { + "page": 1, + "char_count": 1877, + "has_text_layer": true + }, + { + "page": 2, + "char_count": 2693, + "has_text_layer": true + }, + { + "page": 3, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 4, + "char_count": 2726, + "has_text_layer": true + }, + { + "page": 5, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 6, + "char_count": 2737, + "has_text_layer": true + }, + { + "page": 7, + "char_count": 2722, + "has_text_layer": true + }, + { + "page": 8, + "char_count": 2746, + "has_text_layer": true + }, + { + "page": 9, + "char_count": 2749, + "has_text_layer": true + }, + { + "page": 10, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 11, + "char_count": 2771, + "has_text_layer": true + }, + { + "page": 12, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 13, + "char_count": 2752, + "has_text_layer": true + }, + { + "page": 14, + "char_count": 2735, + "has_text_layer": true + }, + { + "page": 15, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 16, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 17, + "char_count": 2747, + "has_text_layer": true + }, + { + "page": 18, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 19, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 20, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 21, + "char_count": 2723, + "has_text_layer": true + }, + { + "page": 22, + "char_count": 2727, + "has_text_layer": true + }, + { + "page": 23, + "char_count": 2734, + "has_text_layer": true + }, + { + "page": 24, + "char_count": 2741, + "has_text_layer": true + }, + { + "page": 25, + "char_count": 2711, + "has_text_layer": true + }, + { + "page": 26, + "char_count": 2738, + "has_text_layer": true + }, + { + "page": 27, + "char_count": 2748, + "has_text_layer": true + }, + { + "page": 28, + "char_count": 2762, + "has_text_layer": true + }, + { + "page": 29, + "char_count": 2766, + "has_text_layer": true + }, + { + "page": 30, + "char_count": 2757, + "has_text_layer": true + }, + { + "page": 31, + "char_count": 2774, + "has_text_layer": true + }, + { + "page": 32, + "char_count": 2779, + "has_text_layer": true + }, + { + "page": 33, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 34, + "char_count": 2753, + "has_text_layer": true + }, + { + "page": 35, + "char_count": 2729, + "has_text_layer": true + }, + { + "page": 36, + "char_count": 2732, + "has_text_layer": true + }, + { + "page": 37, + "char_count": 2755, + "has_text_layer": true + }, + { + "page": 38, + "char_count": 1440, + "has_text_layer": true + } + ] +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_01_raw.json b/debug/20260518_142500/cp1_page_01_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..5358cda4cc186c1a202455d34a0075ee5ec39ee0 --- /dev/null +++ b/debug/20260518_142500/cp1_page_01_raw.json @@ -0,0 +1,7 @@ +{ + "page": 1, + "png_size_kb": 365.6, + "has_text_layer": true, + "text_char_count": 1877, + "text_preview": "Savings Account\nPage of \n1\n38\nYour Details\nName\nMR KORADA \nSATYANARAYANA \nAddress\nS/O KORADA AUDIAH,PLOT \nNO-76 NEAR SRINIVASA,\nCOLLEGE,SBI COLONY \nVIZIANAGARAM,VIZI,535003\nMobile No\n6**** *7650\nEmail id\nStatement Details\nStatement Date\n24-04-2026 23:56\nStatement Period\n24-04-2025 to 24-04-2026\nAccount Details\nCustomer/CIF ID\n56789958\nAccount Type\nSavings Account\nAccount Name\nKORADA SATYANARAYANA\nAccount Number\n253110100033102\nCurrency\nINR\nIFSC\nUBIN0825310\nBranch Address\nPHOOLBAGH\nD.NO.21-13" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_02_raw.json b/debug/20260518_142500/cp1_page_02_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..7be42affe8be60f5c1ab9dc88c0dd7e1262309cc --- /dev/null +++ b/debug/20260518_142500/cp1_page_02_raw.json @@ -0,0 +1,7 @@ +{ + "page": 2, + "png_size_kb": 457.7, + "has_text_layer": true, + "text_char_count": 2693, + "text_preview": "Savings Account\nPage of \n2\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n29-05-2025\nV54438970\nUPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE\n105.0(Dr)\n46374.31(Cr)\n01-06-2025\nX14855162\nUPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb\n140.0(Dr)\n46234.31(Cr)\n04-06-2025\nS48231253\nUPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n51734.31(Cr)\n09-06-2025\nU94762212\nUPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n50734.31(Cr)\n09-06-2025\nU96426663\nUPIAR/516072632025/DR/" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_03_raw.json b/debug/20260518_142500/cp1_page_03_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..041da785215517e515e0c4f636c89e3136fbc8da --- /dev/null +++ b/debug/20260518_142500/cp1_page_03_raw.json @@ -0,0 +1,7 @@ +{ + "page": 3, + "png_size_kb": 459.9, + "has_text_layer": true, + "text_char_count": 2700, + "text_preview": "Savings Account\nPage of \n3\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n16-07-2025\nW75419149\nUPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb\n30.0(Dr)\n18034.14(Cr)\n16-07-2025\nW83176337\nUPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071\n150.0(Dr)\n17884.14(Cr)\n16-07-2025\nW93140899\nUPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344\n20.0(Dr)\n17864.14(Cr)\n16-07-2025\nW94950563\nUPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344\n2245.0(Dr)\n15619.14(Cr)\n17-07-2025\nX30778246\nUPIAR/981496790334" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_04_raw.json b/debug/20260518_142500/cp1_page_04_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..3f3aba9be8aaa5af9e44f9f2b5d476ba94c0d9ba --- /dev/null +++ b/debug/20260518_142500/cp1_page_04_raw.json @@ -0,0 +1,7 @@ +{ + "page": 4, + "png_size_kb": 463.0, + "has_text_layer": true, + "text_char_count": 2726, + "text_preview": "Savings Account\nPage of \n4\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-08-2025\nV97536626\nUPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n10415.02(Cr)\n20-08-2025\nW89896802\nIMPSAB/523214646291/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n20-08-2025\nW89983878\nUPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb\n25500.0(Dr)\n14915.02(Cr)\n21-08-2025\nX54502272\nUPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb\n28.0(Dr)\n14887.02(Cr)\n21-08-2025\nX83592817\nIMPSAB/523322" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_05_raw.json b/debug/20260518_142500/cp1_page_05_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..6700af649e169df511576d2b3cd8fd9d01ffd883 --- /dev/null +++ b/debug/20260518_142500/cp1_page_05_raw.json @@ -0,0 +1,7 @@ +{ + "page": 5, + "png_size_kb": 468.6, + "has_text_layer": true, + "text_char_count": 2742, + "text_preview": "Savings Account\nPage of \n5\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-09-2025\nW22044077\nUPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@\n3500.0(Cr)\n17032.85(Cr)\n11-09-2025\nW58759857\nUPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@\n60.0(Dr)\n16972.85(Cr)\n11-09-2025\nW65560109\nUPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb\n100.0(Dr)\n16872.85(Cr)\n11-09-2025\nW71250250\nUPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n19872.85(Cr)\n12-09-2025\nX22796892\nUPIAR/525160479" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_06_raw.json b/debug/20260518_142500/cp1_page_06_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..d678646b6f6a1ce69ee3145340cb32435f0063eb --- /dev/null +++ b/debug/20260518_142500/cp1_page_06_raw.json @@ -0,0 +1,7 @@ +{ + "page": 6, + "png_size_kb": 466.9, + "has_text_layer": true, + "text_char_count": 2737, + "text_preview": "Savings Account\nPage of \n6\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-09-2025\nV21097717\nUPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@\n155.0(Dr)\n34480.41(Cr)\n20-09-2025\nV21449229\nUPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb\n60.0(Dr)\n34420.41(Cr)\n20-09-2025\nV35757543\nUPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb\n40.0(Dr)\n34380.41(Cr)\n21-09-2025\nV57526074\nUPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb\n130.0(Dr)\n34250.41(Cr)\n21-09-2025\nV64431821\nUPIAR/279599479832" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_07_raw.json b/debug/20260518_142500/cp1_page_07_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..dc06b4e13f50d28cc35b8687657173b50ebdc3fa --- /dev/null +++ b/debug/20260518_142500/cp1_page_07_raw.json @@ -0,0 +1,7 @@ +{ + "page": 7, + "png_size_kb": 463.1, + "has_text_layer": true, + "text_char_count": 2722, + "text_preview": "Savings Account\nPage of \n7\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-09-2025\nT1172867\nUPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2\n700.0(Cr)\n42806.51(Cr)\n28-09-2025\nT2751198\nUPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n42721.51(Cr)\n28-09-2025\nT11770793\nUPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@\n20.0(Dr)\n42701.51(Cr)\n28-09-2025\nT27560908\nUPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb\n140.0(Dr)\n42561.51(Cr)\n28-09-2025\nT37613951\nUPIAR/189371304758/D" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_08_raw.json b/debug/20260518_142500/cp1_page_08_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..ee8bedba1bf59828fcc9828f76e32af7add3e679 --- /dev/null +++ b/debug/20260518_142500/cp1_page_08_raw.json @@ -0,0 +1,7 @@ +{ + "page": 8, + "png_size_kb": 465.9, + "has_text_layer": true, + "text_char_count": 2746, + "text_preview": "Savings Account\nPage of \n8\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n03-10-2025\nW67535230\nUPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax\n400.0(Cr)\n30084.37(Cr)\n03-10-2025\nW74021681\nUPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb\n36.0(Dr)\n30048.37(Cr)\n03-10-2025\nW74284043\nUPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb\n27.0(Dr)\n30021.37(Cr)\n04-10-2025\nX3413451\nUPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n29921.37(Cr)\n04-10-2025\nX42104803\nUPIAR/806276460674/D" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_09_raw.json b/debug/20260518_142500/cp1_page_09_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..363a8ec92e855cbd06df9c891b9a9c1bbb4c8143 --- /dev/null +++ b/debug/20260518_142500/cp1_page_09_raw.json @@ -0,0 +1,7 @@ +{ + "page": 9, + "png_size_kb": 464.3, + "has_text_layer": true, + "text_char_count": 2749, + "text_preview": "Savings Account\nPage of \n9\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n10-10-2025\nU30564029\nUPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb\n70.0(Dr)\n137449.17(Cr)\n10-10-2025\nU54114554\nUPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n971.8(Dr)\n136477.37(Cr)\n11-10-2025\nU76298093\nUPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a\n2000.0(Cr)\n138477.37(Cr)\n11-10-2025\nU76995606\nUPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@\n40.0(Dr)\n138437.37(Cr)\n11-10-2025\nU89465712\nUPIAB/9939265" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_10_raw.json b/debug/20260518_142500/cp1_page_10_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..cfa03585ac3717a05344aacef990f1d418919ca6 --- /dev/null +++ b/debug/20260518_142500/cp1_page_10_raw.json @@ -0,0 +1,7 @@ +{ + "page": 10, + "png_size_kb": 462.5, + "has_text_layer": true, + "text_char_count": 2745, + "text_preview": "Savings Account\nPage \n of \n10\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-10-2025\nU17586285\nUPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n654.5(Dr)\n43213.06(Cr)\n21-10-2025\nU32361196\nUPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n43113.06(Cr)\n21-10-2025\nU52522440\nUPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n43085.06(Cr)\n21-10-2025\nU53742042\nUPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax\n1.0(Cr)\n43086.06(Cr)\n21-10-2025\nU53769448\nUPIAB/98330224193" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_11_raw.json b/debug/20260518_142500/cp1_page_11_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..72be350cda9d2851333845d00fefb3cd9a9f15e0 --- /dev/null +++ b/debug/20260518_142500/cp1_page_11_raw.json @@ -0,0 +1,7 @@ +{ + "page": 11, + "png_size_kb": 470.0, + "has_text_layer": true, + "text_char_count": 2771, + "text_preview": "Savings Account\nPage \n of \n11\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-10-2025\nY67709028\nUPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n138999.36(Cr)\n29-10-2025\nY99278624\nUPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n188999.36(Cr)\n29-10-2025\nS4514184\nUPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a\n10000.0(Cr)\n198999.36(Cr)\n29-10-2025\nS11207438\nUPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb\n430.0(Dr)\n198569.36(Cr)\n29-10-2025\nS11440705\nUPIAR/" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_12_raw.json b/debug/20260518_142500/cp1_page_12_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..e6303fcd6122cec7c4672a0d3533d36106658a8c --- /dev/null +++ b/debug/20260518_142500/cp1_page_12_raw.json @@ -0,0 +1,7 @@ +{ + "page": 12, + "png_size_kb": 467.5, + "has_text_layer": true, + "text_char_count": 2743, + "text_preview": "Savings Account\nPage \n of \n12\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-11-2025\nX87864595\nUPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@\n2500.0(Cr)\n27618.36(Cr)\n07-11-2025\nX99447157\nUPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n28618.36(Cr)\n07-11-2025\nY7800795\nUPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb\n1500.0(Cr)\n30118.36(Cr)\n07-11-2025\nY10279871\nUPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma\n3000.0(Cr)\n33118.36(Cr)\n07-11-2025\nY12696515\nUPIAR/195592" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_13_raw.json b/debug/20260518_142500/cp1_page_13_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..1a243d1c25e3c531250349dcdc68a44cc30d2411 --- /dev/null +++ b/debug/20260518_142500/cp1_page_13_raw.json @@ -0,0 +1,7 @@ +{ + "page": 13, + "png_size_kb": 470.8, + "has_text_layer": true, + "text_char_count": 2752, + "text_preview": "Savings Account\nPage \n of \n13\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-11-2025\nV6869237\nUPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb\n180.0(Dr)\n53781.18(Cr)\n13-11-2025\nV7074197\nUPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb\n90.0(Dr)\n53691.18(Cr)\n14-11-2025\nV68441480\nUPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb\n1000.0(Cr)\n54691.18(Cr)\n15-11-2025\nW3687981\nUPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax\n3000.0(Cr)\n57691.18(Cr)\n15-11-2025\nW22554248\nUPIAR/85089434543" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_14_raw.json b/debug/20260518_142500/cp1_page_14_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..63ccc2da99c2e441aae4ac18e6c9ffe2b0b5491f --- /dev/null +++ b/debug/20260518_142500/cp1_page_14_raw.json @@ -0,0 +1,7 @@ +{ + "page": 14, + "png_size_kb": 464.5, + "has_text_layer": true, + "text_char_count": 2735, + "text_preview": "Savings Account\nPage \n of \n14\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-11-2025\nS49603845\nUPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths\n8000.0(Cr)\n72419.18(Cr)\n20-11-2025\nS61304480\nUPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax\n188.0(Dr)\n72231.18(Cr)\n21-11-2025\nT1018637\nUPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@\n3000.0(Cr)\n75231.18(Cr)\n21-11-2025\nT24153404\nUPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n74901.18(Cr)\n22-11-2025\nT53764781\nUPIAB/801529639" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_15_raw.json b/debug/20260518_142500/cp1_page_15_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..a6cb36d9d569159860e2f877bf1409c3c693b31f --- /dev/null +++ b/debug/20260518_142500/cp1_page_15_raw.json @@ -0,0 +1,7 @@ +{ + "page": 15, + "png_size_kb": 466.2, + "has_text_layer": true, + "text_char_count": 2745, + "text_preview": "Savings Account\nPage \n of \n15\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n27-11-2025\nX5697926\nUPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n354.0(Dr)\n93926.51(Cr)\n28-11-2025\nX41463436\nUPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes\n3000.0(Cr)\n96926.51(Cr)\n28-11-2025\nX68409986\nUPIAR/980140489614/DR/Bank Acc/BKID/86131011001673\n25000.0(Dr)\n71926.51(Cr)\n28-11-2025\nX68532094\nUPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n56926.51(Cr)\n28-11-2025\nX72343495\nUPIAB/81765" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_16_raw.json b/debug/20260518_142500/cp1_page_16_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..f10bda4497816cfa5ffe2c1fa3e689eb6ba94398 --- /dev/null +++ b/debug/20260518_142500/cp1_page_16_raw.json @@ -0,0 +1,7 @@ +{ + "page": 16, + "png_size_kb": 466.7, + "has_text_layer": true, + "text_char_count": 2721, + "text_preview": "Savings Account\nPage \n of \n16\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-12-2025\nV6786277\nUPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb\n3000.0(Cr)\n58330.51(Cr)\n05-12-2025\nV35034677\nUPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb\n62.0(Dr)\n58268.51(Cr)\n05-12-2025\nV49361347\nUPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n61768.51(Cr)\n05-12-2025\nV49609871\nUPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280\n5000.0(Cr)\n66768.51(Cr)\n06-12-2025\nV86906971\nUPIAB/095010611" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_17_raw.json b/debug/20260518_142500/cp1_page_17_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..dcb6268155655ad0c63c04c9dc4522b53877eb8d --- /dev/null +++ b/debug/20260518_142500/cp1_page_17_raw.json @@ -0,0 +1,7 @@ +{ + "page": 17, + "png_size_kb": 466.8, + "has_text_layer": true, + "text_char_count": 2747, + "text_preview": "Savings Account\nPage \n of \n17\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n14-12-2025\nU7615837\nUPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n76001.51(Cr)\n14-12-2025\nU9166940\nUPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax\n190.0(Dr)\n75811.51(Cr)\n14-12-2025\nU31816878\nUPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb\n110.0(Dr)\n75701.51(Cr)\n14-12-2025\nU43437986\nUPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188\n290.0(Dr)\n75411.51(Cr)\n14-12-2025\nU43723658\nUPIAR/60086157361" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_18_raw.json b/debug/20260518_142500/cp1_page_18_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..b1c61c4df32fbbb7b8fe11100b9715e2f059fe28 --- /dev/null +++ b/debug/20260518_142500/cp1_page_18_raw.json @@ -0,0 +1,7 @@ +{ + "page": 18, + "png_size_kb": 469.4, + "has_text_layer": true, + "text_char_count": 2742, + "text_preview": "Savings Account\nPage \n of \n18\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-12-2025\nX5722784\nUPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb\n378.0(Dr)\n85029.98(Cr)\n18-12-2025\nX5773647\nUPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb\n4000.0(Cr)\n89029.98(Cr)\n18-12-2025\nX7274876\nUPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a\n4000.0(Cr)\n93029.98(Cr)\n18-12-2025\nX24790768\nUPIAR/267906820245/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n78029.98(Cr)\n18-12-2025\nX24819555\nUPIAR/9092707" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_19_raw.json b/debug/20260518_142500/cp1_page_19_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..54eb4818c347232acb686575b89f5c6698817214 --- /dev/null +++ b/debug/20260518_142500/cp1_page_19_raw.json @@ -0,0 +1,7 @@ +{ + "page": 19, + "png_size_kb": 461.1, + "has_text_layer": true, + "text_char_count": 2721, + "text_preview": "Savings Account\nPage \n of \n19\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n24-12-2025\nU10110933\nUPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188\n402.0(Dr)\n52134.98(Cr)\n25-12-2025\nU33900758\nUPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax\n10000.0(Cr)\n62134.98(Cr)\n25-12-2025\nU52945799\n6522029812982622/000000000185/253110100033102\n20000.0(Dr)\n42134.98(Cr)\n25-12-2025\nU57658287\nUPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb\n1100.0(Dr)\n41034.98(Cr)\n25-12-2025\nU60482354\nUPIAR/007381753" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_20_raw.json b/debug/20260518_142500/cp1_page_20_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..fe71e206d6c43c5068e2fc1a5424a20e99fababd --- /dev/null +++ b/debug/20260518_142500/cp1_page_20_raw.json @@ -0,0 +1,7 @@ +{ + "page": 20, + "png_size_kb": 458.6, + "has_text_layer": true, + "text_char_count": 2700, + "text_preview": "Savings Account\nPage \n of \n20\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-01-2026\nS98733801\nUPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars\n3000.0(Cr)\n34946.54(Cr)\n02-01-2026\nT18092911\nUPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax\n1000.0(Cr)\n35946.54(Cr)\n03-01-2026\nT42301027\nUPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n35696.54(Cr)\n03-01-2026\nT55207297\nUPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n38696.54(Cr)\n03-01-2026\nT62278210\nUPIAB/91417" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_21_raw.json b/debug/20260518_142500/cp1_page_21_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..ca6adeab0a57f06c7e6407be4920d230691b0353 --- /dev/null +++ b/debug/20260518_142500/cp1_page_21_raw.json @@ -0,0 +1,7 @@ +{ + "page": 21, + "png_size_kb": 468.0, + "has_text_layer": true, + "text_char_count": 2723, + "text_preview": "Savings Account\nPage \n of \n21\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-01-2026\nY90163413\nUPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n55549.1(Cr)\n12-01-2026\nS52176580\nUPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n56549.1(Cr)\n12-01-2026\nS82117527\nUPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb\n2700.0(Cr)\n59249.1(Cr)\n12-01-2026\nS95397159\nUPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb\n220.0(Dr)\n59029.1(Cr)\n12-01-2026\nS97139741\nUPIAR/271235822" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_22_raw.json b/debug/20260518_142500/cp1_page_22_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..5d08b1fe4c1e755e82b9ccbf1d8edb8df5d2f495 --- /dev/null +++ b/debug/20260518_142500/cp1_page_22_raw.json @@ -0,0 +1,7 @@ +{ + "page": 22, + "png_size_kb": 462.7, + "has_text_layer": true, + "text_char_count": 2727, + "text_preview": "Savings Account\nPage \n of \n22\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-01-2026\nX82063512\nUPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb\n500.0(Dr)\n72364.1(Cr)\n20-01-2026\nX82190906\nUPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb\n26500.0(Dr)\n45864.1(Cr)\n20-01-2026\nX82351208\nUPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb\n27000.0(Cr)\n72864.1(Cr)\n20-01-2026\nX84196521\nUPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb\n27000.0(Dr)\n45864.1(Cr)\n20-01-2026\nY7484218\nUPIAR/468205882400/DR" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_23_raw.json b/debug/20260518_142500/cp1_page_23_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..92ccb75266f14e10c04bfd9ffeaeed910c0a6457 --- /dev/null +++ b/debug/20260518_142500/cp1_page_23_raw.json @@ -0,0 +1,7 @@ +{ + "page": 23, + "png_size_kb": 468.3, + "has_text_layer": true, + "text_char_count": 2734, + "text_preview": "Savings Account\nPage \n of \n23\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n25-01-2026\nU22025949\nUPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n67464.58(Cr)\n25-01-2026\nU35571628\nUPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb\n29.0(Dr)\n67435.58(Cr)\n26-01-2026\nU69280931\nUPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb\n34.0(Dr)\n67401.63(Cr)\n27-01-2026\nV7718840\nUPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n67261.63(Cr)\n27-01-2026\nV8302760\nUPIAR/8264832573" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_24_raw.json b/debug/20260518_142500/cp1_page_24_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..061f5cbcaadb73e271335ce70f87d3e84e77ea36 --- /dev/null +++ b/debug/20260518_142500/cp1_page_24_raw.json @@ -0,0 +1,7 @@ +{ + "page": 24, + "png_size_kb": 464.4, + "has_text_layer": true, + "text_char_count": 2741, + "text_preview": "Savings Account\nPage \n of \n24\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-02-2026\nY40248578\nUPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n69765.72(Cr)\n01-02-2026\nY47995292\nUPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a\n1000.0(Cr)\n70765.72(Cr)\n01-02-2026\nY72228828\nUPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP\n1499.0(Dr)\n69266.72(Cr)\n01-02-2026\nY76705178\nUPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz\n100.0(Dr)\n69166.72(Cr)\n02-02-2026\nS4779932\nUPIAB/61783601" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_25_raw.json b/debug/20260518_142500/cp1_page_25_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..64728054010619320586d77fc49add219b1ea36c --- /dev/null +++ b/debug/20260518_142500/cp1_page_25_raw.json @@ -0,0 +1,7 @@ +{ + "page": 25, + "png_size_kb": 463.1, + "has_text_layer": true, + "text_char_count": 2711, + "text_preview": "Savings Account\nPage \n of \n25\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n06-02-2026\nV22129101\nUPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@\n180.0(Dr)\n73750.66(Cr)\n06-02-2026\nV25747036\nUPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax\n1000.0(Cr)\n74750.66(Cr)\n06-02-2026\nV34941636\nUPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax\n3000.0(Cr)\n77750.66(Cr)\n07-02-2026\nV77127363\nUPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n76950.66(Cr)\n07-02-2026\nV88002699\nUPIAR/241232" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_26_raw.json b/debug/20260518_142500/cp1_page_26_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..acb7002e522fd31be0c48d951abb6d8fe34fee85 --- /dev/null +++ b/debug/20260518_142500/cp1_page_26_raw.json @@ -0,0 +1,7 @@ +{ + "page": 26, + "png_size_kb": 463.7, + "has_text_layer": true, + "text_char_count": 2738, + "text_preview": "Savings Account\nPage \n of \n26\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-02-2026\nT18767471\nUPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb\n2000.0(Cr)\n71828.9(Cr)\n13-02-2026\nT19926693\nUPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y\n5000.0(Cr)\n76828.9(Cr)\n13-02-2026\nT24551339\nUPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y\n190.0(Dr)\n76638.9(Cr)\n13-02-2026\nT39772743\nUPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju\n1.0(Cr)\n76639.9(Cr)\n13-02-2026\nT39790908\nUPIAB/042063618497" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_27_raw.json b/debug/20260518_142500/cp1_page_27_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..50f28551c92f51006627a584bc7c2d63041c27ed --- /dev/null +++ b/debug/20260518_142500/cp1_page_27_raw.json @@ -0,0 +1,7 @@ +{ + "page": 27, + "png_size_kb": 468.9, + "has_text_layer": true, + "text_char_count": 2748, + "text_preview": "Savings Account\nPage \n of \n27\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n17-02-2026\nW13408611\nUPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n45934.25(Cr)\n18-02-2026\nW28289287\nUPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n45584.25(Cr)\n18-02-2026\nW38271194\nUPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg\n1000.0(Cr)\n46584.25(Cr)\n18-02-2026\nW45409986\nUPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb\n100.0(Dr)\n46484.25(Cr)\n18-02-2026\nW53523145\nUPIAR/71304" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_28_raw.json b/debug/20260518_142500/cp1_page_28_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..96bec1dc19e4a3408e20a1e5b90f42e1deedeb97 --- /dev/null +++ b/debug/20260518_142500/cp1_page_28_raw.json @@ -0,0 +1,7 @@ +{ + "page": 28, + "png_size_kb": 470.6, + "has_text_layer": true, + "text_char_count": 2762, + "text_preview": "Savings Account\nPage \n of \n28\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n22-02-2026\nS45981150\nUPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n52956.09(Cr)\n23-02-2026\nS70207027\nUPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb\n3500.0(Cr)\n56456.09(Cr)\n23-02-2026\nS71912487\nUPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n62456.09(Cr)\n23-02-2026\nS78434044\nUPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb\n3500.0(Cr)\n65956.09(Cr)\n23-02-2026\nS98152993\nUPIAB/262" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_29_raw.json b/debug/20260518_142500/cp1_page_29_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..4ed15d4f6dda301a846465b382d340097eed1017 --- /dev/null +++ b/debug/20260518_142500/cp1_page_29_raw.json @@ -0,0 +1,7 @@ +{ + "page": 29, + "png_size_kb": 468.8, + "has_text_layer": true, + "text_char_count": 2766, + "text_preview": "Savings Account\nPage \n of \n29\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-03-2026\nW95512803\nIMPSAB/606016709015/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n71132.09(Cr)\n01-03-2026\nX8318031\nUPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188\n130.0(Dr)\n71002.09(Cr)\n01-03-2026\nX8665995\nUPIAR/599057255381/DR/K S N /UTIB/gpay-121905896\n200.0(Dr)\n70802.09(Cr)\n01-03-2026\nX9444568\nUPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@\n390.0(Dr)\n70412.09(Cr)\n01-03-2026\nX22304292\nUPIAR/10591080157" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_30_raw.json b/debug/20260518_142500/cp1_page_30_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..c017d3edb197fba55452539c1914c3315bf0af2d --- /dev/null +++ b/debug/20260518_142500/cp1_page_30_raw.json @@ -0,0 +1,7 @@ +{ + "page": 30, + "png_size_kb": 470.2, + "has_text_layer": true, + "text_char_count": 2757, + "text_preview": "Savings Account\nPage \n of \n30\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-03-2026\nT3804683\nUPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@\n35.0(Dr)\n144842.09(Cr)\n05-03-2026\nT5710665\nUPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n144802.09(Cr)\n05-03-2026\nT6338102\nUPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb\n170.0(Dr)\n144632.09(Cr)\n05-03-2026\nT13781823\nUPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n143673.04(Cr)\n05-03-2026\nT13812414\nUPIAR/511082567" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_31_raw.json b/debug/20260518_142500/cp1_page_31_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..bdcc06d3283399f63e7799eeec07754985fa8939 --- /dev/null +++ b/debug/20260518_142500/cp1_page_31_raw.json @@ -0,0 +1,7 @@ +{ + "page": 31, + "png_size_kb": 468.6, + "has_text_layer": true, + "text_char_count": 2774, + "text_preview": "Savings Account\nPage \n of \n31\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n09-03-2026\nV45953532\nUPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n129279.99(Cr)\n09-03-2026\nV50999916\nUPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax\n3500.0(Cr)\n132779.99(Cr)\n09-03-2026\nV92921144\nUPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu\n1300.0(Dr)\n131479.99(Cr)\n10-03-2026\nW42496724\nUPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb\n3000.0(Cr)\n134479.99(Cr)\n10-03-2026\nW46974628\nUPIAR/35" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_32_raw.json b/debug/20260518_142500/cp1_page_32_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..30e1a7b8cc810b7b8f547535db46a9ab80d7b135 --- /dev/null +++ b/debug/20260518_142500/cp1_page_32_raw.json @@ -0,0 +1,7 @@ +{ + "page": 32, + "png_size_kb": 470.6, + "has_text_layer": true, + "text_char_count": 2779, + "text_preview": "Savings Account\nPage \n of \n32\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n15-03-2026\nT1431060\nUPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188\n330.0(Dr)\n129812.94(Cr)\n15-03-2026\nT2036748\nUPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb\n320.0(Dr)\n129492.94(Cr)\n15-03-2026\nT3193318\nUPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb\n330.0(Dr)\n129162.94(Cr)\n16-03-2026\nT59829555\nUPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a\n120.0(Dr)\n129042.94(Cr)\n16-03-2026\nT74470785\nUPIAR/6382600" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_33_raw.json b/debug/20260518_142500/cp1_page_33_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..5a271820993dafaa0212be9fda6f529948f0b4b4 --- /dev/null +++ b/debug/20260518_142500/cp1_page_33_raw.json @@ -0,0 +1,7 @@ +{ + "page": 33, + "png_size_kb": 471.0, + "has_text_layer": true, + "text_char_count": 2743, + "text_preview": "Savings Account\nPage \n of \n33\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n19-03-2026\nV95827413\nUPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n107353.94(Cr)\n19-03-2026\nW1372662\nUPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb\n60.0(Dr)\n107293.94(Cr)\n19-03-2026\nW1966742\nUPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb\n30.0(Dr)\n107263.94(Cr)\n20-03-2026\nW27145905\nUPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@\n200.0(Dr)\n107063.94(Cr)\n20-03-2026\nW36259637\nUPIAR/259283489" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_34_raw.json b/debug/20260518_142500/cp1_page_34_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..9341fa4be0b437664533ce07bc186ce039cc0bde --- /dev/null +++ b/debug/20260518_142500/cp1_page_34_raw.json @@ -0,0 +1,7 @@ +{ + "page": 34, + "png_size_kb": 471.9, + "has_text_layer": true, + "text_char_count": 2753, + "text_preview": "Savings Account\nPage \n of \n34\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-03-2026\nV8074204\nUPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax\n100.0(Dr)\n132244.99(Cr)\n29-03-2026\nV69415453\nUPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb\n100.0(Dr)\n132144.99(Cr)\n29-03-2026\nV70340559\nUPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n132059.99(Cr)\n30-03-2026\nW23637679\nUPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax\n3500.0(Cr)\n135559.99(Cr)\n30-03-2026\nW28365039\nUPIAB/717765" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_35_raw.json b/debug/20260518_142500/cp1_page_35_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..3c728f2efd5d30c61444e544956ac630f4bf8690 --- /dev/null +++ b/debug/20260518_142500/cp1_page_35_raw.json @@ -0,0 +1,7 @@ +{ + "page": 35, + "png_size_kb": 460.9, + "has_text_layer": true, + "text_char_count": 2729, + "text_preview": "Savings Account\nPage \n of \n35\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-04-2026\nY89432898\nUPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@\n40.0(Dr)\n125248.9(Cr)\n02-04-2026\nY89596609\nUPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@\n20.0(Dr)\n125228.9(Cr)\n02-04-2026\nY98659740\nUPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2\n50.0(Dr)\n125178.9(Cr)\n02-04-2026\nY98773238\nUPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib\n2000.0(Dr)\n123178.9(Cr)\n02-04-2026\nY98797888\nUPIAR/1108398383" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_36_raw.json b/debug/20260518_142500/cp1_page_36_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..2859dbe5d790ac9f86a2d166a0bbf685d9087b17 --- /dev/null +++ b/debug/20260518_142500/cp1_page_36_raw.json @@ -0,0 +1,7 @@ +{ + "page": 36, + "png_size_kb": 461.4, + "has_text_layer": true, + "text_char_count": 2732, + "text_preview": "Savings Account\nPage \n of \n36\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n04-04-2026\nT18476960\nUPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@\n25.0(Dr)\n110511.9(Cr)\n04-04-2026\nT22748431\nUPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552\n1000.0(Dr)\n109511.9(Cr)\n05-04-2026\nU7164579\nUPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509\n120.0(Dr)\n109391.9(Cr)\n06-04-2026\nU40853212\nUPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n115391.9(Cr)\n06-04-2026\nU56337717\nUPIAB/50487613" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_37_raw.json b/debug/20260518_142500/cp1_page_37_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..2c6b97f35306b543464e5d90cd229a66b29c0582 --- /dev/null +++ b/debug/20260518_142500/cp1_page_37_raw.json @@ -0,0 +1,7 @@ +{ + "page": 37, + "png_size_kb": 462.6, + "has_text_layer": true, + "text_char_count": 2755, + "text_preview": "Savings Account\nPage \n of \n37\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-04-2026\nS57714989\nUPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax\n1000.0(Cr)\n133922.9(Cr)\n13-04-2026\nS66644362\nUPIAR/981621305763/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n123922.9(Cr)\n13-04-2026\nS82048131\nUPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb\n3500.0(Cr)\n127422.9(Cr)\n14-04-2026\nT14768340\nUPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n127292.9(Cr)\n14-04-2026\nT47677787\nUPIAR/0990" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp1_page_38_raw.json b/debug/20260518_142500/cp1_page_38_raw.json new file mode 100644 index 0000000000000000000000000000000000000000..8bd2492c65b45a67f937b758eab582a2aa7d53cf --- /dev/null +++ b/debug/20260518_142500/cp1_page_38_raw.json @@ -0,0 +1,7 @@ +{ + "page": 38, + "png_size_kb": 392.9, + "has_text_layer": true, + "text_char_count": 1440, + "text_preview": "Savings Account\nPage \n of \n38\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n21-04-2026\nY36982063\nUPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha\n1000.0(Cr)\n138788.88(Cr)\n21-04-2026\nY66328299\nUPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66336109\nUPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n157868.88(Cr)\n21-04-2026\nY66816219\nUPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66918270\nUPIAR/" +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_01_extraction.json b/debug/20260518_142500/cp2_page_01_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..12f1615205cdc76242ad74d50040d107c5509e6d --- /dev/null +++ b/debug/20260518_142500/cp2_page_01_extraction.json @@ -0,0 +1,287 @@ +{ + "page": 1, + "elapsed_s": 8.39, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 1, + "page_type": "bank_statement", + "person_name": "MR KORADA SATYANARAYANA", + "currency": "INR", + "closing_balance": 46479.31, + "transactions": [ + { + "date": "07-05-2025", + "description": "UPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-05-2025", + "description": "UPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-05-2025", + "description": "UPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-05-2025", + "description": "UPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-05-2025", + "description": "UPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "UPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "JNS-PMSBY-23-24-00027537318-600-56789958", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-05-2025", + "description": "UPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-05-2025", + "description": "UPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 24.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + } + ], + "document_date": "24-04-2026", + "period_start": "24-04-2025", + "period_end": "24-04-2026" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 1, + "page_type": "bank_statement", + "person_name": "MR KORADA SATYANARAYANA", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": 46479.31, + "transactions": [ + { + "date": "07-05-2025", + "description": "UPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-05-2025", + "description": "UPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-05-2025", + "description": "UPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-05-2025", + "description": "UPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-05-2025", + "description": "UPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "UPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "JNS-PMSBY-23-24-00027537318-600-56789958", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-05-2025", + "description": "UPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-05-2025", + "description": "UPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 24.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": "24-04-2026", + "period_start": "24-04-2025", + "period_end": "24-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_02_extraction.json b/debug/20260518_142500/cp2_page_02_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..a1e669274d7c14488c98bf27ad7d9f9c91e251c8 --- /dev/null +++ b/debug/20260518_142500/cp2_page_02_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 2, + "elapsed_s": 33.45, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 2, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 18064.14, + "transactions": [ + { + "date": "29-05-2025", + "description": "UPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 105.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-06-2025", + "description": "UPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-06-2025", + "description": "UPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "UPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-06-2025", + "description": "UPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-06-2025", + "description": "UPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-06-2025", + "description": "UPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-06-2025", + "description": "UPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 270.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-06-2025", + "description": "Sms Charges For June Qtr ,2025", + "amount": 7.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-06-2025", + "description": "UPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 660.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "UPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-07-2025", + "description": "253110100033102:Int.Pd:01-04-2025 to 30-06-2025", + "amount": 304.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-07-2025", + "description": "UPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSU", + "amount": 109.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-07-2025", + "description": "UPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSO", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y", + "amount": 107.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-07-2025", + "description": "UPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb", + "amount": 35000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-07-2025", + "description": "IMPSAB/519500859054/Mr SATYANARAYANA /6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.", + "amount": 21375.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "29-05-2025", + "period_end": "16-07-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 2, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 18064.14, + "transactions": [ + { + "date": "29-05-2025", + "description": "UPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 105.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-06-2025", + "description": "UPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-06-2025", + "description": "UPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "UPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-06-2025", + "description": "UPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-06-2025", + "description": "UPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-06-2025", + "description": "UPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-06-2025", + "description": "UPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 270.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-06-2025", + "description": "Sms Charges For June Qtr ,2025", + "amount": 7.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-06-2025", + "description": "UPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 660.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "UPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-07-2025", + "description": "253110100033102:Int.Pd:01-04-2025 to 30-06-2025", + "amount": 304.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-07-2025", + "description": "UPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSU", + "amount": 109.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-07-2025", + "description": "UPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSO", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y", + "amount": 107.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-07-2025", + "description": "UPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb", + "amount": 35000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-07-2025", + "description": "IMPSAB/519500859054/Mr SATYANARAYANA /6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.", + "amount": 21375.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "29-05-2025", + "period_end": "16-07-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_03_extraction.json b/debug/20260518_142500/cp2_page_03_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..26c43281e1d60b1c51e24711cd58cb91bb61f317 --- /dev/null +++ b/debug/20260518_142500/cp2_page_03_extraction.json @@ -0,0 +1,487 @@ +{ + "page": 3, + "elapsed_s": 28.79, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 3, + "page_type": "bank_statement", + "person_name": "SATYANARAYANA", + "currency": "INR", + "opening_balance": 18064.14, + "closing_balance": 40415.02, + "transactions": [ + { + "date": "16-07-2025", + "description": "UPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2245.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/843804716335/DR/ APEPCL/AIRP/apepdcl826124.", + "amount": 1563.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 359.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-07-2025", + "description": "UPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-07-2025", + "description": "UPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 318.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-07-2025", + "description": "UPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 194.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 40.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-07-2025", + "description": "UPIAR/970155095924/DR/ APEPCL/AIRP/apepdcl826124.", + "amount": 1460.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "UPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "SBINS REN PERSONAL ACCIDENTAL", + "amount": 9.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-08-2025", + "description": "IMPSAB/522915656257/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-08-2025", + "description": "UPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-08-2025", + "description": "UPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-08-2025", + "description": "UPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-08-2025", + "description": "IMPSAB/523021817489/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "16-07-2025", + "period_end": "18-08-2025", + "institution_name": "Union Bank of India", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 3, + "page_type": "bank_statement", + "person_name": "SATYANARAYANA", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 18064.14, + "closing_balance": 40415.02, + "transactions": [ + { + "date": "16-07-2025", + "description": "UPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2245.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/843804716335/DR/ APEPCL/AIRP/apepdcl826124.", + "amount": 1563.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 359.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-07-2025", + "description": "UPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-07-2025", + "description": "UPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 318.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-07-2025", + "description": "UPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 194.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 40.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-07-2025", + "description": "UPIAR/970155095924/DR/ APEPCL/AIRP/apepdcl826124.", + "amount": 1460.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "UPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "SBINS REN PERSONAL ACCIDENTAL", + "amount": 9.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-08-2025", + "description": "IMPSAB/522915656257/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-08-2025", + "description": "UPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-08-2025", + "description": "UPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-08-2025", + "description": "UPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-08-2025", + "description": "IMPSAB/523021817489/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "16-07-2025", + "period_end": "18-08-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": "Union Bank of India", + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_04_extraction.json b/debug/20260518_142500/cp2_page_04_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..f68e2e9d9833cad838c8adf3666f770be9077bf9 --- /dev/null +++ b/debug/20260518_142500/cp2_page_04_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 4, + "elapsed_s": 21.96, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 4, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 40415.02, + "closing_balance": 13532.85, + "transactions": [ + { + "date": "18-08-2025", + "description": "UPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-08-2025", + "description": "IMPSAB/523214646291/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-08-2025", + "description": "UPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "IMPSAB/523322945765/Mr SATYANARAYANA /6303357650", + "amount": 25000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 770.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "IMPSAB/523520857073/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1412.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-08-2025", + "description": "UPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 31.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a", + "amount": 138.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "18-08-2025", + "period_end": "10-09-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 4, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 40415.02, + "closing_balance": 13532.85, + "transactions": [ + { + "date": "18-08-2025", + "description": "UPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-08-2025", + "description": "IMPSAB/523214646291/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-08-2025", + "description": "UPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "IMPSAB/523322945765/Mr SATYANARAYANA /6303357650", + "amount": 25000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 770.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "IMPSAB/523520857073/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1412.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-08-2025", + "description": "UPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 31.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a", + "amount": 138.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "18-08-2025", + "period_end": "10-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_05_extraction.json b/debug/20260518_142500/cp2_page_05_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..f117398734161e4131df1fc311ae95e1cefeb1e4 --- /dev/null +++ b/debug/20260518_142500/cp2_page_05_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 5, + "elapsed_s": 25.16, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 5, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 13532.85, + "closing_balance": 34635.41, + "transactions": [ + { + "date": "11-09-2025", + "description": "UPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-09-2025", + "description": "UPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-09-2025", + "description": "UPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-09-2025", + "description": "UPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-09-2025", + "description": "UPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb", + "amount": 166.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-09-2025", + "description": "UPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1775.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 370.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-09-2025", + "description": "UPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 59.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-09-2025", + "description": "UPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-09-2025", + "description": "UPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-09-2025", + "description": "UPIAR/062831936280/DR/ APEPCL/AIRP/apepdcl826124.", + "amount": 1451.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-09-2025", + "description": "UPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAR/562883987671/DR/Bajaj AI/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 3000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 498.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "11-09-2025", + "period_end": "20-09-2025", + "institution_name": "Union Bank of India" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 5, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 13532.85, + "closing_balance": 34635.41, + "transactions": [ + { + "date": "11-09-2025", + "description": "UPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-09-2025", + "description": "UPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-09-2025", + "description": "UPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-09-2025", + "description": "UPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-09-2025", + "description": "UPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb", + "amount": 166.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-09-2025", + "description": "UPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1775.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-09-2025", + "description": "UPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 370.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-09-2025", + "description": "UPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-09-2025", + "description": "UPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 59.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-09-2025", + "description": "UPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-09-2025", + "description": "UPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-09-2025", + "description": "UPIAR/062831936280/DR/ APEPCL/AIRP/apepdcl826124.", + "amount": 1451.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-09-2025", + "description": "UPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAR/562883987671/DR/Bajaj AI/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-09-2025", + "description": "UPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 3000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 498.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "11-09-2025", + "period_end": "20-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": "Union Bank of India", + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_06_extraction.json b/debug/20260518_142500/cp2_page_06_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..655d5016940cad529703e065b605695e70c02780 --- /dev/null +++ b/debug/20260518_142500/cp2_page_06_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 6, + "elapsed_s": 12.32, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 6, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 34480.41, + "closing_balance": 42106.51, + "transactions": [ + { + "date": "20-09-2025", + "description": "UPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@", + "amount": 155.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 225.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb", + "amount": 470.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 480.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 600.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 65.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 62.9, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban", + "amount": 666.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-09-2025", + "description": "UPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-09-2025", + "description": "UPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "20-09-2025", + "period_end": "27-09-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 6, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 34480.41, + "closing_balance": 42106.51, + "transactions": [ + { + "date": "20-09-2025", + "description": "UPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@", + "amount": 155.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 225.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb", + "amount": 470.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 480.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 600.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 65.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 62.9, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban", + "amount": 666.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-09-2025", + "description": "UPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-09-2025", + "description": "UPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-09-2025", + "period_end": "27-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_25_extraction.json b/debug/20260518_142500/cp2_page_25_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8454eb059c4da953d08ebde5bd10e1c9c8e80c50 --- /dev/null +++ b/debug/20260518_142500/cp2_page_25_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 25, + "elapsed_s": 39.99, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 25, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 73930.66, + "closing_balance": 69828.9, + "transactions": [ + { + "date": "06-02-2026", + "description": "UPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-", + "amount": 292.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188", + "amount": 448.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 20.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1269.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/505970277664/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-02-2026", + "description": "UPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "06-02-2026", + "period_end": "13-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 25, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 73930.66, + "closing_balance": 69828.9, + "transactions": [ + { + "date": "06-02-2026", + "description": "UPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-", + "amount": 292.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188", + "amount": 448.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 20.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1269.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/505970277664/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-02-2026", + "description": "UPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "06-02-2026", + "period_end": "13-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_26_extraction.json b/debug/20260518_142500/cp2_page_26_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..96ae75ffb9f6a8eaa7fb41f62e773b7987ff4e29 --- /dev/null +++ b/debug/20260518_142500/cp2_page_26_extraction.json @@ -0,0 +1,487 @@ +{ + "page": 26, + "elapsed_s": 33.93, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 26, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 69828.9, + "closing_balance": 55934.25, + "transactions": [ + { + "date": "13-02-2026", + "description": "UPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1790.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2625.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2670.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1700.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-", + "amount": 476.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI", + "amount": 10116.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 110.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "13-02-2026", + "period_end": "17-02-2026", + "institution_name": "Union Bank of India", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 26, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 69828.9, + "closing_balance": 55934.25, + "transactions": [ + { + "date": "13-02-2026", + "description": "UPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1790.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2625.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2670.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1700.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-", + "amount": 476.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI", + "amount": 10116.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 110.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-02-2026", + "period_end": "17-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": "Union Bank of India", + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_27_extraction.json b/debug/20260518_142500/cp2_page_27_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..5b7371598ca024ed0f2a233cd06e51786607d458 --- /dev/null +++ b/debug/20260518_142500/cp2_page_27_extraction.json @@ -0,0 +1,487 @@ +{ + "page": 27, + "elapsed_s": 43.14, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 27, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 55934.25, + "closing_balance": 62956.09, + "transactions": [ + { + "date": "17-02-2026", + "description": "W13408611 UPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W28289287 UPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W38271194 UPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W45409986 UPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W53523145 UPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W67493440 UPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W69771125 UPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W81014495 UPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSA NDHRAP", + "amount": 43.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X23727780 UPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47001919 UPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb", + "amount": 12.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47030807 UPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "X96175531 UPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y2191460 UPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y5056717 UPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y26763158 UPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y37739571 UPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y56338350 UPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y63329419 UPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y79033229 UPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "Y98360154 UPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S2629926 UPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10069020 UPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 950.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10470614 UPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 59.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S12349040 UPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S21867420 UPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38470563 UPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38718044 UPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38928346 UPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188", + "amount": 314.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "17-02-2026", + "period_end": "22-02-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 27, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 55934.25, + "closing_balance": 62956.09, + "transactions": [ + { + "date": "17-02-2026", + "description": "W13408611 UPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W28289287 UPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W38271194 UPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W45409986 UPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W53523145 UPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W67493440 UPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W69771125 UPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W81014495 UPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSA NDHRAP", + "amount": 43.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X23727780 UPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47001919 UPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb", + "amount": 12.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47030807 UPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "X96175531 UPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y2191460 UPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y5056717 UPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y26763158 UPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y37739571 UPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y56338350 UPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y63329419 UPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y79033229 UPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "Y98360154 UPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S2629926 UPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10069020 UPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 950.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10470614 UPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 59.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S12349040 UPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S21867420 UPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38470563 UPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38718044 UPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38928346 UPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188", + "amount": 314.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "17-02-2026", + "period_end": "22-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_28_extraction.json b/debug/20260518_142500/cp2_page_28_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..11b861989241810dda32e6f90837f8bca267333f --- /dev/null +++ b/debug/20260518_142500/cp2_page_28_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 28, + "elapsed_s": 27.8, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 28, + "page_type": "bank_statement", + "currency": "INR", + "closing_balance": 41132.09, + "transactions": [ + { + "date": "22-02-2026", + "description": "UPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax", + "amount": 7500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-02-2026", + "description": "UPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-02-2026", + "description": "UPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-02-2026", + "description": "UPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-02-2026", + "description": "UPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-02-2026", + "description": "UPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-02-2026", + "description": "W54577353 UPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "IMPSAB/606016704797/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "22-02-2026", + "period_end": "01-03-2026", + "institution_name": "Union Bank of India" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 28, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": 41132.09, + "transactions": [ + { + "date": "22-02-2026", + "description": "UPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-02-2026", + "description": "UPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax", + "amount": 7500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-02-2026", + "description": "UPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-02-2026", + "description": "UPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-02-2026", + "description": "UPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-02-2026", + "description": "UPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-02-2026", + "description": "UPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-02-2026", + "description": "UPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-02-2026", + "description": "UPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-02-2026", + "description": "UPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-02-2026", + "description": "W54577353 UPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "IMPSAB/606016704797/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "22-02-2026", + "period_end": "01-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": "Union Bank of India", + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_29_extraction.json b/debug/20260518_142500/cp2_page_29_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..4cca5ffba20671dff43ad0bef3876bf9ffe4f4b3 --- /dev/null +++ b/debug/20260518_142500/cp2_page_29_extraction.json @@ -0,0 +1,487 @@ +{ + "page": 29, + "elapsed_s": 28.98, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 29, + "page_type": "bank_statement", + "person_name": "SATYANARAYANA KORAD", + "currency": "INR", + "opening_balance": 41132.09, + "closing_balance": 144877.09, + "transactions": [ + { + "date": "01-03-2026", + "description": "IMPSAB/606016709015/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/599057255381/DR/K S N /UTIB/gpay-121905896", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 390.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 159.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217709201/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217710519/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712277/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712929/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217718184/SATYANARAYANA KORAD/6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 756.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 127.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 93.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "01-03-2026", + "period_end": "05-03-2026", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 29, + "page_type": "bank_statement", + "person_name": "SATYANARAYANA KORAD", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 41132.09, + "closing_balance": 144877.09, + "transactions": [ + { + "date": "01-03-2026", + "description": "IMPSAB/606016709015/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/599057255381/DR/K S N /UTIB/gpay-121905896", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 390.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 159.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217709201/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217710519/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712277/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712929/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217718184/SATYANARAYANA KORAD/6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 756.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 127.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 93.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "01-03-2026", + "period_end": "05-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp2_page_30_extraction.json b/debug/20260518_142500/cp2_page_30_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..31472a23e775e505d912fddca1f42bb50c986189 --- /dev/null +++ b/debug/20260518_142500/cp2_page_30_extraction.json @@ -0,0 +1,483 @@ +{ + "page": 30, + "elapsed_s": 11.52, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 30, + "page_type": "bank_statement", + "currency": "INR", + "opening_balance": 144877.09, + "closing_balance": 129379.99, + "transactions": [ + { + "date": "05-03-2026", + "description": "UPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/847604064228/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649", + "amount": 17184.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "05-03-2026", + "period_end": "09-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 30, + "page_type": "bank_statement", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 144877.09, + "closing_balance": 129379.99, + "transactions": [ + { + "date": "05-03-2026", + "description": "UPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/847604064228/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649", + "amount": 17184.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "05-03-2026", + "period_end": "09-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_142500/cp3_graph.json b/debug/20260518_142500/cp3_graph.json new file mode 100644 index 0000000000000000000000000000000000000000..f5eff343cafa0253fa788bb30119823beec9e664 --- /dev/null +++ b/debug/20260518_142500/cp3_graph.json @@ -0,0 +1,200 @@ +{ + "identity": { + "name_variants": [ + "MR KORADA SATYANARAYANA", + "SATYANARAYANA", + "SATYANARAYANA KORAD" + ], + "canonical_name": "MR KORADA SATYANARAYANA", + "date_of_birth": null, + "nationality": null, + "passport_number": null, + "transliteration_flags": [ + "'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'", + "'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'" + ], + "cross_doc_name_match": false + }, + "financial": { + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 129379.99, + "avg_monthly_income": null, + "total_credits": 628805.0, + "total_debits": 570342.4, + "transaction_count": 322, + "spikes": [ + { + "date": "17-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "18-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "20-08-2025", + "amount": 30000.0, + "label": null, + "ratio_to_average": 4.29 + }, + { + "date": "21-08-2025", + "amount": 25000.0, + "label": null, + "ratio_to_average": 3.58 + }, + { + "date": "23-08-2025", + "amount": 30000.0, + "label": null, + "ratio_to_average": 4.29 + }, + { + "date": "01-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "01-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 4.29 + } + ], + "unlabeled_deposit_count": 41, + "income_percentile": null, + "declared_property_value": null, + "declared_movable_assets": null, + "source_is_affidavit": false + }, + "temporal": { + "doc_date_ranges": [ + { + "source": "bank_statement", + "page": 1, + "start": "24-04-2025", + "end": "24-04-2026" + }, + { + "source": "bank_statement", + "page": 2, + "start": "29-05-2025", + "end": "16-07-2025" + }, + { + "source": "bank_statement", + "page": 3, + "start": "16-07-2025", + "end": "18-08-2025" + }, + { + "source": "bank_statement", + "page": 4, + "start": "18-08-2025", + "end": "10-09-2025" + }, + { + "source": "bank_statement", + "page": 5, + "start": "11-09-2025", + "end": "20-09-2025" + }, + { + "source": "bank_statement", + "page": 6, + "start": "20-09-2025", + "end": "27-09-2025" + }, + { + "source": "bank_statement", + "page": 25, + "start": "06-02-2026", + "end": "13-02-2026" + }, + { + "source": "bank_statement", + "page": 26, + "start": "13-02-2026", + "end": "17-02-2026" + }, + { + "source": "bank_statement", + "page": 27, + "start": "17-02-2026", + "end": "22-02-2026" + }, + { + "source": "bank_statement", + "page": 28, + "start": "22-02-2026", + "end": "01-03-2026" + }, + { + "source": "bank_statement", + "page": 29, + "start": "01-03-2026", + "end": "05-03-2026" + }, + { + "source": "bank_statement", + "page": 30, + "start": "05-03-2026", + "end": "09-03-2026" + } + ], + "employment_start": null, + "employment_end": null, + "visa_window_start": null, + "visa_window_end": null, + "gap_flags": [], + "chronology_valid": true + }, + "sponsor": null, + "enrollment": null, + "edges": [ + { + "edge_type": "income_link", + "source_node": "identity", + "target_node": "financial", + "coherent": true, + "detail": null + } + ], + "token_count": 1231, + "source_page_count": 38, + "estimated_raw_tokens": 76000, + "source_doc_types": [ + "unknown", + "bank_statement" + ] +} \ No newline at end of file diff --git a/debug/20260518_142500/cp3_graph_summary.txt b/debug/20260518_142500/cp3_graph_summary.txt new file mode 100644 index 0000000000000000000000000000000000000000..c046c90b065a19d50490d554677928183b734949 --- /dev/null +++ b/debug/20260518_142500/cp3_graph_summary.txt @@ -0,0 +1,27 @@ +=== GRAPH SUMMARY (run: 20260518_142500) === +Source pages: 38 | Doc types: ['unknown', 'bank_statement'] +Token count: 1231 | Compression: 76,000 -> 1,231 + +--- IDENTITY --- + canonical_name: MR KORADA SATYANARAYANA + date_of_birth: None + nationality: None + passport_number: None + name_variants: ['MR KORADA SATYANARAYANA', 'SATYANARAYANA', 'SATYANARAYANA KORAD'] + +--- FINANCIAL --- + source_is_affidavit: False + currency: INR + closing_balance: 129379.99 + avg_monthly_income: None + transaction_count: 322 + declared_property: None + declared_movables: None + +--- SPONSOR --- + sponsor_name: None + relationship: None + declared_income: None + + enrollment: null + edges: [] \ No newline at end of file diff --git a/debug/20260518_142500/cp4_enrollment_agent_prompt.json b/debug/20260518_142500/cp4_enrollment_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..034240293d3a80711b1b3882e97ec97a6d397259 --- /dev/null +++ b/debug/20260518_142500/cp4_enrollment_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "enrollment_agent", + "graph_subset_keys": [ + "enrollment", + "financial", + "temporal" + ], + "estimated_input_tokens": 1150, + "prompt_char_count": 4601, + "prompt": "You are an adversarial immigration officer reviewing enrollment documentation.\nYour task: identify every enrollment/financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nENROLLMENT DATA:\nnull\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 129379.99,\n \"avg_monthly_income\": null,\n \"total_credits\": 628805.0,\n \"total_debits\": 570342.4,\n \"transaction_count\": 322,\n \"spikes\": [\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 3.58\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n }\n ],\n \"unlabeled_deposit_count\": 41,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the applicant's closing_balance cover program_cost? Show the arithmetic.\n Include a living expense estimate (~$1,500/month × duration_months) if relevant.\n2. Does enrollment_start align with the visa application timeline?\n3. Is the program_duration_months realistic for the stated program?\n4. If funds_cover_full_stay is false, quantify the shortfall exactly.\n5. If no enrollment data exists (null), note that this may be a non-student visa\n and enrollment checks are not applicable.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_142500/cp4_financial_agent_prompt.json b/debug/20260518_142500/cp4_financial_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..74bf0b546b5a45f4e00f48f89757c6419b0b9fc7 --- /dev/null +++ b/debug/20260518_142500/cp4_financial_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "financial_agent", + "graph_subset_keys": [ + "financial", + "identity" + ], + "estimated_input_tokens": 1732, + "prompt_char_count": 6928, + "prompt": "You are an adversarial immigration officer reviewing financial documents.\nYour task: identify every financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 129379.99,\n \"avg_monthly_income\": null,\n \"total_credits\": 628805.0,\n \"total_debits\": 570342.4,\n \"transaction_count\": 322,\n \"spikes\": [\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 3.58\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n }\n ],\n \"unlabeled_deposit_count\": 41,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=20-08-2025]\",\n \"message\": \"Transaction on 20-08-2025 is 4.29\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=21-08-2025]\",\n \"message\": \"Transaction on 21-08-2025 is 3.58\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.58\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=23-08-2025]\",\n \"message\": \"Transaction on 23-08-2025 is 4.29\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (129,380 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 1,870,620 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"129,380 JPY\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=17-08-2025]\",\n \"message\": \"Transaction on 17-08-2025 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=18-08-2025]\",\n \"message\": \"Transaction on 18-08-2025 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 4.29\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.29\"\n },\n {\n \"rule_id\": \"FIN-002\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"message\": \"41 deposit(s) have no source label\",\n \"expected\": \"0 unlabeled deposits\",\n \"actual\": \"41\"\n }\n]\n\nAnalyse the following — be specific, cite exact values:\n1. For each spike in spikes[]: is there a plausible source? If unlabeled, flag as critical.\n2. Does avg_monthly_income × visa_duration cover declared costs? Show the arithmetic.\n3. Does the balance trajectory make sense given declared income? Flag any impossible accumulation.\n4. Are there cross-document income discrepancies (payslip vs bank deposit amounts)?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_142500/cp4_identity_agent_prompt.json b/debug/20260518_142500/cp4_identity_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..3b18f4a046137e1422b05055171b8f2bb3291e11 --- /dev/null +++ b/debug/20260518_142500/cp4_identity_agent_prompt.json @@ -0,0 +1,9 @@ +{ + "agent_id": "identity_agent", + "graph_subset_keys": [ + "identity" + ], + "estimated_input_tokens": 506, + "prompt_char_count": 2025, + "prompt": "You are an adversarial immigration officer reviewing identity documents.\nYour task: identify every identity inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nIDENTITY DATA:\n{\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"IDN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"identity.cross_doc_name_match\",\n \"message\": \"Name mismatch across documents: ['MR KORADA SATYANARAYANA', 'SATYANARAYANA', 'SATYANARAYANA KORAD']. Possible transliteration issues: [\\\"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\\\"]\",\n \"expected\": \"Consistent name across all documents\",\n \"actual\": \"3 variants found\"\n }\n]\n\nAnalyse the following — be specific, cite exact field paths:\n1. Are all name_variants plausibly the same person? Consider transliteration rules\n (e.g. Japanese: family-first vs given-first, romanisation differences).\n2. If cross_doc_name_match is false, is this a genuine mismatch or an expected\n transliteration variation? Rate the severity.\n3. Check for date_of_birth consistency — is it the same across all documents?\n4. Does the passport_number match the identity page expectations for the stated nationality?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_142500/cp4_sponsor_agent_prompt.json b/debug/20260518_142500/cp4_sponsor_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..aec393b4848350d1021e4adb80865146cdb267bd --- /dev/null +++ b/debug/20260518_142500/cp4_sponsor_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "sponsor_agent", + "graph_subset_keys": [ + "sponsor", + "identity", + "financial" + ], + "estimated_input_tokens": 859, + "prompt_char_count": 3436, + "prompt": "You are an adversarial immigration officer reviewing sponsor documentation.\nYour task: identify every sponsorship inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nSPONSOR DATA:\nnull\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nAPPLICANT FINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 129379.99,\n \"avg_monthly_income\": null,\n \"total_credits\": 628805.0,\n \"total_debits\": 570342.4,\n \"transaction_count\": 322,\n \"spikes\": [\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 3.58\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n }\n ],\n \"unlabeled_deposit_count\": 41,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the sponsor's declared_income realistically cover the applicant's total costs\n (tuition + living expenses + travel)? Show the arithmetic.\n2. Is the stated relationship plausible? (e.g. \"uncle\" sponsoring a non-relative is suspicious)\n3. If income_supports_coverage is false, quantify the shortfall.\n4. Does the sponsor's income_currency match the jurisdiction where they claim to reside?\n5. If no sponsor data exists (null), note that the application lacks financial sponsorship\n documentation — this may be acceptable if self-funded.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_142500/cp4_temporal_agent_prompt.json b/debug/20260518_142500/cp4_temporal_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..39972da8906c88c114a42ca348b54a954f5c4179 --- /dev/null +++ b/debug/20260518_142500/cp4_temporal_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "temporal_agent", + "graph_subset_keys": [ + "temporal", + "financial" + ], + "estimated_input_tokens": 1156, + "prompt_char_count": 4626, + "prompt": "You are an adversarial immigration officer reviewing the timeline of an application.\nYour task: identify every temporal inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nFINANCIAL DATA (for date cross-reference):\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 129379.99,\n \"avg_monthly_income\": null,\n \"total_credits\": 628805.0,\n \"total_debits\": 570342.4,\n \"transaction_count\": 322,\n \"spikes\": [\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 3.58\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.29\n }\n ],\n \"unlabeled_deposit_count\": 41,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact dates:\n1. Do employment_start and employment_end form a continuous period? Flag any gaps.\n2. Do the doc_date_ranges overlap logically? A bank statement ending after an\n employment letter's issue date is normal; the reverse is suspicious.\n3. If visa_window_start/end exist, does the employment and financial history\n cover the required pre-application period (typically 3-6 months)?\n4. Check chronology_valid — if false, explain what dates are logically impossible.\n5. Are transaction dates within the stated employment period?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_151207/cp0_ingestion.json b/debug/20260518_151207/cp0_ingestion.json new file mode 100644 index 0000000000000000000000000000000000000000..868d7bdcf214a48862067be19d1b573a0ee525e7 --- /dev/null +++ b/debug/20260518_151207/cp0_ingestion.json @@ -0,0 +1,199 @@ +{ + "file_path": "document_1.pdf", + "file_size_bytes": 685797, + "page_count": 38, + "is_electronic": true, + "is_scanned": false, + "pages": [ + { + "page": 1, + "char_count": 1877, + "has_text_layer": true + }, + { + "page": 2, + "char_count": 2693, + "has_text_layer": true + }, + { + "page": 3, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 4, + "char_count": 2726, + "has_text_layer": true + }, + { + "page": 5, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 6, + "char_count": 2737, + "has_text_layer": true + }, + { + "page": 7, + "char_count": 2722, + "has_text_layer": true + }, + { + "page": 8, + "char_count": 2746, + "has_text_layer": true + }, + { + "page": 9, + "char_count": 2749, + "has_text_layer": true + }, + { + "page": 10, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 11, + "char_count": 2771, + "has_text_layer": true + }, + { + "page": 12, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 13, + "char_count": 2752, + "has_text_layer": true + }, + { + "page": 14, + "char_count": 2735, + "has_text_layer": true + }, + { + "page": 15, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 16, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 17, + "char_count": 2747, + "has_text_layer": true + }, + { + "page": 18, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 19, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 20, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 21, + "char_count": 2723, + "has_text_layer": true + }, + { + "page": 22, + "char_count": 2727, + "has_text_layer": true + }, + { + "page": 23, + "char_count": 2734, + "has_text_layer": true + }, + { + "page": 24, + "char_count": 2741, + "has_text_layer": true + }, + { + "page": 25, + "char_count": 2711, + "has_text_layer": true + }, + { + "page": 26, + "char_count": 2738, + "has_text_layer": true + }, + { + "page": 27, + "char_count": 2748, + "has_text_layer": true + }, + { + "page": 28, + "char_count": 2762, + "has_text_layer": true + }, + { + "page": 29, + "char_count": 2766, + "has_text_layer": true + }, + { + "page": 30, + "char_count": 2757, + "has_text_layer": true + }, + { + "page": 31, + "char_count": 2774, + "has_text_layer": true + }, + { + "page": 32, + "char_count": 2779, + "has_text_layer": true + }, + { + "page": 33, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 34, + "char_count": 2753, + "has_text_layer": true + }, + { + "page": 35, + "char_count": 2729, + "has_text_layer": true + }, + { + "page": 36, + "char_count": 2732, + "has_text_layer": true + }, + { + "page": 37, + "char_count": 2755, + "has_text_layer": true + }, + { + "page": 38, + "char_count": 1440, + "has_text_layer": true + } + ] +} \ No newline at end of file diff --git a/debug/20260518_151207/cp3_graph.json b/debug/20260518_151207/cp3_graph.json new file mode 100644 index 0000000000000000000000000000000000000000..8288a52badc6aab290abb1b40cc2bbd4abeae731 --- /dev/null +++ b/debug/20260518_151207/cp3_graph.json @@ -0,0 +1,44 @@ +{ + "identity": { + "name_variants": [], + "canonical_name": null, + "date_of_birth": null, + "nationality": null, + "passport_number": null, + "transliteration_flags": [], + "cross_doc_name_match": true + }, + "financial": { + "currency": null, + "opening_balance": null, + "closing_balance": null, + "avg_monthly_income": null, + "total_credits": 0.0, + "total_debits": 0.0, + "transaction_count": 0, + "spikes": [], + "unlabeled_deposit_count": 0, + "income_percentile": null, + "declared_property_value": null, + "declared_movable_assets": null, + "source_is_affidavit": false + }, + "temporal": { + "doc_date_ranges": [], + "employment_start": null, + "employment_end": null, + "visa_window_start": null, + "visa_window_end": null, + "gap_flags": [], + "chronology_valid": true + }, + "sponsor": null, + "enrollment": null, + "edges": [], + "token_count": 200, + "source_page_count": 38, + "estimated_raw_tokens": 76000, + "source_doc_types": [ + "unknown" + ] +} \ No newline at end of file diff --git a/debug/20260518_151207/cp3_graph_summary.txt b/debug/20260518_151207/cp3_graph_summary.txt new file mode 100644 index 0000000000000000000000000000000000000000..4c383fa57f063fb270647d7d36ce374ecc4a7bcb --- /dev/null +++ b/debug/20260518_151207/cp3_graph_summary.txt @@ -0,0 +1,27 @@ +=== GRAPH SUMMARY (run: 20260518_151207) === +Source pages: 38 | Doc types: ['unknown'] +Token count: 200 | Compression: 76,000 -> 200 + +--- IDENTITY --- + canonical_name: None + date_of_birth: None + nationality: None + passport_number: None + name_variants: [] + +--- FINANCIAL --- + source_is_affidavit: False + currency: None + closing_balance: None + avg_monthly_income: None + transaction_count: 0 + declared_property: None + declared_movables: None + +--- SPONSOR --- + sponsor_name: None + relationship: None + declared_income: None + + enrollment: null + edges: [] \ No newline at end of file diff --git a/debug/20260518_151207/cp4_enrollment_agent_prompt.json b/debug/20260518_151207/cp4_enrollment_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..f3f60ab1d429061256a615ad5d2a91496c509fd4 --- /dev/null +++ b/debug/20260518_151207/cp4_enrollment_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "enrollment_agent", + "graph_subset_keys": [ + "enrollment", + "financial", + "temporal" + ], + "estimated_input_tokens": 448, + "prompt_char_count": 1794, + "prompt": "You are an adversarial immigration officer reviewing enrollment documentation.\nYour task: identify every enrollment/financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nENROLLMENT DATA:\nnull\n\nFINANCIAL DATA:\n{\n \"currency\": null,\n \"opening_balance\": null,\n \"closing_balance\": null,\n \"avg_monthly_income\": null,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the applicant's closing_balance cover program_cost? Show the arithmetic.\n Include a living expense estimate (~$1,500/month × duration_months) if relevant.\n2. Does enrollment_start align with the visa application timeline?\n3. Is the program_duration_months realistic for the stated program?\n4. If funds_cover_full_stay is false, quantify the shortfall exactly.\n5. If no enrollment data exists (null), note that this may be a non-student visa\n and enrollment checks are not applicable.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_151207/cp4_financial_agent_prompt.json b/debug/20260518_151207/cp4_financial_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..efeaa5231091ef72dd2fc64af9326320398b4d7b --- /dev/null +++ b/debug/20260518_151207/cp4_financial_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "financial_agent", + "graph_subset_keys": [ + "financial", + "identity" + ], + "estimated_input_tokens": 407, + "prompt_char_count": 1630, + "prompt": "You are an adversarial immigration officer reviewing financial documents.\nYour task: identify every financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nFINANCIAL DATA:\n{\n \"currency\": null,\n \"opening_balance\": null,\n \"closing_balance\": null,\n \"avg_monthly_income\": null,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [],\n \"canonical_name\": null,\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. For each spike in spikes[]: is there a plausible source? If unlabeled, flag as critical.\n2. Does avg_monthly_income × visa_duration cover declared costs? Show the arithmetic.\n3. Does the balance trajectory make sense given declared income? Flag any impossible accumulation.\n4. Are there cross-document income discrepancies (payslip vs bank deposit amounts)?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_151207/cp4_identity_agent_prompt.json b/debug/20260518_151207/cp4_identity_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..736d9f3c514fc396699f8b73fc0e3bf7bf901b1f --- /dev/null +++ b/debug/20260518_151207/cp4_identity_agent_prompt.json @@ -0,0 +1,9 @@ +{ + "agent_id": "identity_agent", + "graph_subset_keys": [ + "identity" + ], + "estimated_input_tokens": 337, + "prompt_char_count": 1348, + "prompt": "You are an adversarial immigration officer reviewing identity documents.\nYour task: identify every identity inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nIDENTITY DATA:\n{\n \"name_variants\": [],\n \"canonical_name\": null,\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact field paths:\n1. Are all name_variants plausibly the same person? Consider transliteration rules\n (e.g. Japanese: family-first vs given-first, romanisation differences).\n2. If cross_doc_name_match is false, is this a genuine mismatch or an expected\n transliteration variation? Rate the severity.\n3. Check for date_of_birth consistency — is it the same across all documents?\n4. Does the passport_number match the identity page expectations for the stated nationality?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_151207/cp4_sponsor_agent_prompt.json b/debug/20260518_151207/cp4_sponsor_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..95d437183f2e00ecbe044a66a3dee477ae4e9ac2 --- /dev/null +++ b/debug/20260518_151207/cp4_sponsor_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "sponsor_agent", + "graph_subset_keys": [ + "sponsor", + "identity", + "financial" + ], + "estimated_input_tokens": 462, + "prompt_char_count": 1850, + "prompt": "You are an adversarial immigration officer reviewing sponsor documentation.\nYour task: identify every sponsorship inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nSPONSOR DATA:\nnull\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [],\n \"canonical_name\": null,\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [],\n \"cross_doc_name_match\": true\n}\n\nAPPLICANT FINANCIAL DATA:\n{\n \"currency\": null,\n \"opening_balance\": null,\n \"closing_balance\": null,\n \"avg_monthly_income\": null,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the sponsor's declared_income realistically cover the applicant's total costs\n (tuition + living expenses + travel)? Show the arithmetic.\n2. Is the stated relationship plausible? (e.g. \"uncle\" sponsoring a non-relative is suspicious)\n3. If income_supports_coverage is false, quantify the shortfall.\n4. Does the sponsor's income_currency match the jurisdiction where they claim to reside?\n5. If no sponsor data exists (null), note that the application lacks financial sponsorship\n documentation — this may be acceptable if self-funded.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_151207/cp4_temporal_agent_prompt.json b/debug/20260518_151207/cp4_temporal_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..b5dcc527920336f60d8007eb955d39d9f2302926 --- /dev/null +++ b/debug/20260518_151207/cp4_temporal_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "temporal_agent", + "graph_subset_keys": [ + "temporal", + "financial" + ], + "estimated_input_tokens": 454, + "prompt_char_count": 1819, + "prompt": "You are an adversarial immigration officer reviewing the timeline of an application.\nYour task: identify every temporal inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nFINANCIAL DATA (for date cross-reference):\n{\n \"currency\": null,\n \"opening_balance\": null,\n \"closing_balance\": null,\n \"avg_monthly_income\": null,\n \"total_credits\": 0.0,\n \"total_debits\": 0.0,\n \"transaction_count\": 0,\n \"spikes\": [],\n \"unlabeled_deposit_count\": 0,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact dates:\n1. Do employment_start and employment_end form a continuous period? Flag any gaps.\n2. Do the doc_date_ranges overlap logically? A bank statement ending after an\n employment letter's issue date is normal; the reverse is suspicious.\n3. If visa_window_start/end exist, does the employment and financial history\n cover the required pre-application period (typically 3-6 months)?\n4. Check chronology_valid — if false, explain what dates are logically impossible.\n5. Are transaction dates within the stated employment period?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_152624/cp0_ingestion.json b/debug/20260518_152624/cp0_ingestion.json new file mode 100644 index 0000000000000000000000000000000000000000..868d7bdcf214a48862067be19d1b573a0ee525e7 --- /dev/null +++ b/debug/20260518_152624/cp0_ingestion.json @@ -0,0 +1,199 @@ +{ + "file_path": "document_1.pdf", + "file_size_bytes": 685797, + "page_count": 38, + "is_electronic": true, + "is_scanned": false, + "pages": [ + { + "page": 1, + "char_count": 1877, + "has_text_layer": true + }, + { + "page": 2, + "char_count": 2693, + "has_text_layer": true + }, + { + "page": 3, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 4, + "char_count": 2726, + "has_text_layer": true + }, + { + "page": 5, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 6, + "char_count": 2737, + "has_text_layer": true + }, + { + "page": 7, + "char_count": 2722, + "has_text_layer": true + }, + { + "page": 8, + "char_count": 2746, + "has_text_layer": true + }, + { + "page": 9, + "char_count": 2749, + "has_text_layer": true + }, + { + "page": 10, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 11, + "char_count": 2771, + "has_text_layer": true + }, + { + "page": 12, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 13, + "char_count": 2752, + "has_text_layer": true + }, + { + "page": 14, + "char_count": 2735, + "has_text_layer": true + }, + { + "page": 15, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 16, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 17, + "char_count": 2747, + "has_text_layer": true + }, + { + "page": 18, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 19, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 20, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 21, + "char_count": 2723, + "has_text_layer": true + }, + { + "page": 22, + "char_count": 2727, + "has_text_layer": true + }, + { + "page": 23, + "char_count": 2734, + "has_text_layer": true + }, + { + "page": 24, + "char_count": 2741, + "has_text_layer": true + }, + { + "page": 25, + "char_count": 2711, + "has_text_layer": true + }, + { + "page": 26, + "char_count": 2738, + "has_text_layer": true + }, + { + "page": 27, + "char_count": 2748, + "has_text_layer": true + }, + { + "page": 28, + "char_count": 2762, + "has_text_layer": true + }, + { + "page": 29, + "char_count": 2766, + "has_text_layer": true + }, + { + "page": 30, + "char_count": 2757, + "has_text_layer": true + }, + { + "page": 31, + "char_count": 2774, + "has_text_layer": true + }, + { + "page": 32, + "char_count": 2779, + "has_text_layer": true + }, + { + "page": 33, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 34, + "char_count": 2753, + "has_text_layer": true + }, + { + "page": 35, + "char_count": 2729, + "has_text_layer": true + }, + { + "page": 36, + "char_count": 2732, + "has_text_layer": true + }, + { + "page": 37, + "char_count": 2755, + "has_text_layer": true + }, + { + "page": 38, + "char_count": 1440, + "has_text_layer": true + } + ] +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_01_extraction.json b/debug/20260518_152624/cp2_page_01_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8e3770dbcf396eb992c85ea6f7e204c52c86294d --- /dev/null +++ b/debug/20260518_152624/cp2_page_01_extraction.json @@ -0,0 +1,289 @@ +{ + "page": 1, + "elapsed_s": 26.01, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 1, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n1\n38\nYour Details\nName\nMR KORADA \nSATYANARAYANA \nAddress\nS/O KORADA AUDIAH,PLOT \nNO-76 NEAR SRINIVASA,\nCOLLEGE,SBI COLONY \nVIZIANAGARAM,VIZI,535003\nMobile No\n6**** *7650\nEmail id\nStatement Details\nStatement Date\n24-04-2026 23:56\nStatement Period\n24-04-2025 to 24-04-2026\nAccount Details\nCustomer/CIF ID\n56789958\nAccount Type\nSavings Account\nAccount Name\nKORADA SATYANARAYANA\nAccount Number\n253110100033102\nCurrency\nINR\nIFSC\nUBIN0825310\nBranch Address\nPHOOLBAGH\nD.NO.21-13-9/3, PHOOLBAGH, \nMARUTINAGAR\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-05-2025\nW66458111\nUPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n44593.31(Cr)\n09-05-2025\nX62164974\nUPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43593.31(Cr)\n09-05-2025\nX62196692\nUPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42593.31(Cr)\n09-05-2025\nX79945345\nUPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb\n80.0(Dr)\n42513.31(Cr)\n10-05-2025\nY54010519\nUPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb\n120.0(Dr)\n42393.31(Cr)\n11-05-2025\nS8899012\nUPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n42333.31(Cr)\n15-05-2025\nU34132421\nUPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n46833.31(Cr)\n21-05-2025\nX86285216\nUPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@\n45.0(Dr)\n46788.31(Cr)\n23-05-2025\nY80714477\nUPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos\n60.0(Dr)\n46728.31(Cr)\n23-05-2025\nS6447239\nJNS-PMSBY-23-24-00027537318-600-56789958\n20.0(Dr)\n46708.31(Cr)\n25-05-2025\nT46067650\nUPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb\n100.0(Dr)\n46608.31(Cr)\n26-05-2025\nT73816080\nUPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb\n24.0(Dr)\n46584.31(Cr)\n27-05-2025\nU27866268\nUPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE\n45.0(Dr)\n46539.31(Cr)\n27-05-2025\nU60165567\nUPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n46479.31(Cr)\n", + "person_name": "MR KORADA SATYANARAYANA", + "currency": "INR", + "opening_balance": 39093.31, + "closing_balance": 46479.31, + "transactions": [ + { + "date": "07-05-2025", + "description": "UPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-05-2025", + "description": "UPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-05-2025", + "description": "UPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-05-2025", + "description": "UPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-05-2025", + "description": "UPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "UPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "JNS-PMSBY-23-24-00027537318-600-56789958", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-05-2025", + "description": "UPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-05-2025", + "description": "UPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 24.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + } + ], + "document_date": "24-04-2026", + "period_start": "24-04-2025", + "period_end": "24-04-2026" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 1, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n1\n38\nYour Details\nName\nMR KORADA \nSATYANARAYANA \nAddress\nS/O KORADA AUDIAH,PLOT \nNO-76 NEAR SRINIVASA,\nCOLLEGE,SBI COLONY \nVIZIANAGARAM,VIZI,535003\nMobile No\n6**** *7650\nEmail id\nStatement Details\nStatement Date\n24-04-2026 23:56\nStatement Period\n24-04-2025 to 24-04-2026\nAccount Details\nCustomer/CIF ID\n56789958\nAccount Type\nSavings Account\nAccount Name\nKORADA SATYANARAYANA\nAccount Number\n253110100033102\nCurrency\nINR\nIFSC\nUBIN0825310\nBranch Address\nPHOOLBAGH\nD.NO.21-13-9/3, PHOOLBAGH, \nMARUTINAGAR\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-05-2025\nW66458111\nUPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n44593.31(Cr)\n09-05-2025\nX62164974\nUPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43593.31(Cr)\n09-05-2025\nX62196692\nUPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42593.31(Cr)\n09-05-2025\nX79945345\nUPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb\n80.0(Dr)\n42513.31(Cr)\n10-05-2025\nY54010519\nUPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb\n120.0(Dr)\n42393.31(Cr)\n11-05-2025\nS8899012\nUPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n42333.31(Cr)\n15-05-2025\nU34132421\nUPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n46833.31(Cr)\n21-05-2025\nX86285216\nUPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@\n45.0(Dr)\n46788.31(Cr)\n23-05-2025\nY80714477\nUPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos\n60.0(Dr)\n46728.31(Cr)\n23-05-2025\nS6447239\nJNS-PMSBY-23-24-00027537318-600-56789958\n20.0(Dr)\n46708.31(Cr)\n25-05-2025\nT46067650\nUPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb\n100.0(Dr)\n46608.31(Cr)\n26-05-2025\nT73816080\nUPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb\n24.0(Dr)\n46584.31(Cr)\n27-05-2025\nU27866268\nUPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE\n45.0(Dr)\n46539.31(Cr)\n27-05-2025\nU60165567\nUPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n46479.31(Cr)\n", + "person_name": "MR KORADA SATYANARAYANA", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 39093.31, + "closing_balance": 46479.31, + "transactions": [ + { + "date": "07-05-2025", + "description": "UPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-05-2025", + "description": "UPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-05-2025", + "description": "UPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-05-2025", + "description": "UPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-05-2025", + "description": "UPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-05-2025", + "description": "UPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "UPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-05-2025", + "description": "JNS-PMSBY-23-24-00027537318-600-56789958", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-05-2025", + "description": "UPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-05-2025", + "description": "UPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 24.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-05-2025", + "description": "UPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": "24-04-2026", + "period_start": "24-04-2025", + "period_end": "24-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_02_extraction.json b/debug/20260518_152624/cp2_page_02_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..147b9e23193f21beed3dd3289b656048b5c170dc --- /dev/null +++ b/debug/20260518_152624/cp2_page_02_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 2, + "elapsed_s": 38.87, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 2, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n2\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n29-05-2025\nV54438970\nUPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE\n105.0(Dr)\n46374.31(Cr)\n01-06-2025\nX14855162\nUPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb\n140.0(Dr)\n46234.31(Cr)\n04-06-2025\nS48231253\nUPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n51734.31(Cr)\n09-06-2025\nU94762212\nUPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n50734.31(Cr)\n09-06-2025\nU96426663\nUPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n49734.31(Cr)\n17-06-2025\nS83010603\nUPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n54234.31(Cr)\n19-06-2025\nU41335687\nUPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb\n22.0(Dr)\n54212.31(Cr)\n20-06-2025\nU82171400\nUPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@\n150.0(Dr)\n54062.31(Cr)\n21-06-2025\nV33154449\nUPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb\n28.0(Dr)\n54034.31(Cr)\n21-06-2025\nV41145442\nUPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@\n100.0(Dr)\n53934.31(Cr)\n21-06-2025\nV45407441\nUPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb\n270.0(Dr)\n53664.31(Cr)\n21-06-2025\nV55308651\nUPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb\n100.0(Dr)\n53564.31(Cr)\n28-06-2025\nS58685405\nSms Charges For June Qtr ,2025\n7.4(Dr)\n53556.93(Cr)\n30-06-2025\nT84201338\nUPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i\n660.8(Dr)\n52896.14(Cr)\n01-07-2025\nU21499250\nUPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924\n100.0(Dr)\n52796.14(Cr)\n01-07-2025\nU39273972\nUPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n56796.14(Cr)\n01-07-2025\nU51927215\nUPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0\n200.0(Dr)\n56596.14(Cr)\n05-07-2025\nW71758210\n253110100033102:Int.Pd:01-04-2025 to 30-06-2025\n304.0(Cr)\n56900.14(Cr)\n06-07-2025\nX84003339\nUPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n109.0(Dr)\n56791.14(Cr)\n06-07-2025\nX84217657\nUPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n10.0(Dr)\n56781.14(Cr)\n09-07-2025\nS17659987\nUPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n55781.14(Cr)\n09-07-2025\nS18482628\nUPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n54781.14(Cr)\n09-07-2025\nS47318151\nUPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y\n107.0(Dr)\n54674.14(Cr)\n10-07-2025\nT8751956\nUPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE\n85.0(Dr)\n54589.14(Cr)\n11-07-2025\nT69959740\nUPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb\n150.0(Dr)\n54439.14(Cr)\n11-07-2025\nT96354871\nUPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb\n35000.0(Dr)\n19439.14(Cr)\n13-07-2025\nV14766893\nIMPSAB/519500859054/Mr SATYANARAYANA /6303357650\n20000.0(Cr)\n39439.14(Cr)\n16-07-2025\nW62875075\nUPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.\n21375.0(Dr)\n18064.14(Cr)\n", + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 18064.14, + "transactions": [ + { + "date": "29-05-2025", + "description": "V54438970 UPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 105.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-06-2025", + "description": "X14855162 UPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-06-2025", + "description": "S48231253 UPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "U94762212 UPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "U96426663 UPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-06-2025", + "description": "S83010603 UPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-06-2025", + "description": "U41335687 UPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-06-2025", + "description": "U82171400 UPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V33154449 UPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V41145442 UPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V45407441 UPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 270.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V55308651 UPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-06-2025", + "description": "S58685405 Sms Charges For June Qtr ,2025", + "amount": 7.4, + "transaction_type": "debit", + "label": "bank_charge" + }, + { + "date": "30-06-2025", + "description": "T84201338 UPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 660.8, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "U21499250 UPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "U39273972 UPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "U51927215 UPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-07-2025", + "description": "W71758210 253110100033102:Int.Pd:01-04-2025 to 30-06-2025", + "amount": 304.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "06-07-2025", + "description": "X84003339 UPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 109.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-07-2025", + "description": "X84217657 UPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 10.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-07-2025", + "description": "S17659987 UPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-07-2025", + "description": "S18482628 UPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-07-2025", + "description": "S47318151 UPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y", + "amount": 107.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-07-2025", + "description": "T8751956 UPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-07-2025", + "description": "T69959740 UPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-07-2025", + "description": "T96354871 UPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb", + "amount": 35000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-07-2025", + "description": "V14766893 IMPSAB/519500859054/Mr SATYANARAYANA /6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "W62875075 UPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.", + "amount": 21375.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "29-05-2025", + "period_end": "16-07-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 2, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n2\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n29-05-2025\nV54438970\nUPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE\n105.0(Dr)\n46374.31(Cr)\n01-06-2025\nX14855162\nUPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb\n140.0(Dr)\n46234.31(Cr)\n04-06-2025\nS48231253\nUPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n51734.31(Cr)\n09-06-2025\nU94762212\nUPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n50734.31(Cr)\n09-06-2025\nU96426663\nUPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n49734.31(Cr)\n17-06-2025\nS83010603\nUPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n54234.31(Cr)\n19-06-2025\nU41335687\nUPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb\n22.0(Dr)\n54212.31(Cr)\n20-06-2025\nU82171400\nUPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@\n150.0(Dr)\n54062.31(Cr)\n21-06-2025\nV33154449\nUPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb\n28.0(Dr)\n54034.31(Cr)\n21-06-2025\nV41145442\nUPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@\n100.0(Dr)\n53934.31(Cr)\n21-06-2025\nV45407441\nUPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb\n270.0(Dr)\n53664.31(Cr)\n21-06-2025\nV55308651\nUPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb\n100.0(Dr)\n53564.31(Cr)\n28-06-2025\nS58685405\nSms Charges For June Qtr ,2025\n7.4(Dr)\n53556.93(Cr)\n30-06-2025\nT84201338\nUPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i\n660.8(Dr)\n52896.14(Cr)\n01-07-2025\nU21499250\nUPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924\n100.0(Dr)\n52796.14(Cr)\n01-07-2025\nU39273972\nUPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n56796.14(Cr)\n01-07-2025\nU51927215\nUPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0\n200.0(Dr)\n56596.14(Cr)\n05-07-2025\nW71758210\n253110100033102:Int.Pd:01-04-2025 to 30-06-2025\n304.0(Cr)\n56900.14(Cr)\n06-07-2025\nX84003339\nUPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n109.0(Dr)\n56791.14(Cr)\n06-07-2025\nX84217657\nUPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n10.0(Dr)\n56781.14(Cr)\n09-07-2025\nS17659987\nUPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n55781.14(Cr)\n09-07-2025\nS18482628\nUPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n54781.14(Cr)\n09-07-2025\nS47318151\nUPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y\n107.0(Dr)\n54674.14(Cr)\n10-07-2025\nT8751956\nUPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE\n85.0(Dr)\n54589.14(Cr)\n11-07-2025\nT69959740\nUPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb\n150.0(Dr)\n54439.14(Cr)\n11-07-2025\nT96354871\nUPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb\n35000.0(Dr)\n19439.14(Cr)\n13-07-2025\nV14766893\nIMPSAB/519500859054/Mr SATYANARAYANA /6303357650\n20000.0(Cr)\n39439.14(Cr)\n16-07-2025\nW62875075\nUPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.\n21375.0(Dr)\n18064.14(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 18064.14, + "transactions": [ + { + "date": "29-05-2025", + "description": "V54438970 UPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 105.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-06-2025", + "description": "X14855162 UPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-06-2025", + "description": "S48231253 UPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "U94762212 UPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "U96426663 UPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-06-2025", + "description": "S83010603 UPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-06-2025", + "description": "U41335687 UPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-06-2025", + "description": "U82171400 UPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V33154449 UPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V41145442 UPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V45407441 UPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 270.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-06-2025", + "description": "V55308651 UPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-06-2025", + "description": "S58685405 Sms Charges For June Qtr ,2025", + "amount": 7.4, + "transaction_type": "debit", + "label": "bank_charge" + }, + { + "date": "30-06-2025", + "description": "T84201338 UPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 660.8, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "U21499250 UPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "U39273972 UPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "U51927215 UPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-07-2025", + "description": "W71758210 253110100033102:Int.Pd:01-04-2025 to 30-06-2025", + "amount": 304.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "06-07-2025", + "description": "X84003339 UPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 109.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-07-2025", + "description": "X84217657 UPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 10.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-07-2025", + "description": "S17659987 UPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-07-2025", + "description": "S18482628 UPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-07-2025", + "description": "S47318151 UPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y", + "amount": 107.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-07-2025", + "description": "T8751956 UPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-07-2025", + "description": "T69959740 UPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-07-2025", + "description": "T96354871 UPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb", + "amount": 35000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-07-2025", + "description": "V14766893 IMPSAB/519500859054/Mr SATYANARAYANA /6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "W62875075 UPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.", + "amount": 21375.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "29-05-2025", + "period_end": "16-07-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_03_extraction.json b/debug/20260518_152624/cp2_page_03_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..be2b00311eb30c6be9c22b6bed1a3a52932c8877 --- /dev/null +++ b/debug/20260518_152624/cp2_page_03_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 3, + "elapsed_s": 20.88, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 3, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n3\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n16-07-2025\nW75419149\nUPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb\n30.0(Dr)\n18034.14(Cr)\n16-07-2025\nW83176337\nUPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071\n150.0(Dr)\n17884.14(Cr)\n16-07-2025\nW93140899\nUPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344\n20.0(Dr)\n17864.14(Cr)\n16-07-2025\nW94950563\nUPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344\n2245.0(Dr)\n15619.14(Cr)\n17-07-2025\nX30778246\nUPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n15419.14(Cr)\n17-07-2025\nX50953831\nUPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.\n1563.0(Dr)\n13856.14(Cr)\n18-07-2025\nX81858941\nUPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@\n30.0(Dr)\n13826.14(Cr)\n18-07-2025\nX91821276\nUPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb\n100.0(Dr)\n13726.14(Cr)\n18-07-2025\nY1007480\nUPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb\n100.0(Dr)\n13626.14(Cr)\n18-07-2025\nY18757804\nUPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb\n359.0(Dr)\n13267.14(Cr)\n19-07-2025\nY63996824\nUPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n17767.14(Cr)\n20-07-2025\nS24248819\nUPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY\n318.5(Dr)\n17448.63(Cr)\n20-07-2025\nS33908684\nUPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb\n194.0(Dr)\n17254.63(Cr)\n21-07-2025\nS81648995\nUPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY\n40.2(Dr)\n17214.38(Cr)\n21-07-2025\nS87114030\nUPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@\n70.0(Dr)\n17144.38(Cr)\n22-07-2025\nT40008882\nUPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb\n30.0(Dr)\n17114.38(Cr)\n22-07-2025\nT53952807\nUPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb\n5000.0(Dr)\n12114.38(Cr)\n23-07-2025\nU12814348\nUPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.\n1460.0(Dr)\n10654.38(Cr)\n30-07-2025\nX80534954\nUPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb\n80.0(Dr)\n10574.38(Cr)\n30-07-2025\nX89336177\nSBINS REN PERSONAL ACCIDENTAL\n9.4(Dr)\n10565.02(Cr)\n09-08-2025\nX6656840\nUPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n9565.02(Cr)\n09-08-2025\nX6648774\nUPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n8565.02(Cr)\n17-08-2025\nV13891340\nIMPSAB/522915656257/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n38565.02(Cr)\n17-08-2025\nV14026571\nUPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb\n1000.0(Dr)\n37565.02(Cr)\n17-08-2025\nV14086032\nUPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb\n2000.0(Dr)\n35565.02(Cr)\n17-08-2025\nV14123017\nUPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n10565.02(Cr)\n18-08-2025\nV82094269\nUPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb\n150.0(Dr)\n10415.02(Cr)\n18-08-2025\nV97466123\nIMPSAB/523021817489/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n", + "closing_balance": 40415.02, + "transactions": [ + { + "date": "16-07-2025", + "description": "UPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2245.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1563.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 359.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-07-2025", + "description": "UPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-07-2025", + "description": "UPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 318.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-07-2025", + "description": "UPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 194.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 40.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-07-2025", + "description": "UPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1460.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "UPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "SBINS REN PERSONAL ACCIDENTAL", + "amount": 9.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-08-2025", + "description": "UPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "IMPSAB/522915656257/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 2000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-08-2025", + "description": "UPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-08-2025", + "description": "IMPSAB/523021817489/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "16-07-2025", + "period_end": "18-08-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 3, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n3\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n16-07-2025\nW75419149\nUPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb\n30.0(Dr)\n18034.14(Cr)\n16-07-2025\nW83176337\nUPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071\n150.0(Dr)\n17884.14(Cr)\n16-07-2025\nW93140899\nUPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344\n20.0(Dr)\n17864.14(Cr)\n16-07-2025\nW94950563\nUPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344\n2245.0(Dr)\n15619.14(Cr)\n17-07-2025\nX30778246\nUPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n15419.14(Cr)\n17-07-2025\nX50953831\nUPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.\n1563.0(Dr)\n13856.14(Cr)\n18-07-2025\nX81858941\nUPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@\n30.0(Dr)\n13826.14(Cr)\n18-07-2025\nX91821276\nUPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb\n100.0(Dr)\n13726.14(Cr)\n18-07-2025\nY1007480\nUPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb\n100.0(Dr)\n13626.14(Cr)\n18-07-2025\nY18757804\nUPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb\n359.0(Dr)\n13267.14(Cr)\n19-07-2025\nY63996824\nUPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n17767.14(Cr)\n20-07-2025\nS24248819\nUPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY\n318.5(Dr)\n17448.63(Cr)\n20-07-2025\nS33908684\nUPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb\n194.0(Dr)\n17254.63(Cr)\n21-07-2025\nS81648995\nUPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY\n40.2(Dr)\n17214.38(Cr)\n21-07-2025\nS87114030\nUPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@\n70.0(Dr)\n17144.38(Cr)\n22-07-2025\nT40008882\nUPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb\n30.0(Dr)\n17114.38(Cr)\n22-07-2025\nT53952807\nUPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb\n5000.0(Dr)\n12114.38(Cr)\n23-07-2025\nU12814348\nUPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.\n1460.0(Dr)\n10654.38(Cr)\n30-07-2025\nX80534954\nUPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb\n80.0(Dr)\n10574.38(Cr)\n30-07-2025\nX89336177\nSBINS REN PERSONAL ACCIDENTAL\n9.4(Dr)\n10565.02(Cr)\n09-08-2025\nX6656840\nUPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n9565.02(Cr)\n09-08-2025\nX6648774\nUPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n8565.02(Cr)\n17-08-2025\nV13891340\nIMPSAB/522915656257/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n38565.02(Cr)\n17-08-2025\nV14026571\nUPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb\n1000.0(Dr)\n37565.02(Cr)\n17-08-2025\nV14086032\nUPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb\n2000.0(Dr)\n35565.02(Cr)\n17-08-2025\nV14123017\nUPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n10565.02(Cr)\n18-08-2025\nV82094269\nUPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb\n150.0(Dr)\n10415.02(Cr)\n18-08-2025\nV97466123\nIMPSAB/523021817489/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": null, + "closing_balance": 40415.02, + "transactions": [ + { + "date": "16-07-2025", + "description": "UPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-07-2025", + "description": "UPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2245.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-07-2025", + "description": "UPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1563.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-07-2025", + "description": "UPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 359.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-07-2025", + "description": "UPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-07-2025", + "description": "UPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 318.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-07-2025", + "description": "UPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 194.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 40.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-07-2025", + "description": "UPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-07-2025", + "description": "UPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-07-2025", + "description": "UPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1460.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "UPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-07-2025", + "description": "SBINS REN PERSONAL ACCIDENTAL", + "amount": 9.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-08-2025", + "description": "UPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "IMPSAB/522915656257/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 2000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-08-2025", + "description": "UPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-08-2025", + "description": "IMPSAB/523021817489/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "16-07-2025", + "period_end": "18-08-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_04_extraction.json b/debug/20260518_152624/cp2_page_04_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..7b1a16b68f46af9df52218535eb56e233ce5f30a --- /dev/null +++ b/debug/20260518_152624/cp2_page_04_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 4, + "elapsed_s": 30.79, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 4, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n4\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-08-2025\nV97536626\nUPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n10415.02(Cr)\n20-08-2025\nW89896802\nIMPSAB/523214646291/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n20-08-2025\nW89983878\nUPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb\n25500.0(Dr)\n14915.02(Cr)\n21-08-2025\nX54502272\nUPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb\n28.0(Dr)\n14887.02(Cr)\n21-08-2025\nX83592817\nIMPSAB/523322945765/Mr SATYANARAYANA /6303357650\n25000.0(Cr)\n39887.02(Cr)\n21-08-2025\nX83620651\nUPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n14887.02(Cr)\n23-08-2025\nY63279155\nUPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626\n50.0(Dr)\n14837.02(Cr)\n23-08-2025\nY85519411\nUPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT\n770.0(Dr)\n14067.02(Cr)\n23-08-2025\nY85895075\nUPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb\n170.0(Dr)\n13897.02(Cr)\n23-08-2025\nY92486442\nIMPSAB/523520857073/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n43897.02(Cr)\n23-08-2025\nY94589653\nUPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb\n364.0(Dr)\n43533.02(Cr)\n23-08-2025\nY95515547\nUPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n13533.02(Cr)\n24-08-2025\nS878049\nUPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n12673.02(Cr)\n24-08-2025\nS15300807\nUPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb\n170.0(Dr)\n12503.02(Cr)\n24-08-2025\nS36977187\nUPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb\n50.0(Dr)\n12453.02(Cr)\n24-08-2025\nS46311959\nUPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i\n1412.2(Dr)\n11040.85(Cr)\n25-08-2025\nS85834378\nUPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@\n30.0(Dr)\n11010.85(Cr)\n25-08-2025\nT11240734\nUPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb\n45.0(Dr)\n10965.85(Cr)\n25-08-2025\nT11407960\nUPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb\n70.0(Dr)\n10895.85(Cr)\n25-08-2025\nT11962155\nUPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@\n100.0(Dr)\n10795.85(Cr)\n28-08-2025\nU62225431\nUPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb\n31.0(Dr)\n10764.85(Cr)\n08-09-2025\nU53700350\nUPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n14764.85(Cr)\n08-09-2025\nU75787966\nUPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb\n22.0(Dr)\n14742.85(Cr)\n09-09-2025\nU85390515\nUPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n13742.85(Cr)\n09-09-2025\nU86316159\nUPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n12742.85(Cr)\n10-09-2025\nV62249332\nUPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou\n1000.0(Cr)\n13742.85(Cr)\n10-09-2025\nV91375570\nUPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a\n138.0(Dr)\n13604.85(Cr)\n10-09-2025\nV95989835\nUPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n13532.85(Cr)\n", + "person_name": "SATYANARAYANA", + "currency": "INR", + "opening_balance": 40415.02, + "closing_balance": 13532.85, + "transactions": [ + { + "date": "18-08-2025", + "description": "UPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-08-2025", + "description": "IMPSAB/523214646291/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-08-2025", + "description": "UPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-08-2025", + "description": "UPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-08-2025", + "description": "IMPSAB/523322945765/Mr SATYANARAYANA /6303357650", + "amount": 25000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-08-2025", + "description": "UPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 770.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "IMPSAB/523520857073/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1412.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-08-2025", + "description": "UPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 31.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-09-2025", + "description": "UPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-09-2025", + "description": "UPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-09-2025", + "description": "UPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-09-2025", + "description": "UPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-09-2025", + "description": "UPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-09-2025", + "description": "UPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a", + "amount": 138.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-09-2025", + "description": "UPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "18-08-2025", + "period_end": "10-09-2025" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 4, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n4\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-08-2025\nV97536626\nUPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n10415.02(Cr)\n20-08-2025\nW89896802\nIMPSAB/523214646291/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n20-08-2025\nW89983878\nUPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb\n25500.0(Dr)\n14915.02(Cr)\n21-08-2025\nX54502272\nUPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb\n28.0(Dr)\n14887.02(Cr)\n21-08-2025\nX83592817\nIMPSAB/523322945765/Mr SATYANARAYANA /6303357650\n25000.0(Cr)\n39887.02(Cr)\n21-08-2025\nX83620651\nUPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n14887.02(Cr)\n23-08-2025\nY63279155\nUPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626\n50.0(Dr)\n14837.02(Cr)\n23-08-2025\nY85519411\nUPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT\n770.0(Dr)\n14067.02(Cr)\n23-08-2025\nY85895075\nUPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb\n170.0(Dr)\n13897.02(Cr)\n23-08-2025\nY92486442\nIMPSAB/523520857073/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n43897.02(Cr)\n23-08-2025\nY94589653\nUPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb\n364.0(Dr)\n43533.02(Cr)\n23-08-2025\nY95515547\nUPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n13533.02(Cr)\n24-08-2025\nS878049\nUPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n12673.02(Cr)\n24-08-2025\nS15300807\nUPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb\n170.0(Dr)\n12503.02(Cr)\n24-08-2025\nS36977187\nUPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb\n50.0(Dr)\n12453.02(Cr)\n24-08-2025\nS46311959\nUPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i\n1412.2(Dr)\n11040.85(Cr)\n25-08-2025\nS85834378\nUPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@\n30.0(Dr)\n11010.85(Cr)\n25-08-2025\nT11240734\nUPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb\n45.0(Dr)\n10965.85(Cr)\n25-08-2025\nT11407960\nUPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb\n70.0(Dr)\n10895.85(Cr)\n25-08-2025\nT11962155\nUPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@\n100.0(Dr)\n10795.85(Cr)\n28-08-2025\nU62225431\nUPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb\n31.0(Dr)\n10764.85(Cr)\n08-09-2025\nU53700350\nUPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n14764.85(Cr)\n08-09-2025\nU75787966\nUPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb\n22.0(Dr)\n14742.85(Cr)\n09-09-2025\nU85390515\nUPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n13742.85(Cr)\n09-09-2025\nU86316159\nUPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n12742.85(Cr)\n10-09-2025\nV62249332\nUPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou\n1000.0(Cr)\n13742.85(Cr)\n10-09-2025\nV91375570\nUPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a\n138.0(Dr)\n13604.85(Cr)\n10-09-2025\nV95989835\nUPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n13532.85(Cr)\n", + "person_name": "SATYANARAYANA", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 40415.02, + "closing_balance": 13532.85, + "transactions": [ + { + "date": "18-08-2025", + "description": "UPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-08-2025", + "description": "IMPSAB/523214646291/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-08-2025", + "description": "UPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-08-2025", + "description": "UPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-08-2025", + "description": "IMPSAB/523322945765/Mr SATYANARAYANA /6303357650", + "amount": 25000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-08-2025", + "description": "UPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 770.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "IMPSAB/523520857073/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-08-2025", + "description": "UPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-08-2025", + "description": "UPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1412.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-08-2025", + "description": "UPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-08-2025", + "description": "UPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 31.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-09-2025", + "description": "UPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-09-2025", + "description": "UPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-09-2025", + "description": "UPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-09-2025", + "description": "UPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-09-2025", + "description": "UPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-09-2025", + "description": "UPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a", + "amount": 138.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-09-2025", + "description": "UPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "18-08-2025", + "period_end": "10-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_05_extraction.json b/debug/20260518_152624/cp2_page_05_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..50e65af44e6c527daa3a1d7a57081c46db81fd9b --- /dev/null +++ b/debug/20260518_152624/cp2_page_05_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 5, + "elapsed_s": 24.72, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 5, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n5\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-09-2025\nW22044077\nUPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@\n3500.0(Cr)\n17032.85(Cr)\n11-09-2025\nW58759857\nUPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@\n60.0(Dr)\n16972.85(Cr)\n11-09-2025\nW65560109\nUPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb\n100.0(Dr)\n16872.85(Cr)\n11-09-2025\nW71250250\nUPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n19872.85(Cr)\n12-09-2025\nX22796892\nUPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb\n166.0(Dr)\n19706.85(Cr)\n12-09-2025\nX35764044\nUPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic\n1775.4(Dr)\n17931.41(Cr)\n13-09-2025\nX63930682\nUPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax\n6000.0(Cr)\n23931.41(Cr)\n13-09-2025\nX66150765\nUPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n23903.41(Cr)\n13-09-2025\nX73993825\nUPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb\n500.0(Dr)\n23403.41(Cr)\n13-09-2025\nX75023907\nUPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a\n1000.0(Cr)\n24403.41(Cr)\n13-09-2025\nX77352850\nUPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@\n100.0(Dr)\n24303.41(Cr)\n14-09-2025\nY16929289\nUPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n24218.41(Cr)\n14-09-2025\nY27499442\nUPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb\n190.0(Dr)\n24028.41(Cr)\n14-09-2025\nY43174657\nUPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n23728.41(Cr)\n14-09-2025\nY43848038\nUPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb\n370.0(Dr)\n23358.41(Cr)\n14-09-2025\nY56945009\nUPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb\n75.0(Dr)\n23283.41(Cr)\n15-09-2025\nY92255675\nUPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb\n59.0(Dr)\n23224.41(Cr)\n16-09-2025\nS34563996\nUPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb\n10000.0(Cr)\n33224.41(Cr)\n17-09-2025\nT3711163\nUPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb\n4000.0(Cr)\n37224.41(Cr)\n18-09-2025\nT73151544\nUPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.\n1451.0(Dr)\n35773.41(Cr)\n18-09-2025\nT77591075\nUPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes\n1000.0(Cr)\n36773.41(Cr)\n19-09-2025\nU33408139\nUPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n41273.41(Cr)\n19-09-2025\nU59361043\nUPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb\n140.0(Dr)\n41133.41(Cr)\n19-09-2025\nU60586926\nUPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n36133.41(Cr)\n19-09-2025\nU65202335\nUPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb\n1000.0(Cr)\n37133.41(Cr)\n20-09-2025\nU85198966\nUPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax\n1000.0(Cr)\n38133.41(Cr)\n20-09-2025\nV13732128\nUPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb\n3000.0(Dr)\n35133.41(Cr)\n20-09-2025\nV13968428\nUPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb\n498.0(Dr)\n34635.41(Cr)\n", + "currency": "INR", + "opening_balance": 13532.85, + "closing_balance": 34635.41, + "transactions": [ + { + "date": "11-09-2025", + "description": "UPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb", + "amount": 166.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1775.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 370.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-09-2025", + "description": "UPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 59.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-09-2025", + "description": "UPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-09-2025", + "description": "UPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1451.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 498.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "11-09-2025", + "period_end": "20-09-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 5, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n5\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-09-2025\nW22044077\nUPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@\n3500.0(Cr)\n17032.85(Cr)\n11-09-2025\nW58759857\nUPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@\n60.0(Dr)\n16972.85(Cr)\n11-09-2025\nW65560109\nUPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb\n100.0(Dr)\n16872.85(Cr)\n11-09-2025\nW71250250\nUPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n19872.85(Cr)\n12-09-2025\nX22796892\nUPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb\n166.0(Dr)\n19706.85(Cr)\n12-09-2025\nX35764044\nUPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic\n1775.4(Dr)\n17931.41(Cr)\n13-09-2025\nX63930682\nUPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax\n6000.0(Cr)\n23931.41(Cr)\n13-09-2025\nX66150765\nUPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n23903.41(Cr)\n13-09-2025\nX73993825\nUPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb\n500.0(Dr)\n23403.41(Cr)\n13-09-2025\nX75023907\nUPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a\n1000.0(Cr)\n24403.41(Cr)\n13-09-2025\nX77352850\nUPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@\n100.0(Dr)\n24303.41(Cr)\n14-09-2025\nY16929289\nUPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n24218.41(Cr)\n14-09-2025\nY27499442\nUPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb\n190.0(Dr)\n24028.41(Cr)\n14-09-2025\nY43174657\nUPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n23728.41(Cr)\n14-09-2025\nY43848038\nUPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb\n370.0(Dr)\n23358.41(Cr)\n14-09-2025\nY56945009\nUPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb\n75.0(Dr)\n23283.41(Cr)\n15-09-2025\nY92255675\nUPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb\n59.0(Dr)\n23224.41(Cr)\n16-09-2025\nS34563996\nUPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb\n10000.0(Cr)\n33224.41(Cr)\n17-09-2025\nT3711163\nUPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb\n4000.0(Cr)\n37224.41(Cr)\n18-09-2025\nT73151544\nUPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.\n1451.0(Dr)\n35773.41(Cr)\n18-09-2025\nT77591075\nUPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes\n1000.0(Cr)\n36773.41(Cr)\n19-09-2025\nU33408139\nUPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n41273.41(Cr)\n19-09-2025\nU59361043\nUPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb\n140.0(Dr)\n41133.41(Cr)\n19-09-2025\nU60586926\nUPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n36133.41(Cr)\n19-09-2025\nU65202335\nUPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb\n1000.0(Cr)\n37133.41(Cr)\n20-09-2025\nU85198966\nUPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax\n1000.0(Cr)\n38133.41(Cr)\n20-09-2025\nV13732128\nUPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb\n3000.0(Dr)\n35133.41(Cr)\n20-09-2025\nV13968428\nUPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb\n498.0(Dr)\n34635.41(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 13532.85, + "closing_balance": 34635.41, + "transactions": [ + { + "date": "11-09-2025", + "description": "UPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb", + "amount": 166.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1775.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 370.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-09-2025", + "description": "UPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 59.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-09-2025", + "description": "UPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-09-2025", + "description": "UPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1451.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 498.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "11-09-2025", + "period_end": "20-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_06_extraction.json b/debug/20260518_152624/cp2_page_06_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..cc6ad70019e30f9a4b3220645ef888783ba67a54 --- /dev/null +++ b/debug/20260518_152624/cp2_page_06_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 6, + "elapsed_s": 30.06, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 6, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n6\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-09-2025\nV21097717\nUPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@\n155.0(Dr)\n34480.41(Cr)\n20-09-2025\nV21449229\nUPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb\n60.0(Dr)\n34420.41(Cr)\n20-09-2025\nV35757543\nUPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb\n40.0(Dr)\n34380.41(Cr)\n21-09-2025\nV57526074\nUPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb\n130.0(Dr)\n34250.41(Cr)\n21-09-2025\nV64431821\nUPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573\n280.0(Dr)\n33970.41(Cr)\n21-09-2025\nV65025264\nUPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb\n225.0(Dr)\n33745.41(Cr)\n21-09-2025\nV76647283\nUPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb\n470.0(Dr)\n33275.41(Cr)\n21-09-2025\nV86378796\nUPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind\n200.0(Dr)\n33075.41(Cr)\n21-09-2025\nV87977883\nUPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n480.0(Dr)\n32595.41(Cr)\n22-09-2025\nW29330056\nUPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@\n150.0(Dr)\n32445.41(Cr)\n22-09-2025\nW36548815\nUPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067\n600.0(Dr)\n31845.41(Cr)\n22-09-2025\nW37455154\nUPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067\n65.0(Dr)\n31780.41(Cr)\n22-09-2025\nW57669466\nUPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n62.9(Dr)\n31717.51(Cr)\n23-09-2025\nW83133175\nUPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@\n150.0(Dr)\n31567.51(Cr)\n23-09-2025\nW84909377\nUPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb\n100.0(Dr)\n31467.51(Cr)\n24-09-2025\nX39522375\nUPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-\n500.0(Cr)\n31967.51(Cr)\n24-09-2025\nX47374563\nUPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb\n1000.0(Cr)\n32967.51(Cr)\n24-09-2025\nX53366795\nUPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n32817.51(Cr)\n24-09-2025\nX68084026\nUPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb\n10000.0(Cr)\n42817.51(Cr)\n24-09-2025\nX73520072\nUPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n42732.51(Cr)\n25-09-2025\nX97603811\nUPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n32732.51(Cr)\n25-09-2025\nY17713063\nUPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban\n666.0(Dr)\n32066.51(Cr)\n25-09-2025\nY29346910\nUPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb\n3000.0(Cr)\n35066.51(Cr)\n25-09-2025\nY30414579\nUPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@\n2000.0(Cr)\n37066.51(Cr)\n26-09-2025\nY66178092\nUPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib\n5000.0(Cr)\n42066.51(Cr)\n26-09-2025\nS9381460\nUPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n41966.51(Cr)\n27-09-2025\nS19747172\nUPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n41106.51(Cr)\n27-09-2025\nS22957357\nUPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax\n1000.0(Cr)\n42106.51(Cr)\n", + "opening_balance": 34635.41, + "closing_balance": 42106.51, + "transactions": [ + { + "date": "20-09-2025", + "description": "UPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@", + "amount": 155.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 280.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 225.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb", + "amount": 470.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 480.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 65.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 62.9, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-09-2025", + "description": "UPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-09-2025", + "description": "UPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban", + "amount": 666.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-09-2025", + "description": "UPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-09-2025", + "description": "UPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "20-09-2025", + "period_end": "27-09-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 6, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n6\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-09-2025\nV21097717\nUPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@\n155.0(Dr)\n34480.41(Cr)\n20-09-2025\nV21449229\nUPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb\n60.0(Dr)\n34420.41(Cr)\n20-09-2025\nV35757543\nUPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb\n40.0(Dr)\n34380.41(Cr)\n21-09-2025\nV57526074\nUPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb\n130.0(Dr)\n34250.41(Cr)\n21-09-2025\nV64431821\nUPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573\n280.0(Dr)\n33970.41(Cr)\n21-09-2025\nV65025264\nUPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb\n225.0(Dr)\n33745.41(Cr)\n21-09-2025\nV76647283\nUPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb\n470.0(Dr)\n33275.41(Cr)\n21-09-2025\nV86378796\nUPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind\n200.0(Dr)\n33075.41(Cr)\n21-09-2025\nV87977883\nUPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n480.0(Dr)\n32595.41(Cr)\n22-09-2025\nW29330056\nUPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@\n150.0(Dr)\n32445.41(Cr)\n22-09-2025\nW36548815\nUPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067\n600.0(Dr)\n31845.41(Cr)\n22-09-2025\nW37455154\nUPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067\n65.0(Dr)\n31780.41(Cr)\n22-09-2025\nW57669466\nUPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n62.9(Dr)\n31717.51(Cr)\n23-09-2025\nW83133175\nUPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@\n150.0(Dr)\n31567.51(Cr)\n23-09-2025\nW84909377\nUPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb\n100.0(Dr)\n31467.51(Cr)\n24-09-2025\nX39522375\nUPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-\n500.0(Cr)\n31967.51(Cr)\n24-09-2025\nX47374563\nUPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb\n1000.0(Cr)\n32967.51(Cr)\n24-09-2025\nX53366795\nUPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n32817.51(Cr)\n24-09-2025\nX68084026\nUPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb\n10000.0(Cr)\n42817.51(Cr)\n24-09-2025\nX73520072\nUPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n42732.51(Cr)\n25-09-2025\nX97603811\nUPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n32732.51(Cr)\n25-09-2025\nY17713063\nUPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban\n666.0(Dr)\n32066.51(Cr)\n25-09-2025\nY29346910\nUPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb\n3000.0(Cr)\n35066.51(Cr)\n25-09-2025\nY30414579\nUPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@\n2000.0(Cr)\n37066.51(Cr)\n26-09-2025\nY66178092\nUPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib\n5000.0(Cr)\n42066.51(Cr)\n26-09-2025\nS9381460\nUPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n41966.51(Cr)\n27-09-2025\nS19747172\nUPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n41106.51(Cr)\n27-09-2025\nS22957357\nUPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax\n1000.0(Cr)\n42106.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 34635.41, + "closing_balance": 42106.51, + "transactions": [ + { + "date": "20-09-2025", + "description": "UPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@", + "amount": 155.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-09-2025", + "description": "UPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 280.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 225.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb", + "amount": 470.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-09-2025", + "description": "UPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 480.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 65.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-09-2025", + "description": "UPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 62.9, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-09-2025", + "description": "UPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-09-2025", + "description": "UPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban", + "amount": 666.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-09-2025", + "description": "UPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-09-2025", + "description": "UPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-09-2025", + "period_end": "27-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_07_extraction.json b/debug/20260518_152624/cp2_page_07_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..ff773c3b7ba035bcfad0de68dc7ab335690d79a6 --- /dev/null +++ b/debug/20260518_152624/cp2_page_07_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 7, + "elapsed_s": 24.89, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 7, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n7\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-09-2025\nT1172867\nUPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2\n700.0(Cr)\n42806.51(Cr)\n28-09-2025\nT2751198\nUPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n42721.51(Cr)\n28-09-2025\nT11770793\nUPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@\n20.0(Dr)\n42701.51(Cr)\n28-09-2025\nT27560908\nUPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb\n140.0(Dr)\n42561.51(Cr)\n28-09-2025\nT37613951\nUPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb\n14810.0(Dr)\n27751.51(Cr)\n28-09-2025\nT40944346\nSms Charges For Sept Qtr ,2025\n27.1(Dr)\n27724.37(Cr)\n28-09-2025\nT51714744\nUPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@\n3000.0(Cr)\n30724.37(Cr)\n28-09-2025\nT62974987\nUPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188\n394.0(Dr)\n30330.37(Cr)\n29-09-2025\nT91837768\nUPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb\n1.0(Cr)\n30331.37(Cr)\n29-09-2025\nT91842359\nUPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb\n3000.0(Cr)\n33331.37(Cr)\n29-09-2025\nU17373902\nUPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@\n1380.0(Dr)\n31951.37(Cr)\n29-09-2025\nU26122788\nUPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb\n1664.0(Dr)\n30287.37(Cr)\n30-09-2025\nU41999628\nUPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n33287.37(Cr)\n30-09-2025\nU43560020\nUPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n23287.37(Cr)\n30-09-2025\nU47913427\nUPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva\n3000.0(Cr)\n26287.37(Cr)\n30-09-2025\nU55184931\nUPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n26215.37(Cr)\n30-09-2025\nU56588030\nUPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab\n3000.0(Cr)\n29215.37(Cr)\n30-09-2025\nU59011935\nUPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n200.0(Dr)\n29015.37(Cr)\n30-09-2025\nU60747775\nUPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y\n3300.0(Cr)\n32315.37(Cr)\n01-10-2025\nV17161536\nUPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a\n1000.0(Cr)\n33315.37(Cr)\n01-10-2025\nV23077680\nUPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb\n3000.0(Cr)\n36315.37(Cr)\n01-10-2025\nV23523328\nUPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax\n2000.0(Cr)\n38315.37(Cr)\n01-10-2025\nV26570189\nUPIAR/508471673897/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n33315.37(Cr)\n01-10-2025\nV27706624\nUPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n30315.37(Cr)\n01-10-2025\nV48295319\nUPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb\n250.0(Dr)\n30065.37(Cr)\n02-10-2025\nV79423195\nUPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb\n280.0(Dr)\n29785.37(Cr)\n02-10-2025\nV82381263\nUPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n29545.37(Cr)\n02-10-2025\nV94450985\n253110100033102:Int.Pd:01-07-2025 to 30-09-2025\n139.0(Cr)\n29684.37(Cr)\n", + "currency": "INR", + "opening_balance": 42106.51, + "closing_balance": 29684.37, + "transactions": [ + { + "date": "28-09-2025", + "description": "UPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2", + "amount": 700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 14810.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "Sms Charges For Sept Qtr ,2025", + "amount": 27.1, + "transaction_type": "debit", + "label": "charges" + }, + { + "date": "28-09-2025", + "description": "UPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188", + "amount": 394.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 1.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 1380.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1664.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3300.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/508471673897/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "253110100033102:Int.Pd:01-07-2025 to 30-09-2025", + "amount": 139.0, + "transaction_type": "credit", + "label": "interest" + } + ], + "period_start": "28-09-2025", + "period_end": "02-10-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 7, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n7\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-09-2025\nT1172867\nUPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2\n700.0(Cr)\n42806.51(Cr)\n28-09-2025\nT2751198\nUPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n42721.51(Cr)\n28-09-2025\nT11770793\nUPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@\n20.0(Dr)\n42701.51(Cr)\n28-09-2025\nT27560908\nUPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb\n140.0(Dr)\n42561.51(Cr)\n28-09-2025\nT37613951\nUPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb\n14810.0(Dr)\n27751.51(Cr)\n28-09-2025\nT40944346\nSms Charges For Sept Qtr ,2025\n27.1(Dr)\n27724.37(Cr)\n28-09-2025\nT51714744\nUPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@\n3000.0(Cr)\n30724.37(Cr)\n28-09-2025\nT62974987\nUPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188\n394.0(Dr)\n30330.37(Cr)\n29-09-2025\nT91837768\nUPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb\n1.0(Cr)\n30331.37(Cr)\n29-09-2025\nT91842359\nUPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb\n3000.0(Cr)\n33331.37(Cr)\n29-09-2025\nU17373902\nUPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@\n1380.0(Dr)\n31951.37(Cr)\n29-09-2025\nU26122788\nUPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb\n1664.0(Dr)\n30287.37(Cr)\n30-09-2025\nU41999628\nUPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n33287.37(Cr)\n30-09-2025\nU43560020\nUPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n23287.37(Cr)\n30-09-2025\nU47913427\nUPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva\n3000.0(Cr)\n26287.37(Cr)\n30-09-2025\nU55184931\nUPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n26215.37(Cr)\n30-09-2025\nU56588030\nUPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab\n3000.0(Cr)\n29215.37(Cr)\n30-09-2025\nU59011935\nUPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n200.0(Dr)\n29015.37(Cr)\n30-09-2025\nU60747775\nUPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y\n3300.0(Cr)\n32315.37(Cr)\n01-10-2025\nV17161536\nUPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a\n1000.0(Cr)\n33315.37(Cr)\n01-10-2025\nV23077680\nUPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb\n3000.0(Cr)\n36315.37(Cr)\n01-10-2025\nV23523328\nUPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax\n2000.0(Cr)\n38315.37(Cr)\n01-10-2025\nV26570189\nUPIAR/508471673897/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n33315.37(Cr)\n01-10-2025\nV27706624\nUPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n30315.37(Cr)\n01-10-2025\nV48295319\nUPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb\n250.0(Dr)\n30065.37(Cr)\n02-10-2025\nV79423195\nUPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb\n280.0(Dr)\n29785.37(Cr)\n02-10-2025\nV82381263\nUPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n29545.37(Cr)\n02-10-2025\nV94450985\n253110100033102:Int.Pd:01-07-2025 to 30-09-2025\n139.0(Cr)\n29684.37(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 42106.51, + "closing_balance": 29684.37, + "transactions": [ + { + "date": "28-09-2025", + "description": "UPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2", + "amount": 700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 14810.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "Sms Charges For Sept Qtr ,2025", + "amount": 27.1, + "transaction_type": "debit", + "label": "charges" + }, + { + "date": "28-09-2025", + "description": "UPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188", + "amount": 394.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 1.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 1380.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1664.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3300.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/508471673897/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "253110100033102:Int.Pd:01-07-2025 to 30-09-2025", + "amount": 139.0, + "transaction_type": "credit", + "label": "interest" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "28-09-2025", + "period_end": "02-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_08_extraction.json b/debug/20260518_152624/cp2_page_08_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..9d06e1ac377c23e6e09661c0a21bd3ea79118233 --- /dev/null +++ b/debug/20260518_152624/cp2_page_08_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 8, + "elapsed_s": 17.79, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 8, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n8\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n03-10-2025\nW67535230\nUPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax\n400.0(Cr)\n30084.37(Cr)\n03-10-2025\nW74021681\nUPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb\n36.0(Dr)\n30048.37(Cr)\n03-10-2025\nW74284043\nUPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb\n27.0(Dr)\n30021.37(Cr)\n04-10-2025\nX3413451\nUPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n29921.37(Cr)\n04-10-2025\nX42104803\nUPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb\n578.0(Dr)\n29343.37(Cr)\n04-10-2025\nX43279910\nUPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb\n260.0(Dr)\n29083.37(Cr)\n05-10-2025\nX70584637\nUPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578\n354.0(Dr)\n28729.37(Cr)\n05-10-2025\nY4917836\nUPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n28619.37(Cr)\n06-10-2025\nY21235466\nUPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n952.7(Dr)\n27666.67(Cr)\n06-10-2025\nY25303806\nUPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr\n808.0(Dr)\n26858.67(Cr)\n06-10-2025\nY48548843\nUPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax\n4800.0(Cr)\n31658.67(Cr)\n06-10-2025\nY55969117\nUPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb\n3000.0(Cr)\n34658.67(Cr)\n07-10-2025\nS5100243\nUPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax\n5000.0(Cr)\n39658.67(Cr)\n07-10-2025\nS29752867\nUPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n42658.67(Cr)\n08-10-2025\nS50152341\nUPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123\n50000.0(Cr)\n92658.67(Cr)\n08-10-2025\nS55476164\nUPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y\n39115.0(Cr)\n131773.67(Cr)\n08-10-2025\nS62438972\nUPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323\n150.0(Dr)\n131623.67(Cr)\n08-10-2025\nS74425752\nUPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a\n1500.0(Cr)\n133123.67(Cr)\n08-10-2025\nT10673685\nUPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb\n3000.0(Cr)\n136123.67(Cr)\n09-10-2025\nT16350985\nUPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax\n3000.0(Cr)\n139123.67(Cr)\n09-10-2025\nT16618597\nUPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb\n500.0(Cr)\n139623.67(Cr)\n09-10-2025\nT16624374\nUPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n138623.67(Cr)\n09-10-2025\nT18686532\nUPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n137623.67(Cr)\n09-10-2025\nT30772120\nUPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar\n1500.0(Cr)\n139123.67(Cr)\n09-10-2025\nT78403614\nUPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@\n40.0(Dr)\n139083.67(Cr)\n10-10-2025\nT84544735\nUPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1074.5(Dr)\n138009.17(Cr)\n10-10-2025\nU28396427\nUPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb\n180.0(Dr)\n137829.17(Cr)\n10-10-2025\nU29722233\nUPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb\n310.0(Dr)\n137519.17(Cr)\n", + "currency": "INR", + "opening_balance": 30084.37, + "closing_balance": 137519.17, + "transactions": [ + { + "date": "03-10-2025", + "description": "UPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 400.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "UPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 36.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "UPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb", + "amount": 27.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "UPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "UPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb", + "amount": 578.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "UPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "UPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578", + "amount": 354.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "UPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 952.7, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr", + "amount": 808.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 4800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "UPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "UPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123", + "amount": 50000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y", + "amount": 39115.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1074.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "03-10-2025", + "period_end": "10-10-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 8, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n8\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n03-10-2025\nW67535230\nUPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax\n400.0(Cr)\n30084.37(Cr)\n03-10-2025\nW74021681\nUPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb\n36.0(Dr)\n30048.37(Cr)\n03-10-2025\nW74284043\nUPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb\n27.0(Dr)\n30021.37(Cr)\n04-10-2025\nX3413451\nUPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n29921.37(Cr)\n04-10-2025\nX42104803\nUPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb\n578.0(Dr)\n29343.37(Cr)\n04-10-2025\nX43279910\nUPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb\n260.0(Dr)\n29083.37(Cr)\n05-10-2025\nX70584637\nUPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578\n354.0(Dr)\n28729.37(Cr)\n05-10-2025\nY4917836\nUPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n28619.37(Cr)\n06-10-2025\nY21235466\nUPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n952.7(Dr)\n27666.67(Cr)\n06-10-2025\nY25303806\nUPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr\n808.0(Dr)\n26858.67(Cr)\n06-10-2025\nY48548843\nUPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax\n4800.0(Cr)\n31658.67(Cr)\n06-10-2025\nY55969117\nUPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb\n3000.0(Cr)\n34658.67(Cr)\n07-10-2025\nS5100243\nUPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax\n5000.0(Cr)\n39658.67(Cr)\n07-10-2025\nS29752867\nUPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n42658.67(Cr)\n08-10-2025\nS50152341\nUPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123\n50000.0(Cr)\n92658.67(Cr)\n08-10-2025\nS55476164\nUPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y\n39115.0(Cr)\n131773.67(Cr)\n08-10-2025\nS62438972\nUPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323\n150.0(Dr)\n131623.67(Cr)\n08-10-2025\nS74425752\nUPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a\n1500.0(Cr)\n133123.67(Cr)\n08-10-2025\nT10673685\nUPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb\n3000.0(Cr)\n136123.67(Cr)\n09-10-2025\nT16350985\nUPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax\n3000.0(Cr)\n139123.67(Cr)\n09-10-2025\nT16618597\nUPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb\n500.0(Cr)\n139623.67(Cr)\n09-10-2025\nT16624374\nUPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n138623.67(Cr)\n09-10-2025\nT18686532\nUPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n137623.67(Cr)\n09-10-2025\nT30772120\nUPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar\n1500.0(Cr)\n139123.67(Cr)\n09-10-2025\nT78403614\nUPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@\n40.0(Dr)\n139083.67(Cr)\n10-10-2025\nT84544735\nUPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1074.5(Dr)\n138009.17(Cr)\n10-10-2025\nU28396427\nUPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb\n180.0(Dr)\n137829.17(Cr)\n10-10-2025\nU29722233\nUPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb\n310.0(Dr)\n137519.17(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 30084.37, + "closing_balance": 137519.17, + "transactions": [ + { + "date": "03-10-2025", + "description": "UPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 400.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "UPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 36.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "UPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb", + "amount": 27.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "UPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "UPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb", + "amount": 578.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "UPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "UPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578", + "amount": 354.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "UPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 952.7, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr", + "amount": 808.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 4800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "UPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "UPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "UPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123", + "amount": 50000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y", + "amount": 39115.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "UPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "UPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1074.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "03-10-2025", + "period_end": "10-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_09_extraction.json b/debug/20260518_152624/cp2_page_09_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..ac4188fab8beef107315c25ca94257c2860df28d --- /dev/null +++ b/debug/20260518_152624/cp2_page_09_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 9, + "elapsed_s": 35.03, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 9, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n9\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n10-10-2025\nU30564029\nUPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb\n70.0(Dr)\n137449.17(Cr)\n10-10-2025\nU54114554\nUPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n971.8(Dr)\n136477.37(Cr)\n11-10-2025\nU76298093\nUPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a\n2000.0(Cr)\n138477.37(Cr)\n11-10-2025\nU76995606\nUPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@\n40.0(Dr)\n138437.37(Cr)\n11-10-2025\nU89465712\nUPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax\n3900.0(Cr)\n142337.37(Cr)\n11-10-2025\nU94187160\nUPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@\n1500.0(Dr)\n140837.37(Cr)\n11-10-2025\nV1580300\nUPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n140777.37(Cr)\n12-10-2025\nV26224468\nUPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1\n120.0(Cr)\n140897.37(Cr)\n12-10-2025\nV27047995\nUPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n140807.37(Cr)\n12-10-2025\nV27241516\nUPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb\n50.0(Dr)\n140757.37(Cr)\n12-10-2025\nV41655548\nUPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n140729.37(Cr)\n12-10-2025\nV43895333\nUPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n139929.37(Cr)\n12-10-2025\nV43970307\nUPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB\n97000.0(Dr)\n42929.37(Cr)\n12-10-2025\nV63480410\nUPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic\n1361.7(Dr)\n41567.63(Cr)\n13-10-2025\nW24014886\nUPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT\n420.0(Dr)\n41147.63(Cr)\n14-10-2025\nW90887471\nUPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n41047.63(Cr)\n15-10-2025\nX23360531\nUPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n40947.63(Cr)\n15-10-2025\nX25133831\nUPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax\n3000.0(Cr)\n43947.63(Cr)\n15-10-2025\nX78304216\nUPIAR/667912900466/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n33947.63(Cr)\n15-10-2025\nX78309347\nUPIAR/402410842388/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n28947.63(Cr)\n16-10-2025\nY7593452\nUPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n31947.63(Cr)\n17-10-2025\nA912925\nService Chrg For Change of Related Party Det\n118.0(Dr)\n31829.63(Cr)\n17-10-2025\nS8667460\nUPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n31789.63(Cr)\n18-10-2025\nS84246775\nUPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@\n640.0(Dr)\n31149.63(Cr)\n19-10-2025\nT1097175\nUPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb\n10000.0(Cr)\n41149.63(Cr)\n19-10-2025\nT45753718\nUPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar\n1599.4(Dr)\n39550.26(Cr)\n19-10-2025\nT52951021\nUPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n44050.26(Cr)\n20-10-2025\nU17059679\nUPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n182.7(Dr)\n43867.56(Cr)\n", + "currency": "INR", + "opening_balance": 137519.17, + "closing_balance": 43867.56, + "transactions": [ + { + "date": "10-10-2025", + "description": "UPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 971.8, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax", + "amount": 3900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@", + "amount": 1500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1", + "amount": 120.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB", + "amount": 97000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1361.7, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-10-2025", + "description": "UPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 420.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-10-2025", + "description": "UPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAR/667912900466/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAR/402410842388/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-10-2025", + "description": "UPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-10-2025", + "description": "Service Chrg For Change of Related Party Det", + "amount": 118.0, + "transaction_type": "debit", + "label": "fee" + }, + { + "date": "17-10-2025", + "description": "UPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-10-2025", + "description": "UPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@", + "amount": 640.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-10-2025", + "description": "UPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-10-2025", + "description": "UPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1599.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-10-2025", + "description": "UPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-10-2025", + "description": "UPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 182.7, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "10-10-2025", + "period_end": "20-10-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 9, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n9\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n10-10-2025\nU30564029\nUPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb\n70.0(Dr)\n137449.17(Cr)\n10-10-2025\nU54114554\nUPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n971.8(Dr)\n136477.37(Cr)\n11-10-2025\nU76298093\nUPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a\n2000.0(Cr)\n138477.37(Cr)\n11-10-2025\nU76995606\nUPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@\n40.0(Dr)\n138437.37(Cr)\n11-10-2025\nU89465712\nUPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax\n3900.0(Cr)\n142337.37(Cr)\n11-10-2025\nU94187160\nUPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@\n1500.0(Dr)\n140837.37(Cr)\n11-10-2025\nV1580300\nUPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n140777.37(Cr)\n12-10-2025\nV26224468\nUPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1\n120.0(Cr)\n140897.37(Cr)\n12-10-2025\nV27047995\nUPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n140807.37(Cr)\n12-10-2025\nV27241516\nUPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb\n50.0(Dr)\n140757.37(Cr)\n12-10-2025\nV41655548\nUPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n140729.37(Cr)\n12-10-2025\nV43895333\nUPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n139929.37(Cr)\n12-10-2025\nV43970307\nUPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB\n97000.0(Dr)\n42929.37(Cr)\n12-10-2025\nV63480410\nUPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic\n1361.7(Dr)\n41567.63(Cr)\n13-10-2025\nW24014886\nUPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT\n420.0(Dr)\n41147.63(Cr)\n14-10-2025\nW90887471\nUPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n41047.63(Cr)\n15-10-2025\nX23360531\nUPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n40947.63(Cr)\n15-10-2025\nX25133831\nUPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax\n3000.0(Cr)\n43947.63(Cr)\n15-10-2025\nX78304216\nUPIAR/667912900466/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n33947.63(Cr)\n15-10-2025\nX78309347\nUPIAR/402410842388/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n28947.63(Cr)\n16-10-2025\nY7593452\nUPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n31947.63(Cr)\n17-10-2025\nA912925\nService Chrg For Change of Related Party Det\n118.0(Dr)\n31829.63(Cr)\n17-10-2025\nS8667460\nUPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n31789.63(Cr)\n18-10-2025\nS84246775\nUPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@\n640.0(Dr)\n31149.63(Cr)\n19-10-2025\nT1097175\nUPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb\n10000.0(Cr)\n41149.63(Cr)\n19-10-2025\nT45753718\nUPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar\n1599.4(Dr)\n39550.26(Cr)\n19-10-2025\nT52951021\nUPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n44050.26(Cr)\n20-10-2025\nU17059679\nUPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n182.7(Dr)\n43867.56(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 137519.17, + "closing_balance": 43867.56, + "transactions": [ + { + "date": "10-10-2025", + "description": "UPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "UPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 971.8, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax", + "amount": 3900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@", + "amount": 1500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-10-2025", + "description": "UPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1", + "amount": 120.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB", + "amount": 97000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-10-2025", + "description": "UPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1361.7, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-10-2025", + "description": "UPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 420.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-10-2025", + "description": "UPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAR/667912900466/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-10-2025", + "description": "UPIAR/402410842388/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-10-2025", + "description": "UPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-10-2025", + "description": "Service Chrg For Change of Related Party Det", + "amount": 118.0, + "transaction_type": "debit", + "label": "fee" + }, + { + "date": "17-10-2025", + "description": "UPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-10-2025", + "description": "UPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@", + "amount": 640.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-10-2025", + "description": "UPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-10-2025", + "description": "UPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1599.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-10-2025", + "description": "UPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-10-2025", + "description": "UPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 182.7, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "10-10-2025", + "period_end": "20-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_10_extraction.json b/debug/20260518_152624/cp2_page_10_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..0b34b722cfeb7994a9bcc3c72e060a43e7debe97 --- /dev/null +++ b/debug/20260518_152624/cp2_page_10_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 10, + "elapsed_s": 27.16, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 10, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n10\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-10-2025\nU17586285\nUPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n654.5(Dr)\n43213.06(Cr)\n21-10-2025\nU32361196\nUPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n43113.06(Cr)\n21-10-2025\nU52522440\nUPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n43085.06(Cr)\n21-10-2025\nU53742042\nUPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax\n1.0(Cr)\n43086.06(Cr)\n21-10-2025\nU53769448\nUPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax\n4000.0(Cr)\n47086.06(Cr)\n21-10-2025\nU67947926\nUPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n46986.06(Cr)\n21-10-2025\nU74178984\nUPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@\n3000.0(Cr)\n49986.06(Cr)\n21-10-2025\nU74190298\nUPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n73.7(Dr)\n49912.36(Cr)\n22-10-2025\nV22901289\nUPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb\n125.0(Dr)\n49787.36(Cr)\n22-10-2025\nV23221089\nUPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573\n284.0(Dr)\n49503.36(Cr)\n23-10-2025\nV60426858\nUPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb\n74.0(Dr)\n49429.36(Cr)\n23-10-2025\nV61366153\nUPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8\n35.0(Dr)\n49394.36(Cr)\n23-10-2025\nV63857349\nUPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n44394.36(Cr)\n23-10-2025\nV69146534\nUPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703\n100.0(Dr)\n44294.36(Cr)\n23-10-2025\nV73386991\nUPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE\n30.0(Dr)\n44264.36(Cr)\n23-10-2025\nV78296699\nUPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n44154.36(Cr)\n24-10-2025\nW8750767\nUPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n47154.36(Cr)\n24-10-2025\nW24144625\nUPIAR/932996283212/DR/93922867/IDIB/9392286717@pty\n1.0(Dr)\n47153.36(Cr)\n24-10-2025\nW35582878\nUPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta\n1.0(Cr)\n47154.36(Cr)\n24-10-2025\nW36519531\nUPIAR/658196029923/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n37154.36(Cr)\n24-10-2025\nW36783879\nUPIAR/890081413960/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n27154.36(Cr)\n26-10-2025\nX20195301\nUPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n30154.36(Cr)\n26-10-2025\nX26164123\nUPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n30069.36(Cr)\n27-10-2025\nX89557838\nUPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@\n2000.0(Cr)\n32069.36(Cr)\n27-10-2025\nX93940092\nUPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax\n1000.0(Cr)\n33069.36(Cr)\n28-10-2025\nY40914814\nUPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax\n100000.0(Cr)\n133069.36(Cr)\n28-10-2025\nY49919100\nUPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n136069.36(Cr)\n28-10-2025\nY64510261\nUPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n135999.36(Cr)\n", + "closing_balance": 135999.36, + "transactions": [ + { + "date": "20-10-2025", + "description": "UPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 654.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 73.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 125.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 284.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 74.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/932996283212/DR/93922867/IDIB/9392286717@pty", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/658196029923/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/890081413960/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 100000.0, + "transaction_type": "credit", + "label": "large_unlabeled_deposit" + }, + { + "date": "28-10-2025", + "description": "UPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "20-10-2025", + "period_end": "28-10-2025", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 10, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n10\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-10-2025\nU17586285\nUPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n654.5(Dr)\n43213.06(Cr)\n21-10-2025\nU32361196\nUPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n43113.06(Cr)\n21-10-2025\nU52522440\nUPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n43085.06(Cr)\n21-10-2025\nU53742042\nUPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax\n1.0(Cr)\n43086.06(Cr)\n21-10-2025\nU53769448\nUPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax\n4000.0(Cr)\n47086.06(Cr)\n21-10-2025\nU67947926\nUPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n46986.06(Cr)\n21-10-2025\nU74178984\nUPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@\n3000.0(Cr)\n49986.06(Cr)\n21-10-2025\nU74190298\nUPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n73.7(Dr)\n49912.36(Cr)\n22-10-2025\nV22901289\nUPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb\n125.0(Dr)\n49787.36(Cr)\n22-10-2025\nV23221089\nUPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573\n284.0(Dr)\n49503.36(Cr)\n23-10-2025\nV60426858\nUPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb\n74.0(Dr)\n49429.36(Cr)\n23-10-2025\nV61366153\nUPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8\n35.0(Dr)\n49394.36(Cr)\n23-10-2025\nV63857349\nUPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n44394.36(Cr)\n23-10-2025\nV69146534\nUPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703\n100.0(Dr)\n44294.36(Cr)\n23-10-2025\nV73386991\nUPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE\n30.0(Dr)\n44264.36(Cr)\n23-10-2025\nV78296699\nUPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n44154.36(Cr)\n24-10-2025\nW8750767\nUPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n47154.36(Cr)\n24-10-2025\nW24144625\nUPIAR/932996283212/DR/93922867/IDIB/9392286717@pty\n1.0(Dr)\n47153.36(Cr)\n24-10-2025\nW35582878\nUPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta\n1.0(Cr)\n47154.36(Cr)\n24-10-2025\nW36519531\nUPIAR/658196029923/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n37154.36(Cr)\n24-10-2025\nW36783879\nUPIAR/890081413960/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n27154.36(Cr)\n26-10-2025\nX20195301\nUPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n30154.36(Cr)\n26-10-2025\nX26164123\nUPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n30069.36(Cr)\n27-10-2025\nX89557838\nUPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@\n2000.0(Cr)\n32069.36(Cr)\n27-10-2025\nX93940092\nUPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax\n1000.0(Cr)\n33069.36(Cr)\n28-10-2025\nY40914814\nUPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax\n100000.0(Cr)\n133069.36(Cr)\n28-10-2025\nY49919100\nUPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n136069.36(Cr)\n28-10-2025\nY64510261\nUPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n135999.36(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": null, + "closing_balance": 135999.36, + "transactions": [ + { + "date": "20-10-2025", + "description": "UPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 654.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 73.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 125.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 284.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 74.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/932996283212/DR/93922867/IDIB/9392286717@pty", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/658196029923/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/890081413960/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 100000.0, + "transaction_type": "credit", + "label": "large_unlabeled_deposit" + }, + { + "date": "28-10-2025", + "description": "UPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-10-2025", + "period_end": "28-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_11_extraction.json b/debug/20260518_152624/cp2_page_11_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..b95b19b2abfad1db05db92dda98cb45444739fe1 --- /dev/null +++ b/debug/20260518_152624/cp2_page_11_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 11, + "elapsed_s": 32.87, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 11, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n11\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-10-2025\nY67709028\nUPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n138999.36(Cr)\n29-10-2025\nY99278624\nUPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n188999.36(Cr)\n29-10-2025\nS4514184\nUPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a\n10000.0(Cr)\n198999.36(Cr)\n29-10-2025\nS11207438\nUPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb\n430.0(Dr)\n198569.36(Cr)\n29-10-2025\nS11440705\nUPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n198541.36(Cr)\n29-10-2025\nS38192466\nUPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax\n1000.0(Cr)\n199541.36(Cr)\n30-10-2025\nS72065144\nUPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n199513.36(Cr)\n30-10-2025\nS79843738\nUPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax\n3500.0(Cr)\n203013.36(Cr)\n30-10-2025\nS81176070\nUPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n209013.36(Cr)\n30-10-2025\nS87892036\nUPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n206013.36(Cr)\n30-10-2025\nS91687365\nUPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n256013.36(Cr)\n31-10-2025\nT15729603\nUPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb\n75.0(Dr)\n255938.36(Cr)\n31-10-2025\nT17140035\nUPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax\n13000.0(Cr)\n268938.36(Cr)\n31-10-2025\nT29344034\nUPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB\n95000.0(Dr)\n173938.36(Cr)\n31-10-2025\nT30093192\nUPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb\n1000.0(Cr)\n174938.36(Cr)\n31-10-2025\nT37880588\nIMPSAR/530416540412/K Satyanarayana/10576616939\n50000.0(Dr)\n124938.36(Cr)\n31-10-2025\nT37989116\nIMPSAR/530416540818/K Satyanarayana/10576616939\n70000.0(Dr)\n54938.36(Cr)\n31-10-2025\nT50974567\nIMPSAR/530418579963/K Satyanarayana/62214014329\n50000.0(Dr)\n4938.36(Cr)\n01-11-2025\nU26437897\nUPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb\n6500.0(Cr)\n11438.36(Cr)\n01-11-2025\nU29852713\nUPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib\n1000.0(Cr)\n12438.36(Cr)\n03-11-2025\nV18691470\nUPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n16438.36(Cr)\n04-11-2025\nV98321695\nUPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb\n1000.0(Cr)\n17438.36(Cr)\n04-11-2025\nW30064474\nUPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb\n20.0(Dr)\n17418.36(Cr)\n06-11-2025\nX5279994\nUPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n16618.36(Cr)\n06-11-2025\nX5343635\nUPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n13618.36(Cr)\n06-11-2025\nX53304768\nUPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n16618.36(Cr)\n06-11-2025\nX54539989\nUPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n22118.36(Cr)\n07-11-2025\nX77233231\nUPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb\n3000.0(Cr)\n25118.36(Cr)\n", + "currency": "INR", + "opening_balance": 135999.36, + "closing_balance": 25118.36, + "transactions": [ + { + "date": "28-10-2025", + "description": "UPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 430.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 13000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 95000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540412/K Satyanarayana/10576616939", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540818/K Satyanarayana/10576616939", + "amount": 70000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530418579963/K Satyanarayana/62214014329", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-11-2025", + "description": "UPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-11-2025", + "description": "UPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-11-2025", + "description": "UPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-11-2025", + "description": "UPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "28-10-2025", + "period_end": "07-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 11, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n11\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-10-2025\nY67709028\nUPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n138999.36(Cr)\n29-10-2025\nY99278624\nUPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n188999.36(Cr)\n29-10-2025\nS4514184\nUPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a\n10000.0(Cr)\n198999.36(Cr)\n29-10-2025\nS11207438\nUPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb\n430.0(Dr)\n198569.36(Cr)\n29-10-2025\nS11440705\nUPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n198541.36(Cr)\n29-10-2025\nS38192466\nUPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax\n1000.0(Cr)\n199541.36(Cr)\n30-10-2025\nS72065144\nUPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n199513.36(Cr)\n30-10-2025\nS79843738\nUPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax\n3500.0(Cr)\n203013.36(Cr)\n30-10-2025\nS81176070\nUPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n209013.36(Cr)\n30-10-2025\nS87892036\nUPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n206013.36(Cr)\n30-10-2025\nS91687365\nUPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n256013.36(Cr)\n31-10-2025\nT15729603\nUPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb\n75.0(Dr)\n255938.36(Cr)\n31-10-2025\nT17140035\nUPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax\n13000.0(Cr)\n268938.36(Cr)\n31-10-2025\nT29344034\nUPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB\n95000.0(Dr)\n173938.36(Cr)\n31-10-2025\nT30093192\nUPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb\n1000.0(Cr)\n174938.36(Cr)\n31-10-2025\nT37880588\nIMPSAR/530416540412/K Satyanarayana/10576616939\n50000.0(Dr)\n124938.36(Cr)\n31-10-2025\nT37989116\nIMPSAR/530416540818/K Satyanarayana/10576616939\n70000.0(Dr)\n54938.36(Cr)\n31-10-2025\nT50974567\nIMPSAR/530418579963/K Satyanarayana/62214014329\n50000.0(Dr)\n4938.36(Cr)\n01-11-2025\nU26437897\nUPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb\n6500.0(Cr)\n11438.36(Cr)\n01-11-2025\nU29852713\nUPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib\n1000.0(Cr)\n12438.36(Cr)\n03-11-2025\nV18691470\nUPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n16438.36(Cr)\n04-11-2025\nV98321695\nUPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb\n1000.0(Cr)\n17438.36(Cr)\n04-11-2025\nW30064474\nUPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb\n20.0(Dr)\n17418.36(Cr)\n06-11-2025\nX5279994\nUPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n16618.36(Cr)\n06-11-2025\nX5343635\nUPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n13618.36(Cr)\n06-11-2025\nX53304768\nUPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n16618.36(Cr)\n06-11-2025\nX54539989\nUPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n22118.36(Cr)\n07-11-2025\nX77233231\nUPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb\n3000.0(Cr)\n25118.36(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 135999.36, + "closing_balance": 25118.36, + "transactions": [ + { + "date": "28-10-2025", + "description": "UPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 430.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 13000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 95000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540412/K Satyanarayana/10576616939", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540818/K Satyanarayana/10576616939", + "amount": 70000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530418579963/K Satyanarayana/62214014329", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-11-2025", + "description": "UPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-11-2025", + "description": "UPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-11-2025", + "description": "UPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-11-2025", + "description": "UPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "28-10-2025", + "period_end": "07-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_12_extraction.json b/debug/20260518_152624/cp2_page_12_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..2b73aca97f4fabb415e700ecff1f8193c10cc65e --- /dev/null +++ b/debug/20260518_152624/cp2_page_12_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 12, + "elapsed_s": 16.41, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 12, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n12\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-11-2025\nX87864595\nUPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@\n2500.0(Cr)\n27618.36(Cr)\n07-11-2025\nX99447157\nUPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n28618.36(Cr)\n07-11-2025\nY7800795\nUPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb\n1500.0(Cr)\n30118.36(Cr)\n07-11-2025\nY10279871\nUPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma\n3000.0(Cr)\n33118.36(Cr)\n07-11-2025\nY12696515\nUPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb\n100.0(Dr)\n33018.36(Cr)\n07-11-2025\nY25995686\nUPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618\n36.2(Dr)\n32982.18(Cr)\n08-11-2025\nY65408766\nUPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb\n1000.0(Cr)\n33982.18(Cr)\n08-11-2025\nY75627294\nUPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl\n8000.0(Cr)\n41982.18(Cr)\n08-11-2025\nY89928989\nUPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n31982.18(Cr)\n09-11-2025\nY94184093\nUPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n30982.18(Cr)\n09-11-2025\nY95461407\nUPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n29982.18(Cr)\n09-11-2025\nS13380257\nUPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@\n160.0(Dr)\n29822.18(Cr)\n09-11-2025\nS32020072\nUPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n29752.18(Cr)\n09-11-2025\nS32560254\nUPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb\n100.0(Dr)\n29652.18(Cr)\n10-11-2025\nS84896556\nUPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb\n180.0(Dr)\n29472.18(Cr)\n10-11-2025\nS89086107\nUPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb\n3500.0(Cr)\n32972.18(Cr)\n10-11-2025\nS98843654\nUPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts\n3500.0(Cr)\n36472.18(Cr)\n10-11-2025\nT13653339\nUPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n39472.18(Cr)\n10-11-2025\nT14337999\nUPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n42472.18(Cr)\n11-11-2025\nT32008688\nUPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb\n76.0(Dr)\n42396.18(Cr)\n11-11-2025\nT51047079\nUPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n45396.18(Cr)\n11-11-2025\nT54484329\nUPIAR/718371638097/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n30396.18(Cr)\n11-11-2025\nT68075506\nUPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb\n360.0(Dr)\n30036.18(Cr)\n12-11-2025\nU19852929\nUPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n33036.18(Cr)\n12-11-2025\nU28282970\nUPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y\n20000.0(Cr)\n53036.18(Cr)\n12-11-2025\nU46022943\nUPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@\n1000.0(Cr)\n54036.18(Cr)\n12-11-2025\nU51872936\nUPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n53996.18(Cr)\n13-11-2025\nU87192975\nUPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@\n35.0(Dr)\n53961.18(Cr)\n", + "currency": "INR", + "opening_balance": 27618.36, + "closing_balance": 53961.18, + "transactions": [ + { + "date": "07-11-2025", + "description": "UPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 36.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 76.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/718371638097/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 360.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-11-2025", + "description": "UPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "07-11-2025", + "period_end": "13-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 12, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n12\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-11-2025\nX87864595\nUPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@\n2500.0(Cr)\n27618.36(Cr)\n07-11-2025\nX99447157\nUPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n28618.36(Cr)\n07-11-2025\nY7800795\nUPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb\n1500.0(Cr)\n30118.36(Cr)\n07-11-2025\nY10279871\nUPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma\n3000.0(Cr)\n33118.36(Cr)\n07-11-2025\nY12696515\nUPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb\n100.0(Dr)\n33018.36(Cr)\n07-11-2025\nY25995686\nUPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618\n36.2(Dr)\n32982.18(Cr)\n08-11-2025\nY65408766\nUPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb\n1000.0(Cr)\n33982.18(Cr)\n08-11-2025\nY75627294\nUPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl\n8000.0(Cr)\n41982.18(Cr)\n08-11-2025\nY89928989\nUPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n31982.18(Cr)\n09-11-2025\nY94184093\nUPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n30982.18(Cr)\n09-11-2025\nY95461407\nUPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n29982.18(Cr)\n09-11-2025\nS13380257\nUPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@\n160.0(Dr)\n29822.18(Cr)\n09-11-2025\nS32020072\nUPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n29752.18(Cr)\n09-11-2025\nS32560254\nUPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb\n100.0(Dr)\n29652.18(Cr)\n10-11-2025\nS84896556\nUPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb\n180.0(Dr)\n29472.18(Cr)\n10-11-2025\nS89086107\nUPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb\n3500.0(Cr)\n32972.18(Cr)\n10-11-2025\nS98843654\nUPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts\n3500.0(Cr)\n36472.18(Cr)\n10-11-2025\nT13653339\nUPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n39472.18(Cr)\n10-11-2025\nT14337999\nUPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n42472.18(Cr)\n11-11-2025\nT32008688\nUPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb\n76.0(Dr)\n42396.18(Cr)\n11-11-2025\nT51047079\nUPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n45396.18(Cr)\n11-11-2025\nT54484329\nUPIAR/718371638097/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n30396.18(Cr)\n11-11-2025\nT68075506\nUPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb\n360.0(Dr)\n30036.18(Cr)\n12-11-2025\nU19852929\nUPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n33036.18(Cr)\n12-11-2025\nU28282970\nUPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y\n20000.0(Cr)\n53036.18(Cr)\n12-11-2025\nU46022943\nUPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@\n1000.0(Cr)\n54036.18(Cr)\n12-11-2025\nU51872936\nUPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n53996.18(Cr)\n13-11-2025\nU87192975\nUPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@\n35.0(Dr)\n53961.18(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 27618.36, + "closing_balance": 53961.18, + "transactions": [ + { + "date": "07-11-2025", + "description": "UPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 36.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 76.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/718371638097/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 360.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-11-2025", + "description": "UPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "07-11-2025", + "period_end": "13-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_13_extraction.json b/debug/20260518_152624/cp2_page_13_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..05ad2cd3f98f44799c86f9bea5a6d3281c36674b --- /dev/null +++ b/debug/20260518_152624/cp2_page_13_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 13, + "elapsed_s": 18.94, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 13, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n13\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-11-2025\nV6869237\nUPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb\n180.0(Dr)\n53781.18(Cr)\n13-11-2025\nV7074197\nUPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb\n90.0(Dr)\n53691.18(Cr)\n14-11-2025\nV68441480\nUPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb\n1000.0(Cr)\n54691.18(Cr)\n15-11-2025\nW3687981\nUPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax\n3000.0(Cr)\n57691.18(Cr)\n15-11-2025\nW22554248\nUPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@\n33.0(Dr)\n57658.18(Cr)\n15-11-2025\nW37108679\nUPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@\n100.0(Dr)\n57558.18(Cr)\n15-11-2025\nW41120754\nUPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62058.18(Cr)\n15-11-2025\nW46500886\nUPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@\n130.0(Dr)\n61928.18(Cr)\n15-11-2025\nW46905510\nUPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb\n140.0(Dr)\n61788.18(Cr)\n15-11-2025\nW47741959\nUPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y\n170.0(Dr)\n61618.18(Cr)\n16-11-2025\nW71058676\nUPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb\n85.0(Dr)\n61533.18(Cr)\n16-11-2025\nW83211766\nUPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb\n10.0(Dr)\n61523.18(Cr)\n16-11-2025\nW83994210\nUPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb\n100.0(Dr)\n61423.18(Cr)\n16-11-2025\nX7635310\nUPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb\n1000.0(Cr)\n62423.18(Cr)\n17-11-2025\nX66588260\nUPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y\n2000.0(Cr)\n64423.18(Cr)\n18-11-2025\nX98143087\nUPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb\n3000.0(Cr)\n67423.18(Cr)\n18-11-2025\nX99228510\nUPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao\n1000.0(Cr)\n68423.18(Cr)\n18-11-2025\nY32051321\nUPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u\n300.0(Dr)\n68123.18(Cr)\n19-11-2025\nY71752521\nUPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib\n20000.0(Cr)\n88123.18(Cr)\n19-11-2025\nY79064231\nUPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n91623.18(Cr)\n19-11-2025\nY92891216\nUPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax\n10000.0(Cr)\n101623.18(Cr)\n19-11-2025\nY98956862\nUPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki\n3000.0(Cr)\n104623.18(Cr)\n19-11-2025\nS693495\nUPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220\n3000.0(Cr)\n107623.18(Cr)\n19-11-2025\nS982898\nUPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n99623.18(Cr)\n19-11-2025\nS10290867\nUPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y\n10000.0(Dr)\n89623.18(Cr)\n19-11-2025\nS10289395\nUPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n79623.18(Cr)\n19-11-2025\nS10339129\nUPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y\n15000.0(Dr)\n64623.18(Cr)\n20-11-2025\nS42107990\nUPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb\n204.0(Dr)\n64419.18(Cr)\n", + "opening_balance": 53781.18, + "closing_balance": 64419.18, + "transactions": [ + { + "date": "13-11-2025", + "description": "UPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-11-2025", + "description": "UPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-11-2025", + "description": "UPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-11-2025", + "description": "UPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-11-2025", + "description": "UPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-11-2025", + "description": "UPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-11-2025", + "description": "UPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-11-2025", + "description": "UPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-11-2025", + "description": "UPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-11-2025", + "description": "UPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 204.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "13-11-2025", + "period_end": "20-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 13, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n13\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-11-2025\nV6869237\nUPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb\n180.0(Dr)\n53781.18(Cr)\n13-11-2025\nV7074197\nUPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb\n90.0(Dr)\n53691.18(Cr)\n14-11-2025\nV68441480\nUPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb\n1000.0(Cr)\n54691.18(Cr)\n15-11-2025\nW3687981\nUPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax\n3000.0(Cr)\n57691.18(Cr)\n15-11-2025\nW22554248\nUPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@\n33.0(Dr)\n57658.18(Cr)\n15-11-2025\nW37108679\nUPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@\n100.0(Dr)\n57558.18(Cr)\n15-11-2025\nW41120754\nUPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62058.18(Cr)\n15-11-2025\nW46500886\nUPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@\n130.0(Dr)\n61928.18(Cr)\n15-11-2025\nW46905510\nUPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb\n140.0(Dr)\n61788.18(Cr)\n15-11-2025\nW47741959\nUPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y\n170.0(Dr)\n61618.18(Cr)\n16-11-2025\nW71058676\nUPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb\n85.0(Dr)\n61533.18(Cr)\n16-11-2025\nW83211766\nUPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb\n10.0(Dr)\n61523.18(Cr)\n16-11-2025\nW83994210\nUPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb\n100.0(Dr)\n61423.18(Cr)\n16-11-2025\nX7635310\nUPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb\n1000.0(Cr)\n62423.18(Cr)\n17-11-2025\nX66588260\nUPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y\n2000.0(Cr)\n64423.18(Cr)\n18-11-2025\nX98143087\nUPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb\n3000.0(Cr)\n67423.18(Cr)\n18-11-2025\nX99228510\nUPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao\n1000.0(Cr)\n68423.18(Cr)\n18-11-2025\nY32051321\nUPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u\n300.0(Dr)\n68123.18(Cr)\n19-11-2025\nY71752521\nUPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib\n20000.0(Cr)\n88123.18(Cr)\n19-11-2025\nY79064231\nUPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n91623.18(Cr)\n19-11-2025\nY92891216\nUPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax\n10000.0(Cr)\n101623.18(Cr)\n19-11-2025\nY98956862\nUPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki\n3000.0(Cr)\n104623.18(Cr)\n19-11-2025\nS693495\nUPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220\n3000.0(Cr)\n107623.18(Cr)\n19-11-2025\nS982898\nUPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n99623.18(Cr)\n19-11-2025\nS10290867\nUPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y\n10000.0(Dr)\n89623.18(Cr)\n19-11-2025\nS10289395\nUPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n79623.18(Cr)\n19-11-2025\nS10339129\nUPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y\n15000.0(Dr)\n64623.18(Cr)\n20-11-2025\nS42107990\nUPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb\n204.0(Dr)\n64419.18(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 53781.18, + "closing_balance": 64419.18, + "transactions": [ + { + "date": "13-11-2025", + "description": "UPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-11-2025", + "description": "UPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-11-2025", + "description": "UPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-11-2025", + "description": "UPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-11-2025", + "description": "UPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-11-2025", + "description": "UPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-11-2025", + "description": "UPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-11-2025", + "description": "UPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-11-2025", + "description": "UPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-11-2025", + "description": "UPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-11-2025", + "description": "UPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 204.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-11-2025", + "period_end": "20-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_14_extraction.json b/debug/20260518_152624/cp2_page_14_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..16c8044cc4b2e5a4d9988af84747556093ade3c9 --- /dev/null +++ b/debug/20260518_152624/cp2_page_14_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 14, + "elapsed_s": 15.83, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 14, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n14\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-11-2025\nS49603845\nUPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths\n8000.0(Cr)\n72419.18(Cr)\n20-11-2025\nS61304480\nUPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax\n188.0(Dr)\n72231.18(Cr)\n21-11-2025\nT1018637\nUPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@\n3000.0(Cr)\n75231.18(Cr)\n21-11-2025\nT24153404\nUPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n74901.18(Cr)\n22-11-2025\nT53764781\nUPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y\n1000.0(Cr)\n75901.18(Cr)\n22-11-2025\nU3764548\nUPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n75041.18(Cr)\n22-11-2025\nU3777139\nUPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.\n1136.0(Dr)\n73905.18(Cr)\n22-11-2025\nU3968058\nUPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp\n1.0(Dr)\n73904.18(Cr)\n22-11-2025\nU4273570\nUPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp\n1.0(Cr)\n73905.18(Cr)\n23-11-2025\nU14168335\nUPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@\n130.0(Dr)\n73775.18(Cr)\n23-11-2025\nU15591412\nUPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0\n100.0(Dr)\n73675.18(Cr)\n23-11-2025\nU25348399\nUPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh\n300.0(Dr)\n73375.18(Cr)\n23-11-2025\nU47338466\nUPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n73125.18(Cr)\n23-11-2025\nU47573654\nUPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb\n70.0(Dr)\n73055.18(Cr)\n24-11-2025\nU93699721\nUPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73027.18(Cr)\n24-11-2025\nV21814361\nUPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i\n1806.7(Dr)\n71220.51(Cr)\n25-11-2025\nV34382897\nUPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax\n2000.0(Cr)\n73220.51(Cr)\n25-11-2025\nV39245163\nUPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73120.51(Cr)\n25-11-2025\nV85935478\nUPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n76120.51(Cr)\n25-11-2025\nV86973058\nUPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa\n3000.0(Cr)\n79120.51(Cr)\n26-11-2025\nW20634950\nUPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@\n40.0(Dr)\n79080.51(Cr)\n26-11-2025\nW29198060\nUPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n82080.51(Cr)\n26-11-2025\nW33613575\nUPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n85080.51(Cr)\n26-11-2025\nW36374090\nUPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n84980.51(Cr)\n27-11-2025\nW72340905\nUPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma\n1000.0(Cr)\n85980.51(Cr)\n27-11-2025\nW97118124\nUPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a\n8500.0(Cr)\n94480.51(Cr)\n27-11-2025\nX4646545\nUPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a\n80.0(Dr)\n94400.51(Cr)\n27-11-2025\nX5139587\nUPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb\n120.0(Dr)\n94280.51(Cr)\n", + "opening_balance": 72419.18, + "closing_balance": 94280.51, + "transactions": [ + { + "date": "20-11-2025", + "description": "UPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths", + "amount": 8000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 188.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1136.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1806.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 8500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "20-11-2025", + "period_end": "27-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 14, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n14\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-11-2025\nS49603845\nUPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths\n8000.0(Cr)\n72419.18(Cr)\n20-11-2025\nS61304480\nUPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax\n188.0(Dr)\n72231.18(Cr)\n21-11-2025\nT1018637\nUPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@\n3000.0(Cr)\n75231.18(Cr)\n21-11-2025\nT24153404\nUPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n74901.18(Cr)\n22-11-2025\nT53764781\nUPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y\n1000.0(Cr)\n75901.18(Cr)\n22-11-2025\nU3764548\nUPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n75041.18(Cr)\n22-11-2025\nU3777139\nUPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.\n1136.0(Dr)\n73905.18(Cr)\n22-11-2025\nU3968058\nUPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp\n1.0(Dr)\n73904.18(Cr)\n22-11-2025\nU4273570\nUPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp\n1.0(Cr)\n73905.18(Cr)\n23-11-2025\nU14168335\nUPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@\n130.0(Dr)\n73775.18(Cr)\n23-11-2025\nU15591412\nUPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0\n100.0(Dr)\n73675.18(Cr)\n23-11-2025\nU25348399\nUPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh\n300.0(Dr)\n73375.18(Cr)\n23-11-2025\nU47338466\nUPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n73125.18(Cr)\n23-11-2025\nU47573654\nUPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb\n70.0(Dr)\n73055.18(Cr)\n24-11-2025\nU93699721\nUPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73027.18(Cr)\n24-11-2025\nV21814361\nUPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i\n1806.7(Dr)\n71220.51(Cr)\n25-11-2025\nV34382897\nUPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax\n2000.0(Cr)\n73220.51(Cr)\n25-11-2025\nV39245163\nUPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73120.51(Cr)\n25-11-2025\nV85935478\nUPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n76120.51(Cr)\n25-11-2025\nV86973058\nUPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa\n3000.0(Cr)\n79120.51(Cr)\n26-11-2025\nW20634950\nUPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@\n40.0(Dr)\n79080.51(Cr)\n26-11-2025\nW29198060\nUPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n82080.51(Cr)\n26-11-2025\nW33613575\nUPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n85080.51(Cr)\n26-11-2025\nW36374090\nUPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n84980.51(Cr)\n27-11-2025\nW72340905\nUPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma\n1000.0(Cr)\n85980.51(Cr)\n27-11-2025\nW97118124\nUPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a\n8500.0(Cr)\n94480.51(Cr)\n27-11-2025\nX4646545\nUPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a\n80.0(Dr)\n94400.51(Cr)\n27-11-2025\nX5139587\nUPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb\n120.0(Dr)\n94280.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 72419.18, + "closing_balance": 94280.51, + "transactions": [ + { + "date": "20-11-2025", + "description": "UPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths", + "amount": 8000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 188.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1136.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1806.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 8500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-11-2025", + "period_end": "27-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_15_extraction.json b/debug/20260518_152624/cp2_page_15_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..43b64f15b5c69b9a5885dc097820cdc3f14b0011 --- /dev/null +++ b/debug/20260518_152624/cp2_page_15_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 15, + "elapsed_s": 14.84, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 15, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n15\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n27-11-2025\nX5697926\nUPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n354.0(Dr)\n93926.51(Cr)\n28-11-2025\nX41463436\nUPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes\n3000.0(Cr)\n96926.51(Cr)\n28-11-2025\nX68409986\nUPIAR/980140489614/DR/Bank Acc/BKID/86131011001673\n25000.0(Dr)\n71926.51(Cr)\n28-11-2025\nX68532094\nUPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n56926.51(Cr)\n28-11-2025\nX72343495\nUPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax\n300.0(Cr)\n57226.51(Cr)\n28-11-2025\nX84832880\nUPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb\n21792.0(Dr)\n35434.51(Cr)\n29-11-2025\nY4080816\nUPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n38934.51(Cr)\n29-11-2025\nY14306636\nUPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n41934.51(Cr)\n29-11-2025\nY15154342\nUPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb\n800.0(Dr)\n41134.51(Cr)\n29-11-2025\nY33106772\nUPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@\n100.0(Dr)\n41034.51(Cr)\n29-11-2025\nY37037921\nUPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb\n243.0(Dr)\n40791.51(Cr)\n30-11-2025\nY60980682\nUPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y\n7000.0(Cr)\n47791.51(Cr)\n30-11-2025\nY65318478\nUPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n42791.51(Cr)\n30-11-2025\nY79620266\nUPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb\n150.0(Dr)\n42641.51(Cr)\n30-11-2025\nY88178265\nUPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb\n63.0(Dr)\n42578.51(Cr)\n30-11-2025\nY89106588\nUPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT\n38.0(Dr)\n42540.51(Cr)\n30-11-2025\nY98841083\nUPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb\n120.0(Dr)\n42420.51(Cr)\n01-12-2025\nS42776213\nUPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb\n60.0(Dr)\n42360.51(Cr)\n01-12-2025\nS48299043\nUPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a\n3000.0(Cr)\n45360.51(Cr)\n01-12-2025\nS65278041\nUPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb\n40.0(Dr)\n45320.51(Cr)\n01-12-2025\nS73653191\nUPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib\n4000.0(Cr)\n49320.51(Cr)\n03-12-2025\nT62808069\nUPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax\n1000.0(Cr)\n50320.51(Cr)\n03-12-2025\nT63115748\nUPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb\n84.0(Dr)\n50236.51(Cr)\n03-12-2025\nU7203632\nUPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n54236.51(Cr)\n04-12-2025\nU39881530\nUPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib\n1000.0(Cr)\n55236.51(Cr)\n04-12-2025\nU48494598\nUPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i\n1000.0(Cr)\n56236.51(Cr)\n04-12-2025\nU55233490\nUPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb\n102.0(Dr)\n56134.51(Cr)\n04-12-2025\nU58480985\nUPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n804.0(Dr)\n55330.51(Cr)\n", + "currency": "INR", + "opening_balance": 93926.51, + "closing_balance": 55330.51, + "transactions": [ + { + "date": "27-11-2025", + "description": "UPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 354.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAR/980140489614/DR/Bank Acc/BKID/86131011001673", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 300.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 21792.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 243.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 63.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-12-2025", + "description": "UPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-12-2025", + "description": "UPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 84.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-12-2025", + "description": "UPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb", + "amount": 102.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "27-11-2025", + "period_end": "04-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 15, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n15\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n27-11-2025\nX5697926\nUPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n354.0(Dr)\n93926.51(Cr)\n28-11-2025\nX41463436\nUPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes\n3000.0(Cr)\n96926.51(Cr)\n28-11-2025\nX68409986\nUPIAR/980140489614/DR/Bank Acc/BKID/86131011001673\n25000.0(Dr)\n71926.51(Cr)\n28-11-2025\nX68532094\nUPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n56926.51(Cr)\n28-11-2025\nX72343495\nUPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax\n300.0(Cr)\n57226.51(Cr)\n28-11-2025\nX84832880\nUPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb\n21792.0(Dr)\n35434.51(Cr)\n29-11-2025\nY4080816\nUPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n38934.51(Cr)\n29-11-2025\nY14306636\nUPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n41934.51(Cr)\n29-11-2025\nY15154342\nUPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb\n800.0(Dr)\n41134.51(Cr)\n29-11-2025\nY33106772\nUPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@\n100.0(Dr)\n41034.51(Cr)\n29-11-2025\nY37037921\nUPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb\n243.0(Dr)\n40791.51(Cr)\n30-11-2025\nY60980682\nUPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y\n7000.0(Cr)\n47791.51(Cr)\n30-11-2025\nY65318478\nUPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n42791.51(Cr)\n30-11-2025\nY79620266\nUPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb\n150.0(Dr)\n42641.51(Cr)\n30-11-2025\nY88178265\nUPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb\n63.0(Dr)\n42578.51(Cr)\n30-11-2025\nY89106588\nUPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT\n38.0(Dr)\n42540.51(Cr)\n30-11-2025\nY98841083\nUPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb\n120.0(Dr)\n42420.51(Cr)\n01-12-2025\nS42776213\nUPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb\n60.0(Dr)\n42360.51(Cr)\n01-12-2025\nS48299043\nUPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a\n3000.0(Cr)\n45360.51(Cr)\n01-12-2025\nS65278041\nUPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb\n40.0(Dr)\n45320.51(Cr)\n01-12-2025\nS73653191\nUPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib\n4000.0(Cr)\n49320.51(Cr)\n03-12-2025\nT62808069\nUPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax\n1000.0(Cr)\n50320.51(Cr)\n03-12-2025\nT63115748\nUPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb\n84.0(Dr)\n50236.51(Cr)\n03-12-2025\nU7203632\nUPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n54236.51(Cr)\n04-12-2025\nU39881530\nUPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib\n1000.0(Cr)\n55236.51(Cr)\n04-12-2025\nU48494598\nUPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i\n1000.0(Cr)\n56236.51(Cr)\n04-12-2025\nU55233490\nUPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb\n102.0(Dr)\n56134.51(Cr)\n04-12-2025\nU58480985\nUPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n804.0(Dr)\n55330.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 93926.51, + "closing_balance": 55330.51, + "transactions": [ + { + "date": "27-11-2025", + "description": "UPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 354.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAR/980140489614/DR/Bank Acc/BKID/86131011001673", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 300.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-11-2025", + "description": "UPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 21792.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-11-2025", + "description": "UPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 243.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 63.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-11-2025", + "description": "UPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-12-2025", + "description": "UPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-12-2025", + "description": "UPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-12-2025", + "description": "UPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 84.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-12-2025", + "description": "UPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb", + "amount": 102.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-12-2025", + "description": "UPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "27-11-2025", + "period_end": "04-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_16_extraction.json b/debug/20260518_152624/cp2_page_16_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..335cf23d9269d6162d00af4ded236f8705f9f911 --- /dev/null +++ b/debug/20260518_152624/cp2_page_16_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 16, + "elapsed_s": 16.26, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 16, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n16\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-12-2025\nV6786277\nUPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb\n3000.0(Cr)\n58330.51(Cr)\n05-12-2025\nV35034677\nUPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb\n62.0(Dr)\n58268.51(Cr)\n05-12-2025\nV49361347\nUPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n61768.51(Cr)\n05-12-2025\nV49609871\nUPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280\n5000.0(Cr)\n66768.51(Cr)\n06-12-2025\nV86906971\nUPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n70268.51(Cr)\n07-12-2025\nW28634625\nUPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb\n210.0(Dr)\n70058.51(Cr)\n07-12-2025\nW30375532\nUPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb\n70.0(Dr)\n69988.51(Cr)\n07-12-2025\nW39995096\nUPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb\n60.0(Dr)\n69928.51(Cr)\n08-12-2025\nW98282693\nUPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb\n250.0(Dr)\n69678.51(Cr)\n08-12-2025\nX8502947\nUPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n68878.51(Cr)\n09-12-2025\nX66044206\nUPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n67878.51(Cr)\n09-12-2025\nX66028635\nUPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n66878.51(Cr)\n09-12-2025\nY717645\nUPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb\n45.0(Dr)\n66833.51(Cr)\n10-12-2025\nY71787773\nUPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb\n68.0(Dr)\n66765.51(Cr)\n10-12-2025\nY72120768\nUPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb\n25.0(Dr)\n66740.51(Cr)\n10-12-2025\nY94883273\nUPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n66490.51(Cr)\n11-12-2025\nS11696048\nUPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n71990.51(Cr)\n11-12-2025\nS19812761\nUPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n74990.51(Cr)\n11-12-2025\nS54420860\nUPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb\n1300.0(Dr)\n73690.51(Cr)\n12-12-2025\nS77003735\nUPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73590.51(Cr)\n12-12-2025\nS77179337\nUPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb\n83.0(Dr)\n73507.51(Cr)\n12-12-2025\nS96974832\nUPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73479.51(Cr)\n12-12-2025\nT17417290\nUPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456\n3000.0(Cr)\n76479.51(Cr)\n12-12-2025\nT19458568\nUPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@\n100.0(Dr)\n76379.51(Cr)\n13-12-2025\nT45320524\nUPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb\n70.0(Dr)\n76309.51(Cr)\n13-12-2025\nT76512045\nUPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n38.0(Dr)\n76271.51(Cr)\n13-12-2025\nT77789404\nUPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb\n28.0(Dr)\n76243.51(Cr)\n13-12-2025\nT91860556\nUPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb\n152.0(Dr)\n76091.51(Cr)\n", + "currency": "INR", + "opening_balance": 55330.51, + "closing_balance": 76091.51, + "transactions": [ + { + "date": "05-12-2025", + "description": "UPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 62.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-12-2025", + "description": "UPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-12-2025", + "description": "UPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-12-2025", + "description": "UPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 83.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 152.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "05-12-2025", + "period_end": "13-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 16, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n16\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-12-2025\nV6786277\nUPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb\n3000.0(Cr)\n58330.51(Cr)\n05-12-2025\nV35034677\nUPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb\n62.0(Dr)\n58268.51(Cr)\n05-12-2025\nV49361347\nUPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n61768.51(Cr)\n05-12-2025\nV49609871\nUPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280\n5000.0(Cr)\n66768.51(Cr)\n06-12-2025\nV86906971\nUPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n70268.51(Cr)\n07-12-2025\nW28634625\nUPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb\n210.0(Dr)\n70058.51(Cr)\n07-12-2025\nW30375532\nUPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb\n70.0(Dr)\n69988.51(Cr)\n07-12-2025\nW39995096\nUPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb\n60.0(Dr)\n69928.51(Cr)\n08-12-2025\nW98282693\nUPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb\n250.0(Dr)\n69678.51(Cr)\n08-12-2025\nX8502947\nUPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n68878.51(Cr)\n09-12-2025\nX66044206\nUPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n67878.51(Cr)\n09-12-2025\nX66028635\nUPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n66878.51(Cr)\n09-12-2025\nY717645\nUPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb\n45.0(Dr)\n66833.51(Cr)\n10-12-2025\nY71787773\nUPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb\n68.0(Dr)\n66765.51(Cr)\n10-12-2025\nY72120768\nUPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb\n25.0(Dr)\n66740.51(Cr)\n10-12-2025\nY94883273\nUPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n66490.51(Cr)\n11-12-2025\nS11696048\nUPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n71990.51(Cr)\n11-12-2025\nS19812761\nUPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n74990.51(Cr)\n11-12-2025\nS54420860\nUPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb\n1300.0(Dr)\n73690.51(Cr)\n12-12-2025\nS77003735\nUPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73590.51(Cr)\n12-12-2025\nS77179337\nUPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb\n83.0(Dr)\n73507.51(Cr)\n12-12-2025\nS96974832\nUPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73479.51(Cr)\n12-12-2025\nT17417290\nUPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456\n3000.0(Cr)\n76479.51(Cr)\n12-12-2025\nT19458568\nUPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@\n100.0(Dr)\n76379.51(Cr)\n13-12-2025\nT45320524\nUPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb\n70.0(Dr)\n76309.51(Cr)\n13-12-2025\nT76512045\nUPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n38.0(Dr)\n76271.51(Cr)\n13-12-2025\nT77789404\nUPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb\n28.0(Dr)\n76243.51(Cr)\n13-12-2025\nT91860556\nUPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb\n152.0(Dr)\n76091.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 55330.51, + "closing_balance": 76091.51, + "transactions": [ + { + "date": "05-12-2025", + "description": "UPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 62.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-12-2025", + "description": "UPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-12-2025", + "description": "UPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-12-2025", + "description": "UPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 83.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 152.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "05-12-2025", + "period_end": "13-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_17_extraction.json b/debug/20260518_152624/cp2_page_17_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..eb16bc85ed2d2fcf5d2774c4445277462e506685 --- /dev/null +++ b/debug/20260518_152624/cp2_page_17_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 17, + "elapsed_s": 30.11, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 17, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n17\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n14-12-2025\nU7615837\nUPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n76001.51(Cr)\n14-12-2025\nU9166940\nUPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax\n190.0(Dr)\n75811.51(Cr)\n14-12-2025\nU31816878\nUPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb\n110.0(Dr)\n75701.51(Cr)\n14-12-2025\nU43437986\nUPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188\n290.0(Dr)\n75411.51(Cr)\n14-12-2025\nU43723658\nUPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb\n280.0(Dr)\n75131.51(Cr)\n14-12-2025\nU54267149\nUPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb\n28.0(Dr)\n75103.51(Cr)\n14-12-2025\nU54362094\nUPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb\n33.0(Dr)\n75070.51(Cr)\n15-12-2025\nU76695718\nUPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a\n1000.0(Cr)\n76070.51(Cr)\n15-12-2025\nU82597942\nUPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib\n1000.0(Cr)\n77070.51(Cr)\n15-12-2025\nV3620111\nUPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067\n695.0(Dr)\n76375.51(Cr)\n16-12-2025\nV38593922\nUPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n76275.51(Cr)\n16-12-2025\nV46776662\nUPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n86275.51(Cr)\n16-12-2025\nV72631029\nUPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic\n2167.5(Dr)\n84107.98(Cr)\n16-12-2025\nV76490678\nUPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n84037.98(Cr)\n16-12-2025\nV76912966\nUPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax\n3000.0(Cr)\n87037.98(Cr)\n16-12-2025\nV78448627\nUPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y\n3000.0(Cr)\n90037.98(Cr)\n17-12-2025\nW5865757\nUPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n89787.98(Cr)\n17-12-2025\nW18481450\nUPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n93287.98(Cr)\n17-12-2025\nW20643142\nUPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a\n3500.0(Cr)\n96787.98(Cr)\n17-12-2025\nW28455004\nUPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun\n3500.0(Cr)\n100287.98(Cr)\n17-12-2025\nW31904460\nUPIAR/480040114334/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n90287.98(Cr)\n17-12-2025\nW32047425\nUPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n80287.98(Cr)\n17-12-2025\nW40972141\nUPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb\n230.0(Dr)\n80057.98(Cr)\n17-12-2025\nW41783840\nUPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb\n50.0(Dr)\n80007.98(Cr)\n17-12-2025\nW42199828\n6522029812982622/535118510548/253110100033102\n2000.0(Dr)\n78007.98(Cr)\n17-12-2025\nW45381649\nUPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n81007.98(Cr)\n18-12-2025\nW80049115\nUPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n85507.98(Cr)\n18-12-2025\nW97212548\nUPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@\n100.0(Dr)\n85407.98(Cr)\n", + "currency": "INR", + "opening_balance": 76091.51, + "closing_balance": 85407.98, + "transactions": [ + { + "date": "14-12-2025", + "description": "UPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 695.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 2167.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/480040114334/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "6522029812982622/535118510548/253110100033102", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "14-12-2025", + "period_end": "18-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 17, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n17\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n14-12-2025\nU7615837\nUPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n76001.51(Cr)\n14-12-2025\nU9166940\nUPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax\n190.0(Dr)\n75811.51(Cr)\n14-12-2025\nU31816878\nUPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb\n110.0(Dr)\n75701.51(Cr)\n14-12-2025\nU43437986\nUPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188\n290.0(Dr)\n75411.51(Cr)\n14-12-2025\nU43723658\nUPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb\n280.0(Dr)\n75131.51(Cr)\n14-12-2025\nU54267149\nUPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb\n28.0(Dr)\n75103.51(Cr)\n14-12-2025\nU54362094\nUPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb\n33.0(Dr)\n75070.51(Cr)\n15-12-2025\nU76695718\nUPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a\n1000.0(Cr)\n76070.51(Cr)\n15-12-2025\nU82597942\nUPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib\n1000.0(Cr)\n77070.51(Cr)\n15-12-2025\nV3620111\nUPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067\n695.0(Dr)\n76375.51(Cr)\n16-12-2025\nV38593922\nUPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n76275.51(Cr)\n16-12-2025\nV46776662\nUPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n86275.51(Cr)\n16-12-2025\nV72631029\nUPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic\n2167.5(Dr)\n84107.98(Cr)\n16-12-2025\nV76490678\nUPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n84037.98(Cr)\n16-12-2025\nV76912966\nUPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax\n3000.0(Cr)\n87037.98(Cr)\n16-12-2025\nV78448627\nUPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y\n3000.0(Cr)\n90037.98(Cr)\n17-12-2025\nW5865757\nUPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n89787.98(Cr)\n17-12-2025\nW18481450\nUPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n93287.98(Cr)\n17-12-2025\nW20643142\nUPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a\n3500.0(Cr)\n96787.98(Cr)\n17-12-2025\nW28455004\nUPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun\n3500.0(Cr)\n100287.98(Cr)\n17-12-2025\nW31904460\nUPIAR/480040114334/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n90287.98(Cr)\n17-12-2025\nW32047425\nUPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n80287.98(Cr)\n17-12-2025\nW40972141\nUPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb\n230.0(Dr)\n80057.98(Cr)\n17-12-2025\nW41783840\nUPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb\n50.0(Dr)\n80007.98(Cr)\n17-12-2025\nW42199828\n6522029812982622/535118510548/253110100033102\n2000.0(Dr)\n78007.98(Cr)\n17-12-2025\nW45381649\nUPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n81007.98(Cr)\n18-12-2025\nW80049115\nUPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n85507.98(Cr)\n18-12-2025\nW97212548\nUPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@\n100.0(Dr)\n85407.98(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 76091.51, + "closing_balance": 85407.98, + "transactions": [ + { + "date": "14-12-2025", + "description": "UPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 695.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 2167.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/480040114334/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "6522029812982622/535118510548/253110100033102", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "14-12-2025", + "period_end": "18-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_18_extraction.json b/debug/20260518_152624/cp2_page_18_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..e3120c834fa708fd15e6619c32d4684d64fe5a52 --- /dev/null +++ b/debug/20260518_152624/cp2_page_18_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 18, + "elapsed_s": 31.34, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 18, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n18\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-12-2025\nX5722784\nUPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb\n378.0(Dr)\n85029.98(Cr)\n18-12-2025\nX5773647\nUPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb\n4000.0(Cr)\n89029.98(Cr)\n18-12-2025\nX7274876\nUPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a\n4000.0(Cr)\n93029.98(Cr)\n18-12-2025\nX24790768\nUPIAR/267906820245/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n78029.98(Cr)\n18-12-2025\nX24819555\nUPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n63029.98(Cr)\n19-12-2025\nX60108700\nUPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n62779.98(Cr)\n19-12-2025\nX64302701\nUPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb\n1000.0(Cr)\n63779.98(Cr)\n19-12-2025\nX74414081\nUPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb\n60.0(Dr)\n63719.98(Cr)\n19-12-2025\nX90131840\nUPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax\n3000.0(Cr)\n66719.98(Cr)\n20-12-2025\nY4900055\n6522029812982622/000000003156/253110100033102\n9000.0(Dr)\n57719.98(Cr)\n20-12-2025\nY17683295\nUPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n61219.98(Cr)\n20-12-2025\nY34699947\nUPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb\n500.0(Dr)\n60719.98(Cr)\n20-12-2025\nY34786082\nUPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb\n12000.0(Dr)\n48719.98(Cr)\n20-12-2025\nY53049707\nUPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y\n4000.0(Cr)\n52719.98(Cr)\n21-12-2025\nY72485024\nUPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y\n50.0(Dr)\n52669.98(Cr)\n21-12-2025\nY73667007\nUPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@\n870.0(Dr)\n51799.98(Cr)\n21-12-2025\nY73803345\nUPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n51559.98(Cr)\n21-12-2025\nY83047888\nUPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@\n500.0(Dr)\n51059.98(Cr)\n22-12-2025\nS33815006\nUPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n46059.98(Cr)\n22-12-2025\nS38466125\nUPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax\n3000.0(Cr)\n49059.98(Cr)\n23-12-2025\nT33772087\nUPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n48959.98(Cr)\n24-12-2025\nT64329984\nUPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb\n1000.0(Cr)\n49959.98(Cr)\n24-12-2025\nT64977419\nUPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n49709.98(Cr)\n24-12-2025\nT65374852\nUPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@\n90.0(Dr)\n49619.98(Cr)\n24-12-2025\nT84165250\nUPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb\n33.0(Dr)\n49586.98(Cr)\n24-12-2025\nT91377095\nUPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n53086.98(Cr)\n24-12-2025\nU8160799\nUPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n52586.98(Cr)\n24-12-2025\nU8583603\nUPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227\n50.0(Dr)\n52536.98(Cr)\n", + "currency": "INR", + "opening_balance": 85407.98, + "closing_balance": 52536.98, + "transactions": [ + { + "date": "18-12-2025", + "description": "UPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 378.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/267906820245/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "6522029812982622/000000003156/253110100033102", + "amount": 9000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 870.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-12-2025", + "description": "UPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227", + "amount": 50.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "18-12-2025", + "period_end": "24-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 18, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n18\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-12-2025\nX5722784\nUPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb\n378.0(Dr)\n85029.98(Cr)\n18-12-2025\nX5773647\nUPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb\n4000.0(Cr)\n89029.98(Cr)\n18-12-2025\nX7274876\nUPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a\n4000.0(Cr)\n93029.98(Cr)\n18-12-2025\nX24790768\nUPIAR/267906820245/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n78029.98(Cr)\n18-12-2025\nX24819555\nUPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n63029.98(Cr)\n19-12-2025\nX60108700\nUPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n62779.98(Cr)\n19-12-2025\nX64302701\nUPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb\n1000.0(Cr)\n63779.98(Cr)\n19-12-2025\nX74414081\nUPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb\n60.0(Dr)\n63719.98(Cr)\n19-12-2025\nX90131840\nUPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax\n3000.0(Cr)\n66719.98(Cr)\n20-12-2025\nY4900055\n6522029812982622/000000003156/253110100033102\n9000.0(Dr)\n57719.98(Cr)\n20-12-2025\nY17683295\nUPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n61219.98(Cr)\n20-12-2025\nY34699947\nUPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb\n500.0(Dr)\n60719.98(Cr)\n20-12-2025\nY34786082\nUPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb\n12000.0(Dr)\n48719.98(Cr)\n20-12-2025\nY53049707\nUPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y\n4000.0(Cr)\n52719.98(Cr)\n21-12-2025\nY72485024\nUPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y\n50.0(Dr)\n52669.98(Cr)\n21-12-2025\nY73667007\nUPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@\n870.0(Dr)\n51799.98(Cr)\n21-12-2025\nY73803345\nUPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n51559.98(Cr)\n21-12-2025\nY83047888\nUPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@\n500.0(Dr)\n51059.98(Cr)\n22-12-2025\nS33815006\nUPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n46059.98(Cr)\n22-12-2025\nS38466125\nUPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax\n3000.0(Cr)\n49059.98(Cr)\n23-12-2025\nT33772087\nUPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n48959.98(Cr)\n24-12-2025\nT64329984\nUPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb\n1000.0(Cr)\n49959.98(Cr)\n24-12-2025\nT64977419\nUPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n49709.98(Cr)\n24-12-2025\nT65374852\nUPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@\n90.0(Dr)\n49619.98(Cr)\n24-12-2025\nT84165250\nUPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb\n33.0(Dr)\n49586.98(Cr)\n24-12-2025\nT91377095\nUPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n53086.98(Cr)\n24-12-2025\nU8160799\nUPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n52586.98(Cr)\n24-12-2025\nU8583603\nUPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227\n50.0(Dr)\n52536.98(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 85407.98, + "closing_balance": 52536.98, + "transactions": [ + { + "date": "18-12-2025", + "description": "UPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 378.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/267906820245/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "6522029812982622/000000003156/253110100033102", + "amount": 9000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 870.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-12-2025", + "description": "UPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227", + "amount": 50.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "18-12-2025", + "period_end": "24-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_19_extraction.json b/debug/20260518_152624/cp2_page_19_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..d02f46c3708c3be6f24d419ea0af29b0e481097c --- /dev/null +++ b/debug/20260518_152624/cp2_page_19_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 19, + "elapsed_s": 32.85, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 19, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n19\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n24-12-2025\nU10110933\nUPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188\n402.0(Dr)\n52134.98(Cr)\n25-12-2025\nU33900758\nUPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax\n10000.0(Cr)\n62134.98(Cr)\n25-12-2025\nU52945799\n6522029812982622/000000000185/253110100033102\n20000.0(Dr)\n42134.98(Cr)\n25-12-2025\nU57658287\nUPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb\n1100.0(Dr)\n41034.98(Cr)\n25-12-2025\nU60482354\nUPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET\n2404.3(Dr)\n38630.66(Cr)\n26-12-2025\nU95921097\nUPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb\n1000.0(Cr)\n39630.66(Cr)\n26-12-2025\nV25057805\nUPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@\n200.0(Dr)\n39430.66(Cr)\n26-12-2025\nV26955326\nUPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb\n7000.0(Cr)\n46430.66(Cr)\n27-12-2025\nV82152260\nUPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@\n320.0(Dr)\n46110.66(Cr)\n27-12-2025\nW17646231\nSms Charges For Dec Qtr ,2025\n95.6(Dr)\n46015.08(Cr)\n28-12-2025\nW46177477\nUPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb\n3000.0(Cr)\n49015.08(Cr)\n28-12-2025\nW46837518\nUPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb\n200.0(Dr)\n48815.08(Cr)\n28-12-2025\nW49425861\nUPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n48725.08(Cr)\n28-12-2025\nW58072135\nUPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb\n500.0(Dr)\n48225.08(Cr)\n28-12-2025\nW68349859\nUPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264\n5095.0(Dr)\n43130.08(Cr)\n28-12-2025\nW71652084\nUPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626\n3300.0(Dr)\n39830.08(Cr)\n29-12-2025\nX45357832\n6522029812982622/000000008090/253110100033102\n10000.0(Dr)\n29830.08(Cr)\n29-12-2025\nX45420361\n6522029812982622/000000008091/253110100033102\n5000.0(Dr)\n24830.08(Cr)\n30-12-2025\nX70014946\nUPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb\n1500.0(Cr)\n26330.08(Cr)\n31-12-2025\nY34848247\nUPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n26080.08(Cr)\n31-12-2025\nY63281251\nUPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP\n2005.5(Dr)\n24074.54(Cr)\n01-01-2026\nS18269396\nUPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n27074.54(Cr)\n01-01-2026\nS24942956\nUPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220\n1000.0(Cr)\n28074.54(Cr)\n02-01-2026\nS62639590\n253110100033102:Int.Pd:01-10-2025 to 31-12-2025\n362.0(Cr)\n28436.54(Cr)\n02-01-2026\nS74049290\nUPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax\n10.0(Cr)\n28446.54(Cr)\n02-01-2026\nS74117018\nUPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Cr)\n33446.54(Cr)\n02-01-2026\nS79167891\nUPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Dr)\n28446.54(Cr)\n02-01-2026\nS81812614\nUPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb\n3500.0(Cr)\n31946.54(Cr)\n", + "currency": "INR", + "opening_balance": 52536.98, + "closing_balance": 31946.54, + "transactions": [ + { + "date": "24-12-2025", + "description": "UPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188", + "amount": 402.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-12-2025", + "description": "6522029812982622/000000000185/253110100033102", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb", + "amount": 1100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET", + "amount": 2404.3, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-12-2025", + "description": "UPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-12-2025", + "description": "UPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-12-2025", + "description": "UPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-12-2025", + "description": "UPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-12-2025", + "description": "Sms Charges For Dec Qtr ,2025", + "amount": 95.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264", + "amount": 5095.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626", + "amount": 3300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008090/253110100033102", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008091/253110100033102", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-12-2025", + "description": "UPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-12-2025", + "description": "UPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-12-2025", + "description": "UPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 2005.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-01-2026", + "description": "UPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-01-2026", + "description": "UPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "253110100033102:Int.Pd:01-10-2025 to 31-12-2025", + "amount": 362.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "02-01-2026", + "description": "UPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 10.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "24-12-2025", + "period_end": "02-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 19, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n19\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n24-12-2025\nU10110933\nUPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188\n402.0(Dr)\n52134.98(Cr)\n25-12-2025\nU33900758\nUPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax\n10000.0(Cr)\n62134.98(Cr)\n25-12-2025\nU52945799\n6522029812982622/000000000185/253110100033102\n20000.0(Dr)\n42134.98(Cr)\n25-12-2025\nU57658287\nUPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb\n1100.0(Dr)\n41034.98(Cr)\n25-12-2025\nU60482354\nUPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET\n2404.3(Dr)\n38630.66(Cr)\n26-12-2025\nU95921097\nUPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb\n1000.0(Cr)\n39630.66(Cr)\n26-12-2025\nV25057805\nUPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@\n200.0(Dr)\n39430.66(Cr)\n26-12-2025\nV26955326\nUPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb\n7000.0(Cr)\n46430.66(Cr)\n27-12-2025\nV82152260\nUPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@\n320.0(Dr)\n46110.66(Cr)\n27-12-2025\nW17646231\nSms Charges For Dec Qtr ,2025\n95.6(Dr)\n46015.08(Cr)\n28-12-2025\nW46177477\nUPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb\n3000.0(Cr)\n49015.08(Cr)\n28-12-2025\nW46837518\nUPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb\n200.0(Dr)\n48815.08(Cr)\n28-12-2025\nW49425861\nUPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n48725.08(Cr)\n28-12-2025\nW58072135\nUPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb\n500.0(Dr)\n48225.08(Cr)\n28-12-2025\nW68349859\nUPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264\n5095.0(Dr)\n43130.08(Cr)\n28-12-2025\nW71652084\nUPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626\n3300.0(Dr)\n39830.08(Cr)\n29-12-2025\nX45357832\n6522029812982622/000000008090/253110100033102\n10000.0(Dr)\n29830.08(Cr)\n29-12-2025\nX45420361\n6522029812982622/000000008091/253110100033102\n5000.0(Dr)\n24830.08(Cr)\n30-12-2025\nX70014946\nUPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb\n1500.0(Cr)\n26330.08(Cr)\n31-12-2025\nY34848247\nUPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n26080.08(Cr)\n31-12-2025\nY63281251\nUPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP\n2005.5(Dr)\n24074.54(Cr)\n01-01-2026\nS18269396\nUPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n27074.54(Cr)\n01-01-2026\nS24942956\nUPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220\n1000.0(Cr)\n28074.54(Cr)\n02-01-2026\nS62639590\n253110100033102:Int.Pd:01-10-2025 to 31-12-2025\n362.0(Cr)\n28436.54(Cr)\n02-01-2026\nS74049290\nUPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax\n10.0(Cr)\n28446.54(Cr)\n02-01-2026\nS74117018\nUPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Cr)\n33446.54(Cr)\n02-01-2026\nS79167891\nUPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Dr)\n28446.54(Cr)\n02-01-2026\nS81812614\nUPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb\n3500.0(Cr)\n31946.54(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 52536.98, + "closing_balance": 31946.54, + "transactions": [ + { + "date": "24-12-2025", + "description": "UPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188", + "amount": 402.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-12-2025", + "description": "6522029812982622/000000000185/253110100033102", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb", + "amount": 1100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET", + "amount": 2404.3, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-12-2025", + "description": "UPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-12-2025", + "description": "UPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-12-2025", + "description": "UPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-12-2025", + "description": "UPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-12-2025", + "description": "Sms Charges For Dec Qtr ,2025", + "amount": 95.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264", + "amount": 5095.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626", + "amount": 3300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008090/253110100033102", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008091/253110100033102", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-12-2025", + "description": "UPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-12-2025", + "description": "UPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-12-2025", + "description": "UPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 2005.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-01-2026", + "description": "UPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-01-2026", + "description": "UPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "253110100033102:Int.Pd:01-10-2025 to 31-12-2025", + "amount": 362.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "02-01-2026", + "description": "UPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 10.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "24-12-2025", + "period_end": "02-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_20_extraction.json b/debug/20260518_152624/cp2_page_20_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..6139bcf8cea83bd097c0b3573f5e82de319b4f97 --- /dev/null +++ b/debug/20260518_152624/cp2_page_20_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 20, + "elapsed_s": 15.77, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 20, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n20\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-01-2026\nS98733801\nUPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars\n3000.0(Cr)\n34946.54(Cr)\n02-01-2026\nT18092911\nUPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax\n1000.0(Cr)\n35946.54(Cr)\n03-01-2026\nT42301027\nUPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n35696.54(Cr)\n03-01-2026\nT55207297\nUPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n38696.54(Cr)\n03-01-2026\nT62278210\nUPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n41696.54(Cr)\n04-01-2026\nU8307157\nUPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y\n70.0(Cr)\n41766.54(Cr)\n04-01-2026\nU45902288\nUPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n41466.54(Cr)\n04-01-2026\nU54108580\nUPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@\n370.0(Dr)\n41096.54(Cr)\n05-01-2026\nU96813610\nUPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb\n3500.0(Cr)\n44596.54(Cr)\n05-01-2026\nV5086199\nUPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a\n2000.0(Cr)\n46596.54(Cr)\n05-01-2026\nV9860429\nUPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344\n2143.0(Dr)\n44453.54(Cr)\n05-01-2026\nV12463023\nUPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb\n223.0(Dr)\n44230.54(Cr)\n05-01-2026\nV26260154\nUPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n43980.54(Cr)\n05-01-2026\nV28945194\nUPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n43180.54(Cr)\n06-01-2026\nV71254684\nUPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n42320.54(Cr)\n06-01-2026\nV86288156\nUPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb\n160.0(Dr)\n42160.54(Cr)\n07-01-2026\nW54587582\nUPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic\n1209.4(Dr)\n40951.1(Cr)\n07-01-2026\nW66370076\nMOB/MKT RECHARGE/432041257200\n802.0(Dr)\n40149.1(Cr)\n08-01-2026\nW81475296\nUPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb\n1000.0(Cr)\n41149.1(Cr)\n08-01-2026\nW93139137\nUPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32\n4000.0(Cr)\n45149.1(Cr)\n08-01-2026\nX4832416\nUPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol\n200.0(Dr)\n44949.1(Cr)\n09-01-2026\nX42802541\nUPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43949.1(Cr)\n09-01-2026\nX44843929\nUPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42949.1(Cr)\n09-01-2026\nX45133991\nUPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali\n3000.0(Cr)\n45949.1(Cr)\n09-01-2026\nX50554563\nUPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n45649.1(Cr)\n09-01-2026\nX51479938\nUPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi\n600.0(Dr)\n45049.1(Cr)\n09-01-2026\nX69774092\nUPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax\n8000.0(Cr)\n53049.1(Cr)\n09-01-2026\nY1062614\nUPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib\n500.0(Dr)\n52549.1(Cr)\n", + "opening_balance": 31946.54, + "closing_balance": 52549.1, + "transactions": [ + { + "date": "02-01-2026", + "description": "UPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "UPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "UPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "UPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "UPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y", + "amount": 70.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "UPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "UPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@", + "amount": 370.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2143.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 223.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "UPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "UPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "UPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1209.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "MOB/MKT RECHARGE/432041257200", + "amount": 802.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "UPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "UPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "UPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi", + "amount": 600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "02-01-2026", + "period_end": "09-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 20, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n20\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-01-2026\nS98733801\nUPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars\n3000.0(Cr)\n34946.54(Cr)\n02-01-2026\nT18092911\nUPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax\n1000.0(Cr)\n35946.54(Cr)\n03-01-2026\nT42301027\nUPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n35696.54(Cr)\n03-01-2026\nT55207297\nUPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n38696.54(Cr)\n03-01-2026\nT62278210\nUPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n41696.54(Cr)\n04-01-2026\nU8307157\nUPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y\n70.0(Cr)\n41766.54(Cr)\n04-01-2026\nU45902288\nUPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n41466.54(Cr)\n04-01-2026\nU54108580\nUPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@\n370.0(Dr)\n41096.54(Cr)\n05-01-2026\nU96813610\nUPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb\n3500.0(Cr)\n44596.54(Cr)\n05-01-2026\nV5086199\nUPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a\n2000.0(Cr)\n46596.54(Cr)\n05-01-2026\nV9860429\nUPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344\n2143.0(Dr)\n44453.54(Cr)\n05-01-2026\nV12463023\nUPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb\n223.0(Dr)\n44230.54(Cr)\n05-01-2026\nV26260154\nUPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n43980.54(Cr)\n05-01-2026\nV28945194\nUPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n43180.54(Cr)\n06-01-2026\nV71254684\nUPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n42320.54(Cr)\n06-01-2026\nV86288156\nUPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb\n160.0(Dr)\n42160.54(Cr)\n07-01-2026\nW54587582\nUPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic\n1209.4(Dr)\n40951.1(Cr)\n07-01-2026\nW66370076\nMOB/MKT RECHARGE/432041257200\n802.0(Dr)\n40149.1(Cr)\n08-01-2026\nW81475296\nUPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb\n1000.0(Cr)\n41149.1(Cr)\n08-01-2026\nW93139137\nUPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32\n4000.0(Cr)\n45149.1(Cr)\n08-01-2026\nX4832416\nUPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol\n200.0(Dr)\n44949.1(Cr)\n09-01-2026\nX42802541\nUPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43949.1(Cr)\n09-01-2026\nX44843929\nUPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42949.1(Cr)\n09-01-2026\nX45133991\nUPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali\n3000.0(Cr)\n45949.1(Cr)\n09-01-2026\nX50554563\nUPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n45649.1(Cr)\n09-01-2026\nX51479938\nUPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi\n600.0(Dr)\n45049.1(Cr)\n09-01-2026\nX69774092\nUPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax\n8000.0(Cr)\n53049.1(Cr)\n09-01-2026\nY1062614\nUPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib\n500.0(Dr)\n52549.1(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 31946.54, + "closing_balance": 52549.1, + "transactions": [ + { + "date": "02-01-2026", + "description": "UPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "UPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "UPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "UPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "UPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y", + "amount": 70.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "UPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "UPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@", + "amount": 370.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2143.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 223.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "UPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "UPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "UPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "UPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1209.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "MOB/MKT RECHARGE/432041257200", + "amount": 802.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "UPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "UPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "UPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi", + "amount": 600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "UPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "02-01-2026", + "period_end": "09-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_21_extraction.json b/debug/20260518_152624/cp2_page_21_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..4824d2f4f92fe7015ff3b0044943b1070c544fed --- /dev/null +++ b/debug/20260518_152624/cp2_page_21_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 21, + "elapsed_s": 16.02, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 21, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n21\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-01-2026\nY90163413\nUPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n55549.1(Cr)\n12-01-2026\nS52176580\nUPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n56549.1(Cr)\n12-01-2026\nS82117527\nUPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb\n2700.0(Cr)\n59249.1(Cr)\n12-01-2026\nS95397159\nUPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb\n220.0(Dr)\n59029.1(Cr)\n12-01-2026\nS97139741\nUPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@\n730.0(Dr)\n58299.1(Cr)\n12-01-2026\nS98261430\nUPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254\n650.0(Dr)\n57649.1(Cr)\n13-01-2026\nT26655058\nUPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n57549.1(Cr)\n13-01-2026\nT27880143\nUPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb\n1000.0(Cr)\n58549.1(Cr)\n13-01-2026\nT33868423\nUPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n61549.1(Cr)\n13-01-2026\nT37220340\nUPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y\n3000.0(Cr)\n64549.1(Cr)\n13-01-2026\nT42933366\nUPIAR/693649126182/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n54549.1(Cr)\n13-01-2026\nT50530207\nUPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb\n3500.0(Cr)\n58049.1(Cr)\n13-01-2026\nT50891326\nUPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n57799.1(Cr)\n13-01-2026\nT63267931\nUPIAR/771361599267/DR/K S N /UTIB/gpay-121905896\n226.0(Dr)\n57573.1(Cr)\n13-01-2026\nT71926669\nUPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i\n1675.0(Dr)\n55898.1(Cr)\n14-01-2026\nU16882492\nUPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax\n7000.0(Cr)\n62898.1(Cr)\n14-01-2026\nU31183925\nUPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb\n320.0(Dr)\n62578.1(Cr)\n14-01-2026\nU38693097\nUPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs\n1600.0(Dr)\n60978.1(Cr)\n17-01-2026\nV82640814\nUPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb\n5000.0(Cr)\n65978.1(Cr)\n17-01-2026\nW24141895\nUPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.\n269.0(Dr)\n65709.1(Cr)\n18-01-2026\nW43488350\nUPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y\n50.0(Dr)\n65659.1(Cr)\n18-01-2026\nW56499052\nUPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb\n185.0(Dr)\n65474.1(Cr)\n18-01-2026\nW76911639\nUPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb\n140.0(Dr)\n65334.1(Cr)\n18-01-2026\nW77509387\nUPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n65084.1(Cr)\n19-01-2026\nW97084128\nUPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n69584.1(Cr)\n19-01-2026\nX50187887\nUPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n69514.1(Cr)\n20-01-2026\nX68837973\nUPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n69364.1(Cr)\n20-01-2026\nX70352122\nUPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb\n3500.0(Cr)\n72864.1(Cr)\n", + "opening_balance": 55549.1, + "closing_balance": 72864.1, + "transactions": [ + { + "date": "11-01-2026", + "description": "UPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb", + "amount": 2700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@", + "amount": 730.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254", + "amount": 650.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/693649126182/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/771361599267/DR/K S N /UTIB/gpay-121905896", + "amount": 226.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1675.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-01-2026", + "description": "UPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-01-2026", + "description": "UPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-01-2026", + "description": "UPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs", + "amount": 1600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-01-2026", + "description": "UPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-01-2026", + "description": "UPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 269.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 185.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-01-2026", + "description": "UPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-01-2026", + "description": "UPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "11-01-2026", + "period_end": "20-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 21, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n21\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-01-2026\nY90163413\nUPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n55549.1(Cr)\n12-01-2026\nS52176580\nUPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n56549.1(Cr)\n12-01-2026\nS82117527\nUPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb\n2700.0(Cr)\n59249.1(Cr)\n12-01-2026\nS95397159\nUPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb\n220.0(Dr)\n59029.1(Cr)\n12-01-2026\nS97139741\nUPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@\n730.0(Dr)\n58299.1(Cr)\n12-01-2026\nS98261430\nUPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254\n650.0(Dr)\n57649.1(Cr)\n13-01-2026\nT26655058\nUPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n57549.1(Cr)\n13-01-2026\nT27880143\nUPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb\n1000.0(Cr)\n58549.1(Cr)\n13-01-2026\nT33868423\nUPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n61549.1(Cr)\n13-01-2026\nT37220340\nUPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y\n3000.0(Cr)\n64549.1(Cr)\n13-01-2026\nT42933366\nUPIAR/693649126182/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n54549.1(Cr)\n13-01-2026\nT50530207\nUPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb\n3500.0(Cr)\n58049.1(Cr)\n13-01-2026\nT50891326\nUPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n57799.1(Cr)\n13-01-2026\nT63267931\nUPIAR/771361599267/DR/K S N /UTIB/gpay-121905896\n226.0(Dr)\n57573.1(Cr)\n13-01-2026\nT71926669\nUPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i\n1675.0(Dr)\n55898.1(Cr)\n14-01-2026\nU16882492\nUPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax\n7000.0(Cr)\n62898.1(Cr)\n14-01-2026\nU31183925\nUPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb\n320.0(Dr)\n62578.1(Cr)\n14-01-2026\nU38693097\nUPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs\n1600.0(Dr)\n60978.1(Cr)\n17-01-2026\nV82640814\nUPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb\n5000.0(Cr)\n65978.1(Cr)\n17-01-2026\nW24141895\nUPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.\n269.0(Dr)\n65709.1(Cr)\n18-01-2026\nW43488350\nUPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y\n50.0(Dr)\n65659.1(Cr)\n18-01-2026\nW56499052\nUPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb\n185.0(Dr)\n65474.1(Cr)\n18-01-2026\nW76911639\nUPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb\n140.0(Dr)\n65334.1(Cr)\n18-01-2026\nW77509387\nUPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n65084.1(Cr)\n19-01-2026\nW97084128\nUPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n69584.1(Cr)\n19-01-2026\nX50187887\nUPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n69514.1(Cr)\n20-01-2026\nX68837973\nUPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n69364.1(Cr)\n20-01-2026\nX70352122\nUPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb\n3500.0(Cr)\n72864.1(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 55549.1, + "closing_balance": 72864.1, + "transactions": [ + { + "date": "11-01-2026", + "description": "UPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb", + "amount": 2700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@", + "amount": 730.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-01-2026", + "description": "UPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254", + "amount": 650.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/693649126182/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/771361599267/DR/K S N /UTIB/gpay-121905896", + "amount": 226.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-01-2026", + "description": "UPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1675.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-01-2026", + "description": "UPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-01-2026", + "description": "UPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-01-2026", + "description": "UPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs", + "amount": 1600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-01-2026", + "description": "UPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-01-2026", + "description": "UPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 269.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 185.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-01-2026", + "description": "UPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-01-2026", + "description": "UPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-01-2026", + "description": "UPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "11-01-2026", + "period_end": "20-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_22_extraction.json b/debug/20260518_152624/cp2_page_22_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..e14c4fcea62f0e60db09155becccb5c523dd34a1 --- /dev/null +++ b/debug/20260518_152624/cp2_page_22_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 22, + "elapsed_s": 24.16, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 22, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n22\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-01-2026\nX82063512\nUPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb\n500.0(Dr)\n72364.1(Cr)\n20-01-2026\nX82190906\nUPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb\n26500.0(Dr)\n45864.1(Cr)\n20-01-2026\nX82351208\nUPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb\n27000.0(Cr)\n72864.1(Cr)\n20-01-2026\nX84196521\nUPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb\n27000.0(Dr)\n45864.1(Cr)\n20-01-2026\nY7484218\nUPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb\n60.0(Dr)\n45804.1(Cr)\n20-01-2026\nY9283344\nUPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb\n999.0(Dr)\n44805.1(Cr)\n21-01-2026\nY36977058\nUPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax\n3000.0(Cr)\n47805.1(Cr)\n21-01-2026\nY39872282\nUPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y\n2500.0(Cr)\n50305.1(Cr)\n21-01-2026\nY46619876\nUPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@\n400.0(Dr)\n49905.1(Cr)\n21-01-2026\nY76746530\nUPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@\n100.0(Dr)\n49805.1(Cr)\n22-01-2026\nS11195323\nUPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n44805.1(Cr)\n22-01-2026\nS23806381\nUPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a\n3000.0(Cr)\n47805.1(Cr)\n22-01-2026\nS26197643\nUPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y\n4000.0(Cr)\n51805.1(Cr)\n22-01-2026\nS30454700\nUPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic\n2500.0(Cr)\n54305.1(Cr)\n22-01-2026\nS43676592\nUPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax\n2500.0(Cr)\n56805.1(Cr)\n23-01-2026\nS68577190\nUPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n56720.1(Cr)\n23-01-2026\nS77543043\nUPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax\n1000.0(Cr)\n57720.1(Cr)\n23-01-2026\nS90618508\nUPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n67720.1(Cr)\n23-01-2026\nT2722484\nUPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-\n560.1(Dr)\n67159.97(Cr)\n23-01-2026\nT2782070\nUPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-\n180.0(Dr)\n66979.97(Cr)\n23-01-2026\nT7243002\nUPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@\n550.0(Dr)\n66429.97(Cr)\n23-01-2026\nT8674030\nUPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib\n70.0(Dr)\n66359.97(Cr)\n23-01-2026\nT9990231\nUPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@\n40.0(Dr)\n66319.97(Cr)\n24-01-2026\nT32571579\nUPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan\n3000.0(Cr)\n69319.97(Cr)\n24-01-2026\nT33195087\nUPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n69069.97(Cr)\n24-01-2026\nT33966692\nUPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax\n10000.0(Cr)\n79069.97(Cr)\n24-01-2026\nT51841623\nUPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar\n1275.4(Dr)\n77794.58(Cr)\n25-01-2026\nT94143376\nUPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n77464.58(Cr)\n", + "currency": "INR", + "opening_balance": 72864.1, + "closing_balance": 77464.58, + "transactions": [ + { + "date": "20-01-2026", + "description": "UPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb", + "amount": 26500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb", + "amount": 999.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 400.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-", + "amount": 560.1, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 550.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1275.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-01-2026", + "description": "UPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "20-01-2026", + "period_end": "25-01-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 22, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n22\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-01-2026\nX82063512\nUPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb\n500.0(Dr)\n72364.1(Cr)\n20-01-2026\nX82190906\nUPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb\n26500.0(Dr)\n45864.1(Cr)\n20-01-2026\nX82351208\nUPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb\n27000.0(Cr)\n72864.1(Cr)\n20-01-2026\nX84196521\nUPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb\n27000.0(Dr)\n45864.1(Cr)\n20-01-2026\nY7484218\nUPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb\n60.0(Dr)\n45804.1(Cr)\n20-01-2026\nY9283344\nUPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb\n999.0(Dr)\n44805.1(Cr)\n21-01-2026\nY36977058\nUPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax\n3000.0(Cr)\n47805.1(Cr)\n21-01-2026\nY39872282\nUPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y\n2500.0(Cr)\n50305.1(Cr)\n21-01-2026\nY46619876\nUPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@\n400.0(Dr)\n49905.1(Cr)\n21-01-2026\nY76746530\nUPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@\n100.0(Dr)\n49805.1(Cr)\n22-01-2026\nS11195323\nUPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n44805.1(Cr)\n22-01-2026\nS23806381\nUPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a\n3000.0(Cr)\n47805.1(Cr)\n22-01-2026\nS26197643\nUPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y\n4000.0(Cr)\n51805.1(Cr)\n22-01-2026\nS30454700\nUPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic\n2500.0(Cr)\n54305.1(Cr)\n22-01-2026\nS43676592\nUPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax\n2500.0(Cr)\n56805.1(Cr)\n23-01-2026\nS68577190\nUPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n56720.1(Cr)\n23-01-2026\nS77543043\nUPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax\n1000.0(Cr)\n57720.1(Cr)\n23-01-2026\nS90618508\nUPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n67720.1(Cr)\n23-01-2026\nT2722484\nUPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-\n560.1(Dr)\n67159.97(Cr)\n23-01-2026\nT2782070\nUPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-\n180.0(Dr)\n66979.97(Cr)\n23-01-2026\nT7243002\nUPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@\n550.0(Dr)\n66429.97(Cr)\n23-01-2026\nT8674030\nUPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib\n70.0(Dr)\n66359.97(Cr)\n23-01-2026\nT9990231\nUPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@\n40.0(Dr)\n66319.97(Cr)\n24-01-2026\nT32571579\nUPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan\n3000.0(Cr)\n69319.97(Cr)\n24-01-2026\nT33195087\nUPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n69069.97(Cr)\n24-01-2026\nT33966692\nUPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax\n10000.0(Cr)\n79069.97(Cr)\n24-01-2026\nT51841623\nUPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar\n1275.4(Dr)\n77794.58(Cr)\n25-01-2026\nT94143376\nUPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n77464.58(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 72864.1, + "closing_balance": 77464.58, + "transactions": [ + { + "date": "20-01-2026", + "description": "UPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb", + "amount": 26500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "UPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb", + "amount": 999.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 400.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "UPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "UPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-", + "amount": 560.1, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 550.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "UPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "UPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1275.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-01-2026", + "description": "UPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-01-2026", + "period_end": "25-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_23_extraction.json b/debug/20260518_152624/cp2_page_23_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8cd4d4228df48adaa109424f6ee3397649acf6f1 --- /dev/null +++ b/debug/20260518_152624/cp2_page_23_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 23, + "elapsed_s": 25.12, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 23, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n23\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n25-01-2026\nU22025949\nUPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n67464.58(Cr)\n25-01-2026\nU35571628\nUPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb\n29.0(Dr)\n67435.58(Cr)\n26-01-2026\nU69280931\nUPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb\n34.0(Dr)\n67401.63(Cr)\n27-01-2026\nV7718840\nUPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n67261.63(Cr)\n27-01-2026\nV8302760\nUPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n67111.63(Cr)\n27-01-2026\nV11842807\nUPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n70111.63(Cr)\n28-01-2026\nW6895069\nUPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-\n314.0(Dr)\n69797.63(Cr)\n28-01-2026\nW8002916\nUPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n69697.63(Cr)\n28-01-2026\nW17318647\nUPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a\n2000.0(Cr)\n71697.63(Cr)\n29-01-2026\nW74120876\nUPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@\n471.0(Dr)\n71226.63(Cr)\n29-01-2026\nW75688022\nUPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb\n4000.0(Cr)\n75226.63(Cr)\n29-01-2026\nW76716923\nUPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP\n504.5(Dr)\n74722.1(Cr)\n30-01-2026\nX10327759\nUPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb\n883.0(Dr)\n73839.1(Cr)\n30-01-2026\nX16184511\nUPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb\n175.0(Dr)\n73664.1(Cr)\n30-01-2026\nX26859418\nUPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan\n883.0(Cr)\n74547.1(Cr)\n30-01-2026\nX28550957\nUPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e\n220.0(Dr)\n74327.1(Cr)\n30-01-2026\nX37712838\nUPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199\n1000.0(Cr)\n75327.1(Cr)\n30-01-2026\nX38871107\nUPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a\n3000.0(Cr)\n78327.1(Cr)\n31-01-2026\nX61556548\nUPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax\n16500.0(Cr)\n94827.1(Cr)\n31-01-2026\nX62666166\nUPIAR/819115052888/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n84827.1(Cr)\n31-01-2026\nX70131998\nUPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n74827.1(Cr)\n31-01-2026\nX88270306\nUPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n64827.1(Cr)\n31-01-2026\nX98488238\nUPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n6500.0(Cr)\n71327.1(Cr)\n31-01-2026\nX99004056\nUPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb\n2800.0(Cr)\n74127.1(Cr)\n31-01-2026\nX99783642\nUPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb\n310.0(Dr)\n73817.1(Cr)\n31-01-2026\nY9672269\nUPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb\n881.0(Dr)\n72936.1(Cr)\n31-01-2026\nY19346607\nUPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n85.4(Dr)\n72850.72(Cr)\n01-02-2026\nY35962925\nUPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n69850.72(Cr)\n", + "currency": "INR", + "opening_balance": 77464.58, + "closing_balance": 69850.72, + "transactions": [ + { + "date": "25-01-2026", + "description": "UPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-01-2026", + "description": "UPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 29.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-01-2026", + "description": "UPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb", + "amount": 34.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-", + "amount": 314.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 471.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 504.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb", + "amount": 883.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb", + "amount": 175.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan", + "amount": 883.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 16500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/819115052888/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb", + "amount": 2800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb", + "amount": 881.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 85.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "25-01-2026", + "period_end": "01-02-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 23, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n23\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n25-01-2026\nU22025949\nUPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n67464.58(Cr)\n25-01-2026\nU35571628\nUPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb\n29.0(Dr)\n67435.58(Cr)\n26-01-2026\nU69280931\nUPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb\n34.0(Dr)\n67401.63(Cr)\n27-01-2026\nV7718840\nUPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n67261.63(Cr)\n27-01-2026\nV8302760\nUPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n67111.63(Cr)\n27-01-2026\nV11842807\nUPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n70111.63(Cr)\n28-01-2026\nW6895069\nUPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-\n314.0(Dr)\n69797.63(Cr)\n28-01-2026\nW8002916\nUPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n69697.63(Cr)\n28-01-2026\nW17318647\nUPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a\n2000.0(Cr)\n71697.63(Cr)\n29-01-2026\nW74120876\nUPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@\n471.0(Dr)\n71226.63(Cr)\n29-01-2026\nW75688022\nUPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb\n4000.0(Cr)\n75226.63(Cr)\n29-01-2026\nW76716923\nUPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP\n504.5(Dr)\n74722.1(Cr)\n30-01-2026\nX10327759\nUPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb\n883.0(Dr)\n73839.1(Cr)\n30-01-2026\nX16184511\nUPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb\n175.0(Dr)\n73664.1(Cr)\n30-01-2026\nX26859418\nUPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan\n883.0(Cr)\n74547.1(Cr)\n30-01-2026\nX28550957\nUPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e\n220.0(Dr)\n74327.1(Cr)\n30-01-2026\nX37712838\nUPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199\n1000.0(Cr)\n75327.1(Cr)\n30-01-2026\nX38871107\nUPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a\n3000.0(Cr)\n78327.1(Cr)\n31-01-2026\nX61556548\nUPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax\n16500.0(Cr)\n94827.1(Cr)\n31-01-2026\nX62666166\nUPIAR/819115052888/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n84827.1(Cr)\n31-01-2026\nX70131998\nUPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n74827.1(Cr)\n31-01-2026\nX88270306\nUPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n64827.1(Cr)\n31-01-2026\nX98488238\nUPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n6500.0(Cr)\n71327.1(Cr)\n31-01-2026\nX99004056\nUPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb\n2800.0(Cr)\n74127.1(Cr)\n31-01-2026\nX99783642\nUPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb\n310.0(Dr)\n73817.1(Cr)\n31-01-2026\nY9672269\nUPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb\n881.0(Dr)\n72936.1(Cr)\n31-01-2026\nY19346607\nUPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n85.4(Dr)\n72850.72(Cr)\n01-02-2026\nY35962925\nUPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n69850.72(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 77464.58, + "closing_balance": 69850.72, + "transactions": [ + { + "date": "25-01-2026", + "description": "UPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-01-2026", + "description": "UPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 29.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-01-2026", + "description": "UPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb", + "amount": 34.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-", + "amount": 314.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 471.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 504.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb", + "amount": 883.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb", + "amount": 175.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan", + "amount": 883.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 16500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/819115052888/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb", + "amount": 2800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb", + "amount": 881.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 85.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "25-01-2026", + "period_end": "01-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_24_extraction.json b/debug/20260518_152624/cp2_page_24_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..dbbd7472348ca6df1588fa0889b343deeb1e0455 --- /dev/null +++ b/debug/20260518_152624/cp2_page_24_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 24, + "elapsed_s": 27.86, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 24, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n24\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-02-2026\nY40248578\nUPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n69765.72(Cr)\n01-02-2026\nY47995292\nUPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a\n1000.0(Cr)\n70765.72(Cr)\n01-02-2026\nY72228828\nUPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP\n1499.0(Dr)\n69266.72(Cr)\n01-02-2026\nY76705178\nUPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz\n100.0(Dr)\n69166.72(Cr)\n02-02-2026\nS4779932\nUPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n72666.72(Cr)\n02-02-2026\nS13332569\nUPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n78166.72(Cr)\n03-02-2026\nS82184129\nUPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax\n5000.0(Cr)\n83166.72(Cr)\n03-02-2026\nT980199\nUPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb\n70.0(Dr)\n83096.72(Cr)\n03-02-2026\nT1294495\nUPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n82896.72(Cr)\n04-02-2026\nT50091525\nUPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib\n1500.0(Cr)\n84396.72(Cr)\n04-02-2026\nT52006727\nUPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n84266.72(Cr)\n04-02-2026\nT82487240\nUPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649\n8874.0(Dr)\n75392.72(Cr)\n04-02-2026\nT82756213\nUPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb\n2650.0(Dr)\n72742.72(Cr)\n04-02-2026\nT90755199\nUPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb\n4000.0(Cr)\n76742.72(Cr)\n04-02-2026\nU2954625\nUPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb\n40.0(Dr)\n76702.72(Cr)\n04-02-2026\nU3181848\nUPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n76512.72(Cr)\n04-02-2026\nU5174131\nUPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-\n377.3(Dr)\n76135.44(Cr)\n04-02-2026\nU5638298\nUPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188\n324.0(Dr)\n75811.44(Cr)\n05-02-2026\nU29792485\nUPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a\n3000.0(Cr)\n78811.44(Cr)\n05-02-2026\nU44151335\nUPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb\n2500.0(Cr)\n81311.44(Cr)\n05-02-2026\nU68144041\nUPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi\n3000.0(Cr)\n84311.44(Cr)\n05-02-2026\nU70409836\nUPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax\n3000.0(Cr)\n87311.44(Cr)\n05-02-2026\nU71686662\nUPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i\n941.8(Dr)\n86369.66(Cr)\n05-02-2026\nU81209390\nUPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649\n15639.0(Dr)\n70730.66(Cr)\n06-02-2026\nU95478993\nUPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n70430.66(Cr)\n06-02-2026\nU98164505\nUPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@\n1000.0(Cr)\n71430.66(Cr)\n06-02-2026\nU98276086\nUPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@\n1000.0(Dr)\n70430.66(Cr)\n06-02-2026\nV8041887\nUPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n73930.66(Cr)\n", + "currency": "INR", + "opening_balance": 69850.72, + "closing_balance": 73930.66, + "transactions": [ + { + "date": "01-02-2026", + "description": "UPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 1499.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-02-2026", + "description": "UPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-02-2026", + "description": "UPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-02-2026", + "description": "UPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-02-2026", + "description": "UPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-02-2026", + "description": "UPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib", + "amount": 1500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649", + "amount": 8874.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb", + "amount": 2650.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-", + "amount": 377.3, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188", + "amount": 324.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 941.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649", + "amount": 15639.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "01-02-2026", + "period_end": "06-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 24, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n24\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-02-2026\nY40248578\nUPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n69765.72(Cr)\n01-02-2026\nY47995292\nUPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a\n1000.0(Cr)\n70765.72(Cr)\n01-02-2026\nY72228828\nUPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP\n1499.0(Dr)\n69266.72(Cr)\n01-02-2026\nY76705178\nUPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz\n100.0(Dr)\n69166.72(Cr)\n02-02-2026\nS4779932\nUPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n72666.72(Cr)\n02-02-2026\nS13332569\nUPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n78166.72(Cr)\n03-02-2026\nS82184129\nUPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax\n5000.0(Cr)\n83166.72(Cr)\n03-02-2026\nT980199\nUPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb\n70.0(Dr)\n83096.72(Cr)\n03-02-2026\nT1294495\nUPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n82896.72(Cr)\n04-02-2026\nT50091525\nUPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib\n1500.0(Cr)\n84396.72(Cr)\n04-02-2026\nT52006727\nUPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n84266.72(Cr)\n04-02-2026\nT82487240\nUPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649\n8874.0(Dr)\n75392.72(Cr)\n04-02-2026\nT82756213\nUPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb\n2650.0(Dr)\n72742.72(Cr)\n04-02-2026\nT90755199\nUPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb\n4000.0(Cr)\n76742.72(Cr)\n04-02-2026\nU2954625\nUPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb\n40.0(Dr)\n76702.72(Cr)\n04-02-2026\nU3181848\nUPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n76512.72(Cr)\n04-02-2026\nU5174131\nUPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-\n377.3(Dr)\n76135.44(Cr)\n04-02-2026\nU5638298\nUPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188\n324.0(Dr)\n75811.44(Cr)\n05-02-2026\nU29792485\nUPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a\n3000.0(Cr)\n78811.44(Cr)\n05-02-2026\nU44151335\nUPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb\n2500.0(Cr)\n81311.44(Cr)\n05-02-2026\nU68144041\nUPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi\n3000.0(Cr)\n84311.44(Cr)\n05-02-2026\nU70409836\nUPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax\n3000.0(Cr)\n87311.44(Cr)\n05-02-2026\nU71686662\nUPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i\n941.8(Dr)\n86369.66(Cr)\n05-02-2026\nU81209390\nUPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649\n15639.0(Dr)\n70730.66(Cr)\n06-02-2026\nU95478993\nUPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n70430.66(Cr)\n06-02-2026\nU98164505\nUPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@\n1000.0(Cr)\n71430.66(Cr)\n06-02-2026\nU98276086\nUPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@\n1000.0(Dr)\n70430.66(Cr)\n06-02-2026\nV8041887\nUPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n73930.66(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 69850.72, + "closing_balance": 73930.66, + "transactions": [ + { + "date": "01-02-2026", + "description": "UPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 1499.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-02-2026", + "description": "UPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-02-2026", + "description": "UPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-02-2026", + "description": "UPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-02-2026", + "description": "UPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-02-2026", + "description": "UPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib", + "amount": 1500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649", + "amount": 8874.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb", + "amount": 2650.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-", + "amount": 377.3, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-02-2026", + "description": "UPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188", + "amount": 324.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 941.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-02-2026", + "description": "UPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649", + "amount": 15639.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "01-02-2026", + "period_end": "06-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_25_extraction.json b/debug/20260518_152624/cp2_page_25_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..76f36ee28f489c3703c86e8636b6f04576c32ffa --- /dev/null +++ b/debug/20260518_152624/cp2_page_25_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 25, + "elapsed_s": 21.6, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 25, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n25\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n06-02-2026\nV22129101\nUPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@\n180.0(Dr)\n73750.66(Cr)\n06-02-2026\nV25747036\nUPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax\n1000.0(Cr)\n74750.66(Cr)\n06-02-2026\nV34941636\nUPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax\n3000.0(Cr)\n77750.66(Cr)\n07-02-2026\nV77127363\nUPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n76950.66(Cr)\n07-02-2026\nV88002699\nUPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax\n350.0(Dr)\n76600.66(Cr)\n07-02-2026\nV88303333\nUPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb\n210.0(Dr)\n76390.66(Cr)\n07-02-2026\nW9151951\nUPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax\n500.0(Cr)\n76890.66(Cr)\n07-02-2026\nW12359197\nUPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb\n110.0(Dr)\n76780.66(Cr)\n07-02-2026\nW13100151\nUPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb\n364.0(Dr)\n76416.66(Cr)\n07-02-2026\nW15137518\nUPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-\n292.6(Dr)\n76124.1(Cr)\n07-02-2026\nW16892725\nUPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb\n180.0(Dr)\n75944.1(Cr)\n08-02-2026\nW37233273\nUPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n75594.1(Cr)\n08-02-2026\nW39034414\nUPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n75464.1(Cr)\n08-02-2026\nW53741568\nUPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb\n3500.0(Cr)\n78964.1(Cr)\n08-02-2026\nW61737668\nUPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb\n320.0(Dr)\n78644.1(Cr)\n08-02-2026\nW82181393\nUPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188\n448.0(Dr)\n78196.1(Cr)\n09-02-2026\nW94391902\nUPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n77196.1(Cr)\n09-02-2026\nW95368382\nUPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n76196.1(Cr)\n09-02-2026\nX56432496\nUPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n20.2(Dr)\n76175.9(Cr)\n10-02-2026\nX74975797\nUPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n76045.9(Cr)\n10-02-2026\nY13483626\nUPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb\n1269.0(Dr)\n74776.9(Cr)\n10-02-2026\nY30313007\nUPIAR/505970277664/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n64776.9(Cr)\n11-02-2026\nY46830154\nUPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n64476.9(Cr)\n11-02-2026\nY77560647\nUPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n63616.9(Cr)\n11-02-2026\nY99864292\nUPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722\n220.0(Dr)\n63396.9(Cr)\n12-02-2026\nS17166900\nUPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n63328.9(Cr)\n13-02-2026\nS93772595\nUPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n66828.9(Cr)\n13-02-2026\nT11833404\nUPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y\n3000.0(Cr)\n69828.9(Cr)\n", + "opening_balance": 73750.66, + "closing_balance": 69828.9, + "transactions": [ + { + "date": "06-02-2026", + "description": "V22129101 UPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "V25747036 UPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "V34941636 UPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "V77127363 UPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "V88002699 UPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax", + "amount": 350.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "V88303333 UPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W9151951 UPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W12359197 UPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 110.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W13100151 UPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W15137518 UPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-", + "amount": 292.6, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W16892725 UPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W37233273 UPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W39034414 UPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W53741568 UPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W61737668 UPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W82181393 UPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188", + "amount": 448.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-02-2026", + "description": "W94391902 UPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-02-2026", + "description": "W95368382 UPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-02-2026", + "description": "X56432496 UPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 20.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-02-2026", + "description": "X74975797 UPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-02-2026", + "description": "Y13483626 UPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1269.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-02-2026", + "description": "Y30313007 UPIAR/505970277664/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-02-2026", + "description": "Y46830154 UPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-02-2026", + "description": "Y77560647 UPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-02-2026", + "description": "Y99864292 UPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722", + "amount": 220.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-02-2026", + "description": "S17166900 UPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-02-2026", + "description": "S93772595 UPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-02-2026", + "description": "T11833404 UPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "06-02-2026", + "period_end": "13-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 25, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n25\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n06-02-2026\nV22129101\nUPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@\n180.0(Dr)\n73750.66(Cr)\n06-02-2026\nV25747036\nUPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax\n1000.0(Cr)\n74750.66(Cr)\n06-02-2026\nV34941636\nUPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax\n3000.0(Cr)\n77750.66(Cr)\n07-02-2026\nV77127363\nUPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n76950.66(Cr)\n07-02-2026\nV88002699\nUPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax\n350.0(Dr)\n76600.66(Cr)\n07-02-2026\nV88303333\nUPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb\n210.0(Dr)\n76390.66(Cr)\n07-02-2026\nW9151951\nUPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax\n500.0(Cr)\n76890.66(Cr)\n07-02-2026\nW12359197\nUPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb\n110.0(Dr)\n76780.66(Cr)\n07-02-2026\nW13100151\nUPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb\n364.0(Dr)\n76416.66(Cr)\n07-02-2026\nW15137518\nUPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-\n292.6(Dr)\n76124.1(Cr)\n07-02-2026\nW16892725\nUPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb\n180.0(Dr)\n75944.1(Cr)\n08-02-2026\nW37233273\nUPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n75594.1(Cr)\n08-02-2026\nW39034414\nUPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n75464.1(Cr)\n08-02-2026\nW53741568\nUPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb\n3500.0(Cr)\n78964.1(Cr)\n08-02-2026\nW61737668\nUPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb\n320.0(Dr)\n78644.1(Cr)\n08-02-2026\nW82181393\nUPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188\n448.0(Dr)\n78196.1(Cr)\n09-02-2026\nW94391902\nUPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n77196.1(Cr)\n09-02-2026\nW95368382\nUPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n76196.1(Cr)\n09-02-2026\nX56432496\nUPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n20.2(Dr)\n76175.9(Cr)\n10-02-2026\nX74975797\nUPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n76045.9(Cr)\n10-02-2026\nY13483626\nUPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb\n1269.0(Dr)\n74776.9(Cr)\n10-02-2026\nY30313007\nUPIAR/505970277664/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n64776.9(Cr)\n11-02-2026\nY46830154\nUPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n64476.9(Cr)\n11-02-2026\nY77560647\nUPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n63616.9(Cr)\n11-02-2026\nY99864292\nUPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722\n220.0(Dr)\n63396.9(Cr)\n12-02-2026\nS17166900\nUPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n63328.9(Cr)\n13-02-2026\nS93772595\nUPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n66828.9(Cr)\n13-02-2026\nT11833404\nUPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y\n3000.0(Cr)\n69828.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 73750.66, + "closing_balance": 69828.9, + "transactions": [ + { + "date": "06-02-2026", + "description": "V22129101 UPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "V25747036 UPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "V34941636 UPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "V77127363 UPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "V88002699 UPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax", + "amount": 350.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "V88303333 UPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W9151951 UPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W12359197 UPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 110.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W13100151 UPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W15137518 UPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-", + "amount": 292.6, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-02-2026", + "description": "W16892725 UPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W37233273 UPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W39034414 UPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W53741568 UPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W61737668 UPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-02-2026", + "description": "W82181393 UPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188", + "amount": 448.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-02-2026", + "description": "W94391902 UPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-02-2026", + "description": "W95368382 UPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-02-2026", + "description": "X56432496 UPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 20.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-02-2026", + "description": "X74975797 UPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-02-2026", + "description": "Y13483626 UPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1269.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-02-2026", + "description": "Y30313007 UPIAR/505970277664/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-02-2026", + "description": "Y46830154 UPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-02-2026", + "description": "Y77560647 UPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-02-2026", + "description": "Y99864292 UPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722", + "amount": 220.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-02-2026", + "description": "S17166900 UPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-02-2026", + "description": "S93772595 UPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-02-2026", + "description": "T11833404 UPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "06-02-2026", + "period_end": "13-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_26_extraction.json b/debug/20260518_152624/cp2_page_26_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..c543118e5cbc2c00d00db544db91750b5e11621a --- /dev/null +++ b/debug/20260518_152624/cp2_page_26_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 26, + "elapsed_s": 28.21, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 26, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n26\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-02-2026\nT18767471\nUPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb\n2000.0(Cr)\n71828.9(Cr)\n13-02-2026\nT19926693\nUPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y\n5000.0(Cr)\n76828.9(Cr)\n13-02-2026\nT24551339\nUPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y\n190.0(Dr)\n76638.9(Cr)\n13-02-2026\nT39772743\nUPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju\n1.0(Cr)\n76639.9(Cr)\n13-02-2026\nT39790908\nUPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju\n1000.0(Cr)\n77639.9(Cr)\n13-02-2026\nT42496779\nUPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB\n9.0(Dr)\n77630.9(Cr)\n13-02-2026\nT42544609\nUPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n67630.9(Cr)\n14-02-2026\nT58960949\nUPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8\n1790.0(Dr)\n65840.9(Cr)\n14-02-2026\nT59037874\nUPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8\n2625.0(Dr)\n63215.9(Cr)\n14-02-2026\nT59730404\nUPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8\n2670.0(Dr)\n60545.9(Cr)\n14-02-2026\nT59822032\nUPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8\n1700.0(Dr)\n58845.9(Cr)\n14-02-2026\nT87399079\nUPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb\n100.0(Dr)\n58745.9(Cr)\n14-02-2026\nT99142907\nUPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-\n476.6(Dr)\n58269.25(Cr)\n14-02-2026\nU542124\nUPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@\n80.0(Dr)\n58189.25(Cr)\n15-02-2026\nU33805039\nUPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n57989.25(Cr)\n15-02-2026\nU55106560\nUPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI\n9.0(Dr)\n57980.25(Cr)\n15-02-2026\nU62184090\nUPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI\n12000.0(Dr)\n45980.25(Cr)\n15-02-2026\nU64258076\nUPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI\n10116.0(Dr)\n35864.25(Cr)\n15-02-2026\nU65830372\nUPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb\n100.0(Dr)\n35764.25(Cr)\n16-02-2026\nV5277810\nUPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb\n3000.0(Cr)\n38764.25(Cr)\n16-02-2026\nV5318042\nUPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax\n3500.0(Cr)\n42264.25(Cr)\n17-02-2026\nV57861374\nUPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb\n120.0(Dr)\n42144.25(Cr)\n17-02-2026\nV65782607\nUPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@\n3000.0(Cr)\n45144.25(Cr)\n17-02-2026\nV77968458\nUPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb\n7000.0(Cr)\n52144.25(Cr)\n17-02-2026\nV95289898\nUPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n55144.25(Cr)\n17-02-2026\nV95752567\nUPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005\n1000.0(Cr)\n56144.25(Cr)\n17-02-2026\nV96269543\nUPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n56044.25(Cr)\n17-02-2026\nV96656853\nUPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz\n110.0(Dr)\n55934.25(Cr)\n", + "currency": "INR", + "opening_balance": 69828.9, + "closing_balance": 55934.25, + "transactions": [ + { + "date": "13-02-2026", + "description": "UPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1790.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2625.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2670.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1700.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-", + "amount": 476.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI", + "amount": 10116.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 110.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "13-02-2026", + "period_end": "17-02-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 26, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n26\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-02-2026\nT18767471\nUPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb\n2000.0(Cr)\n71828.9(Cr)\n13-02-2026\nT19926693\nUPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y\n5000.0(Cr)\n76828.9(Cr)\n13-02-2026\nT24551339\nUPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y\n190.0(Dr)\n76638.9(Cr)\n13-02-2026\nT39772743\nUPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju\n1.0(Cr)\n76639.9(Cr)\n13-02-2026\nT39790908\nUPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju\n1000.0(Cr)\n77639.9(Cr)\n13-02-2026\nT42496779\nUPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB\n9.0(Dr)\n77630.9(Cr)\n13-02-2026\nT42544609\nUPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n67630.9(Cr)\n14-02-2026\nT58960949\nUPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8\n1790.0(Dr)\n65840.9(Cr)\n14-02-2026\nT59037874\nUPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8\n2625.0(Dr)\n63215.9(Cr)\n14-02-2026\nT59730404\nUPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8\n2670.0(Dr)\n60545.9(Cr)\n14-02-2026\nT59822032\nUPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8\n1700.0(Dr)\n58845.9(Cr)\n14-02-2026\nT87399079\nUPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb\n100.0(Dr)\n58745.9(Cr)\n14-02-2026\nT99142907\nUPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-\n476.6(Dr)\n58269.25(Cr)\n14-02-2026\nU542124\nUPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@\n80.0(Dr)\n58189.25(Cr)\n15-02-2026\nU33805039\nUPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n57989.25(Cr)\n15-02-2026\nU55106560\nUPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI\n9.0(Dr)\n57980.25(Cr)\n15-02-2026\nU62184090\nUPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI\n12000.0(Dr)\n45980.25(Cr)\n15-02-2026\nU64258076\nUPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI\n10116.0(Dr)\n35864.25(Cr)\n15-02-2026\nU65830372\nUPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb\n100.0(Dr)\n35764.25(Cr)\n16-02-2026\nV5277810\nUPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb\n3000.0(Cr)\n38764.25(Cr)\n16-02-2026\nV5318042\nUPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax\n3500.0(Cr)\n42264.25(Cr)\n17-02-2026\nV57861374\nUPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb\n120.0(Dr)\n42144.25(Cr)\n17-02-2026\nV65782607\nUPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@\n3000.0(Cr)\n45144.25(Cr)\n17-02-2026\nV77968458\nUPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb\n7000.0(Cr)\n52144.25(Cr)\n17-02-2026\nV95289898\nUPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n55144.25(Cr)\n17-02-2026\nV95752567\nUPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005\n1000.0(Cr)\n56144.25(Cr)\n17-02-2026\nV96269543\nUPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n56044.25(Cr)\n17-02-2026\nV96656853\nUPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz\n110.0(Dr)\n55934.25(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 69828.9, + "closing_balance": 55934.25, + "transactions": [ + { + "date": "13-02-2026", + "description": "UPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1790.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2625.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2670.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1700.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-", + "amount": 476.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI", + "amount": 10116.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 110.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-02-2026", + "period_end": "17-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_27_extraction.json b/debug/20260518_152624/cp2_page_27_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..35a754b2faf9dcecf4e287a94ce60d73712d8444 --- /dev/null +++ b/debug/20260518_152624/cp2_page_27_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 27, + "elapsed_s": 26.83, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 27, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n27\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n17-02-2026\nW13408611\nUPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n45934.25(Cr)\n18-02-2026\nW28289287\nUPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n45584.25(Cr)\n18-02-2026\nW38271194\nUPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg\n1000.0(Cr)\n46584.25(Cr)\n18-02-2026\nW45409986\nUPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb\n100.0(Dr)\n46484.25(Cr)\n18-02-2026\nW53523145\nUPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@\n200.0(Dr)\n46284.25(Cr)\n18-02-2026\nW67493440\nUPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22\n3000.0(Cr)\n49284.25(Cr)\n18-02-2026\nW69771125\nUPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Dr)\n46284.25(Cr)\n18-02-2026\nW81014495\nUPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n43.0(Dr)\n46241.25(Cr)\n19-02-2026\nX23727780\nUPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb\n3000.0(Cr)\n49241.25(Cr)\n19-02-2026\nX47001919\nUPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb\n12.0(Dr)\n49229.25(Cr)\n19-02-2026\nX47030807\nUPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n46729.25(Cr)\n20-02-2026\nX96175531\nUPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb\n6000.0(Cr)\n52729.25(Cr)\n20-02-2026\nY2191460\nUPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb\n170.0(Dr)\n52559.25(Cr)\n20-02-2026\nY5056717\nUPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge\n5000.0(Cr)\n57559.25(Cr)\n21-02-2026\nY26763158\nUPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62059.25(Cr)\n21-02-2026\nY37739571\nUPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987\n3500.0(Cr)\n65559.25(Cr)\n21-02-2026\nY56338350\nUPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i\n1000.0(Cr)\n66559.25(Cr)\n21-02-2026\nY63329419\nUPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb\n3500.0(Cr)\n70059.25(Cr)\n21-02-2026\nY79033229\nUPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n70019.25(Cr)\n22-02-2026\nY98360154\nUPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n69929.25(Cr)\n22-02-2026\nS2629926\nUPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n64929.25(Cr)\n22-02-2026\nS10069020\nUPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n950.0(Dr)\n63979.25(Cr)\n22-02-2026\nS10470614\nUPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618\n59.2(Dr)\n63920.09(Cr)\n22-02-2026\nS12349040\nUPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb\n100.0(Dr)\n63820.09(Cr)\n22-02-2026\nS21867420\nUPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050\n200.0(Dr)\n63620.09(Cr)\n22-02-2026\nS38470563\nUPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb\n60.0(Dr)\n63560.09(Cr)\n22-02-2026\nS38718044\nUPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb\n290.0(Dr)\n63270.09(Cr)\n22-02-2026\nS38928346\nUPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188\n314.0(Dr)\n62956.09(Cr)\n", + "currency": "INR", + "opening_balance": 55934.25, + "closing_balance": 62956.09, + "transactions": [ + { + "date": "17-02-2026", + "description": "W13408611 UPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W28289287 UPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W38271194 UPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W45409986 UPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W53523145 UPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W67493440 UPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W69771125 UPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W81014495 UPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 43.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X23727780 UPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47001919 UPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb", + "amount": 12.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47030807 UPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "X96175531 UPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y2191460 UPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y5056717 UPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y26763158 UPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y37739571 UPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y56338350 UPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y63329419 UPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y79033229 UPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "Y98360154 UPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S2629926 UPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10069020 UPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 950.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10470614 UPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 59.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S12349040 UPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S21867420 UPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38470563 UPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38718044 UPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38928346 UPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188", + "amount": 314.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "17-02-2026", + "period_end": "22-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 27, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n27\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n17-02-2026\nW13408611\nUPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n45934.25(Cr)\n18-02-2026\nW28289287\nUPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n45584.25(Cr)\n18-02-2026\nW38271194\nUPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg\n1000.0(Cr)\n46584.25(Cr)\n18-02-2026\nW45409986\nUPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb\n100.0(Dr)\n46484.25(Cr)\n18-02-2026\nW53523145\nUPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@\n200.0(Dr)\n46284.25(Cr)\n18-02-2026\nW67493440\nUPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22\n3000.0(Cr)\n49284.25(Cr)\n18-02-2026\nW69771125\nUPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Dr)\n46284.25(Cr)\n18-02-2026\nW81014495\nUPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n43.0(Dr)\n46241.25(Cr)\n19-02-2026\nX23727780\nUPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb\n3000.0(Cr)\n49241.25(Cr)\n19-02-2026\nX47001919\nUPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb\n12.0(Dr)\n49229.25(Cr)\n19-02-2026\nX47030807\nUPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n46729.25(Cr)\n20-02-2026\nX96175531\nUPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb\n6000.0(Cr)\n52729.25(Cr)\n20-02-2026\nY2191460\nUPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb\n170.0(Dr)\n52559.25(Cr)\n20-02-2026\nY5056717\nUPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge\n5000.0(Cr)\n57559.25(Cr)\n21-02-2026\nY26763158\nUPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62059.25(Cr)\n21-02-2026\nY37739571\nUPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987\n3500.0(Cr)\n65559.25(Cr)\n21-02-2026\nY56338350\nUPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i\n1000.0(Cr)\n66559.25(Cr)\n21-02-2026\nY63329419\nUPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb\n3500.0(Cr)\n70059.25(Cr)\n21-02-2026\nY79033229\nUPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n70019.25(Cr)\n22-02-2026\nY98360154\nUPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n69929.25(Cr)\n22-02-2026\nS2629926\nUPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n64929.25(Cr)\n22-02-2026\nS10069020\nUPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n950.0(Dr)\n63979.25(Cr)\n22-02-2026\nS10470614\nUPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618\n59.2(Dr)\n63920.09(Cr)\n22-02-2026\nS12349040\nUPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb\n100.0(Dr)\n63820.09(Cr)\n22-02-2026\nS21867420\nUPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050\n200.0(Dr)\n63620.09(Cr)\n22-02-2026\nS38470563\nUPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb\n60.0(Dr)\n63560.09(Cr)\n22-02-2026\nS38718044\nUPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb\n290.0(Dr)\n63270.09(Cr)\n22-02-2026\nS38928346\nUPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188\n314.0(Dr)\n62956.09(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 55934.25, + "closing_balance": 62956.09, + "transactions": [ + { + "date": "17-02-2026", + "description": "W13408611 UPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W28289287 UPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W38271194 UPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W45409986 UPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W53523145 UPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W67493440 UPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W69771125 UPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "W81014495 UPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 43.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X23727780 UPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47001919 UPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb", + "amount": 12.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "X47030807 UPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "X96175531 UPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y2191460 UPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "Y5056717 UPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y26763158 UPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y37739571 UPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y56338350 UPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y63329419 UPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "Y79033229 UPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "Y98360154 UPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S2629926 UPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10069020 UPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 950.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S10470614 UPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 59.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S12349040 UPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S21867420 UPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38470563 UPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38718044 UPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "S38928346 UPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188", + "amount": 314.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "17-02-2026", + "period_end": "22-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_28_extraction.json b/debug/20260518_152624/cp2_page_28_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..29fb7adc175ffe542527c26c13f7918bbe88bb7f --- /dev/null +++ b/debug/20260518_152624/cp2_page_28_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 28, + "elapsed_s": 24.52, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 28, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n28\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n22-02-2026\nS45981150\nUPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n52956.09(Cr)\n23-02-2026\nS70207027\nUPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb\n3500.0(Cr)\n56456.09(Cr)\n23-02-2026\nS71912487\nUPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n62456.09(Cr)\n23-02-2026\nS78434044\nUPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb\n3500.0(Cr)\n65956.09(Cr)\n23-02-2026\nS98152993\nUPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax\n1000.0(Cr)\n66956.09(Cr)\n23-02-2026\nT8876730\nUPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax\n7500.0(Cr)\n74456.09(Cr)\n24-02-2026\nT34002709\nUPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n77456.09(Cr)\n24-02-2026\nT67679017\nUPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb\n100.0(Dr)\n77356.09(Cr)\n24-02-2026\nT81540904\nUPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n40481.09(Cr)\n25-02-2026\nT97228853\nUPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n40181.09(Cr)\n25-02-2026\nU35841389\nUPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb\n100.0(Dr)\n40081.09(Cr)\n25-02-2026\nU36383980\nUPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188\n200.0(Dr)\n39881.09(Cr)\n25-02-2026\nU37645292\nUPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n37381.09(Cr)\n25-02-2026\nU39541991\nUPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y\n3000.0(Cr)\n40381.09(Cr)\n26-02-2026\nU60792036\nUPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n43381.09(Cr)\n26-02-2026\nU72072699\nUPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb\n3000.0(Cr)\n46381.09(Cr)\n26-02-2026\nU86194802\nUPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT\n804.0(Dr)\n45577.09(Cr)\n26-02-2026\nU89149879\nUPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib\n3000.0(Cr)\n48577.09(Cr)\n26-02-2026\nV15540073\nUPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n54577.09(Cr)\n27-02-2026\nV32216288\nUPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb\n30.0(Dr)\n54547.09(Cr)\n27-02-2026\nV51112516\nUPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha\n1000.0(Cr)\n55547.09(Cr)\n27-02-2026\nV62992836\nUPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar\n300.0(Dr)\n55247.09(Cr)\n27-02-2026\nV78744671\nUPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar\n20.0(Dr)\n55227.09(Cr)\n28-02-2026\nW27968583\nUPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n45227.09(Cr)\n28-02-2026\nW51513376\nUPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop\n3000.0(Cr)\n48227.09(Cr)\n28-02-2026\nW54577353\nUPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n11352.09(Cr)\n01-03-2026\nW85084903\nUPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb\n220.0(Dr)\n11132.09(Cr)\n01-03-2026\nW95055843\nIMPSAB/606016704797/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n41132.09(Cr)\n", + "person_name": "SATYANARAYANA KORAD", + "currency": "INR", + "opening_balance": 62956.09, + "closing_balance": 41132.09, + "transactions": [ + { + "date": "22-02-2026", + "description": "UPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax", + "amount": 7500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "IMPSAB/606016704797/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "22-02-2026", + "period_end": "01-03-2026" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 28, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n28\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n22-02-2026\nS45981150\nUPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n52956.09(Cr)\n23-02-2026\nS70207027\nUPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb\n3500.0(Cr)\n56456.09(Cr)\n23-02-2026\nS71912487\nUPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n62456.09(Cr)\n23-02-2026\nS78434044\nUPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb\n3500.0(Cr)\n65956.09(Cr)\n23-02-2026\nS98152993\nUPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax\n1000.0(Cr)\n66956.09(Cr)\n23-02-2026\nT8876730\nUPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax\n7500.0(Cr)\n74456.09(Cr)\n24-02-2026\nT34002709\nUPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n77456.09(Cr)\n24-02-2026\nT67679017\nUPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb\n100.0(Dr)\n77356.09(Cr)\n24-02-2026\nT81540904\nUPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n40481.09(Cr)\n25-02-2026\nT97228853\nUPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n40181.09(Cr)\n25-02-2026\nU35841389\nUPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb\n100.0(Dr)\n40081.09(Cr)\n25-02-2026\nU36383980\nUPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188\n200.0(Dr)\n39881.09(Cr)\n25-02-2026\nU37645292\nUPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n37381.09(Cr)\n25-02-2026\nU39541991\nUPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y\n3000.0(Cr)\n40381.09(Cr)\n26-02-2026\nU60792036\nUPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n43381.09(Cr)\n26-02-2026\nU72072699\nUPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb\n3000.0(Cr)\n46381.09(Cr)\n26-02-2026\nU86194802\nUPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT\n804.0(Dr)\n45577.09(Cr)\n26-02-2026\nU89149879\nUPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib\n3000.0(Cr)\n48577.09(Cr)\n26-02-2026\nV15540073\nUPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n54577.09(Cr)\n27-02-2026\nV32216288\nUPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb\n30.0(Dr)\n54547.09(Cr)\n27-02-2026\nV51112516\nUPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha\n1000.0(Cr)\n55547.09(Cr)\n27-02-2026\nV62992836\nUPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar\n300.0(Dr)\n55247.09(Cr)\n27-02-2026\nV78744671\nUPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar\n20.0(Dr)\n55227.09(Cr)\n28-02-2026\nW27968583\nUPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n45227.09(Cr)\n28-02-2026\nW51513376\nUPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop\n3000.0(Cr)\n48227.09(Cr)\n28-02-2026\nW54577353\nUPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n11352.09(Cr)\n01-03-2026\nW85084903\nUPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb\n220.0(Dr)\n11132.09(Cr)\n01-03-2026\nW95055843\nIMPSAB/606016704797/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n41132.09(Cr)\n", + "person_name": "SATYANARAYANA KORAD", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 62956.09, + "closing_balance": 41132.09, + "transactions": [ + { + "date": "22-02-2026", + "description": "UPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax", + "amount": 7500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "IMPSAB/606016704797/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "22-02-2026", + "period_end": "01-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_29_extraction.json b/debug/20260518_152624/cp2_page_29_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..444c7901ce31d48dcac7b691e20547881ae68291 --- /dev/null +++ b/debug/20260518_152624/cp2_page_29_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 29, + "elapsed_s": 16.21, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 29, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n29\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-03-2026\nW95512803\nIMPSAB/606016709015/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n71132.09(Cr)\n01-03-2026\nX8318031\nUPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188\n130.0(Dr)\n71002.09(Cr)\n01-03-2026\nX8665995\nUPIAR/599057255381/DR/K S N /UTIB/gpay-121905896\n200.0(Dr)\n70802.09(Cr)\n01-03-2026\nX9444568\nUPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@\n390.0(Dr)\n70412.09(Cr)\n01-03-2026\nX22304292\nUPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib\n1000.0(Dr)\n69412.09(Cr)\n01-03-2026\nX22372418\nUPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n32537.09(Cr)\n02-03-2026\nX42618069\nUPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax\n1000.0(Cr)\n33537.09(Cr)\n02-03-2026\nX48058528\nUPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n36537.09(Cr)\n02-03-2026\nX61855904\nUPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@\n100.0(Dr)\n36437.09(Cr)\n02-03-2026\nX86035687\nUPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib\n500.0(Dr)\n35937.09(Cr)\n02-03-2026\nX99219011\nUPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb\n159.0(Dr)\n35778.09(Cr)\n02-03-2026\nY2371684\nUPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Cr)\n45778.09(Cr)\n02-03-2026\nY2403548\nUPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n8903.09(Cr)\n03-03-2026\nY17953765\nUPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n8803.09(Cr)\n03-03-2026\nY47361115\nIMPSAB/606217709201/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n38803.09(Cr)\n03-03-2026\nY47478884\nIMPSAB/606217710519/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n68803.09(Cr)\n03-03-2026\nY47684074\nIMPSAB/606217712277/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n98803.09(Cr)\n03-03-2026\nY47765145\nIMPSAB/606217712929/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n128803.09(Cr)\n03-03-2026\nY48349267\nIMPSAB/606217718184/SATYANARAYANA KORAD/6303357650\n20000.0(Cr)\n148803.09(Cr)\n03-03-2026\nY48505935\nUPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n138803.09(Cr)\n03-03-2026\nY54802579\nUPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb\n756.0(Dr)\n138047.09(Cr)\n03-03-2026\nY56002967\nUPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb\n127.0(Dr)\n137920.09(Cr)\n04-03-2026\nY88963684\nUPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@\n250.0(Dr)\n137670.09(Cr)\n04-03-2026\nS11874551\nUPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n141670.09(Cr)\n04-03-2026\nS18145753\nUPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@\n100.0(Dr)\n141570.09(Cr)\n05-03-2026\nS65727402\nUPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n145070.09(Cr)\n05-03-2026\nS84456623\nUPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb\n100.0(Dr)\n144970.09(Cr)\n05-03-2026\nT3026437\nUPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb\n93.0(Dr)\n144877.09(Cr)\n", + "opening_balance": 71132.09, + "closing_balance": 144877.09, + "transactions": [ + { + "date": "01-03-2026", + "description": "IMPSAB/606016709015/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/599057255381/DR/K S N /UTIB/gpay-121905896", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 390.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 159.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217709201/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217710519/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712277/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712929/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217718184/SATYANARAYANA KORAD/6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 756.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 127.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-03-2026", + "description": "UPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-03-2026", + "description": "UPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-03-2026", + "description": "UPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 93.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "01-03-2026", + "period_end": "05-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 29, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n29\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-03-2026\nW95512803\nIMPSAB/606016709015/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n71132.09(Cr)\n01-03-2026\nX8318031\nUPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188\n130.0(Dr)\n71002.09(Cr)\n01-03-2026\nX8665995\nUPIAR/599057255381/DR/K S N /UTIB/gpay-121905896\n200.0(Dr)\n70802.09(Cr)\n01-03-2026\nX9444568\nUPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@\n390.0(Dr)\n70412.09(Cr)\n01-03-2026\nX22304292\nUPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib\n1000.0(Dr)\n69412.09(Cr)\n01-03-2026\nX22372418\nUPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n32537.09(Cr)\n02-03-2026\nX42618069\nUPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax\n1000.0(Cr)\n33537.09(Cr)\n02-03-2026\nX48058528\nUPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n36537.09(Cr)\n02-03-2026\nX61855904\nUPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@\n100.0(Dr)\n36437.09(Cr)\n02-03-2026\nX86035687\nUPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib\n500.0(Dr)\n35937.09(Cr)\n02-03-2026\nX99219011\nUPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb\n159.0(Dr)\n35778.09(Cr)\n02-03-2026\nY2371684\nUPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Cr)\n45778.09(Cr)\n02-03-2026\nY2403548\nUPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n8903.09(Cr)\n03-03-2026\nY17953765\nUPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n8803.09(Cr)\n03-03-2026\nY47361115\nIMPSAB/606217709201/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n38803.09(Cr)\n03-03-2026\nY47478884\nIMPSAB/606217710519/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n68803.09(Cr)\n03-03-2026\nY47684074\nIMPSAB/606217712277/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n98803.09(Cr)\n03-03-2026\nY47765145\nIMPSAB/606217712929/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n128803.09(Cr)\n03-03-2026\nY48349267\nIMPSAB/606217718184/SATYANARAYANA KORAD/6303357650\n20000.0(Cr)\n148803.09(Cr)\n03-03-2026\nY48505935\nUPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n138803.09(Cr)\n03-03-2026\nY54802579\nUPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb\n756.0(Dr)\n138047.09(Cr)\n03-03-2026\nY56002967\nUPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb\n127.0(Dr)\n137920.09(Cr)\n04-03-2026\nY88963684\nUPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@\n250.0(Dr)\n137670.09(Cr)\n04-03-2026\nS11874551\nUPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n141670.09(Cr)\n04-03-2026\nS18145753\nUPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@\n100.0(Dr)\n141570.09(Cr)\n05-03-2026\nS65727402\nUPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n145070.09(Cr)\n05-03-2026\nS84456623\nUPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb\n100.0(Dr)\n144970.09(Cr)\n05-03-2026\nT3026437\nUPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb\n93.0(Dr)\n144877.09(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 71132.09, + "closing_balance": 144877.09, + "transactions": [ + { + "date": "01-03-2026", + "description": "IMPSAB/606016709015/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/599057255381/DR/K S N /UTIB/gpay-121905896", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 390.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 159.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-03-2026", + "description": "UPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217709201/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217710519/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712277/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712929/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217718184/SATYANARAYANA KORAD/6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 756.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-03-2026", + "description": "UPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 127.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-03-2026", + "description": "UPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-03-2026", + "description": "UPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-03-2026", + "description": "UPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 93.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "01-03-2026", + "period_end": "05-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_30_extraction.json b/debug/20260518_152624/cp2_page_30_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..9f8abca6e89a1803acef51cc759ed1722ddfaa3b --- /dev/null +++ b/debug/20260518_152624/cp2_page_30_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 30, + "elapsed_s": 28.88, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 30, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n30\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-03-2026\nT3804683\nUPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@\n35.0(Dr)\n144842.09(Cr)\n05-03-2026\nT5710665\nUPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n144802.09(Cr)\n05-03-2026\nT6338102\nUPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb\n170.0(Dr)\n144632.09(Cr)\n05-03-2026\nT13781823\nUPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n143673.04(Cr)\n05-03-2026\nT13812414\nUPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n142713.99(Cr)\n06-03-2026\nT26853522\nUPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb\n7000.0(Cr)\n149713.99(Cr)\n06-03-2026\nT26949018\nUPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y\n3000.0(Cr)\n152713.99(Cr)\n06-03-2026\nT29346182\nUPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n152613.99(Cr)\n06-03-2026\nT33474902\nUPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y\n3000.0(Cr)\n155613.99(Cr)\n06-03-2026\nT42632644\nUPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb\n500.0(Cr)\n156113.99(Cr)\n06-03-2026\nT80305154\nUPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb\n180.0(Dr)\n155933.99(Cr)\n07-03-2026\nU7637854\nUPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb\n10000.0(Cr)\n165933.99(Cr)\n07-03-2026\nU16834306\nUPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb\n500.0(Cr)\n166433.99(Cr)\n07-03-2026\nU19570685\nUPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax\n3500.0(Cr)\n169933.99(Cr)\n07-03-2026\nU20239819\nUPIAR/847604064228/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n159933.99(Cr)\n07-03-2026\nU20500680\nUPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n157433.99(Cr)\n07-03-2026\nU20563844\nUPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n147433.99(Cr)\n07-03-2026\nU28095079\nUPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n147373.99(Cr)\n07-03-2026\nU30693702\nUPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@\n130.0(Dr)\n147243.99(Cr)\n07-03-2026\nU57485523\nUPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n146323.99(Cr)\n07-03-2026\nU57489049\nUPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649\n17184.0(Dr)\n129139.99(Cr)\n08-03-2026\nV6850346\nUPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n129069.99(Cr)\n08-03-2026\nV8290137\nUPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n128269.99(Cr)\n08-03-2026\nV9260370\nUPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb\n230.0(Dr)\n128039.99(Cr)\n08-03-2026\nV9498390\nUPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188\n160.0(Dr)\n127879.99(Cr)\n09-03-2026\nV35362678\nUPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n126879.99(Cr)\n09-03-2026\nV35372462\nUPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n125879.99(Cr)\n09-03-2026\nV41336139\nUPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax\n3500.0(Cr)\n129379.99(Cr)\n", + "currency": "INR", + "opening_balance": 144877.09, + "closing_balance": 129379.99, + "transactions": [ + { + "date": "05-03-2026", + "description": "UPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/847604064228/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649", + "amount": 17184.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "05-03-2026", + "period_end": "09-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 30, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n30\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-03-2026\nT3804683\nUPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@\n35.0(Dr)\n144842.09(Cr)\n05-03-2026\nT5710665\nUPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n144802.09(Cr)\n05-03-2026\nT6338102\nUPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb\n170.0(Dr)\n144632.09(Cr)\n05-03-2026\nT13781823\nUPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n143673.04(Cr)\n05-03-2026\nT13812414\nUPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n142713.99(Cr)\n06-03-2026\nT26853522\nUPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb\n7000.0(Cr)\n149713.99(Cr)\n06-03-2026\nT26949018\nUPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y\n3000.0(Cr)\n152713.99(Cr)\n06-03-2026\nT29346182\nUPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n152613.99(Cr)\n06-03-2026\nT33474902\nUPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y\n3000.0(Cr)\n155613.99(Cr)\n06-03-2026\nT42632644\nUPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb\n500.0(Cr)\n156113.99(Cr)\n06-03-2026\nT80305154\nUPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb\n180.0(Dr)\n155933.99(Cr)\n07-03-2026\nU7637854\nUPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb\n10000.0(Cr)\n165933.99(Cr)\n07-03-2026\nU16834306\nUPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb\n500.0(Cr)\n166433.99(Cr)\n07-03-2026\nU19570685\nUPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax\n3500.0(Cr)\n169933.99(Cr)\n07-03-2026\nU20239819\nUPIAR/847604064228/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n159933.99(Cr)\n07-03-2026\nU20500680\nUPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n157433.99(Cr)\n07-03-2026\nU20563844\nUPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n147433.99(Cr)\n07-03-2026\nU28095079\nUPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n147373.99(Cr)\n07-03-2026\nU30693702\nUPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@\n130.0(Dr)\n147243.99(Cr)\n07-03-2026\nU57485523\nUPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n146323.99(Cr)\n07-03-2026\nU57489049\nUPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649\n17184.0(Dr)\n129139.99(Cr)\n08-03-2026\nV6850346\nUPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n129069.99(Cr)\n08-03-2026\nV8290137\nUPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n128269.99(Cr)\n08-03-2026\nV9260370\nUPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb\n230.0(Dr)\n128039.99(Cr)\n08-03-2026\nV9498390\nUPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188\n160.0(Dr)\n127879.99(Cr)\n09-03-2026\nV35362678\nUPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n126879.99(Cr)\n09-03-2026\nV35372462\nUPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n125879.99(Cr)\n09-03-2026\nV41336139\nUPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax\n3500.0(Cr)\n129379.99(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 144877.09, + "closing_balance": 129379.99, + "transactions": [ + { + "date": "05-03-2026", + "description": "UPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/847604064228/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649", + "amount": 17184.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-03-2026", + "description": "UPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "05-03-2026", + "period_end": "09-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_31_extraction.json b/debug/20260518_152624/cp2_page_31_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..38949e076f752c10975ff5cc4eee22c6cf0577ca --- /dev/null +++ b/debug/20260518_152624/cp2_page_31_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 31, + "elapsed_s": 24.96, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 31, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n31\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n09-03-2026\nV45953532\nUPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n129279.99(Cr)\n09-03-2026\nV50999916\nUPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax\n3500.0(Cr)\n132779.99(Cr)\n09-03-2026\nV92921144\nUPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu\n1300.0(Dr)\n131479.99(Cr)\n10-03-2026\nW42496724\nUPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb\n3000.0(Cr)\n134479.99(Cr)\n10-03-2026\nW46974628\nUPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E\n55.0(Dr)\n134424.99(Cr)\n10-03-2026\nW56296532\nUPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n131924.99(Cr)\n10-03-2026\nW63646957\nUPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax\n7000.0(Cr)\n138924.99(Cr)\n11-03-2026\nX18481067\nUPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb\n200.0(Dr)\n138724.99(Cr)\n11-03-2026\nX23687750\nUPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop\n2000.0(Cr)\n140724.99(Cr)\n11-03-2026\nX41516425\nUPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1274.0(Dr)\n139450.94(Cr)\n12-03-2026\nX89122496\nUPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes\n3000.0(Cr)\n142450.94(Cr)\n12-03-2026\nY7350001\nUPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu\n900.0(Dr)\n141550.94(Cr)\n12-03-2026\nY20669927\nUPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta\n400.0(Cr)\n141950.94(Cr)\n12-03-2026\nY22193207\nUPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n141030.94(Cr)\n13-03-2026\nY43817952\nUPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb\n58.0(Dr)\n140972.94(Cr)\n13-03-2026\nY53367048\nUPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb\n60.0(Dr)\n140912.94(Cr)\n13-03-2026\nY80743981\nUPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@\n60.0(Dr)\n140852.94(Cr)\n14-03-2026\nS9151793\nUPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n143852.94(Cr)\n14-03-2026\nS9313960\nUPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n146852.94(Cr)\n14-03-2026\nS10094316\nUPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n149852.94(Cr)\n14-03-2026\nS20233480\nUPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686\n35.0(Dr)\n149817.94(Cr)\n14-03-2026\nS30218995\nUPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0\n35.0(Dr)\n149782.94(Cr)\n14-03-2026\nS46312648\nUPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n139782.94(Cr)\n14-03-2026\nS46374376\nUPIAR/453795768976/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n129782.94(Cr)\n14-03-2026\nS47119305\nUPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax\n500.0(Cr)\n130282.94(Cr)\n14-03-2026\nS47549444\nUPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n130222.94(Cr)\n15-03-2026\nS75796024\nUPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax\n20.0(Cr)\n130242.94(Cr)\n15-03-2026\nS93520430\nUPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb\n100.0(Dr)\n130142.94(Cr)\n", + "currency": "INR", + "opening_balance": 129379.99, + "closing_balance": 130142.94, + "transactions": [ + { + "date": "09-03-2026", + "description": "UPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 1300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E", + "amount": 55.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-03-2026", + "description": "UPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-03-2026", + "description": "UPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-03-2026", + "description": "UPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1274.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 900.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 400.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-03-2026", + "description": "UPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 58.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-03-2026", + "description": "UPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-03-2026", + "description": "UPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/453795768976/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-03-2026", + "description": "UPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax", + "amount": 20.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-03-2026", + "description": "UPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "09-03-2026", + "period_end": "15-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 31, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n31\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n09-03-2026\nV45953532\nUPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n129279.99(Cr)\n09-03-2026\nV50999916\nUPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax\n3500.0(Cr)\n132779.99(Cr)\n09-03-2026\nV92921144\nUPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu\n1300.0(Dr)\n131479.99(Cr)\n10-03-2026\nW42496724\nUPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb\n3000.0(Cr)\n134479.99(Cr)\n10-03-2026\nW46974628\nUPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E\n55.0(Dr)\n134424.99(Cr)\n10-03-2026\nW56296532\nUPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n131924.99(Cr)\n10-03-2026\nW63646957\nUPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax\n7000.0(Cr)\n138924.99(Cr)\n11-03-2026\nX18481067\nUPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb\n200.0(Dr)\n138724.99(Cr)\n11-03-2026\nX23687750\nUPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop\n2000.0(Cr)\n140724.99(Cr)\n11-03-2026\nX41516425\nUPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1274.0(Dr)\n139450.94(Cr)\n12-03-2026\nX89122496\nUPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes\n3000.0(Cr)\n142450.94(Cr)\n12-03-2026\nY7350001\nUPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu\n900.0(Dr)\n141550.94(Cr)\n12-03-2026\nY20669927\nUPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta\n400.0(Cr)\n141950.94(Cr)\n12-03-2026\nY22193207\nUPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n141030.94(Cr)\n13-03-2026\nY43817952\nUPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb\n58.0(Dr)\n140972.94(Cr)\n13-03-2026\nY53367048\nUPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb\n60.0(Dr)\n140912.94(Cr)\n13-03-2026\nY80743981\nUPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@\n60.0(Dr)\n140852.94(Cr)\n14-03-2026\nS9151793\nUPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n143852.94(Cr)\n14-03-2026\nS9313960\nUPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n146852.94(Cr)\n14-03-2026\nS10094316\nUPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n149852.94(Cr)\n14-03-2026\nS20233480\nUPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686\n35.0(Dr)\n149817.94(Cr)\n14-03-2026\nS30218995\nUPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0\n35.0(Dr)\n149782.94(Cr)\n14-03-2026\nS46312648\nUPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n139782.94(Cr)\n14-03-2026\nS46374376\nUPIAR/453795768976/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n129782.94(Cr)\n14-03-2026\nS47119305\nUPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax\n500.0(Cr)\n130282.94(Cr)\n14-03-2026\nS47549444\nUPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n130222.94(Cr)\n15-03-2026\nS75796024\nUPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax\n20.0(Cr)\n130242.94(Cr)\n15-03-2026\nS93520430\nUPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb\n100.0(Dr)\n130142.94(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 129379.99, + "closing_balance": 130142.94, + "transactions": [ + { + "date": "09-03-2026", + "description": "UPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-03-2026", + "description": "UPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 1300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E", + "amount": 55.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-03-2026", + "description": "UPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-03-2026", + "description": "UPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-03-2026", + "description": "UPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-03-2026", + "description": "UPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1274.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 900.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 400.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-03-2026", + "description": "UPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-03-2026", + "description": "UPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 58.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-03-2026", + "description": "UPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-03-2026", + "description": "UPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/453795768976/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-03-2026", + "description": "UPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-03-2026", + "description": "UPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax", + "amount": 20.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-03-2026", + "description": "UPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "09-03-2026", + "period_end": "15-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_32_extraction.json b/debug/20260518_152624/cp2_page_32_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..c48e594d8c6147f9b215cd92b0ea24e6e7ad0ef4 --- /dev/null +++ b/debug/20260518_152624/cp2_page_32_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 32, + "elapsed_s": 28.02, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 32, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n32\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n15-03-2026\nT1431060\nUPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188\n330.0(Dr)\n129812.94(Cr)\n15-03-2026\nT2036748\nUPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb\n320.0(Dr)\n129492.94(Cr)\n15-03-2026\nT3193318\nUPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb\n330.0(Dr)\n129162.94(Cr)\n16-03-2026\nT59829555\nUPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a\n120.0(Dr)\n129042.94(Cr)\n16-03-2026\nT74470785\nUPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n128542.94(Cr)\n16-03-2026\nT90390479\nUPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n131542.94(Cr)\n16-03-2026\nT95259415\nUPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty\n1400.0(Dr)\n130142.94(Cr)\n16-03-2026\nT95773447\nUPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n122142.94(Cr)\n17-03-2026\nU10217769\nUPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n121992.94(Cr)\n17-03-2026\nU10603140\nUPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb\n30.0(Dr)\n121962.94(Cr)\n17-03-2026\nU20043427\nUPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb\n5000.0(Cr)\n126962.94(Cr)\n17-03-2026\nU20671073\nUPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n129962.94(Cr)\n17-03-2026\nU20890056\nUPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n132962.94(Cr)\n17-03-2026\nU21355342\nUPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n117962.94(Cr)\n17-03-2026\nU41744579\nUPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n\n3500.0(Cr)\n121462.94(Cr)\n17-03-2026\nU55298960\nUPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y\n3000.0(Cr)\n124462.94(Cr)\n18-03-2026\nU82757784\nUPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb\n7000.0(Dr)\n117462.94(Cr)\n18-03-2026\nV21940913\nUPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a\n464.0(Dr)\n116998.94(Cr)\n18-03-2026\nV25904139\nUPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz\n200.0(Dr)\n116798.94(Cr)\n18-03-2026\nV27678774\nUPIAR/700490298089/DR/78934359/BARB/7893435901@pty\n630.0(Dr)\n116168.94(Cr)\n18-03-2026\nV29542853\nUPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@\n200.0(Dr)\n115968.94(Cr)\n18-03-2026\nV29879405\nUPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n115778.94(Cr)\n18-03-2026\nV30934892\nUPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n100778.94(Cr)\n18-03-2026\nV37577625\nUPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@\n3000.0(Cr)\n103778.94(Cr)\n19-03-2026\nV69334163\nUPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb\n55.0(Dr)\n103723.94(Cr)\n19-03-2026\nV70630207\nUPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb\n250.0(Dr)\n103473.94(Cr)\n19-03-2026\nV70979917\nUPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb\n200.0(Dr)\n103273.94(Cr)\n19-03-2026\nV90729556\nUPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb\n420.0(Dr)\n102853.94(Cr)\n", + "currency": "INR", + "opening_balance": 130142.94, + "closing_balance": 102853.94, + "transactions": [ + { + "date": "15-03-2026", + "description": "UPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty", + "amount": 1400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 7000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 464.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/700490298089/DR/78934359/BARB/7893435901@pty", + "amount": 630.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb", + "amount": 55.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 420.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "15-03-2026", + "period_end": "19-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 32, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n32\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n15-03-2026\nT1431060\nUPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188\n330.0(Dr)\n129812.94(Cr)\n15-03-2026\nT2036748\nUPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb\n320.0(Dr)\n129492.94(Cr)\n15-03-2026\nT3193318\nUPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb\n330.0(Dr)\n129162.94(Cr)\n16-03-2026\nT59829555\nUPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a\n120.0(Dr)\n129042.94(Cr)\n16-03-2026\nT74470785\nUPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n128542.94(Cr)\n16-03-2026\nT90390479\nUPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n131542.94(Cr)\n16-03-2026\nT95259415\nUPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty\n1400.0(Dr)\n130142.94(Cr)\n16-03-2026\nT95773447\nUPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n122142.94(Cr)\n17-03-2026\nU10217769\nUPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n121992.94(Cr)\n17-03-2026\nU10603140\nUPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb\n30.0(Dr)\n121962.94(Cr)\n17-03-2026\nU20043427\nUPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb\n5000.0(Cr)\n126962.94(Cr)\n17-03-2026\nU20671073\nUPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n129962.94(Cr)\n17-03-2026\nU20890056\nUPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n132962.94(Cr)\n17-03-2026\nU21355342\nUPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n117962.94(Cr)\n17-03-2026\nU41744579\nUPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n\n3500.0(Cr)\n121462.94(Cr)\n17-03-2026\nU55298960\nUPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y\n3000.0(Cr)\n124462.94(Cr)\n18-03-2026\nU82757784\nUPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb\n7000.0(Dr)\n117462.94(Cr)\n18-03-2026\nV21940913\nUPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a\n464.0(Dr)\n116998.94(Cr)\n18-03-2026\nV25904139\nUPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz\n200.0(Dr)\n116798.94(Cr)\n18-03-2026\nV27678774\nUPIAR/700490298089/DR/78934359/BARB/7893435901@pty\n630.0(Dr)\n116168.94(Cr)\n18-03-2026\nV29542853\nUPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@\n200.0(Dr)\n115968.94(Cr)\n18-03-2026\nV29879405\nUPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n115778.94(Cr)\n18-03-2026\nV30934892\nUPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n100778.94(Cr)\n18-03-2026\nV37577625\nUPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@\n3000.0(Cr)\n103778.94(Cr)\n19-03-2026\nV69334163\nUPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb\n55.0(Dr)\n103723.94(Cr)\n19-03-2026\nV70630207\nUPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb\n250.0(Dr)\n103473.94(Cr)\n19-03-2026\nV70979917\nUPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb\n200.0(Dr)\n103273.94(Cr)\n19-03-2026\nV90729556\nUPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb\n420.0(Dr)\n102853.94(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 130142.94, + "closing_balance": 102853.94, + "transactions": [ + { + "date": "15-03-2026", + "description": "UPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty", + "amount": 1400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 7000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 464.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/700490298089/DR/78934359/BARB/7893435901@pty", + "amount": 630.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb", + "amount": 55.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 420.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "15-03-2026", + "period_end": "19-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_33_extraction.json b/debug/20260518_152624/cp2_page_33_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..140d42db50ae03f455530e7dc2eed7e5a5458b5e --- /dev/null +++ b/debug/20260518_152624/cp2_page_33_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 33, + "elapsed_s": 38.21, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 33, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n33\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n19-03-2026\nV95827413\nUPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n107353.94(Cr)\n19-03-2026\nW1372662\nUPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb\n60.0(Dr)\n107293.94(Cr)\n19-03-2026\nW1966742\nUPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb\n30.0(Dr)\n107263.94(Cr)\n20-03-2026\nW27145905\nUPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@\n200.0(Dr)\n107063.94(Cr)\n20-03-2026\nW36259637\nUPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Dr)\n102563.94(Cr)\n20-03-2026\nW36391159\nUPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl\n4000.0(Cr)\n106563.94(Cr)\n20-03-2026\nW52440600\nUPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax\n800.0(Cr)\n107363.94(Cr)\n20-03-2026\nW60477911\nUPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes\n3200.0(Cr)\n110563.94(Cr)\n21-03-2026\nX8599682\nUPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a\n90.0(Dr)\n110473.94(Cr)\n22-03-2026\nX77648355\nUPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n105473.94(Cr)\n22-03-2026\nY866773\nUPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb\n3000.0(Cr)\n108473.94(Cr)\n22-03-2026\nY11244589\nSms Charges For Mar Qtr ,2026\n121.0(Dr)\n108352.99(Cr)\n22-03-2026\nY25105063\nUPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax\n35.0(Dr)\n108317.99(Cr)\n22-03-2026\nY39313938\nUPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188\n344.0(Dr)\n107973.99(Cr)\n22-03-2026\nY42045780\nUPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca\n477.0(Dr)\n107496.99(Cr)\n24-03-2026\nS29111787\nUPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@\n300.0(Dr)\n107196.99(Cr)\n24-03-2026\nS67460117\nUPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb\n1004.0(Dr)\n106192.99(Cr)\n25-03-2026\nS91802575\nUPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax\n3500.0(Cr)\n109692.99(Cr)\n25-03-2026\nT9523540\nUPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb\n150.0(Dr)\n109542.99(Cr)\n25-03-2026\nT12750140\nUPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax\n900.0(Cr)\n110442.99(Cr)\n25-03-2026\nT17872082\nUPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb\n2500.0(Cr)\n112942.99(Cr)\n25-03-2026\nT35132383\nUPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@\n58.0(Dr)\n112884.99(Cr)\n26-03-2026\nT71144064\nUPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax\n3000.0(Cr)\n115884.99(Cr)\n26-03-2026\nU7717518\nUPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax\n5000.0(Cr)\n120884.99(Cr)\n26-03-2026\nU7772542\nUPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax\n200.0(Cr)\n121084.99(Cr)\n26-03-2026\nU11719451\nUPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@\n40.0(Dr)\n121044.99(Cr)\n27-03-2026\nU71134257\nUPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb\n4500.0(Cr)\n125544.99(Cr)\n28-03-2026\nV7350139\nUPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan\n6800.0(Cr)\n132344.99(Cr)\n", + "currency": "INR", + "opening_balance": 102853.94, + "closing_balance": 132344.99, + "transactions": [ + { + "date": "19-03-2026", + "description": "UPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-03-2026", + "description": "UPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-03-2026", + "description": "UPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes", + "amount": 3200.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-03-2026", + "description": "UPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 90.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "Sms Charges For Mar Qtr ,2026", + "amount": 121.0, + "transaction_type": "debit", + "label": "fee" + }, + { + "date": "22-03-2026", + "description": "UPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188", + "amount": 344.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca", + "amount": 477.0, + "transaction_type": "debit", + "label": "purchase" + }, + { + "date": "24-03-2026", + "description": "UPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-03-2026", + "description": "UPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1004.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 58.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 200.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-03-2026", + "description": "UPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-03-2026", + "description": "UPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan", + "amount": 6800.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "19-03-2026", + "period_end": "28-03-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 33, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n33\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n19-03-2026\nV95827413\nUPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n107353.94(Cr)\n19-03-2026\nW1372662\nUPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb\n60.0(Dr)\n107293.94(Cr)\n19-03-2026\nW1966742\nUPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb\n30.0(Dr)\n107263.94(Cr)\n20-03-2026\nW27145905\nUPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@\n200.0(Dr)\n107063.94(Cr)\n20-03-2026\nW36259637\nUPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Dr)\n102563.94(Cr)\n20-03-2026\nW36391159\nUPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl\n4000.0(Cr)\n106563.94(Cr)\n20-03-2026\nW52440600\nUPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax\n800.0(Cr)\n107363.94(Cr)\n20-03-2026\nW60477911\nUPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes\n3200.0(Cr)\n110563.94(Cr)\n21-03-2026\nX8599682\nUPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a\n90.0(Dr)\n110473.94(Cr)\n22-03-2026\nX77648355\nUPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n105473.94(Cr)\n22-03-2026\nY866773\nUPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb\n3000.0(Cr)\n108473.94(Cr)\n22-03-2026\nY11244589\nSms Charges For Mar Qtr ,2026\n121.0(Dr)\n108352.99(Cr)\n22-03-2026\nY25105063\nUPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax\n35.0(Dr)\n108317.99(Cr)\n22-03-2026\nY39313938\nUPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188\n344.0(Dr)\n107973.99(Cr)\n22-03-2026\nY42045780\nUPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca\n477.0(Dr)\n107496.99(Cr)\n24-03-2026\nS29111787\nUPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@\n300.0(Dr)\n107196.99(Cr)\n24-03-2026\nS67460117\nUPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb\n1004.0(Dr)\n106192.99(Cr)\n25-03-2026\nS91802575\nUPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax\n3500.0(Cr)\n109692.99(Cr)\n25-03-2026\nT9523540\nUPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb\n150.0(Dr)\n109542.99(Cr)\n25-03-2026\nT12750140\nUPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax\n900.0(Cr)\n110442.99(Cr)\n25-03-2026\nT17872082\nUPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb\n2500.0(Cr)\n112942.99(Cr)\n25-03-2026\nT35132383\nUPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@\n58.0(Dr)\n112884.99(Cr)\n26-03-2026\nT71144064\nUPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax\n3000.0(Cr)\n115884.99(Cr)\n26-03-2026\nU7717518\nUPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax\n5000.0(Cr)\n120884.99(Cr)\n26-03-2026\nU7772542\nUPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax\n200.0(Cr)\n121084.99(Cr)\n26-03-2026\nU11719451\nUPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@\n40.0(Dr)\n121044.99(Cr)\n27-03-2026\nU71134257\nUPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb\n4500.0(Cr)\n125544.99(Cr)\n28-03-2026\nV7350139\nUPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan\n6800.0(Cr)\n132344.99(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 102853.94, + "closing_balance": 132344.99, + "transactions": [ + { + "date": "19-03-2026", + "description": "UPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-03-2026", + "description": "UPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-03-2026", + "description": "UPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-03-2026", + "description": "UPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes", + "amount": 3200.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-03-2026", + "description": "UPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 90.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "Sms Charges For Mar Qtr ,2026", + "amount": 121.0, + "transaction_type": "debit", + "label": "fee" + }, + { + "date": "22-03-2026", + "description": "UPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188", + "amount": 344.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-03-2026", + "description": "UPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca", + "amount": 477.0, + "transaction_type": "debit", + "label": "purchase" + }, + { + "date": "24-03-2026", + "description": "UPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-03-2026", + "description": "UPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1004.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-03-2026", + "description": "UPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 58.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 200.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-03-2026", + "description": "UPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-03-2026", + "description": "UPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-03-2026", + "description": "UPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan", + "amount": 6800.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "19-03-2026", + "period_end": "28-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_34_extraction.json b/debug/20260518_152624/cp2_page_34_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..88592e4cd606b7c0786ab36368ddd2dd15b7c5e9 --- /dev/null +++ b/debug/20260518_152624/cp2_page_34_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 34, + "elapsed_s": 27.24, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 34, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n34\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-03-2026\nV8074204\nUPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax\n100.0(Dr)\n132244.99(Cr)\n29-03-2026\nV69415453\nUPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb\n100.0(Dr)\n132144.99(Cr)\n29-03-2026\nV70340559\nUPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n132059.99(Cr)\n30-03-2026\nW23637679\nUPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax\n3500.0(Cr)\n135559.99(Cr)\n30-03-2026\nW28365039\nUPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax\n1800.0(Cr)\n137359.99(Cr)\n30-03-2026\nW28453952\nUPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n134859.99(Cr)\n30-03-2026\nW28522987\nUPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n124859.99(Cr)\n30-03-2026\nW68375352\nUPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb\n230.0(Dr)\n124629.99(Cr)\n30-03-2026\nW70178686\nUPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb\n130.0(Dr)\n124499.99(Cr)\n30-03-2026\nW70660890\nUPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@\n680.0(Dr)\n123819.99(Cr)\n30-03-2026\nW71553677\nUPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax\n3000.0(Cr)\n126819.99(Cr)\n30-03-2026\nW80932153\nUPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n56.1(Dr)\n126763.9(Cr)\n30-03-2026\nW81788213\nUPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb\n131.0(Dr)\n126632.9(Cr)\n31-03-2026\nX2938878\nUPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n126492.9(Cr)\n31-03-2026\nX15694325\nUPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid\n3000.0(Cr)\n129492.9(Cr)\n31-03-2026\nX26349505\nUPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb\n260.0(Dr)\n129232.9(Cr)\n31-03-2026\nX47776572\nUPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb\n3000.0(Cr)\n132232.9(Cr)\n31-03-2026\nX48977231\nUPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb\n70.0(Dr)\n132162.9(Cr)\n31-03-2026\nX49630750\nUPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax\n100.0(Dr)\n132062.9(Cr)\n31-03-2026\nX50051855\nUPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb\n50.0(Dr)\n132012.9(Cr)\n31-03-2026\nX50694966\nUPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@\n115.0(Dr)\n131897.9(Cr)\n31-03-2026\nX64110446\nUPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb\n807.0(Dr)\n131090.9(Cr)\n31-03-2026\nY12105285\nUPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb\n15.0(Dr)\n131075.9(Cr)\n02-04-2026\nY46303651\nUPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib\n1000.0(Dr)\n130075.9(Cr)\n02-04-2026\nY60613879\nUPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb\n1500.0(Dr)\n128575.9(Cr)\n02-04-2026\nY71185507\nUPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@\n1687.0(Dr)\n126888.9(Cr)\n02-04-2026\nY79698996\nUPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@\n100.0(Dr)\n126788.9(Cr)\n02-04-2026\nY81134682\nUPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib\n1500.0(Dr)\n125288.9(Cr)\n", + "currency": "INR", + "closing_balance": 125288.9, + "transactions": [ + { + "date": "28-03-2026", + "description": "UPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-03-2026", + "description": "UPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-03-2026", + "description": "UPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 1800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 680.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 56.1, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 131.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 115.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 807.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb", + "amount": 15.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb", + "amount": 1500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@", + "amount": 1687.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib", + "amount": 1500.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "28-03-2026", + "period_end": "02-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 34, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n34\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-03-2026\nV8074204\nUPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax\n100.0(Dr)\n132244.99(Cr)\n29-03-2026\nV69415453\nUPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb\n100.0(Dr)\n132144.99(Cr)\n29-03-2026\nV70340559\nUPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n132059.99(Cr)\n30-03-2026\nW23637679\nUPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax\n3500.0(Cr)\n135559.99(Cr)\n30-03-2026\nW28365039\nUPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax\n1800.0(Cr)\n137359.99(Cr)\n30-03-2026\nW28453952\nUPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n134859.99(Cr)\n30-03-2026\nW28522987\nUPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n124859.99(Cr)\n30-03-2026\nW68375352\nUPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb\n230.0(Dr)\n124629.99(Cr)\n30-03-2026\nW70178686\nUPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb\n130.0(Dr)\n124499.99(Cr)\n30-03-2026\nW70660890\nUPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@\n680.0(Dr)\n123819.99(Cr)\n30-03-2026\nW71553677\nUPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax\n3000.0(Cr)\n126819.99(Cr)\n30-03-2026\nW80932153\nUPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n56.1(Dr)\n126763.9(Cr)\n30-03-2026\nW81788213\nUPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb\n131.0(Dr)\n126632.9(Cr)\n31-03-2026\nX2938878\nUPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n126492.9(Cr)\n31-03-2026\nX15694325\nUPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid\n3000.0(Cr)\n129492.9(Cr)\n31-03-2026\nX26349505\nUPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb\n260.0(Dr)\n129232.9(Cr)\n31-03-2026\nX47776572\nUPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb\n3000.0(Cr)\n132232.9(Cr)\n31-03-2026\nX48977231\nUPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb\n70.0(Dr)\n132162.9(Cr)\n31-03-2026\nX49630750\nUPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax\n100.0(Dr)\n132062.9(Cr)\n31-03-2026\nX50051855\nUPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb\n50.0(Dr)\n132012.9(Cr)\n31-03-2026\nX50694966\nUPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@\n115.0(Dr)\n131897.9(Cr)\n31-03-2026\nX64110446\nUPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb\n807.0(Dr)\n131090.9(Cr)\n31-03-2026\nY12105285\nUPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb\n15.0(Dr)\n131075.9(Cr)\n02-04-2026\nY46303651\nUPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib\n1000.0(Dr)\n130075.9(Cr)\n02-04-2026\nY60613879\nUPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb\n1500.0(Dr)\n128575.9(Cr)\n02-04-2026\nY71185507\nUPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@\n1687.0(Dr)\n126888.9(Cr)\n02-04-2026\nY79698996\nUPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@\n100.0(Dr)\n126788.9(Cr)\n02-04-2026\nY81134682\nUPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib\n1500.0(Dr)\n125288.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": 125288.9, + "transactions": [ + { + "date": "28-03-2026", + "description": "UPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-03-2026", + "description": "UPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-03-2026", + "description": "UPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 1800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 680.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 56.1, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-03-2026", + "description": "UPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 131.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 115.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 807.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-03-2026", + "description": "UPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb", + "amount": 15.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb", + "amount": 1500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@", + "amount": 1687.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib", + "amount": 1500.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "28-03-2026", + "period_end": "02-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_35_extraction.json b/debug/20260518_152624/cp2_page_35_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..ffd9f2fb2a2a0b8e9faec0a25b2e95d400bd8072 --- /dev/null +++ b/debug/20260518_152624/cp2_page_35_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 35, + "elapsed_s": 40.21, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 35, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n35\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-04-2026\nY89432898\nUPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@\n40.0(Dr)\n125248.9(Cr)\n02-04-2026\nY89596609\nUPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@\n20.0(Dr)\n125228.9(Cr)\n02-04-2026\nY98659740\nUPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2\n50.0(Dr)\n125178.9(Cr)\n02-04-2026\nY98773238\nUPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib\n2000.0(Dr)\n123178.9(Cr)\n02-04-2026\nY98797888\nUPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib\n500.0(Dr)\n122678.9(Cr)\n02-04-2026\nS933725\nUPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty\n2400.0(Dr)\n120278.9(Cr)\n02-04-2026\nS2104699\nUPIAR/930990370870/DR/87658526/PUNB/8765852607@pty\n40.0(Dr)\n120238.9(Cr)\n02-04-2026\nS3536055\nUPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928\n200.0(Dr)\n120038.9(Cr)\n03-04-2026\nS13987718\n253110100033102:Int.Pd:01-01-2026 to 31-03-2026\n494.0(Cr)\n120532.9(Cr)\n03-04-2026\nS26931216\nUPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552\n25.0(Dr)\n120507.9(Cr)\n03-04-2026\nS31693571\nUPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty\n2000.0(Dr)\n118507.9(Cr)\n03-04-2026\nS33051866\nUPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570\n5001.0(Dr)\n113506.9(Cr)\n03-04-2026\nS35963738\nUPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022\n100.0(Dr)\n113406.9(Cr)\n03-04-2026\nS36072569\nUPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022\n200.0(Dr)\n113206.9(Cr)\n03-04-2026\nS36343496\nUPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123\n250.0(Dr)\n112956.9(Cr)\n03-04-2026\nS36752779\nUPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb\n80.0(Dr)\n112876.9(Cr)\n03-04-2026\nS37112832\nUPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb\n50.0(Dr)\n112826.9(Cr)\n03-04-2026\nS45273462\nUPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@\n45.0(Dr)\n112781.9(Cr)\n03-04-2026\nS46579142\nUPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@\n150.0(Dr)\n112631.9(Cr)\n03-04-2026\nS49212989\nUPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta\n300.0(Dr)\n112331.9(Cr)\n03-04-2026\nS51184060\nUPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846\n1000.0(Dr)\n111331.9(Cr)\n03-04-2026\nS63357800\nUPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113\n500.0(Dr)\n110831.9(Cr)\n03-04-2026\nS64770398\nUPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb\n60.0(Dr)\n110771.9(Cr)\n03-04-2026\nS64874602\nUPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb\n100.0(Dr)\n110671.9(Cr)\n04-04-2026\nT16039851\nUPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110621.9(Cr)\n04-04-2026\nT16087267\nUPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110571.9(Cr)\n04-04-2026\nT16280646\nUPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@\n15.0(Dr)\n110556.9(Cr)\n04-04-2026\nT17897819\nUPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@\n20.0(Dr)\n110536.9(Cr)\n", + "currency": "INR", + "opening_balance": 125288.9, + "closing_balance": 110536.9, + "transactions": [ + { + "date": "02-04-2026", + "description": "UPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/930990370870/DR/87658526/PUNB/8765852607@pty", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "253110100033102:Int.Pd:01-01-2026 to 31-03-2026", + "amount": 494.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "03-04-2026", + "description": "UPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570", + "amount": 5001.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 15.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "02-04-2026", + "period_end": "04-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 35, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n35\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-04-2026\nY89432898\nUPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@\n40.0(Dr)\n125248.9(Cr)\n02-04-2026\nY89596609\nUPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@\n20.0(Dr)\n125228.9(Cr)\n02-04-2026\nY98659740\nUPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2\n50.0(Dr)\n125178.9(Cr)\n02-04-2026\nY98773238\nUPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib\n2000.0(Dr)\n123178.9(Cr)\n02-04-2026\nY98797888\nUPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib\n500.0(Dr)\n122678.9(Cr)\n02-04-2026\nS933725\nUPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty\n2400.0(Dr)\n120278.9(Cr)\n02-04-2026\nS2104699\nUPIAR/930990370870/DR/87658526/PUNB/8765852607@pty\n40.0(Dr)\n120238.9(Cr)\n02-04-2026\nS3536055\nUPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928\n200.0(Dr)\n120038.9(Cr)\n03-04-2026\nS13987718\n253110100033102:Int.Pd:01-01-2026 to 31-03-2026\n494.0(Cr)\n120532.9(Cr)\n03-04-2026\nS26931216\nUPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552\n25.0(Dr)\n120507.9(Cr)\n03-04-2026\nS31693571\nUPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty\n2000.0(Dr)\n118507.9(Cr)\n03-04-2026\nS33051866\nUPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570\n5001.0(Dr)\n113506.9(Cr)\n03-04-2026\nS35963738\nUPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022\n100.0(Dr)\n113406.9(Cr)\n03-04-2026\nS36072569\nUPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022\n200.0(Dr)\n113206.9(Cr)\n03-04-2026\nS36343496\nUPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123\n250.0(Dr)\n112956.9(Cr)\n03-04-2026\nS36752779\nUPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb\n80.0(Dr)\n112876.9(Cr)\n03-04-2026\nS37112832\nUPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb\n50.0(Dr)\n112826.9(Cr)\n03-04-2026\nS45273462\nUPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@\n45.0(Dr)\n112781.9(Cr)\n03-04-2026\nS46579142\nUPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@\n150.0(Dr)\n112631.9(Cr)\n03-04-2026\nS49212989\nUPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta\n300.0(Dr)\n112331.9(Cr)\n03-04-2026\nS51184060\nUPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846\n1000.0(Dr)\n111331.9(Cr)\n03-04-2026\nS63357800\nUPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113\n500.0(Dr)\n110831.9(Cr)\n03-04-2026\nS64770398\nUPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb\n60.0(Dr)\n110771.9(Cr)\n03-04-2026\nS64874602\nUPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb\n100.0(Dr)\n110671.9(Cr)\n04-04-2026\nT16039851\nUPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110621.9(Cr)\n04-04-2026\nT16087267\nUPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110571.9(Cr)\n04-04-2026\nT16280646\nUPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@\n15.0(Dr)\n110556.9(Cr)\n04-04-2026\nT17897819\nUPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@\n20.0(Dr)\n110536.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 125288.9, + "closing_balance": 110536.9, + "transactions": [ + { + "date": "02-04-2026", + "description": "UPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/930990370870/DR/87658526/PUNB/8765852607@pty", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "253110100033102:Int.Pd:01-01-2026 to 31-03-2026", + "amount": 494.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "03-04-2026", + "description": "UPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570", + "amount": 5001.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 15.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "02-04-2026", + "period_end": "04-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_36_extraction.json b/debug/20260518_152624/cp2_page_36_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..cdad86e6299864e59660136b7c66797cfd3653b8 --- /dev/null +++ b/debug/20260518_152624/cp2_page_36_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 36, + "elapsed_s": 16.35, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 36, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n36\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n04-04-2026\nT18476960\nUPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@\n25.0(Dr)\n110511.9(Cr)\n04-04-2026\nT22748431\nUPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552\n1000.0(Dr)\n109511.9(Cr)\n05-04-2026\nU7164579\nUPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509\n120.0(Dr)\n109391.9(Cr)\n06-04-2026\nU40853212\nUPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n115391.9(Cr)\n06-04-2026\nU56337717\nUPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n120891.9(Cr)\n07-04-2026\nV48787294\nUPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb\n40.0(Dr)\n120851.9(Cr)\n08-04-2026\nV80904284\nUPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax\n3500.0(Cr)\n124351.9(Cr)\n08-04-2026\nV81723631\nUPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n124221.9(Cr)\n08-04-2026\nW3202084\nUPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN\n124.0(Dr)\n124097.9(Cr)\n08-04-2026\nW22796019\nUPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb\n30.0(Dr)\n124067.9(Cr)\n09-04-2026\nW48197038\nUPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n123067.9(Cr)\n09-04-2026\nW50449003\nUPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n122067.9(Cr)\n09-04-2026\nW60646245\nUPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb\n5900.0(Cr)\n127967.9(Cr)\n09-04-2026\nW65227924\nUPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n130967.9(Cr)\n09-04-2026\nW71390357\nUPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb\n100.0(Cr)\n131067.9(Cr)\n09-04-2026\nW71401561\nUPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb\n900.0(Cr)\n131967.9(Cr)\n09-04-2026\nW76757797\nUPIAR/493746823714/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n126967.9(Cr)\n09-04-2026\nW92548146\nUPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE\n95.0(Dr)\n126872.9(Cr)\n09-04-2026\nW96115145\nUPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n126072.9(Cr)\n09-04-2026\nX7380771\nUPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb\n160.0(Dr)\n125912.9(Cr)\n11-04-2026\nY14684852\nUPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel\n1000.0(Dr)\n124912.9(Cr)\n11-04-2026\nY50549497\nUPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb\n1000.0(Cr)\n125912.9(Cr)\n12-04-2026\nY76389971\nUPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb\n90.0(Dr)\n125822.9(Cr)\n12-04-2026\nS6283611\nUPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb\n140.0(Dr)\n125682.9(Cr)\n12-04-2026\nS23086284\nUPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y\n260.0(Dr)\n125422.9(Cr)\n13-04-2026\nS43426518\nUPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb\n3500.0(Cr)\n128922.9(Cr)\n13-04-2026\nS44656611\nUPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax\n1000.0(Cr)\n129922.9(Cr)\n13-04-2026\nS47905285\nUPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib\n3000.0(Cr)\n132922.9(Cr)\n", + "opening_balance": 110536.9, + "closing_balance": 132922.9, + "transactions": [ + { + "date": "04-04-2026", + "description": "UPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-04-2026", + "description": "UPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-04-2026", + "description": "UPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-04-2026", + "description": "UPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-04-2026", + "description": "UPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN", + "amount": 124.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb", + "amount": 5900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 100.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/493746823714/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 95.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y", + "amount": 260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "04-04-2026", + "period_end": "13-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 36, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n36\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n04-04-2026\nT18476960\nUPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@\n25.0(Dr)\n110511.9(Cr)\n04-04-2026\nT22748431\nUPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552\n1000.0(Dr)\n109511.9(Cr)\n05-04-2026\nU7164579\nUPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509\n120.0(Dr)\n109391.9(Cr)\n06-04-2026\nU40853212\nUPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n115391.9(Cr)\n06-04-2026\nU56337717\nUPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n120891.9(Cr)\n07-04-2026\nV48787294\nUPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb\n40.0(Dr)\n120851.9(Cr)\n08-04-2026\nV80904284\nUPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax\n3500.0(Cr)\n124351.9(Cr)\n08-04-2026\nV81723631\nUPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n124221.9(Cr)\n08-04-2026\nW3202084\nUPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN\n124.0(Dr)\n124097.9(Cr)\n08-04-2026\nW22796019\nUPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb\n30.0(Dr)\n124067.9(Cr)\n09-04-2026\nW48197038\nUPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n123067.9(Cr)\n09-04-2026\nW50449003\nUPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n122067.9(Cr)\n09-04-2026\nW60646245\nUPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb\n5900.0(Cr)\n127967.9(Cr)\n09-04-2026\nW65227924\nUPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n130967.9(Cr)\n09-04-2026\nW71390357\nUPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb\n100.0(Cr)\n131067.9(Cr)\n09-04-2026\nW71401561\nUPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb\n900.0(Cr)\n131967.9(Cr)\n09-04-2026\nW76757797\nUPIAR/493746823714/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n126967.9(Cr)\n09-04-2026\nW92548146\nUPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE\n95.0(Dr)\n126872.9(Cr)\n09-04-2026\nW96115145\nUPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n126072.9(Cr)\n09-04-2026\nX7380771\nUPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb\n160.0(Dr)\n125912.9(Cr)\n11-04-2026\nY14684852\nUPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel\n1000.0(Dr)\n124912.9(Cr)\n11-04-2026\nY50549497\nUPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb\n1000.0(Cr)\n125912.9(Cr)\n12-04-2026\nY76389971\nUPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb\n90.0(Dr)\n125822.9(Cr)\n12-04-2026\nS6283611\nUPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb\n140.0(Dr)\n125682.9(Cr)\n12-04-2026\nS23086284\nUPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y\n260.0(Dr)\n125422.9(Cr)\n13-04-2026\nS43426518\nUPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb\n3500.0(Cr)\n128922.9(Cr)\n13-04-2026\nS44656611\nUPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax\n1000.0(Cr)\n129922.9(Cr)\n13-04-2026\nS47905285\nUPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib\n3000.0(Cr)\n132922.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 110536.9, + "closing_balance": 132922.9, + "transactions": [ + { + "date": "04-04-2026", + "description": "UPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-04-2026", + "description": "UPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-04-2026", + "description": "UPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-04-2026", + "description": "UPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-04-2026", + "description": "UPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN", + "amount": 124.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb", + "amount": 5900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 100.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/493746823714/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 95.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y", + "amount": 260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "04-04-2026", + "period_end": "13-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_37_extraction.json b/debug/20260518_152624/cp2_page_37_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..6e6e61e754219e9cbcda279b37b331c60b7b3516 --- /dev/null +++ b/debug/20260518_152624/cp2_page_37_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 37, + "elapsed_s": 18.69, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 37, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n37\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-04-2026\nS57714989\nUPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax\n1000.0(Cr)\n133922.9(Cr)\n13-04-2026\nS66644362\nUPIAR/981621305763/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n123922.9(Cr)\n13-04-2026\nS82048131\nUPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb\n3500.0(Cr)\n127422.9(Cr)\n14-04-2026\nT14768340\nUPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n127292.9(Cr)\n14-04-2026\nT47677787\nUPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n127192.9(Cr)\n15-04-2026\nT70795448\nANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S\n354.0(Dr)\n126838.9(Cr)\n15-04-2026\nT94628615\nUPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n126770.9(Cr)\n15-04-2026\nU17799301\nUPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067\n1260.0(Dr)\n125510.9(Cr)\n15-04-2026\nU20089790\nUPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax\n2600.0(Cr)\n128110.9(Cr)\n15-04-2026\nU22688487\nUPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y\n1900.0(Dr)\n126210.9(Cr)\n16-04-2026\nU73125550\nUPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb\n1000.0(Cr)\n127210.9(Cr)\n16-04-2026\nU88620384\nUPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax\n700.0(Cr)\n127910.9(Cr)\n16-04-2026\nU94629778\nUPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb\n136.0(Dr)\n127774.9(Cr)\n16-04-2026\nV9918180\nUPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini\n172.0(Dr)\n127602.9(Cr)\n17-04-2026\nV30271938\nUPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@\n400.0(Dr)\n127202.9(Cr)\n17-04-2026\nV32167596\nUPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y\n1000.0(Cr)\n128202.9(Cr)\n17-04-2026\nV69001150\nUPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart\n79.0(Dr)\n128123.9(Cr)\n17-04-2026\nV71738874\nUPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-\n276.0(Dr)\n127847.88(Cr)\n18-04-2026\nW4516775\nUPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y\n500.0(Cr)\n128347.88(Cr)\n18-04-2026\nW5469587\nUPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n132847.88(Cr)\n18-04-2026\nW29238621\nUPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i\n4000.0(Cr)\n136847.88(Cr)\n19-04-2026\nW85187249\nUPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n800.0(Dr)\n136047.88(Cr)\n19-04-2026\nX7596300\nUPIAR/864729139387/DR/SURYA T/CNRB/33618092997037\n140.0(Dr)\n135907.88(Cr)\n19-04-2026\nX9595170\nUPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb\n50.0(Dr)\n135857.88(Cr)\n19-04-2026\nX17753117\nUPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb\n40.0(Dr)\n135817.88(Cr)\n19-04-2026\nX17865893\nUPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@\n29.0(Dr)\n135788.88(Cr)\n20-04-2026\nX43149977\nUPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb\n1000.0(Cr)\n136788.88(Cr)\n21-04-2026\nY36826401\nUPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb\n1000.0(Cr)\n137788.88(Cr)\n", + "opening_balance": 133922.9, + "closing_balance": 137788.88, + "transactions": [ + { + "date": "13-04-2026", + "description": "UPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAR/981621305763/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-04-2026", + "description": "UPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-04-2026", + "description": "UPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "ANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S", + "amount": 354.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "UPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 1260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "UPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax", + "amount": 2600.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "UPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y", + "amount": 1900.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 136.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini", + "amount": 172.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 400.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart", + "amount": 79.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-", + "amount": 276.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-04-2026", + "description": "UPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-04-2026", + "description": "UPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-04-2026", + "description": "UPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/864729139387/DR/SURYA T/CNRB/33618092997037", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@", + "amount": 29.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-04-2026", + "description": "UPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "13-04-2026", + "period_end": "21-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 37, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n37\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-04-2026\nS57714989\nUPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax\n1000.0(Cr)\n133922.9(Cr)\n13-04-2026\nS66644362\nUPIAR/981621305763/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n123922.9(Cr)\n13-04-2026\nS82048131\nUPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb\n3500.0(Cr)\n127422.9(Cr)\n14-04-2026\nT14768340\nUPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n127292.9(Cr)\n14-04-2026\nT47677787\nUPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n127192.9(Cr)\n15-04-2026\nT70795448\nANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S\n354.0(Dr)\n126838.9(Cr)\n15-04-2026\nT94628615\nUPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n126770.9(Cr)\n15-04-2026\nU17799301\nUPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067\n1260.0(Dr)\n125510.9(Cr)\n15-04-2026\nU20089790\nUPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax\n2600.0(Cr)\n128110.9(Cr)\n15-04-2026\nU22688487\nUPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y\n1900.0(Dr)\n126210.9(Cr)\n16-04-2026\nU73125550\nUPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb\n1000.0(Cr)\n127210.9(Cr)\n16-04-2026\nU88620384\nUPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax\n700.0(Cr)\n127910.9(Cr)\n16-04-2026\nU94629778\nUPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb\n136.0(Dr)\n127774.9(Cr)\n16-04-2026\nV9918180\nUPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini\n172.0(Dr)\n127602.9(Cr)\n17-04-2026\nV30271938\nUPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@\n400.0(Dr)\n127202.9(Cr)\n17-04-2026\nV32167596\nUPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y\n1000.0(Cr)\n128202.9(Cr)\n17-04-2026\nV69001150\nUPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart\n79.0(Dr)\n128123.9(Cr)\n17-04-2026\nV71738874\nUPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-\n276.0(Dr)\n127847.88(Cr)\n18-04-2026\nW4516775\nUPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y\n500.0(Cr)\n128347.88(Cr)\n18-04-2026\nW5469587\nUPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n132847.88(Cr)\n18-04-2026\nW29238621\nUPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i\n4000.0(Cr)\n136847.88(Cr)\n19-04-2026\nW85187249\nUPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n800.0(Dr)\n136047.88(Cr)\n19-04-2026\nX7596300\nUPIAR/864729139387/DR/SURYA T/CNRB/33618092997037\n140.0(Dr)\n135907.88(Cr)\n19-04-2026\nX9595170\nUPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb\n50.0(Dr)\n135857.88(Cr)\n19-04-2026\nX17753117\nUPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb\n40.0(Dr)\n135817.88(Cr)\n19-04-2026\nX17865893\nUPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@\n29.0(Dr)\n135788.88(Cr)\n20-04-2026\nX43149977\nUPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb\n1000.0(Cr)\n136788.88(Cr)\n21-04-2026\nY36826401\nUPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb\n1000.0(Cr)\n137788.88(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 133922.9, + "closing_balance": 137788.88, + "transactions": [ + { + "date": "13-04-2026", + "description": "UPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAR/981621305763/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "14-04-2026", + "description": "UPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "14-04-2026", + "description": "UPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "ANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S", + "amount": 354.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "UPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 1260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "UPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax", + "amount": 2600.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "15-04-2026", + "description": "UPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y", + "amount": 1900.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 136.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-04-2026", + "description": "UPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini", + "amount": 172.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 400.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart", + "amount": 79.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-04-2026", + "description": "UPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-", + "amount": 276.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-04-2026", + "description": "UPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-04-2026", + "description": "UPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "18-04-2026", + "description": "UPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/864729139387/DR/SURYA T/CNRB/33618092997037", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-04-2026", + "description": "UPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@", + "amount": 29.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-04-2026", + "description": "UPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-04-2026", + "period_end": "21-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp2_page_38_extraction.json b/debug/20260518_152624/cp2_page_38_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..31d8dbda58305efab20ea25b84f26bc2a4403d2b --- /dev/null +++ b/debug/20260518_152624/cp2_page_38_extraction.json @@ -0,0 +1,289 @@ +{ + "page": 38, + "elapsed_s": 9.61, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 38, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n38\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n21-04-2026\nY36982063\nUPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha\n1000.0(Cr)\n138788.88(Cr)\n21-04-2026\nY66328299\nUPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66336109\nUPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n157868.88(Cr)\n21-04-2026\nY66816219\nUPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66918270\nUPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n117868.88(Cr)\n22-04-2026\nY78763154\nUPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n117768.88(Cr)\n22-04-2026\nY88085587\nUPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n112768.88(Cr)\n22-04-2026\nS24482676\nUPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb\n140.0(Dr)\n112628.88(Cr)\n22-04-2026\nS25092112\nUPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188\n445.0(Dr)\n112183.88(Cr)\n22-04-2026\nS29716042\nUPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n118183.88(Cr)\n23-04-2026\nS76287968\nUPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb\n2000.0(Cr)\n120183.88(Cr)\n24-04-2026\nT29915388\nUPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@\n100.0(Dr)\n120083.88(Cr)\n24-04-2026\nT35435593\nUPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n140083.88(Cr)\n24-04-2026\nT49670108\nUPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb\n1000.0(Cr)\n141083.88(Cr)\n", + "closing_balance": 141083.88, + "transactions": [ + { + "date": "21-04-2026", + "description": "Y36982063 UPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66328299 UPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66336109 UPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66816219 UPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66918270 UPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "Y78763154 UPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "Y88085587 UPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "S24482676 UPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "S25092112 UPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188", + "amount": 445.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "S29716042 UPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-04-2026", + "description": "S76287968 UPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-04-2026", + "description": "T29915388 UPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-04-2026", + "description": "T35435593 UPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-04-2026", + "description": "T49670108 UPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "21-04-2026", + "period_end": "24-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 38, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n38\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n21-04-2026\nY36982063\nUPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha\n1000.0(Cr)\n138788.88(Cr)\n21-04-2026\nY66328299\nUPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66336109\nUPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n157868.88(Cr)\n21-04-2026\nY66816219\nUPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66918270\nUPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n117868.88(Cr)\n22-04-2026\nY78763154\nUPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n117768.88(Cr)\n22-04-2026\nY88085587\nUPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n112768.88(Cr)\n22-04-2026\nS24482676\nUPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb\n140.0(Dr)\n112628.88(Cr)\n22-04-2026\nS25092112\nUPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188\n445.0(Dr)\n112183.88(Cr)\n22-04-2026\nS29716042\nUPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n118183.88(Cr)\n23-04-2026\nS76287968\nUPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb\n2000.0(Cr)\n120183.88(Cr)\n24-04-2026\nT29915388\nUPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@\n100.0(Dr)\n120083.88(Cr)\n24-04-2026\nT35435593\nUPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n140083.88(Cr)\n24-04-2026\nT49670108\nUPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb\n1000.0(Cr)\n141083.88(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": null, + "closing_balance": 141083.88, + "transactions": [ + { + "date": "21-04-2026", + "description": "Y36982063 UPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66328299 UPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66336109 UPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66816219 UPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-04-2026", + "description": "Y66918270 UPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "Y78763154 UPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "Y88085587 UPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "S24482676 UPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "S25092112 UPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188", + "amount": 445.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-04-2026", + "description": "S29716042 UPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-04-2026", + "description": "S76287968 UPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-04-2026", + "description": "T29915388 UPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-04-2026", + "description": "T35435593 UPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-04-2026", + "description": "T49670108 UPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "21-04-2026", + "period_end": "24-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp3_graph.json b/debug/20260518_152624/cp3_graph.json new file mode 100644 index 0000000000000000000000000000000000000000..830fe12225f0c398696f8478d22d820a567a01cc --- /dev/null +++ b/debug/20260518_152624/cp3_graph.json @@ -0,0 +1,433 @@ +{ + "identity": { + "name_variants": [ + "MR KORADA SATYANARAYANA", + "SATYANARAYANA", + "SATYANARAYANA KORAD" + ], + "canonical_name": "MR KORADA SATYANARAYANA", + "date_of_birth": null, + "nationality": null, + "passport_number": null, + "transliteration_flags": [ + "'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'", + "'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'" + ], + "cross_doc_name_match": false + }, + "financial": { + "currency": "INR", + "opening_balance": 39093.31, + "closing_balance": 141083.88, + "avg_monthly_income": null, + "total_credits": 1805222.0, + "total_debits": 1703231.3, + "transaction_count": 1036, + "spikes": [ + { + "date": "13-07-2025", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "17-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "18-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "20-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "21-08-2025", + "amount": 25000.0, + "label": "transfer", + "ratio_to_average": 4.86 + }, + { + "date": "23-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "08-10-2025", + "amount": 50000.0, + "label": "transfer", + "ratio_to_average": 9.72 + }, + { + "date": "08-10-2025", + "amount": 39115.0, + "label": "transfer", + "ratio_to_average": 7.61 + }, + { + "date": "28-10-2025", + "amount": 100000.0, + "label": "large_unlabeled_deposit", + "ratio_to_average": 19.44 + }, + { + "date": "29-10-2025", + "amount": 50000.0, + "label": null, + "ratio_to_average": 9.72 + }, + { + "date": "30-10-2025", + "amount": 50000.0, + "label": null, + "ratio_to_average": 9.72 + }, + { + "date": "12-11-2025", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "19-11-2025", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "20-01-2026", + "amount": 27000.0, + "label": "transfer", + "ratio_to_average": 5.25 + }, + { + "date": "31-01-2026", + "amount": 16500.0, + "label": null, + "ratio_to_average": 3.21 + }, + { + "date": "01-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "01-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 20000.0, + "label": null, + "ratio_to_average": 3.89 + }, + { + "date": "21-04-2026", + "amount": 20000.0, + "label": null, + "ratio_to_average": 3.89 + }, + { + "date": "24-04-2026", + "amount": 20000.0, + "label": null, + "ratio_to_average": 3.89 + } + ], + "unlabeled_deposit_count": 189, + "income_percentile": null, + "declared_property_value": null, + "declared_movable_assets": null, + "source_is_affidavit": false + }, + "temporal": { + "doc_date_ranges": [ + { + "source": "bank_statement", + "page": 1, + "start": "24-04-2025", + "end": "24-04-2026" + }, + { + "source": "bank_statement", + "page": 2, + "start": "29-05-2025", + "end": "16-07-2025" + }, + { + "source": "bank_statement", + "page": 3, + "start": "16-07-2025", + "end": "18-08-2025" + }, + { + "source": "bank_statement", + "page": 4, + "start": "18-08-2025", + "end": "10-09-2025" + }, + { + "source": "bank_statement", + "page": 5, + "start": "11-09-2025", + "end": "20-09-2025" + }, + { + "source": "bank_statement", + "page": 6, + "start": "20-09-2025", + "end": "27-09-2025" + }, + { + "source": "bank_statement", + "page": 7, + "start": "28-09-2025", + "end": "02-10-2025" + }, + { + "source": "bank_statement", + "page": 8, + "start": "03-10-2025", + "end": "10-10-2025" + }, + { + "source": "bank_statement", + "page": 9, + "start": "10-10-2025", + "end": "20-10-2025" + }, + { + "source": "bank_statement", + "page": 10, + "start": "20-10-2025", + "end": "28-10-2025" + }, + { + "source": "bank_statement", + "page": 11, + "start": "28-10-2025", + "end": "07-11-2025" + }, + { + "source": "bank_statement", + "page": 12, + "start": "07-11-2025", + "end": "13-11-2025" + }, + { + "source": "bank_statement", + "page": 13, + "start": "13-11-2025", + "end": "20-11-2025" + }, + { + "source": "bank_statement", + "page": 14, + "start": "20-11-2025", + "end": "27-11-2025" + }, + { + "source": "bank_statement", + "page": 15, + "start": "27-11-2025", + "end": "04-12-2025" + }, + { + "source": "bank_statement", + "page": 16, + "start": "05-12-2025", + "end": "13-12-2025" + }, + { + "source": "bank_statement", + "page": 17, + "start": "14-12-2025", + "end": "18-12-2025" + }, + { + "source": "bank_statement", + "page": 18, + "start": "18-12-2025", + "end": "24-12-2025" + }, + { + "source": "bank_statement", + "page": 19, + "start": "24-12-2025", + "end": "02-01-2026" + }, + { + "source": "bank_statement", + "page": 20, + "start": "02-01-2026", + "end": "09-01-2026" + }, + { + "source": "bank_statement", + "page": 21, + "start": "11-01-2026", + "end": "20-01-2026" + }, + { + "source": "bank_statement", + "page": 22, + "start": "20-01-2026", + "end": "25-01-2026" + }, + { + "source": "bank_statement", + "page": 23, + "start": "25-01-2026", + "end": "01-02-2026" + }, + { + "source": "bank_statement", + "page": 24, + "start": "01-02-2026", + "end": "06-02-2026" + }, + { + "source": "bank_statement", + "page": 25, + "start": "06-02-2026", + "end": "13-02-2026" + }, + { + "source": "bank_statement", + "page": 26, + "start": "13-02-2026", + "end": "17-02-2026" + }, + { + "source": "bank_statement", + "page": 27, + "start": "17-02-2026", + "end": "22-02-2026" + }, + { + "source": "bank_statement", + "page": 28, + "start": "22-02-2026", + "end": "01-03-2026" + }, + { + "source": "bank_statement", + "page": 29, + "start": "01-03-2026", + "end": "05-03-2026" + }, + { + "source": "bank_statement", + "page": 30, + "start": "05-03-2026", + "end": "09-03-2026" + }, + { + "source": "bank_statement", + "page": 31, + "start": "09-03-2026", + "end": "15-03-2026" + }, + { + "source": "bank_statement", + "page": 32, + "start": "15-03-2026", + "end": "19-03-2026" + }, + { + "source": "bank_statement", + "page": 33, + "start": "19-03-2026", + "end": "28-03-2026" + }, + { + "source": "bank_statement", + "page": 34, + "start": "28-03-2026", + "end": "02-04-2026" + }, + { + "source": "bank_statement", + "page": 35, + "start": "02-04-2026", + "end": "04-04-2026" + }, + { + "source": "bank_statement", + "page": 36, + "start": "04-04-2026", + "end": "13-04-2026" + }, + { + "source": "bank_statement", + "page": 37, + "start": "13-04-2026", + "end": "21-04-2026" + }, + { + "source": "bank_statement", + "page": 38, + "start": "21-04-2026", + "end": "24-04-2026" + } + ], + "employment_start": null, + "employment_end": null, + "visa_window_start": null, + "visa_window_end": null, + "gap_flags": [], + "chronology_valid": true + }, + "sponsor": null, + "enrollment": null, + "edges": [ + { + "edge_type": "income_link", + "source_node": "identity", + "target_node": "financial", + "coherent": true, + "detail": null + } + ], + "token_count": 2693, + "source_page_count": 38, + "estimated_raw_tokens": 76000, + "source_doc_types": [ + "bank_statement" + ] +} \ No newline at end of file diff --git a/debug/20260518_152624/cp3_graph_summary.txt b/debug/20260518_152624/cp3_graph_summary.txt new file mode 100644 index 0000000000000000000000000000000000000000..f1ef08ca00487831ae91a78e8bace3af5ca44f9a --- /dev/null +++ b/debug/20260518_152624/cp3_graph_summary.txt @@ -0,0 +1,27 @@ +=== GRAPH SUMMARY (run: 20260518_152624) === +Source pages: 38 | Doc types: ['bank_statement'] +Token count: 2693 | Compression: 76,000 -> 2,693 + +--- IDENTITY --- + canonical_name: MR KORADA SATYANARAYANA + date_of_birth: None + nationality: None + passport_number: None + name_variants: ['MR KORADA SATYANARAYANA', 'SATYANARAYANA', 'SATYANARAYANA KORAD'] + +--- FINANCIAL --- + source_is_affidavit: False + currency: INR + closing_balance: 141083.88 + avg_monthly_income: None + transaction_count: 1036 + declared_property: None + declared_movables: None + +--- SPONSOR --- + sponsor_name: None + relationship: None + declared_income: None + + enrollment: null + edges: [] \ No newline at end of file diff --git a/debug/20260518_152624/cp4_enrollment_agent_prompt.json b/debug/20260518_152624/cp4_enrollment_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..7710315fb0a6caaabb3bd716c7f4908f1fb14e9f --- /dev/null +++ b/debug/20260518_152624/cp4_enrollment_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "enrollment_agent", + "graph_subset_keys": [ + "enrollment", + "financial", + "temporal" + ], + "estimated_input_tokens": 2324, + "prompt_char_count": 9297, + "prompt": "You are an adversarial immigration officer reviewing enrollment documentation.\nYour task: identify every enrollment/financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nENROLLMENT DATA:\nnull\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 39093.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 189,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 7,\n \"start\": \"28-09-2025\",\n \"end\": \"02-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 8,\n \"start\": \"03-10-2025\",\n \"end\": \"10-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 9,\n \"start\": \"10-10-2025\",\n \"end\": \"20-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 10,\n \"start\": \"20-10-2025\",\n \"end\": \"28-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 11,\n \"start\": \"28-10-2025\",\n \"end\": \"07-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 12,\n \"start\": \"07-11-2025\",\n \"end\": \"13-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 13,\n \"start\": \"13-11-2025\",\n \"end\": \"20-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 14,\n \"start\": \"20-11-2025\",\n \"end\": \"27-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 15,\n \"start\": \"27-11-2025\",\n \"end\": \"04-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 16,\n \"start\": \"05-12-2025\",\n \"end\": \"13-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 17,\n \"start\": \"14-12-2025\",\n \"end\": \"18-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 18,\n \"start\": \"18-12-2025\",\n \"end\": \"24-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 19,\n \"start\": \"24-12-2025\",\n \"end\": \"02-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 20,\n \"start\": \"02-01-2026\",\n \"end\": \"09-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 21,\n \"start\": \"11-01-2026\",\n \"end\": \"20-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 22,\n \"start\": \"20-01-2026\",\n \"end\": \"25-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 23,\n \"start\": \"25-01-2026\",\n \"end\": \"01-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 24,\n \"start\": \"01-02-2026\",\n \"end\": \"06-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 31,\n \"start\": \"09-03-2026\",\n \"end\": \"15-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 32,\n \"start\": \"15-03-2026\",\n \"end\": \"19-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 33,\n \"start\": \"19-03-2026\",\n \"end\": \"28-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 34,\n \"start\": \"28-03-2026\",\n \"end\": \"02-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 35,\n \"start\": \"02-04-2026\",\n \"end\": \"04-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 36,\n \"start\": \"04-04-2026\",\n \"end\": \"13-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 37,\n \"start\": \"13-04-2026\",\n \"end\": \"21-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 38,\n \"start\": \"21-04-2026\",\n \"end\": \"24-04-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the applicant's closing_balance cover program_cost? Show the arithmetic.\n Include a living expense estimate (~$1,500/month × duration_months) if relevant.\n2. Does enrollment_start align with the visa application timeline?\n3. Is the program_duration_months realistic for the stated program?\n4. If funds_cover_full_stay is false, quantify the shortfall exactly.\n5. If no enrollment data exists (null), note that this may be a non-student visa\n and enrollment checks are not applicable.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_152624/cp4_financial_agent_prompt.json b/debug/20260518_152624/cp4_financial_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..7821ea44b036c5b5ef4e7391401a49ce671f8315 --- /dev/null +++ b/debug/20260518_152624/cp4_financial_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "financial_agent", + "graph_subset_keys": [ + "financial", + "identity" + ], + "estimated_input_tokens": 3097, + "prompt_char_count": 12389, + "prompt": "You are an adversarial immigration officer reviewing financial documents.\nYour task: identify every financial inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 39093.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 189,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=29-10-2025]\",\n \"message\": \"Transaction on 29-10-2025 is 9.72\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=30-10-2025]\",\n \"message\": \"Transaction on 30-10-2025 is 9.72\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=31-01-2026]\",\n \"message\": \"Transaction on 31-01-2026 is 3.21\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.21\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=21-04-2026]\",\n \"message\": \"Transaction on 21-04-2026 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=24-04-2026]\",\n \"message\": \"Transaction on 24-04-2026 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (141,084 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 1,858,916 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"141,084 JPY\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=13-07-2025]\",\n \"message\": \"Transaction on 13-07-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=17-08-2025]\",\n \"message\": \"Transaction on 17-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=18-08-2025]\",\n \"message\": \"Transaction on 18-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=20-08-2025]\",\n \"message\": \"Transaction on 20-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=21-08-2025]\",\n \"message\": \"Transaction on 21-08-2025 is 4.86\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.86\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=23-08-2025]\",\n \"message\": \"Transaction on 23-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 7.61\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 7.61\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=28-10-2025]\",\n \"message\": \"Transaction on 28-10-2025 is 19.44\\u00d7 the average credit \\u2014 labeled: large_unlabeled_deposit\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 19.44\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=12-11-2025]\",\n \"message\": \"Transaction on 12-11-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=19-11-2025]\",\n \"message\": \"Transaction on 19-11-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=20-01-2026]\",\n \"message\": \"Transaction on 20-01-2026 is 5.25\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.25\"\n },\n {\n \"rule_id\": \"FIN-002\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"message\": \"189 deposit(s) have no source label\",\n \"expected\": \"0 unlabeled deposits\",\n \"actual\": \"189\"\n }\n]\n\nAnalyse the following — be specific, cite exact values:\n1. For each spike in spikes[]: is there a plausible source? If unlabeled, flag as critical.\n2. Does avg_monthly_income × visa_duration cover declared costs? Show the arithmetic.\n3. Does the balance trajectory make sense given declared income? Flag any impossible accumulation.\n4. Are there cross-document income discrepancies (payslip vs bank deposit amounts)?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_152624/cp4_identity_agent_prompt.json b/debug/20260518_152624/cp4_identity_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..3b18f4a046137e1422b05055171b8f2bb3291e11 --- /dev/null +++ b/debug/20260518_152624/cp4_identity_agent_prompt.json @@ -0,0 +1,9 @@ +{ + "agent_id": "identity_agent", + "graph_subset_keys": [ + "identity" + ], + "estimated_input_tokens": 506, + "prompt_char_count": 2025, + "prompt": "You are an adversarial immigration officer reviewing identity documents.\nYour task: identify every identity inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nIDENTITY DATA:\n{\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"IDN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"identity.cross_doc_name_match\",\n \"message\": \"Name mismatch across documents: ['MR KORADA SATYANARAYANA', 'SATYANARAYANA', 'SATYANARAYANA KORAD']. Possible transliteration issues: [\\\"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\\\"]\",\n \"expected\": \"Consistent name across all documents\",\n \"actual\": \"3 variants found\"\n }\n]\n\nAnalyse the following — be specific, cite exact field paths:\n1. Are all name_variants plausibly the same person? Consider transliteration rules\n (e.g. Japanese: family-first vs given-first, romanisation differences).\n2. If cross_doc_name_match is false, is this a genuine mismatch or an expected\n transliteration variation? Rate the severity.\n3. Check for date_of_birth consistency — is it the same across all documents?\n4. Does the passport_number match the identity page expectations for the stated nationality?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_152624/cp4_sponsor_agent_prompt.json b/debug/20260518_152624/cp4_sponsor_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..25ec1f81ae93976da60426e273a16850ddb979bb --- /dev/null +++ b/debug/20260518_152624/cp4_sponsor_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "sponsor_agent", + "graph_subset_keys": [ + "sponsor", + "identity", + "financial" + ], + "estimated_input_tokens": 1253, + "prompt_char_count": 5015, + "prompt": "You are an adversarial immigration officer reviewing sponsor documentation.\nYour task: identify every sponsorship inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nSPONSOR DATA:\nnull\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nAPPLICANT FINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 39093.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 189,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the sponsor's declared_income realistically cover the applicant's total costs\n (tuition + living expenses + travel)? Show the arithmetic.\n2. Is the stated relationship plausible? (e.g. \"uncle\" sponsoring a non-relative is suspicious)\n3. If income_supports_coverage is false, quantify the shortfall.\n4. Does the sponsor's income_currency match the jurisdiction where they claim to reside?\n5. If no sponsor data exists (null), note that the application lacks financial sponsorship\n documentation — this may be acceptable if self-funded.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_152624/cp4_temporal_agent_prompt.json b/debug/20260518_152624/cp4_temporal_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..90c7d34c664a1c9a8ae09202107f0714ae9bc24d --- /dev/null +++ b/debug/20260518_152624/cp4_temporal_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "temporal_agent", + "graph_subset_keys": [ + "temporal", + "financial" + ], + "estimated_input_tokens": 2330, + "prompt_char_count": 9322, + "prompt": "You are an adversarial immigration officer reviewing the timeline of an application.\nYour task: identify every temporal inconsistency that could justify visa rejection.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 7,\n \"start\": \"28-09-2025\",\n \"end\": \"02-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 8,\n \"start\": \"03-10-2025\",\n \"end\": \"10-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 9,\n \"start\": \"10-10-2025\",\n \"end\": \"20-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 10,\n \"start\": \"20-10-2025\",\n \"end\": \"28-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 11,\n \"start\": \"28-10-2025\",\n \"end\": \"07-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 12,\n \"start\": \"07-11-2025\",\n \"end\": \"13-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 13,\n \"start\": \"13-11-2025\",\n \"end\": \"20-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 14,\n \"start\": \"20-11-2025\",\n \"end\": \"27-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 15,\n \"start\": \"27-11-2025\",\n \"end\": \"04-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 16,\n \"start\": \"05-12-2025\",\n \"end\": \"13-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 17,\n \"start\": \"14-12-2025\",\n \"end\": \"18-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 18,\n \"start\": \"18-12-2025\",\n \"end\": \"24-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 19,\n \"start\": \"24-12-2025\",\n \"end\": \"02-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 20,\n \"start\": \"02-01-2026\",\n \"end\": \"09-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 21,\n \"start\": \"11-01-2026\",\n \"end\": \"20-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 22,\n \"start\": \"20-01-2026\",\n \"end\": \"25-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 23,\n \"start\": \"25-01-2026\",\n \"end\": \"01-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 24,\n \"start\": \"01-02-2026\",\n \"end\": \"06-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 31,\n \"start\": \"09-03-2026\",\n \"end\": \"15-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 32,\n \"start\": \"15-03-2026\",\n \"end\": \"19-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 33,\n \"start\": \"19-03-2026\",\n \"end\": \"28-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 34,\n \"start\": \"28-03-2026\",\n \"end\": \"02-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 35,\n \"start\": \"02-04-2026\",\n \"end\": \"04-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 36,\n \"start\": \"04-04-2026\",\n \"end\": \"13-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 37,\n \"start\": \"13-04-2026\",\n \"end\": \"21-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 38,\n \"start\": \"21-04-2026\",\n \"end\": \"24-04-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nFINANCIAL DATA (for date cross-reference):\n{\n \"currency\": \"INR\",\n \"opening_balance\": 39093.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 189,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact dates:\n1. Do employment_start and employment_end form a continuous period? Flag any gaps.\n2. Do the doc_date_ranges overlap logically? A bank statement ending after an\n employment letter's issue date is normal; the reverse is suspicious.\n3. If visa_window_start/end exist, does the employment and financial history\n cover the required pre-application period (typically 3-6 months)?\n4. Check chronology_valid — if false, explain what dates are logically impossible.\n5. Are transaction dates within the stated employment period?\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_152624/cp5_enrollment_agent_response.json b/debug/20260518_152624/cp5_enrollment_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..e99f8799c656804d29facc81ac742c8181ead861 --- /dev/null +++ b/debug/20260518_152624/cp5_enrollment_agent_response.json @@ -0,0 +1,41 @@ +{ + "agent_id": "enrollment_agent", + "elapsed_s": 27.15, + "parse_error": null, + "verdict": "critical", + "confidence": 1.0, + "anomaly_count": 4, + "summary": "The application exhibits a severe financial shortfall against the ¥2,000,000 requirement, pervasive undocumented deposits including a 100,000 INR spike, and entirely missing enrollment data.", + "full_finding": { + "agent_id": "enrollment_agent", + "anomalies": [ + { + "field_path": "financial.closing_balance", + "severity": "critical", + "explanation": "The closing balance of 141083.88 INR falls drastically short of the Japanese COE minimum requirement of ¥2,000,000 (which equates to roughly 1.1 million INR).", + "rule_id": null + }, + { + "field_path": "enrollment", + "severity": "warning", + "explanation": "Enrollment data is null, preventing the verification of program costs and duration. If this is a non-student visa, enrollment checks are not applicable, but for a COE student visa this is a critical omission.", + "rule_id": null + }, + { + "field_path": "financial.spikes[8].amount", + "severity": "critical", + "explanation": "A large unlabeled deposit of 100000.0 INR on 28-10-2025 represents a 19.44x spike above average without a documented source, violating COE requirements for large deposits.", + "rule_id": null + }, + { + "field_path": "financial.unlabeled_deposit_count", + "severity": "critical", + "explanation": "There are 189 unlabeled deposits in the account, which obscures the genuine source of funds and prevents validation of the sponsor's legitimate income.", + "rule_id": null + } + ], + "confidence": 1.0, + "agent_verdict": "critical", + "summary": "The application exhibits a severe financial shortfall against the ¥2,000,000 requirement, pervasive undocumented deposits including a 100,000 INR spike, and entirely missing enrollment data." + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp5_financial_agent_response.json b/debug/20260518_152624/cp5_financial_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..68de3a694b1be1f90c570242f9abb1418879cc0d --- /dev/null +++ b/debug/20260518_152624/cp5_financial_agent_response.json @@ -0,0 +1,53 @@ +{ + "agent_id": "financial_agent", + "elapsed_s": 74.13, + "parse_error": null, + "verdict": "critical", + "confidence": 0.99, + "anomaly_count": 6, + "summary": "Visa rejection is strongly justified due to extreme account churning, 189 unlabeled deposits including multiple smurfed spikes, zero verifiable income, and a massive shortfall from the 2000000 JPY requirement.", + "full_finding": { + "agent_id": "financial_agent", + "anomalies": [ + { + "field_path": "financial.closing_balance", + "severity": "critical", + "explanation": "Closing balance of 141083.88 INR is severely below the 2000000 JPY minimum requirement for a Japanese Student visa.", + "rule_id": "FIN-004" + }, + { + "field_path": "financial.avg_monthly_income", + "severity": "critical", + "explanation": "Average monthly income is null, making it impossible to calculate if the sponsor meets the 1.2x program cost requirement or verify cross-document payslips.", + "rule_id": null + }, + { + "field_path": "financial.spikes[8].amount", + "severity": "critical", + "explanation": "Deposit of 100000 INR on 28-10-2025 is 19.44x the average and lacks a plausible source label, violating rules on documented funds.", + "rule_id": "FIN-001" + }, + { + "field_path": "financial.spikes[17].amount", + "severity": "critical", + "explanation": "Six rapid, unlabeled deposits of 30000 INR on 03-03-2026 exhibit clear smurfing patterns to artificially inflate the balance without documentation.", + "rule_id": "FIN-001" + }, + { + "field_path": "financial.total_credits", + "severity": "critical", + "explanation": "Despite zero declared income, the account shows 1.8M INR in credits and 1.7M INR in debits across 1036 transactions, indicating severe account churning rather than genuine savings.", + "rule_id": null + }, + { + "field_path": "financial.unlabeled_deposit_count", + "severity": "warning", + "explanation": "There are 189 total deposits with no documented source, completely contradicting the strict visa requirement for transparent financial provenance.", + "rule_id": "FIN-002" + } + ], + "confidence": 0.99, + "agent_verdict": "critical", + "summary": "Visa rejection is strongly justified due to extreme account churning, 189 unlabeled deposits including multiple smurfed spikes, zero verifiable income, and a massive shortfall from the 2000000 JPY requirement." + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp5_identity_agent_response.json b/debug/20260518_152624/cp5_identity_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..8c5be8cbded7b6db416552c5750b02350626c75c --- /dev/null +++ b/debug/20260518_152624/cp5_identity_agent_response.json @@ -0,0 +1,41 @@ +{ + "agent_id": "identity_agent", + "elapsed_s": 611.77, + "parse_error": null, + "verdict": "critical", + "confidence": 0.99, + "anomaly_count": 4, + "summary": "Application lacks critical fundamental identity data including date of birth, passport number, and nationality, alongside severe cross-document name mismatches.", + "full_finding": { + "agent_id": "identity_agent", + "anomalies": [ + { + "field_path": "name_variants", + "severity": "critical", + "explanation": "Significant name inconsistencies across documents, including dropped name components and spelling variations ('KORADA' vs 'KORAD'), which violates strict Japanese identity matching standards.", + "rule_id": "IDN-001" + }, + { + "field_path": "date_of_birth", + "severity": "critical", + "explanation": "Date of birth is completely missing from the identity record, preventing fundamental age and identity verification.", + "rule_id": null + }, + { + "field_path": "passport_number", + "severity": "critical", + "explanation": "Passport number is null. A valid passport number is absolutely mandatory for any visa or Certificate of Eligibility processing.", + "rule_id": null + }, + { + "field_path": "nationality", + "severity": "critical", + "explanation": "Nationality is null, making it impossible to validate passport formatting or apply country-specific immigration risk assessments.", + "rule_id": null + } + ], + "confidence": 0.99, + "agent_verdict": "critical", + "summary": "Application lacks critical fundamental identity data including date of birth, passport number, and nationality, alongside severe cross-document name mismatches." + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp5_sponsor_agent_response.json b/debug/20260518_152624/cp5_sponsor_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..4bc05107e2bcf052533e44f25a3b21f980c1ae4b --- /dev/null +++ b/debug/20260518_152624/cp5_sponsor_agent_response.json @@ -0,0 +1,47 @@ +{ + "agent_id": "sponsor_agent", + "elapsed_s": 23.36, + "parse_error": null, + "verdict": "critical", + "confidence": 0.99, + "anomaly_count": 5, + "summary": "The application lacks a financial sponsor, while the applicant's personal accounts demonstrate severe fund-parking behavior and fall drastically short of the ¥2,000,000 COE minimum balance requirement.", + "full_finding": { + "agent_id": "sponsor_agent", + "anomalies": [ + { + "field_path": "sponsor", + "severity": "warning", + "explanation": "No sponsor data exists (null), meaning the application lacks financial sponsorship documentation. The applicant must therefore qualify as entirely self-funded, shifting all financial scrutiny to their personal accounts.", + "rule_id": null + }, + { + "field_path": "financial.closing_balance", + "severity": "critical", + "explanation": "The applicant's closing balance of 141,083.88 INR (approx. ¥255,000 JPY) is massively deficient. It falls short of the ¥2,000,000 Japan COE minimum requirement by approximately ¥1,745,000.", + "rule_id": null + }, + { + "field_path": "financial.spikes[8].amount", + "severity": "critical", + "explanation": "A massive, unlabeled deposit of 100,000 INR (19.44 times the average monthly activity) occurred on 28-10-2025, which violates the strict COE requirement that all large deposits must have documented sources.", + "rule_id": null + }, + { + "field_path": "financial.unlabeled_deposit_count", + "severity": "critical", + "explanation": "The account contains 189 unlabeled deposits and highly suspicious structured transfer clusters (e.g., four identical 30,000 INR deposits on 03-03-2026), indicative of systemic fund parking to artificially inflate the balance.", + "rule_id": null + }, + { + "field_path": "identity.cross_doc_name_match", + "severity": "warning", + "explanation": "Applicant identity documents fail cross-document name matching due to missing transliteration consistency between 'MR KORADA SATYANARAYANA' and 'SATYANARAYANA KORAD'.", + "rule_id": null + } + ], + "confidence": 0.99, + "agent_verdict": "critical", + "summary": "The application lacks a financial sponsor, while the applicant's personal accounts demonstrate severe fund-parking behavior and fall drastically short of the ¥2,000,000 COE minimum balance requirement." + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp5_temporal_agent_response.json b/debug/20260518_152624/cp5_temporal_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..f290af2bc5cacc6faa8e4749c9c8f5f5ee556972 --- /dev/null +++ b/debug/20260518_152624/cp5_temporal_agent_response.json @@ -0,0 +1,35 @@ +{ + "agent_id": "temporal_agent", + "elapsed_s": 51.63, + "parse_error": null, + "verdict": "critical", + "confidence": 0.95, + "anomaly_count": 3, + "summary": "Critical temporal anomalies detected, including a complete lack of employment dates for sponsor verification, a 35-day gap in detailed statement records, and suspicious temporal clustering of deposits near the application window.", + "full_finding": { + "agent_id": "temporal_agent", + "anomalies": [ + { + "field_path": "temporal.doc_date_ranges[0].start", + "severity": "warning", + "explanation": "Page 1 indicates a statement period from 24-04-2025 to 24-04-2026, but the subsequent detailed page (Page 2) begins on 29-05-2025. This leaves a 35-day gap in the detailed transaction history at the beginning of the required period.", + "rule_id": null + }, + { + "field_path": "temporal.employment_start", + "severity": "critical", + "explanation": "Employment start and end dates are entirely missing from the application data. Without verifiable employment dates, it is impossible to establish the sponsor's continuous income capacity required for the COE.", + "rule_id": null + }, + { + "field_path": "financial.spikes[17].date", + "severity": "critical", + "explanation": "There is a highly suspicious temporal clustering of five large, unlabeled deposits on a single day (03-03-2026) totaling 140,000 INR. This abrupt influx of funds shortly before the end of the statement period strongly suggests artificial fund parking rather than organic income.", + "rule_id": null + } + ], + "confidence": 0.95, + "agent_verdict": "critical", + "summary": "Critical temporal anomalies detected, including a complete lack of employment dates for sponsor verification, a 35-day gap in detailed statement records, and suspicious temporal clustering of deposits near the application window." + } +} \ No newline at end of file diff --git a/debug/20260518_152624/cp6_narrative.json b/debug/20260518_152624/cp6_narrative.json new file mode 100644 index 0000000000000000000000000000000000000000..eaa3a93412e4ba949063e4dd7b32509f56303da9 --- /dev/null +++ b/debug/20260518_152624/cp6_narrative.json @@ -0,0 +1,47 @@ +{ + "elapsed_s": 18.93, + "parse_error": null, + "verdict": "FAIL", + "risk_score": 0.99, + "critical_issues_count": 6, + "prompt_char_count": 27422, + "prompt": "You are a senior immigration officer writing the official assessment.\n\nDOCUMENT TYPES PROCESSED: ['bank_statement']\n\n\nSEMANTIC GRAPH (full document picture):\n{\n \"identity\": {\n \"name_variants\": [\n \"MR KORADA SATYANARAYANA\",\n \"SATYANARAYANA\",\n \"SATYANARAYANA KORAD\"\n ],\n \"canonical_name\": \"MR KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n },\n \"financial\": {\n \"currency\": \"INR\",\n \"opening_balance\": 39093.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": null,\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 189,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n },\n \"temporal\": {\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 7,\n \"start\": \"28-09-2025\",\n \"end\": \"02-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 8,\n \"start\": \"03-10-2025\",\n \"end\": \"10-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 9,\n \"start\": \"10-10-2025\",\n \"end\": \"20-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 10,\n \"start\": \"20-10-2025\",\n \"end\": \"28-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 11,\n \"start\": \"28-10-2025\",\n \"end\": \"07-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 12,\n \"start\": \"07-11-2025\",\n \"end\": \"13-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 13,\n \"start\": \"13-11-2025\",\n \"end\": \"20-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 14,\n \"start\": \"20-11-2025\",\n \"end\": \"27-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 15,\n \"start\": \"27-11-2025\",\n \"end\": \"04-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 16,\n \"start\": \"05-12-2025\",\n \"end\": \"13-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 17,\n \"start\": \"14-12-2025\",\n \"end\": \"18-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 18,\n \"start\": \"18-12-2025\",\n \"end\": \"24-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 19,\n \"start\": \"24-12-2025\",\n \"end\": \"02-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 20,\n \"start\": \"02-01-2026\",\n \"end\": \"09-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 21,\n \"start\": \"11-01-2026\",\n \"end\": \"20-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 22,\n \"start\": \"20-01-2026\",\n \"end\": \"25-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 23,\n \"start\": \"25-01-2026\",\n \"end\": \"01-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 24,\n \"start\": \"01-02-2026\",\n \"end\": \"06-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 31,\n \"start\": \"09-03-2026\",\n \"end\": \"15-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 32,\n \"start\": \"15-03-2026\",\n \"end\": \"19-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 33,\n \"start\": \"19-03-2026\",\n \"end\": \"28-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 34,\n \"start\": \"28-03-2026\",\n \"end\": \"02-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 35,\n \"start\": \"02-04-2026\",\n \"end\": \"04-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 36,\n \"start\": \"04-04-2026\",\n \"end\": \"13-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 37,\n \"start\": \"13-04-2026\",\n \"end\": \"21-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 38,\n \"start\": \"21-04-2026\",\n \"end\": \"24-04-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n },\n \"sponsor\": null,\n \"enrollment\": null,\n \"edges\": [\n {\n \"edge_type\": \"income_link\",\n \"source_node\": \"identity\",\n \"target_node\": \"financial\",\n \"coherent\": true,\n \"detail\": null\n }\n ],\n \"token_count\": 2693,\n \"source_page_count\": 38,\n \"estimated_raw_tokens\": 76000,\n \"source_doc_types\": [\n \"bank_statement\"\n ]\n}\n\nRULE ENGINE FINDINGS:\n[\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=29-10-2025]\",\n \"message\": \"Transaction on 29-10-2025 is 9.72\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=30-10-2025]\",\n \"message\": \"Transaction on 30-10-2025 is 9.72\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=31-01-2026]\",\n \"message\": \"Transaction on 31-01-2026 is 3.21\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.21\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=21-04-2026]\",\n \"message\": \"Transaction on 21-04-2026 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=24-04-2026]\",\n \"message\": \"Transaction on 24-04-2026 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (141,084 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 1,858,916 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"141,084 JPY\"\n },\n {\n \"rule_id\": \"IDN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"identity.cross_doc_name_match\",\n \"message\": \"Name mismatch across documents: ['MR KORADA SATYANARAYANA', 'SATYANARAYANA', 'SATYANARAYANA KORAD']. Possible transliteration issues: [\\\"'SATYANARAYANA' vs 'MR KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORAD' vs 'MR KORADA SATYANARAYANA'\\\"]\",\n \"expected\": \"Consistent name across all documents\",\n \"actual\": \"3 variants found\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=13-07-2025]\",\n \"message\": \"Transaction on 13-07-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=17-08-2025]\",\n \"message\": \"Transaction on 17-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=18-08-2025]\",\n \"message\": \"Transaction on 18-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=20-08-2025]\",\n \"message\": \"Transaction on 20-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=21-08-2025]\",\n \"message\": \"Transaction on 21-08-2025 is 4.86\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.86\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=23-08-2025]\",\n \"message\": \"Transaction on 23-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 7.61\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 7.61\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=28-10-2025]\",\n \"message\": \"Transaction on 28-10-2025 is 19.44\\u00d7 the average credit \\u2014 labeled: large_unlabeled_deposit\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 19.44\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=12-11-2025]\",\n \"message\": \"Transaction on 12-11-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=19-11-2025]\",\n \"message\": \"Transaction on 19-11-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=20-01-2026]\",\n \"message\": \"Transaction on 20-01-2026 is 5.25\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.25\"\n },\n {\n \"rule_id\": \"FIN-002\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"message\": \"189 deposit(s) have no source label\",\n \"expected\": \"0 unlabeled deposits\",\n \"actual\": \"189\"\n }\n]\n\nSPECIALIST AGENT FINDINGS:\n[\n {\n \"agent_id\": \"identity_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"name_variants\",\n \"severity\": \"critical\",\n \"explanation\": \"Significant name inconsistencies across documents, including dropped name components and spelling variations ('KORADA' vs 'KORAD'), which violates strict Japanese identity matching standards.\",\n \"rule_id\": \"IDN-001\"\n },\n {\n \"field_path\": \"date_of_birth\",\n \"severity\": \"critical\",\n \"explanation\": \"Date of birth is completely missing from the identity record, preventing fundamental age and identity verification.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"passport_number\",\n \"severity\": \"critical\",\n \"explanation\": \"Passport number is null. A valid passport number is absolutely mandatory for any visa or Certificate of Eligibility processing.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"nationality\",\n \"severity\": \"critical\",\n \"explanation\": \"Nationality is null, making it impossible to validate passport formatting or apply country-specific immigration risk assessments.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.99,\n \"agent_verdict\": \"critical\",\n \"summary\": \"Application lacks critical fundamental identity data including date of birth, passport number, and nationality, alongside severe cross-document name mismatches.\"\n },\n {\n \"agent_id\": \"financial_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"Closing balance of 141083.88 INR is severely below the 2000000 JPY minimum requirement for a Japanese Student visa.\",\n \"rule_id\": \"FIN-004\"\n },\n {\n \"field_path\": \"financial.avg_monthly_income\",\n \"severity\": \"critical\",\n \"explanation\": \"Average monthly income is null, making it impossible to calculate if the sponsor meets the 1.2x program cost requirement or verify cross-document payslips.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.spikes[8].amount\",\n \"severity\": \"critical\",\n \"explanation\": \"Deposit of 100000 INR on 28-10-2025 is 19.44x the average and lacks a plausible source label, violating rules on documented funds.\",\n \"rule_id\": \"FIN-001\"\n },\n {\n \"field_path\": \"financial.spikes[17].amount\",\n \"severity\": \"critical\",\n \"explanation\": \"Six rapid, unlabeled deposits of 30000 INR on 03-03-2026 exhibit clear smurfing patterns to artificially inflate the balance without documentation.\",\n \"rule_id\": \"FIN-001\"\n },\n {\n \"field_path\": \"financial.total_credits\",\n \"severity\": \"critical\",\n \"explanation\": \"Despite zero declared income, the account shows 1.8M INR in credits and 1.7M INR in debits across 1036 transactions, indicating severe account churning rather than genuine savings.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"severity\": \"warning\",\n \"explanation\": \"There are 189 total deposits with no documented source, completely contradicting the strict visa requirement for transparent financial provenance.\",\n \"rule_id\": \"FIN-002\"\n }\n ],\n \"confidence\": 0.99,\n \"agent_verdict\": \"critical\",\n \"summary\": \"Visa rejection is strongly justified due to extreme account churning, 189 unlabeled deposits including multiple smurfed spikes, zero verifiable income, and a massive shortfall from the 2000000 JPY requirement.\"\n },\n {\n \"agent_id\": \"temporal_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"temporal.doc_date_ranges[0].start\",\n \"severity\": \"warning\",\n \"explanation\": \"Page 1 indicates a statement period from 24-04-2025 to 24-04-2026, but the subsequent detailed page (Page 2) begins on 29-05-2025. This leaves a 35-day gap in the detailed transaction history at the beginning of the required period.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"temporal.employment_start\",\n \"severity\": \"critical\",\n \"explanation\": \"Employment start and end dates are entirely missing from the application data. Without verifiable employment dates, it is impossible to establish the sponsor's continuous income capacity required for the COE.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.spikes[17].date\",\n \"severity\": \"critical\",\n \"explanation\": \"There is a highly suspicious temporal clustering of five large, unlabeled deposits on a single day (03-03-2026) totaling 140,000 INR. This abrupt influx of funds shortly before the end of the statement period strongly suggests artificial fund parking rather than organic income.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.95,\n \"agent_verdict\": \"critical\",\n \"summary\": \"Critical temporal anomalies detected, including a complete lack of employment dates for sponsor verification, a 35-day gap in detailed statement records, and suspicious temporal clustering of deposits near the application window.\"\n },\n {\n \"agent_id\": \"sponsor_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"sponsor\",\n \"severity\": \"warning\",\n \"explanation\": \"No sponsor data exists (null), meaning the application lacks financial sponsorship documentation. The applicant must therefore qualify as entirely self-funded, shifting all financial scrutiny to their personal accounts.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"The applicant's closing balance of 141,083.88 INR (approx. \\u00a5255,000 JPY) is massively deficient. It falls short of the \\u00a52,000,000 Japan COE minimum requirement by approximately \\u00a51,745,000.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.spikes[8].amount\",\n \"severity\": \"critical\",\n \"explanation\": \"A massive, unlabeled deposit of 100,000 INR (19.44 times the average monthly activity) occurred on 28-10-2025, which violates the strict COE requirement that all large deposits must have documented sources.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"severity\": \"critical\",\n \"explanation\": \"The account contains 189 unlabeled deposits and highly suspicious structured transfer clusters (e.g., four identical 30,000 INR deposits on 03-03-2026), indicative of systemic fund parking to artificially inflate the balance.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"identity.cross_doc_name_match\",\n \"severity\": \"warning\",\n \"explanation\": \"Applicant identity documents fail cross-document name matching due to missing transliteration consistency between 'MR KORADA SATYANARAYANA' and 'SATYANARAYANA KORAD'.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.99,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The application lacks a financial sponsor, while the applicant's personal accounts demonstrate severe fund-parking behavior and fall drastically short of the \\u00a52,000,000 COE minimum balance requirement.\"\n },\n {\n \"agent_id\": \"enrollment_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"The closing balance of 141083.88 INR falls drastically short of the Japanese COE minimum requirement of \\u00a52,000,000 (which equates to roughly 1.1 million INR).\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"enrollment\",\n \"severity\": \"warning\",\n \"explanation\": \"Enrollment data is null, preventing the verification of program costs and duration. If this is a non-student visa, enrollment checks are not applicable, but for a COE student visa this is a critical omission.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.spikes[8].amount\",\n \"severity\": \"critical\",\n \"explanation\": \"A large unlabeled deposit of 100000.0 INR on 28-10-2025 represents a 19.44x spike above average without a documented source, violating COE requirements for large deposits.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"severity\": \"critical\",\n \"explanation\": \"There are 189 unlabeled deposits in the account, which obscures the genuine source of funds and prevents validation of the sponsor's legitimate income.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 1.0,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The application exhibits a severe financial shortfall against the \\u00a52,000,000 requirement, pervasive undocumented deposits including a 100,000 INR spike, and entirely missing enrollment data.\"\n }\n]\n\nYour task:\n1. Synthesise ALL findings into a single coherent verdict.\n2. A finding from ANY agent with severity \"critical\" = FAIL unless directly contradicted by another agent.\n3. Write the rejection_narrative as an officer would: formal, specific, citing document evidence.\n4. For each issue, write one rebuttal_guidance item: what additional document would resolve it.\n5. Risk score: 0.0 = clean application, 1.0 = near-certain rejection.\n6. In citations, list the exact graph node paths that support your verdict (e.g. 'financial.spikes[0].amount').\n\nRespond ONLY with NarrativeVerdict JSON.", + "full_verdict": { + "verdict": "FAIL", + "risk_score": 0.99, + "critical_issues": [ + "Closing balance of 141,083.88 INR falls drastically short of the 2,000,000 JPY minimum requirement for a Certificate of Eligibility.", + "Complete absence of fundamental identity data, including Date of Birth, Passport Number, and Nationality.", + "Pervasive unlabeled deposits (189 occurrences), including a highly suspicious 100,000 INR deposit on 28-10-2025 (19.44x average) and temporal clustering of identical 30,000 INR deposits on 03-03-2026, indicating artificial fund parking or smurfing.", + "Missing financial sponsor and enrollment data, leaving the application unsupported.", + "Inconsistent applicant name variations across documents ('MR KORADA SATYANARAYANA', 'SATYANARAYANA', 'SATYANARAYANA KORAD').", + "Missing transaction history for a 35-day period between 24-04-2025 and 29-05-2025." + ], + "warning_issues": [ + "High transaction volume (1036 transactions) with 1.8M INR in credits and 1.7M INR in debits despite zero declared income, suggesting account churning.", + "Missing employment start and end dates." + ], + "rejection_narrative": "The application for a Certificate of Eligibility is denied due to severe financial and administrative deficiencies. First, the applicant's closing balance of 141,083.88 INR translates to a massive shortfall against the standard 2,000,000 JPY minimum requirement for self-funded applicants. Second, the submitted bank statements exhibit a pattern of severe account churning and artificial fund inflation. Notably, there are 189 unlabeled deposits, including a massive 100,000 INR deposit on 28-10-2025 and a highly suspicious cluster of five large deposits totaling 140,000 INR on a single day (03-03-2026). This financial behavior lacks verifiable provenance and directly violates the requirement for transparent financial documentation. Third, fundamental identity and administrative parameters are entirely missing; the application lacks a date of birth, passport number, nationality, sponsor information, and enrollment details. Furthermore, there are unresolved name inconsistencies across the documents. Given the sheer volume of undocumented funds and the critical absence of both financial capacity and fundamental identity verification, the application does not meet the requirements for visa issuance.", + "rebuttal_guidance": [ + "Submit a valid, legible copy of the applicant's passport showing Date of Birth, Passport Number, Nationality, and a consistent name spelling.", + "Provide proof of sufficient liquid funds meeting or exceeding the 2,000,000 JPY threshold in a clearly documented account.", + "Submit an official explanation or Affidavit of Support detailing the origin of all major unlabeled deposits, specifically the 100,000 INR deposit on 28-10-2025 and the clustered 30,000 INR deposits on 03-03-2026, backed by tax returns or payslips.", + "Provide a valid Certificate of Admission or enrollment documentation from the host institution.", + "Provide comprehensive sponsor documentation, including an official sponsorship letter, the sponsor's valid passport, and their verifiable employment/income certificates.", + "Provide a complete, uninterrupted bank statement covering the entire required period, explicitly bridging the 35-day gap between 24-04-2025 and 29-05-2025." + ], + "citations": [ + "financial.closing_balance", + "identity.date_of_birth", + "identity.passport_number", + "identity.nationality", + "financial.unlabeled_deposit_count", + "financial.spikes[date=28-10-2025]", + "financial.spikes[date=03-03-2026]", + "sponsor", + "enrollment", + "identity.cross_doc_name_match", + "temporal.doc_date_ranges[0]" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_152624/run_summary.json b/debug/20260518_152624/run_summary.json new file mode 100644 index 0000000000000000000000000000000000000000..b1799b2f375ae13d2c7f12e98734c8c520f7e74d --- /dev/null +++ b/debug/20260518_152624/run_summary.json @@ -0,0 +1,431 @@ +{ + "run_id": "20260518_152624", + "total_elapsed_s": 1011.3, + "checkpoints": [ + { + "checkpoint": "CP0", + "timestamp": "2026-05-18T15:26:24.434186+00:00", + "file": "document_1.pdf", + "pages": 38, + "electronic": true + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:26:45.400799+00:00", + "page": 3, + "type": "bank_statement", + "non_null_count": 7, + "elapsed_s": 20.88 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:26:49.252082+00:00", + "page": 5, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 24.72 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:26:50.506490+00:00", + "page": 1, + "type": "bank_statement", + "non_null_count": 11, + "elapsed_s": 26.01 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:26:55.320182+00:00", + "page": 4, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 30.79 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:03.387705+00:00", + "page": 2, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 38.87 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:08.294179+00:00", + "page": 8, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 17.79 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:14.139120+00:00", + "page": 7, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 24.89 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:15.461707+00:00", + "page": 6, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 30.06 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:30.349271+00:00", + "page": 9, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 35.03 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:30.550297+00:00", + "page": 12, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 16.41 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:30.552065+00:00", + "page": 10, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 27.16 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:34.406242+00:00", + "page": 13, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 18.94 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:41.165314+00:00", + "page": 11, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 32.87 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:45.394778+00:00", + "page": 15, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 14.84 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:46.185763+00:00", + "page": 14, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 15.83 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:27:46.821574+00:00", + "page": 16, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 16.26 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:01.957123+00:00", + "page": 20, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 15.77 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:02.842515+00:00", + "page": 21, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 16.02 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:04.515023+00:00", + "page": 17, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 30.11 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:12.503974+00:00", + "page": 18, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 31.34 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:18.249875+00:00", + "page": 19, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 32.85 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:26.122081+00:00", + "page": 22, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 24.16 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:27.962326+00:00", + "page": 23, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 25.12 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:32.378783+00:00", + "page": 24, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 27.86 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:34.106313+00:00", + "page": 25, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 21.6 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:46.463825+00:00", + "page": 26, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 28.21 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:48.586867+00:00", + "page": 29, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 16.21 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:52.482338+00:00", + "page": 28, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 24.52 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:28:52.948857+00:00", + "page": 27, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 26.83 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:02.983822+00:00", + "page": 30, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 28.88 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:11.429639+00:00", + "page": 31, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 24.96 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:16.607946+00:00", + "page": 32, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 28.02 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:20.187353+00:00", + "page": 34, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 27.24 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:27.786174+00:00", + "page": 36, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 16.35 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:29.801359+00:00", + "page": 38, + "type": "bank_statement", + "non_null_count": 7, + "elapsed_s": 9.61 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:30.692696+00:00", + "page": 33, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 38.21 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:35.304926+00:00", + "page": 37, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 18.69 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T15:29:43.191185+00:00", + "page": 35, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 40.21 + }, + { + "checkpoint": "CP3", + "timestamp": "2026-05-18T15:29:43.538534+00:00", + "canonical_name": "MR KORADA SATYANARAYANA", + "doc_types": [ + "bank_statement" + ], + "closing_balance": 141083.88, + "token_count": 2693 + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T15:29:43.541213+00:00", + "agent": "identity_agent", + "estimated_tokens": 506, + "graph_keys": [ + "identity" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T15:39:55.315444+00:00", + "agent": "identity_agent", + "verdict": "critical", + "confidence": 0.99, + "elapsed_s": 611.77, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T15:39:56.325480+00:00", + "agent": "financial_agent", + "estimated_tokens": 3097, + "graph_keys": [ + "financial", + "identity" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T15:41:10.454693+00:00", + "agent": "financial_agent", + "verdict": "critical", + "confidence": 0.99, + "elapsed_s": 74.13, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T15:41:11.459770+00:00", + "agent": "temporal_agent", + "estimated_tokens": 2330, + "graph_keys": [ + "temporal", + "financial" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T15:42:03.086202+00:00", + "agent": "temporal_agent", + "verdict": "critical", + "confidence": 0.95, + "elapsed_s": 51.63, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T15:42:04.101936+00:00", + "agent": "sponsor_agent", + "estimated_tokens": 1253, + "graph_keys": [ + "sponsor", + "identity", + "financial" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T15:42:27.463989+00:00", + "agent": "sponsor_agent", + "verdict": "critical", + "confidence": 0.99, + "elapsed_s": 23.36, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T15:42:28.468940+00:00", + "agent": "enrollment_agent", + "estimated_tokens": 2324, + "graph_keys": [ + "enrollment", + "financial", + "temporal" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T15:42:55.616358+00:00", + "agent": "enrollment_agent", + "verdict": "critical", + "confidence": 1.0, + "elapsed_s": 27.15, + "parse_error": null + }, + { + "checkpoint": "CP6", + "timestamp": "2026-05-18T15:43:15.583898+00:00", + "verdict": "FAIL", + "risk_score": 0.99, + "elapsed_s": 18.93 + } + ], + "output_dir": "C:\\Users\\ksk76\\Downloads\\uplan-hackathon-space-amd\\refined\\new-plan\\debug\\20260518_152624" +} \ No newline at end of file diff --git a/debug/20260518_165811/cp0_ingestion.json b/debug/20260518_165811/cp0_ingestion.json new file mode 100644 index 0000000000000000000000000000000000000000..868d7bdcf214a48862067be19d1b573a0ee525e7 --- /dev/null +++ b/debug/20260518_165811/cp0_ingestion.json @@ -0,0 +1,199 @@ +{ + "file_path": "document_1.pdf", + "file_size_bytes": 685797, + "page_count": 38, + "is_electronic": true, + "is_scanned": false, + "pages": [ + { + "page": 1, + "char_count": 1877, + "has_text_layer": true + }, + { + "page": 2, + "char_count": 2693, + "has_text_layer": true + }, + { + "page": 3, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 4, + "char_count": 2726, + "has_text_layer": true + }, + { + "page": 5, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 6, + "char_count": 2737, + "has_text_layer": true + }, + { + "page": 7, + "char_count": 2722, + "has_text_layer": true + }, + { + "page": 8, + "char_count": 2746, + "has_text_layer": true + }, + { + "page": 9, + "char_count": 2749, + "has_text_layer": true + }, + { + "page": 10, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 11, + "char_count": 2771, + "has_text_layer": true + }, + { + "page": 12, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 13, + "char_count": 2752, + "has_text_layer": true + }, + { + "page": 14, + "char_count": 2735, + "has_text_layer": true + }, + { + "page": 15, + "char_count": 2745, + "has_text_layer": true + }, + { + "page": 16, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 17, + "char_count": 2747, + "has_text_layer": true + }, + { + "page": 18, + "char_count": 2742, + "has_text_layer": true + }, + { + "page": 19, + "char_count": 2721, + "has_text_layer": true + }, + { + "page": 20, + "char_count": 2700, + "has_text_layer": true + }, + { + "page": 21, + "char_count": 2723, + "has_text_layer": true + }, + { + "page": 22, + "char_count": 2727, + "has_text_layer": true + }, + { + "page": 23, + "char_count": 2734, + "has_text_layer": true + }, + { + "page": 24, + "char_count": 2741, + "has_text_layer": true + }, + { + "page": 25, + "char_count": 2711, + "has_text_layer": true + }, + { + "page": 26, + "char_count": 2738, + "has_text_layer": true + }, + { + "page": 27, + "char_count": 2748, + "has_text_layer": true + }, + { + "page": 28, + "char_count": 2762, + "has_text_layer": true + }, + { + "page": 29, + "char_count": 2766, + "has_text_layer": true + }, + { + "page": 30, + "char_count": 2757, + "has_text_layer": true + }, + { + "page": 31, + "char_count": 2774, + "has_text_layer": true + }, + { + "page": 32, + "char_count": 2779, + "has_text_layer": true + }, + { + "page": 33, + "char_count": 2743, + "has_text_layer": true + }, + { + "page": 34, + "char_count": 2753, + "has_text_layer": true + }, + { + "page": 35, + "char_count": 2729, + "has_text_layer": true + }, + { + "page": 36, + "char_count": 2732, + "has_text_layer": true + }, + { + "page": 37, + "char_count": 2755, + "has_text_layer": true + }, + { + "page": 38, + "char_count": 1440, + "has_text_layer": true + } + ] +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_01_extraction.json b/debug/20260518_165811/cp2_page_01_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..b1018c039527e3a48a7b00ec94ce1cba85f459ab --- /dev/null +++ b/debug/20260518_165811/cp2_page_01_extraction.json @@ -0,0 +1,289 @@ +{ + "page": 1, + "elapsed_s": 8.95, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 1, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n1\n38\nYour Details\nName\nMR KORADA \nSATYANARAYANA \nAddress\nS/O KORADA AUDIAH,PLOT \nNO-76 NEAR SRINIVASA,\nCOLLEGE,SBI COLONY \nVIZIANAGARAM,VIZI,535003\nMobile No\n6**** *7650\nEmail id\nStatement Details\nStatement Date\n24-04-2026 23:56\nStatement Period\n24-04-2025 to 24-04-2026\nAccount Details\nCustomer/CIF ID\n56789958\nAccount Type\nSavings Account\nAccount Name\nKORADA SATYANARAYANA\nAccount Number\n253110100033102\nCurrency\nINR\nIFSC\nUBIN0825310\nBranch Address\nPHOOLBAGH\nD.NO.21-13-9/3, PHOOLBAGH, \nMARUTINAGAR\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-05-2025\nW66458111\nUPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n44593.31(Cr)\n09-05-2025\nX62164974\nUPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43593.31(Cr)\n09-05-2025\nX62196692\nUPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42593.31(Cr)\n09-05-2025\nX79945345\nUPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb\n80.0(Dr)\n42513.31(Cr)\n10-05-2025\nY54010519\nUPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb\n120.0(Dr)\n42393.31(Cr)\n11-05-2025\nS8899012\nUPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n42333.31(Cr)\n15-05-2025\nU34132421\nUPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n46833.31(Cr)\n21-05-2025\nX86285216\nUPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@\n45.0(Dr)\n46788.31(Cr)\n23-05-2025\nY80714477\nUPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos\n60.0(Dr)\n46728.31(Cr)\n23-05-2025\nS6447239\nJNS-PMSBY-23-24-00027537318-600-56789958\n20.0(Dr)\n46708.31(Cr)\n25-05-2025\nT46067650\nUPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb\n100.0(Dr)\n46608.31(Cr)\n26-05-2025\nT73816080\nUPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb\n24.0(Dr)\n46584.31(Cr)\n27-05-2025\nU27866268\nUPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE\n45.0(Dr)\n46539.31(Cr)\n27-05-2025\nU60165567\nUPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n46479.31(Cr)\n", + "person_name": "KORADA SATYANARAYANA", + "currency": "INR", + "closing_balance": 46479.31, + "transactions": [ + { + "date": "07-05-2025", + "description": "UPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-05-2025", + "description": "UPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-05-2025", + "description": "UPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-05-2025", + "description": "UPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-05-2025", + "description": "UPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-05-2025", + "description": "UPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-05-2025", + "description": "UPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-05-2025", + "description": "UPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@", + "amount": 45.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-05-2025", + "description": "UPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-05-2025", + "description": "JNS-PMSBY-23-24-00027537318-600-56789958", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-05-2025", + "description": "UPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-05-2025", + "description": "UPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 24.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-05-2025", + "description": "UPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 45.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-05-2025", + "description": "UPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "document_date": "24-04-2026", + "period_start": "24-04-2025", + "period_end": "24-04-2026" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 1, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n1\n38\nYour Details\nName\nMR KORADA \nSATYANARAYANA \nAddress\nS/O KORADA AUDIAH,PLOT \nNO-76 NEAR SRINIVASA,\nCOLLEGE,SBI COLONY \nVIZIANAGARAM,VIZI,535003\nMobile No\n6**** *7650\nEmail id\nStatement Details\nStatement Date\n24-04-2026 23:56\nStatement Period\n24-04-2025 to 24-04-2026\nAccount Details\nCustomer/CIF ID\n56789958\nAccount Type\nSavings Account\nAccount Name\nKORADA SATYANARAYANA\nAccount Number\n253110100033102\nCurrency\nINR\nIFSC\nUBIN0825310\nBranch Address\nPHOOLBAGH\nD.NO.21-13-9/3, PHOOLBAGH, \nMARUTINAGAR\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-05-2025\nW66458111\nUPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n44593.31(Cr)\n09-05-2025\nX62164974\nUPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43593.31(Cr)\n09-05-2025\nX62196692\nUPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42593.31(Cr)\n09-05-2025\nX79945345\nUPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb\n80.0(Dr)\n42513.31(Cr)\n10-05-2025\nY54010519\nUPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb\n120.0(Dr)\n42393.31(Cr)\n11-05-2025\nS8899012\nUPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n42333.31(Cr)\n15-05-2025\nU34132421\nUPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n46833.31(Cr)\n21-05-2025\nX86285216\nUPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@\n45.0(Dr)\n46788.31(Cr)\n23-05-2025\nY80714477\nUPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos\n60.0(Dr)\n46728.31(Cr)\n23-05-2025\nS6447239\nJNS-PMSBY-23-24-00027537318-600-56789958\n20.0(Dr)\n46708.31(Cr)\n25-05-2025\nT46067650\nUPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb\n100.0(Dr)\n46608.31(Cr)\n26-05-2025\nT73816080\nUPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb\n24.0(Dr)\n46584.31(Cr)\n27-05-2025\nU27866268\nUPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE\n45.0(Dr)\n46539.31(Cr)\n27-05-2025\nU60165567\nUPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb\n60.0(Dr)\n46479.31(Cr)\n", + "person_name": "KORADA SATYANARAYANA", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": 46479.31, + "transactions": [ + { + "date": "07-05-2025", + "description": "UPIAB/947649841934/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-05-2025", + "description": "UPIAR/512904295285/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-05-2025", + "description": "UPIAR/512959089143/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-05-2025", + "description": "UPIAR/179115800459/DR/KOYYANA /YESB/ Q828679696@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-05-2025", + "description": "UPIAR/360531308162/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-05-2025", + "description": "UPIAR/575983610436/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "15-05-2025", + "description": "UPIAB/616804691415/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-05-2025", + "description": "UPIAR/865110402342/DR/IRCTC UT/YESB/paytm-8796946@", + "amount": 45.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-05-2025", + "description": "UPIAR/599355269095/DR/SHEK RAH/IPOS/ul65up8xeq@pos", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-05-2025", + "description": "JNS-PMSBY-23-24-00027537318-600-56789958", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-05-2025", + "description": "UPIAR/506453464451/DR/A A brot/YESB/ Q074920615@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-05-2025", + "description": "UPIAR/740150367802/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 24.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-05-2025", + "description": "UPIAR/770638729387/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 45.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-05-2025", + "description": "UPIAR/971365912771/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": "24-04-2026", + "period_start": "24-04-2025", + "period_end": "24-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_02_extraction.json b/debug/20260518_165811/cp2_page_02_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..b1bda9a6a43fee29407c51707f74a00ca18ddf67 --- /dev/null +++ b/debug/20260518_165811/cp2_page_02_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 2, + "elapsed_s": 32.68, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 2, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n2\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n29-05-2025\nV54438970\nUPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE\n105.0(Dr)\n46374.31(Cr)\n01-06-2025\nX14855162\nUPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb\n140.0(Dr)\n46234.31(Cr)\n04-06-2025\nS48231253\nUPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n51734.31(Cr)\n09-06-2025\nU94762212\nUPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n50734.31(Cr)\n09-06-2025\nU96426663\nUPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n49734.31(Cr)\n17-06-2025\nS83010603\nUPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n54234.31(Cr)\n19-06-2025\nU41335687\nUPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb\n22.0(Dr)\n54212.31(Cr)\n20-06-2025\nU82171400\nUPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@\n150.0(Dr)\n54062.31(Cr)\n21-06-2025\nV33154449\nUPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb\n28.0(Dr)\n54034.31(Cr)\n21-06-2025\nV41145442\nUPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@\n100.0(Dr)\n53934.31(Cr)\n21-06-2025\nV45407441\nUPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb\n270.0(Dr)\n53664.31(Cr)\n21-06-2025\nV55308651\nUPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb\n100.0(Dr)\n53564.31(Cr)\n28-06-2025\nS58685405\nSms Charges For June Qtr ,2025\n7.4(Dr)\n53556.93(Cr)\n30-06-2025\nT84201338\nUPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i\n660.8(Dr)\n52896.14(Cr)\n01-07-2025\nU21499250\nUPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924\n100.0(Dr)\n52796.14(Cr)\n01-07-2025\nU39273972\nUPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n56796.14(Cr)\n01-07-2025\nU51927215\nUPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0\n200.0(Dr)\n56596.14(Cr)\n05-07-2025\nW71758210\n253110100033102:Int.Pd:01-04-2025 to 30-06-2025\n304.0(Cr)\n56900.14(Cr)\n06-07-2025\nX84003339\nUPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n109.0(Dr)\n56791.14(Cr)\n06-07-2025\nX84217657\nUPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n10.0(Dr)\n56781.14(Cr)\n09-07-2025\nS17659987\nUPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n55781.14(Cr)\n09-07-2025\nS18482628\nUPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n54781.14(Cr)\n09-07-2025\nS47318151\nUPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y\n107.0(Dr)\n54674.14(Cr)\n10-07-2025\nT8751956\nUPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE\n85.0(Dr)\n54589.14(Cr)\n11-07-2025\nT69959740\nUPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb\n150.0(Dr)\n54439.14(Cr)\n11-07-2025\nT96354871\nUPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb\n35000.0(Dr)\n19439.14(Cr)\n13-07-2025\nV14766893\nIMPSAB/519500859054/Mr SATYANARAYANA /6303357650\n20000.0(Cr)\n39439.14(Cr)\n16-07-2025\nW62875075\nUPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.\n21375.0(Dr)\n18064.14(Cr)\n", + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 18064.14, + "transactions": [ + { + "date": "29-05-2025", + "description": "UPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 105.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-06-2025", + "description": "UPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-06-2025", + "description": "UPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "UPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "09-06-2025", + "description": "UPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "17-06-2025", + "description": "UPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-06-2025", + "description": "UPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-06-2025", + "description": "UPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 270.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-06-2025", + "description": "Sms Charges For June Qtr ,2025", + "amount": 7.4, + "transaction_type": "debit", + "label": "bank_charges" + }, + { + "date": "30-06-2025", + "description": "UPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 660.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "UPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-07-2025", + "description": "253110100033102:Int.Pd:01-04-2025 to 30-06-2025", + "amount": 304.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "06-07-2025", + "description": "UPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 109.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-07-2025", + "description": "UPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "09-07-2025", + "description": "UPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "09-07-2025", + "description": "UPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y", + "amount": 107.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-07-2025", + "description": "UPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb", + "amount": 35000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-07-2025", + "description": "IMPSAB/519500859054/Mr SATYANARAYANA /6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.", + "amount": 21375.0, + "transaction_type": "debit", + "label": "insurance" + } + ], + "period_start": "29-05-2025", + "period_end": "16-07-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 2, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n2\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n29-05-2025\nV54438970\nUPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE\n105.0(Dr)\n46374.31(Cr)\n01-06-2025\nX14855162\nUPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb\n140.0(Dr)\n46234.31(Cr)\n04-06-2025\nS48231253\nUPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb\n5500.0(Cr)\n51734.31(Cr)\n09-06-2025\nU94762212\nUPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n50734.31(Cr)\n09-06-2025\nU96426663\nUPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n49734.31(Cr)\n17-06-2025\nS83010603\nUPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n54234.31(Cr)\n19-06-2025\nU41335687\nUPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb\n22.0(Dr)\n54212.31(Cr)\n20-06-2025\nU82171400\nUPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@\n150.0(Dr)\n54062.31(Cr)\n21-06-2025\nV33154449\nUPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb\n28.0(Dr)\n54034.31(Cr)\n21-06-2025\nV41145442\nUPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@\n100.0(Dr)\n53934.31(Cr)\n21-06-2025\nV45407441\nUPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb\n270.0(Dr)\n53664.31(Cr)\n21-06-2025\nV55308651\nUPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb\n100.0(Dr)\n53564.31(Cr)\n28-06-2025\nS58685405\nSms Charges For June Qtr ,2025\n7.4(Dr)\n53556.93(Cr)\n30-06-2025\nT84201338\nUPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i\n660.8(Dr)\n52896.14(Cr)\n01-07-2025\nU21499250\nUPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924\n100.0(Dr)\n52796.14(Cr)\n01-07-2025\nU39273972\nUPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n56796.14(Cr)\n01-07-2025\nU51927215\nUPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0\n200.0(Dr)\n56596.14(Cr)\n05-07-2025\nW71758210\n253110100033102:Int.Pd:01-04-2025 to 30-06-2025\n304.0(Cr)\n56900.14(Cr)\n06-07-2025\nX84003339\nUPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n109.0(Dr)\n56791.14(Cr)\n06-07-2025\nX84217657\nUPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n10.0(Dr)\n56781.14(Cr)\n09-07-2025\nS17659987\nUPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n55781.14(Cr)\n09-07-2025\nS18482628\nUPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n54781.14(Cr)\n09-07-2025\nS47318151\nUPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y\n107.0(Dr)\n54674.14(Cr)\n10-07-2025\nT8751956\nUPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE\n85.0(Dr)\n54589.14(Cr)\n11-07-2025\nT69959740\nUPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb\n150.0(Dr)\n54439.14(Cr)\n11-07-2025\nT96354871\nUPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb\n35000.0(Dr)\n19439.14(Cr)\n13-07-2025\nV14766893\nIMPSAB/519500859054/Mr SATYANARAYANA /6303357650\n20000.0(Cr)\n39439.14(Cr)\n16-07-2025\nW62875075\nUPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.\n21375.0(Dr)\n18064.14(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 18064.14, + "transactions": [ + { + "date": "29-05-2025", + "description": "UPIAR/017412959933/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 105.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-06-2025", + "description": "UPIAR/826566078890/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-06-2025", + "description": "UPIAB/679706761084/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-06-2025", + "description": "UPIAR/516004560116/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "09-06-2025", + "description": "UPIAR/516072632025/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "17-06-2025", + "description": "UPIAB/226299238238/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "19-06-2025", + "description": "UPIAR/361471293879/DR/LIFE LIN/YESB/ Q940692407@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-06-2025", + "description": "UPIAR/119857614179/DR/JAMI KRI/YESB/paytm.s1f7mjh@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/864788380486/DR/Mr BOORL/YESB/ Q341673737@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/381794698386/DR/MS ESWAR/YESB/paytmqr6dcxym@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/507042785844/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 270.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-06-2025", + "description": "UPIAR/856741353466/DR/A A brot/YESB/ Q588733211@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-06-2025", + "description": "Sms Charges For June Qtr ,2025", + "amount": 7.4, + "transaction_type": "debit", + "label": "bank_charges" + }, + { + "date": "30-06-2025", + "description": "UPIAR/108770003647/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 660.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAR/551100840104/DR/Shek Rah/UTIB/gpay-112601924", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-07-2025", + "description": "UPIAB/623385939677/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-07-2025", + "description": "UPIAR/515309604832/DR/SRI LAKS/FDRL/BHARATPE.9K0K0", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-07-2025", + "description": "253110100033102:Int.Pd:01-04-2025 to 30-06-2025", + "amount": 304.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "06-07-2025", + "description": "UPIAR/469027217618/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 109.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-07-2025", + "description": "UPIAR/856393883906/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-07-2025", + "description": "UPIAR/519089563803/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "09-07-2025", + "description": "UPIAR/519051991337/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "investment" + }, + { + "date": "09-07-2025", + "description": "UPIAR/721381374170/DR/ Inditab/YESB/PAYUPAYMENTS@y", + "amount": 107.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-07-2025", + "description": "UPIAR/263796388009/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/343579499403/DR/Vizianag/YESB/ Q573638207@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-07-2025", + "description": "UPIAR/872694645556/DR/PEDDAGOW/SBIN/ 8367202767@yb", + "amount": 35000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-07-2025", + "description": "IMPSAB/519500859054/Mr SATYANARAYANA /6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/351511528836/DR/Care Hea/UTIB/careinsurance.", + "amount": 21375.0, + "transaction_type": "debit", + "label": "insurance" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "29-05-2025", + "period_end": "16-07-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_03_extraction.json b/debug/20260518_165811/cp2_page_03_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8745e3cdc861769f0b768dfa7668dfe9970a1d80 --- /dev/null +++ b/debug/20260518_165811/cp2_page_03_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 3, + "elapsed_s": 28.99, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 3, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n3\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n16-07-2025\nW75419149\nUPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb\n30.0(Dr)\n18034.14(Cr)\n16-07-2025\nW83176337\nUPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071\n150.0(Dr)\n17884.14(Cr)\n16-07-2025\nW93140899\nUPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344\n20.0(Dr)\n17864.14(Cr)\n16-07-2025\nW94950563\nUPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344\n2245.0(Dr)\n15619.14(Cr)\n17-07-2025\nX30778246\nUPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n15419.14(Cr)\n17-07-2025\nX50953831\nUPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.\n1563.0(Dr)\n13856.14(Cr)\n18-07-2025\nX81858941\nUPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@\n30.0(Dr)\n13826.14(Cr)\n18-07-2025\nX91821276\nUPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb\n100.0(Dr)\n13726.14(Cr)\n18-07-2025\nY1007480\nUPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb\n100.0(Dr)\n13626.14(Cr)\n18-07-2025\nY18757804\nUPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb\n359.0(Dr)\n13267.14(Cr)\n19-07-2025\nY63996824\nUPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n17767.14(Cr)\n20-07-2025\nS24248819\nUPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY\n318.5(Dr)\n17448.63(Cr)\n20-07-2025\nS33908684\nUPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb\n194.0(Dr)\n17254.63(Cr)\n21-07-2025\nS81648995\nUPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY\n40.2(Dr)\n17214.38(Cr)\n21-07-2025\nS87114030\nUPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@\n70.0(Dr)\n17144.38(Cr)\n22-07-2025\nT40008882\nUPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb\n30.0(Dr)\n17114.38(Cr)\n22-07-2025\nT53952807\nUPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb\n5000.0(Dr)\n12114.38(Cr)\n23-07-2025\nU12814348\nUPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.\n1460.0(Dr)\n10654.38(Cr)\n30-07-2025\nX80534954\nUPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb\n80.0(Dr)\n10574.38(Cr)\n30-07-2025\nX89336177\nSBINS REN PERSONAL ACCIDENTAL\n9.4(Dr)\n10565.02(Cr)\n09-08-2025\nX6656840\nUPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n9565.02(Cr)\n09-08-2025\nX6648774\nUPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n8565.02(Cr)\n17-08-2025\nV13891340\nIMPSAB/522915656257/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n38565.02(Cr)\n17-08-2025\nV14026571\nUPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb\n1000.0(Dr)\n37565.02(Cr)\n17-08-2025\nV14086032\nUPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb\n2000.0(Dr)\n35565.02(Cr)\n17-08-2025\nV14123017\nUPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n10565.02(Cr)\n18-08-2025\nV82094269\nUPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb\n150.0(Dr)\n10415.02(Cr)\n18-08-2025\nV97466123\nIMPSAB/523021817489/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n", + "currency": "INR", + "closing_balance": 40415.02, + "transactions": [ + { + "date": "16-07-2025", + "description": "UPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2245.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-07-2025", + "description": "UPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-07-2025", + "description": "UPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1563.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 359.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-07-2025", + "description": "UPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-07-2025", + "description": "UPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 318.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-07-2025", + "description": "UPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 194.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-07-2025", + "description": "UPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 40.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-07-2025", + "description": "UPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-07-2025", + "description": "UPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-07-2025", + "description": "UPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-07-2025", + "description": "UPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1460.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-07-2025", + "description": "UPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-07-2025", + "description": "SBINS REN PERSONAL ACCIDENTAL", + "amount": 9.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-08-2025", + "description": "UPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "IMPSAB/522915656257/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 2000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-08-2025", + "description": "UPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-08-2025", + "description": "IMPSAB/523021817489/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "16-07-2025", + "period_end": "18-08-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 3, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n3\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n16-07-2025\nW75419149\nUPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb\n30.0(Dr)\n18034.14(Cr)\n16-07-2025\nW83176337\nUPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071\n150.0(Dr)\n17884.14(Cr)\n16-07-2025\nW93140899\nUPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344\n20.0(Dr)\n17864.14(Cr)\n16-07-2025\nW94950563\nUPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344\n2245.0(Dr)\n15619.14(Cr)\n17-07-2025\nX30778246\nUPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n15419.14(Cr)\n17-07-2025\nX50953831\nUPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.\n1563.0(Dr)\n13856.14(Cr)\n18-07-2025\nX81858941\nUPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@\n30.0(Dr)\n13826.14(Cr)\n18-07-2025\nX91821276\nUPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb\n100.0(Dr)\n13726.14(Cr)\n18-07-2025\nY1007480\nUPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb\n100.0(Dr)\n13626.14(Cr)\n18-07-2025\nY18757804\nUPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb\n359.0(Dr)\n13267.14(Cr)\n19-07-2025\nY63996824\nUPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Cr)\n17767.14(Cr)\n20-07-2025\nS24248819\nUPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY\n318.5(Dr)\n17448.63(Cr)\n20-07-2025\nS33908684\nUPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb\n194.0(Dr)\n17254.63(Cr)\n21-07-2025\nS81648995\nUPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY\n40.2(Dr)\n17214.38(Cr)\n21-07-2025\nS87114030\nUPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@\n70.0(Dr)\n17144.38(Cr)\n22-07-2025\nT40008882\nUPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb\n30.0(Dr)\n17114.38(Cr)\n22-07-2025\nT53952807\nUPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb\n5000.0(Dr)\n12114.38(Cr)\n23-07-2025\nU12814348\nUPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.\n1460.0(Dr)\n10654.38(Cr)\n30-07-2025\nX80534954\nUPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb\n80.0(Dr)\n10574.38(Cr)\n30-07-2025\nX89336177\nSBINS REN PERSONAL ACCIDENTAL\n9.4(Dr)\n10565.02(Cr)\n09-08-2025\nX6656840\nUPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n9565.02(Cr)\n09-08-2025\nX6648774\nUPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n8565.02(Cr)\n17-08-2025\nV13891340\nIMPSAB/522915656257/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n38565.02(Cr)\n17-08-2025\nV14026571\nUPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb\n1000.0(Dr)\n37565.02(Cr)\n17-08-2025\nV14086032\nUPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb\n2000.0(Dr)\n35565.02(Cr)\n17-08-2025\nV14123017\nUPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n10565.02(Cr)\n18-08-2025\nV82094269\nUPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb\n150.0(Dr)\n10415.02(Cr)\n18-08-2025\nV97466123\nIMPSAB/523021817489/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": 40415.02, + "transactions": [ + { + "date": "16-07-2025", + "description": "UPIAR/431099256027/DR/PUNNANA /SBIN/ Q810056448@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/445905073344/DR/SHAIK B/FDRL/BHARATPE.90071", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/784159703380/DR/SRI SANJ/FDRL/sanjeevani2344", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "16-07-2025", + "description": "UPIAR/356748168258/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2245.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-07-2025", + "description": "UPIAR/981496790334/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-07-2025", + "description": "UPIAR/843804716335/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1563.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/874292034675/DR/NEW MACH/YESB/paytmqr69xatk@", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/396601783171/DR/BALAJEE /YESB/ Q439432143@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/079635433526/DR/DHANA LA/YESB/ Q021314008@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-07-2025", + "description": "UPIAR/274919696920/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 359.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "19-07-2025", + "description": "UPIAB/758832195791/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-07-2025", + "description": "UPIAR/773970304038/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 318.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-07-2025", + "description": "UPIAR/312218920645/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 194.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-07-2025", + "description": "UPIAR/362067388390/DR/APOLLO P/YESB/APOLLOPHARMACY", + "amount": 40.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-07-2025", + "description": "UPIAR/096258901044/DR/ ANIL/YESB/paytm.s1g9vbw@", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-07-2025", + "description": "UPIAR/864879063826/DR/OJHA RAK/YESB/ Q505201643@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-07-2025", + "description": "UPIAR/160695874780/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-07-2025", + "description": "UPIAR/970155095924/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1460.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-07-2025", + "description": "UPIAR/777243695835/DR/YERNENA /YESB/ Q854141045@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-07-2025", + "description": "SBINS REN PERSONAL ACCIDENTAL", + "amount": 9.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-08-2025", + "description": "UPIAR/522108567687/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-08-2025", + "description": "UPIAR/522122850171/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "IMPSAB/522915656257/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/619751767742/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/466883499718/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 2000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "17-08-2025", + "description": "UPIAR/410975213941/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-08-2025", + "description": "UPIAR/103865928222/DR/Vizianag/YESB/ Q072488863@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "18-08-2025", + "description": "IMPSAB/523021817489/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "16-07-2025", + "period_end": "18-08-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_04_extraction.json b/debug/20260518_165811/cp2_page_04_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..12257a5a39a86a81f154b0e808c476a87c2eb4da --- /dev/null +++ b/debug/20260518_165811/cp2_page_04_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 4, + "elapsed_s": 32.45, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 4, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n4\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-08-2025\nV97536626\nUPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n10415.02(Cr)\n20-08-2025\nW89896802\nIMPSAB/523214646291/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n20-08-2025\nW89983878\nUPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb\n25500.0(Dr)\n14915.02(Cr)\n21-08-2025\nX54502272\nUPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb\n28.0(Dr)\n14887.02(Cr)\n21-08-2025\nX83592817\nIMPSAB/523322945765/Mr SATYANARAYANA /6303357650\n25000.0(Cr)\n39887.02(Cr)\n21-08-2025\nX83620651\nUPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n14887.02(Cr)\n23-08-2025\nY63279155\nUPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626\n50.0(Dr)\n14837.02(Cr)\n23-08-2025\nY85519411\nUPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT\n770.0(Dr)\n14067.02(Cr)\n23-08-2025\nY85895075\nUPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb\n170.0(Dr)\n13897.02(Cr)\n23-08-2025\nY92486442\nIMPSAB/523520857073/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n43897.02(Cr)\n23-08-2025\nY94589653\nUPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb\n364.0(Dr)\n43533.02(Cr)\n23-08-2025\nY95515547\nUPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n13533.02(Cr)\n24-08-2025\nS878049\nUPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n12673.02(Cr)\n24-08-2025\nS15300807\nUPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb\n170.0(Dr)\n12503.02(Cr)\n24-08-2025\nS36977187\nUPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb\n50.0(Dr)\n12453.02(Cr)\n24-08-2025\nS46311959\nUPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i\n1412.2(Dr)\n11040.85(Cr)\n25-08-2025\nS85834378\nUPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@\n30.0(Dr)\n11010.85(Cr)\n25-08-2025\nT11240734\nUPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb\n45.0(Dr)\n10965.85(Cr)\n25-08-2025\nT11407960\nUPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb\n70.0(Dr)\n10895.85(Cr)\n25-08-2025\nT11962155\nUPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@\n100.0(Dr)\n10795.85(Cr)\n28-08-2025\nU62225431\nUPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb\n31.0(Dr)\n10764.85(Cr)\n08-09-2025\nU53700350\nUPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n14764.85(Cr)\n08-09-2025\nU75787966\nUPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb\n22.0(Dr)\n14742.85(Cr)\n09-09-2025\nU85390515\nUPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n13742.85(Cr)\n09-09-2025\nU86316159\nUPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n12742.85(Cr)\n10-09-2025\nV62249332\nUPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou\n1000.0(Cr)\n13742.85(Cr)\n10-09-2025\nV91375570\nUPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a\n138.0(Dr)\n13604.85(Cr)\n10-09-2025\nV95989835\nUPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n13532.85(Cr)\n", + "currency": "INR", + "opening_balance": 40415.02, + "closing_balance": 13532.85, + "transactions": [ + { + "date": "18-08-2025", + "description": "UPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-08-2025", + "description": "IMPSAB/523214646291/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-08-2025", + "description": "UPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "IMPSAB/523322945765/Mr SATYANARAYANA /6303357650", + "amount": 25000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 770.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "IMPSAB/523520857073/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1412.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-08-2025", + "description": "UPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 31.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a", + "amount": 138.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "18-08-2025", + "period_end": "10-09-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 4, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n4\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-08-2025\nV97536626\nUPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n10415.02(Cr)\n20-08-2025\nW89896802\nIMPSAB/523214646291/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n40415.02(Cr)\n20-08-2025\nW89983878\nUPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb\n25500.0(Dr)\n14915.02(Cr)\n21-08-2025\nX54502272\nUPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb\n28.0(Dr)\n14887.02(Cr)\n21-08-2025\nX83592817\nIMPSAB/523322945765/Mr SATYANARAYANA /6303357650\n25000.0(Cr)\n39887.02(Cr)\n21-08-2025\nX83620651\nUPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb\n25000.0(Dr)\n14887.02(Cr)\n23-08-2025\nY63279155\nUPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626\n50.0(Dr)\n14837.02(Cr)\n23-08-2025\nY85519411\nUPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT\n770.0(Dr)\n14067.02(Cr)\n23-08-2025\nY85895075\nUPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb\n170.0(Dr)\n13897.02(Cr)\n23-08-2025\nY92486442\nIMPSAB/523520857073/Mr SATYANARAYANA /6303357650\n30000.0(Cr)\n43897.02(Cr)\n23-08-2025\nY94589653\nUPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb\n364.0(Dr)\n43533.02(Cr)\n23-08-2025\nY95515547\nUPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb\n30000.0(Dr)\n13533.02(Cr)\n24-08-2025\nS878049\nUPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n12673.02(Cr)\n24-08-2025\nS15300807\nUPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb\n170.0(Dr)\n12503.02(Cr)\n24-08-2025\nS36977187\nUPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb\n50.0(Dr)\n12453.02(Cr)\n24-08-2025\nS46311959\nUPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i\n1412.2(Dr)\n11040.85(Cr)\n25-08-2025\nS85834378\nUPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@\n30.0(Dr)\n11010.85(Cr)\n25-08-2025\nT11240734\nUPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb\n45.0(Dr)\n10965.85(Cr)\n25-08-2025\nT11407960\nUPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb\n70.0(Dr)\n10895.85(Cr)\n25-08-2025\nT11962155\nUPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@\n100.0(Dr)\n10795.85(Cr)\n28-08-2025\nU62225431\nUPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb\n31.0(Dr)\n10764.85(Cr)\n08-09-2025\nU53700350\nUPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb\n4000.0(Cr)\n14764.85(Cr)\n08-09-2025\nU75787966\nUPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb\n22.0(Dr)\n14742.85(Cr)\n09-09-2025\nU85390515\nUPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n13742.85(Cr)\n09-09-2025\nU86316159\nUPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n12742.85(Cr)\n10-09-2025\nV62249332\nUPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou\n1000.0(Cr)\n13742.85(Cr)\n10-09-2025\nV91375570\nUPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a\n138.0(Dr)\n13604.85(Cr)\n10-09-2025\nV95989835\nUPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n13532.85(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 40415.02, + "closing_balance": 13532.85, + "transactions": [ + { + "date": "18-08-2025", + "description": "UPIAR/374842674958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-08-2025", + "description": "IMPSAB/523214646291/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-08-2025", + "description": "UPIAR/171711803971/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/288157497249/DR/Sri Vasa/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-08-2025", + "description": "IMPSAB/523322945765/Mr SATYANARAYANA /6303357650", + "amount": 25000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-08-2025", + "description": "UPIAR/992601016364/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 25000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/220038764910/DR/SVN COLO/HDFC/Vyapar.1729626", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/820799542962/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 770.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/228731715204/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "IMPSAB/523520857073/Mr SATYANARAYANA /6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/361150351972/DR/LIFE LIN/YESB/ Q743074876@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-08-2025", + "description": "UPIAR/034493894886/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 30000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/770781711362/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/440034982424/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/334619866689/DR/YALAMANC/YESB/ Q177325171@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-08-2025", + "description": "UPIAR/497988828052/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1412.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/137282842242/DR/PALLE PY/YESB/paytmqr68ytth@", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/767238177190/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/090455597669/DR/KANCHARL/YESB/ Q047952883@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-08-2025", + "description": "UPIAR/935521756728/DR/SOMU BHA/YESB/paytmqr6eqa3k@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-08-2025", + "description": "UPIAR/972931727765/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 31.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAB/477451924687/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-09-2025", + "description": "UPIAR/715025126475/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 22.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525228559410/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-09-2025", + "description": "UPIAR/525289766128/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAB/241912439460/CR/KANDI MO/IDFB/mounicacutemou", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/296347450836/DR/PENTAPAL/KVBL/wlpos.2694530a", + "amount": 138.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-09-2025", + "description": "UPIAR/849682439201/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "18-08-2025", + "period_end": "10-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_05_extraction.json b/debug/20260518_165811/cp2_page_05_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..ee600b261404d1ddd009e498953c1fb149eef859 --- /dev/null +++ b/debug/20260518_165811/cp2_page_05_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 5, + "elapsed_s": 30.79, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 5, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n5\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-09-2025\nW22044077\nUPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@\n3500.0(Cr)\n17032.85(Cr)\n11-09-2025\nW58759857\nUPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@\n60.0(Dr)\n16972.85(Cr)\n11-09-2025\nW65560109\nUPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb\n100.0(Dr)\n16872.85(Cr)\n11-09-2025\nW71250250\nUPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n19872.85(Cr)\n12-09-2025\nX22796892\nUPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb\n166.0(Dr)\n19706.85(Cr)\n12-09-2025\nX35764044\nUPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic\n1775.4(Dr)\n17931.41(Cr)\n13-09-2025\nX63930682\nUPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax\n6000.0(Cr)\n23931.41(Cr)\n13-09-2025\nX66150765\nUPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n23903.41(Cr)\n13-09-2025\nX73993825\nUPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb\n500.0(Dr)\n23403.41(Cr)\n13-09-2025\nX75023907\nUPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a\n1000.0(Cr)\n24403.41(Cr)\n13-09-2025\nX77352850\nUPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@\n100.0(Dr)\n24303.41(Cr)\n14-09-2025\nY16929289\nUPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n24218.41(Cr)\n14-09-2025\nY27499442\nUPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb\n190.0(Dr)\n24028.41(Cr)\n14-09-2025\nY43174657\nUPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n23728.41(Cr)\n14-09-2025\nY43848038\nUPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb\n370.0(Dr)\n23358.41(Cr)\n14-09-2025\nY56945009\nUPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb\n75.0(Dr)\n23283.41(Cr)\n15-09-2025\nY92255675\nUPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb\n59.0(Dr)\n23224.41(Cr)\n16-09-2025\nS34563996\nUPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb\n10000.0(Cr)\n33224.41(Cr)\n17-09-2025\nT3711163\nUPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb\n4000.0(Cr)\n37224.41(Cr)\n18-09-2025\nT73151544\nUPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.\n1451.0(Dr)\n35773.41(Cr)\n18-09-2025\nT77591075\nUPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes\n1000.0(Cr)\n36773.41(Cr)\n19-09-2025\nU33408139\nUPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n41273.41(Cr)\n19-09-2025\nU59361043\nUPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb\n140.0(Dr)\n41133.41(Cr)\n19-09-2025\nU60586926\nUPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n36133.41(Cr)\n19-09-2025\nU65202335\nUPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb\n1000.0(Cr)\n37133.41(Cr)\n20-09-2025\nU85198966\nUPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax\n1000.0(Cr)\n38133.41(Cr)\n20-09-2025\nV13732128\nUPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb\n3000.0(Dr)\n35133.41(Cr)\n20-09-2025\nV13968428\nUPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb\n498.0(Dr)\n34635.41(Cr)\n", + "currency": "INR", + "opening_balance": 13532.85, + "closing_balance": 34635.41, + "transactions": [ + { + "date": "11-09-2025", + "description": "UPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb", + "amount": 166.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1775.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 370.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-09-2025", + "description": "UPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 59.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-09-2025", + "description": "UPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-09-2025", + "description": "UPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1451.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 498.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "11-09-2025", + "period_end": "20-09-2025", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 5, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n5\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-09-2025\nW22044077\nUPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@\n3500.0(Cr)\n17032.85(Cr)\n11-09-2025\nW58759857\nUPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@\n60.0(Dr)\n16972.85(Cr)\n11-09-2025\nW65560109\nUPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb\n100.0(Dr)\n16872.85(Cr)\n11-09-2025\nW71250250\nUPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n19872.85(Cr)\n12-09-2025\nX22796892\nUPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb\n166.0(Dr)\n19706.85(Cr)\n12-09-2025\nX35764044\nUPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic\n1775.4(Dr)\n17931.41(Cr)\n13-09-2025\nX63930682\nUPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax\n6000.0(Cr)\n23931.41(Cr)\n13-09-2025\nX66150765\nUPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n23903.41(Cr)\n13-09-2025\nX73993825\nUPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb\n500.0(Dr)\n23403.41(Cr)\n13-09-2025\nX75023907\nUPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a\n1000.0(Cr)\n24403.41(Cr)\n13-09-2025\nX77352850\nUPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@\n100.0(Dr)\n24303.41(Cr)\n14-09-2025\nY16929289\nUPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n24218.41(Cr)\n14-09-2025\nY27499442\nUPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb\n190.0(Dr)\n24028.41(Cr)\n14-09-2025\nY43174657\nUPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n23728.41(Cr)\n14-09-2025\nY43848038\nUPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb\n370.0(Dr)\n23358.41(Cr)\n14-09-2025\nY56945009\nUPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb\n75.0(Dr)\n23283.41(Cr)\n15-09-2025\nY92255675\nUPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb\n59.0(Dr)\n23224.41(Cr)\n16-09-2025\nS34563996\nUPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb\n10000.0(Cr)\n33224.41(Cr)\n17-09-2025\nT3711163\nUPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb\n4000.0(Cr)\n37224.41(Cr)\n18-09-2025\nT73151544\nUPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.\n1451.0(Dr)\n35773.41(Cr)\n18-09-2025\nT77591075\nUPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes\n1000.0(Cr)\n36773.41(Cr)\n19-09-2025\nU33408139\nUPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n41273.41(Cr)\n19-09-2025\nU59361043\nUPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb\n140.0(Dr)\n41133.41(Cr)\n19-09-2025\nU60586926\nUPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n36133.41(Cr)\n19-09-2025\nU65202335\nUPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb\n1000.0(Cr)\n37133.41(Cr)\n20-09-2025\nU85198966\nUPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax\n1000.0(Cr)\n38133.41(Cr)\n20-09-2025\nV13732128\nUPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb\n3000.0(Dr)\n35133.41(Cr)\n20-09-2025\nV13968428\nUPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb\n498.0(Dr)\n34635.41(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 13532.85, + "closing_balance": 34635.41, + "transactions": [ + { + "date": "11-09-2025", + "description": "UPIAB/111091072628/CR/DINDI RA/IOBA/rameshdindi73@", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/128561587280/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAR/740819912060/DR/KALYANI /YESB/ Q842870797@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-09-2025", + "description": "UPIAB/240478034354/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/525160479055/DR/GRANDHI /CNRB/ 9502437967@yb", + "amount": 166.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-09-2025", + "description": "UPIAR/935567165513/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1775.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/629112012463/CR/MYPADA /SBIN/ 9441966561@ax", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/238266409869/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/545708362996/DR/D SRINUV/ANDB/ 6304737473@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAB/098842419319/CR/BOTSA S/SBIN/7989248529-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-09-2025", + "description": "UPIAR/428157840410/DR/Sri Bala/YESB/paytm.s1jcv5d@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/391567810038/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/898252018279/DR/DWARAKAM/YESB/ Q438021505@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/616919324160/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/715764491570/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 370.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-09-2025", + "description": "UPIAR/351201305590/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-09-2025", + "description": "UPIAR/436657701988/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 59.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-09-2025", + "description": "UPIAB/567595312741/CR/VAKKAPAT/HDFC/ 9000054466@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-09-2025", + "description": "UPIAB/662736349020/CR/GOVINDA /SBIN/ 9492958683@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAR/062831936280/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1451.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-09-2025", + "description": "UPIAB/562730547999/CR/BADARI R/SBIN/9396361275@yes", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/152920811999/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/007913573878/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAR/562883987671/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-09-2025", + "description": "UPIAB/659058192971/CR/NARESH /SBIN/ 9492521230@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAB/627714228459/CR/CHEPURU /SBIN/ 9703101489@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/626599649136/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/455959513228/DR/ SBIMOPS/SBIN/ sbimops@sb", + "amount": 498.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "11-09-2025", + "period_end": "20-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_06_extraction.json b/debug/20260518_165811/cp2_page_06_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..bd8b33adc5e046b9c42ac93f62e6d9ca7cc521bd --- /dev/null +++ b/debug/20260518_165811/cp2_page_06_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 6, + "elapsed_s": 15.66, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 6, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n6\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-09-2025\nV21097717\nUPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@\n155.0(Dr)\n34480.41(Cr)\n20-09-2025\nV21449229\nUPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb\n60.0(Dr)\n34420.41(Cr)\n20-09-2025\nV35757543\nUPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb\n40.0(Dr)\n34380.41(Cr)\n21-09-2025\nV57526074\nUPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb\n130.0(Dr)\n34250.41(Cr)\n21-09-2025\nV64431821\nUPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573\n280.0(Dr)\n33970.41(Cr)\n21-09-2025\nV65025264\nUPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb\n225.0(Dr)\n33745.41(Cr)\n21-09-2025\nV76647283\nUPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb\n470.0(Dr)\n33275.41(Cr)\n21-09-2025\nV86378796\nUPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind\n200.0(Dr)\n33075.41(Cr)\n21-09-2025\nV87977883\nUPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n480.0(Dr)\n32595.41(Cr)\n22-09-2025\nW29330056\nUPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@\n150.0(Dr)\n32445.41(Cr)\n22-09-2025\nW36548815\nUPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067\n600.0(Dr)\n31845.41(Cr)\n22-09-2025\nW37455154\nUPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067\n65.0(Dr)\n31780.41(Cr)\n22-09-2025\nW57669466\nUPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n62.9(Dr)\n31717.51(Cr)\n23-09-2025\nW83133175\nUPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@\n150.0(Dr)\n31567.51(Cr)\n23-09-2025\nW84909377\nUPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb\n100.0(Dr)\n31467.51(Cr)\n24-09-2025\nX39522375\nUPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-\n500.0(Cr)\n31967.51(Cr)\n24-09-2025\nX47374563\nUPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb\n1000.0(Cr)\n32967.51(Cr)\n24-09-2025\nX53366795\nUPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n32817.51(Cr)\n24-09-2025\nX68084026\nUPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb\n10000.0(Cr)\n42817.51(Cr)\n24-09-2025\nX73520072\nUPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n42732.51(Cr)\n25-09-2025\nX97603811\nUPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n32732.51(Cr)\n25-09-2025\nY17713063\nUPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban\n666.0(Dr)\n32066.51(Cr)\n25-09-2025\nY29346910\nUPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb\n3000.0(Cr)\n35066.51(Cr)\n25-09-2025\nY30414579\nUPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@\n2000.0(Cr)\n37066.51(Cr)\n26-09-2025\nY66178092\nUPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib\n5000.0(Cr)\n42066.51(Cr)\n26-09-2025\nS9381460\nUPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n41966.51(Cr)\n27-09-2025\nS19747172\nUPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n41106.51(Cr)\n27-09-2025\nS22957357\nUPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax\n1000.0(Cr)\n42106.51(Cr)\n", + "currency": "INR", + "opening_balance": 34480.41, + "closing_balance": 42106.51, + "transactions": [ + { + "date": "20-09-2025", + "description": "UPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@", + "amount": 155.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 225.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb", + "amount": 470.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 480.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 600.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 65.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 62.9, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban", + "amount": 666.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "20-09-2025", + "period_end": "27-09-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 6, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n6\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-09-2025\nV21097717\nUPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@\n155.0(Dr)\n34480.41(Cr)\n20-09-2025\nV21449229\nUPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb\n60.0(Dr)\n34420.41(Cr)\n20-09-2025\nV35757543\nUPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb\n40.0(Dr)\n34380.41(Cr)\n21-09-2025\nV57526074\nUPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb\n130.0(Dr)\n34250.41(Cr)\n21-09-2025\nV64431821\nUPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573\n280.0(Dr)\n33970.41(Cr)\n21-09-2025\nV65025264\nUPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb\n225.0(Dr)\n33745.41(Cr)\n21-09-2025\nV76647283\nUPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb\n470.0(Dr)\n33275.41(Cr)\n21-09-2025\nV86378796\nUPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind\n200.0(Dr)\n33075.41(Cr)\n21-09-2025\nV87977883\nUPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n480.0(Dr)\n32595.41(Cr)\n22-09-2025\nW29330056\nUPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@\n150.0(Dr)\n32445.41(Cr)\n22-09-2025\nW36548815\nUPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067\n600.0(Dr)\n31845.41(Cr)\n22-09-2025\nW37455154\nUPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067\n65.0(Dr)\n31780.41(Cr)\n22-09-2025\nW57669466\nUPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n62.9(Dr)\n31717.51(Cr)\n23-09-2025\nW83133175\nUPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@\n150.0(Dr)\n31567.51(Cr)\n23-09-2025\nW84909377\nUPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb\n100.0(Dr)\n31467.51(Cr)\n24-09-2025\nX39522375\nUPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-\n500.0(Cr)\n31967.51(Cr)\n24-09-2025\nX47374563\nUPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb\n1000.0(Cr)\n32967.51(Cr)\n24-09-2025\nX53366795\nUPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n32817.51(Cr)\n24-09-2025\nX68084026\nUPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb\n10000.0(Cr)\n42817.51(Cr)\n24-09-2025\nX73520072\nUPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb\n85.0(Dr)\n42732.51(Cr)\n25-09-2025\nX97603811\nUPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n32732.51(Cr)\n25-09-2025\nY17713063\nUPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban\n666.0(Dr)\n32066.51(Cr)\n25-09-2025\nY29346910\nUPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb\n3000.0(Cr)\n35066.51(Cr)\n25-09-2025\nY30414579\nUPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@\n2000.0(Cr)\n37066.51(Cr)\n26-09-2025\nY66178092\nUPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib\n5000.0(Cr)\n42066.51(Cr)\n26-09-2025\nS9381460\nUPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n41966.51(Cr)\n27-09-2025\nS19747172\nUPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n41106.51(Cr)\n27-09-2025\nS22957357\nUPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax\n1000.0(Cr)\n42106.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 34480.41, + "closing_balance": 42106.51, + "transactions": [ + { + "date": "20-09-2025", + "description": "UPIAR/919485861324/DR/SAI GANE/YESB/paytmqr58cc4a@", + "amount": 155.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/181931202123/DR/MAYURI T/YESB/ Q834771198@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-09-2025", + "description": "UPIAR/110753763845/DR/Siyyadul/SBIN/ 8008146952@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/115907141336/DR/SUVVADA /YESB/ Q952938643@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/279599479832/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/957257904038/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 225.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/551947029757/DR/JAI MATA/YESB/ Q817370107@yb", + "amount": 470.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/364408481307/DR/sri jaya/IDIB/7093095375@ind", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-09-2025", + "description": "UPIAR/155503616514/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 480.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/591684683649/DR/Vizianag/YESB/paytm-8905130@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/560390121747/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 600.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/630625539686/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 65.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-09-2025", + "description": "UPIAR/463485525894/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 62.9, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/893393183779/DR/DUVVARAP/YESB/paytmqr6fx0m1@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-09-2025", + "description": "UPIAR/738081834741/DR/Shiridis/YESB/ Q513676192@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/526790428031/CR/PILLA K/SBIN/srinurelli143-", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAB/826400499082/CR/MANAPURA/SBIN/ 9121980374@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/374849929169/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-09-2025", + "description": "UPIAB/821831678821/CR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-09-2025", + "description": "UPIAR/907942572094/DR/ADIGARLA/YESB/ Q108995186@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAR/044218903471/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAR/963148157643/DR/RELIANCE/CITI/ jio@citiban", + "amount": 666.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-09-2025", + "description": "UPIAB/162057612754/CR/CHIRANJE/SBIN/ 9640613978@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-09-2025", + "description": "UPIAB/208269874396/CR/INAKOTI /BARB/inakotibujji1@", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAB/705236616822/CR/PRASAD R/ICIC/ 7661064444@ib", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-09-2025", + "description": "UPIAR/453879940530/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAR/539644121848/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-09-2025", + "description": "UPIAB/010366057054/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-09-2025", + "period_end": "27-09-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_07_extraction.json b/debug/20260518_165811/cp2_page_07_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..c2f1c127de9a4597db49ce2356b25ba81f5aefec --- /dev/null +++ b/debug/20260518_165811/cp2_page_07_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 7, + "elapsed_s": 23.75, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 7, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n7\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-09-2025\nT1172867\nUPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2\n700.0(Cr)\n42806.51(Cr)\n28-09-2025\nT2751198\nUPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n42721.51(Cr)\n28-09-2025\nT11770793\nUPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@\n20.0(Dr)\n42701.51(Cr)\n28-09-2025\nT27560908\nUPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb\n140.0(Dr)\n42561.51(Cr)\n28-09-2025\nT37613951\nUPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb\n14810.0(Dr)\n27751.51(Cr)\n28-09-2025\nT40944346\nSms Charges For Sept Qtr ,2025\n27.1(Dr)\n27724.37(Cr)\n28-09-2025\nT51714744\nUPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@\n3000.0(Cr)\n30724.37(Cr)\n28-09-2025\nT62974987\nUPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188\n394.0(Dr)\n30330.37(Cr)\n29-09-2025\nT91837768\nUPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb\n1.0(Cr)\n30331.37(Cr)\n29-09-2025\nT91842359\nUPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb\n3000.0(Cr)\n33331.37(Cr)\n29-09-2025\nU17373902\nUPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@\n1380.0(Dr)\n31951.37(Cr)\n29-09-2025\nU26122788\nUPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb\n1664.0(Dr)\n30287.37(Cr)\n30-09-2025\nU41999628\nUPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n33287.37(Cr)\n30-09-2025\nU43560020\nUPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n23287.37(Cr)\n30-09-2025\nU47913427\nUPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva\n3000.0(Cr)\n26287.37(Cr)\n30-09-2025\nU55184931\nUPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n26215.37(Cr)\n30-09-2025\nU56588030\nUPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab\n3000.0(Cr)\n29215.37(Cr)\n30-09-2025\nU59011935\nUPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n200.0(Dr)\n29015.37(Cr)\n30-09-2025\nU60747775\nUPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y\n3300.0(Cr)\n32315.37(Cr)\n01-10-2025\nV17161536\nUPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a\n1000.0(Cr)\n33315.37(Cr)\n01-10-2025\nV23077680\nUPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb\n3000.0(Cr)\n36315.37(Cr)\n01-10-2025\nV23523328\nUPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax\n2000.0(Cr)\n38315.37(Cr)\n01-10-2025\nV26570189\nUPIAR/508471673897/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n33315.37(Cr)\n01-10-2025\nV27706624\nUPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n30315.37(Cr)\n01-10-2025\nV48295319\nUPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb\n250.0(Dr)\n30065.37(Cr)\n02-10-2025\nV79423195\nUPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb\n280.0(Dr)\n29785.37(Cr)\n02-10-2025\nV82381263\nUPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n29545.37(Cr)\n02-10-2025\nV94450985\n253110100033102:Int.Pd:01-07-2025 to 30-09-2025\n139.0(Cr)\n29684.37(Cr)\n", + "currency": "INR", + "opening_balance": 42106.51, + "closing_balance": 29684.37, + "transactions": [ + { + "date": "28-09-2025", + "description": "UPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2", + "amount": 700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 14810.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "Sms Charges For Sept Qtr ,2025", + "amount": 27.1, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-09-2025", + "description": "UPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188", + "amount": 394.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 1.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 1380.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1664.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3300.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/508471673897/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "253110100033102:Int.Pd:01-07-2025 to 30-09-2025", + "amount": 139.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "28-09-2025", + "period_end": "02-10-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 7, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n7\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-09-2025\nT1172867\nUPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2\n700.0(Cr)\n42806.51(Cr)\n28-09-2025\nT2751198\nUPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n42721.51(Cr)\n28-09-2025\nT11770793\nUPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@\n20.0(Dr)\n42701.51(Cr)\n28-09-2025\nT27560908\nUPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb\n140.0(Dr)\n42561.51(Cr)\n28-09-2025\nT37613951\nUPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb\n14810.0(Dr)\n27751.51(Cr)\n28-09-2025\nT40944346\nSms Charges For Sept Qtr ,2025\n27.1(Dr)\n27724.37(Cr)\n28-09-2025\nT51714744\nUPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@\n3000.0(Cr)\n30724.37(Cr)\n28-09-2025\nT62974987\nUPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188\n394.0(Dr)\n30330.37(Cr)\n29-09-2025\nT91837768\nUPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb\n1.0(Cr)\n30331.37(Cr)\n29-09-2025\nT91842359\nUPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb\n3000.0(Cr)\n33331.37(Cr)\n29-09-2025\nU17373902\nUPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@\n1380.0(Dr)\n31951.37(Cr)\n29-09-2025\nU26122788\nUPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb\n1664.0(Dr)\n30287.37(Cr)\n30-09-2025\nU41999628\nUPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n33287.37(Cr)\n30-09-2025\nU43560020\nUPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n23287.37(Cr)\n30-09-2025\nU47913427\nUPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva\n3000.0(Cr)\n26287.37(Cr)\n30-09-2025\nU55184931\nUPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb\n72.0(Dr)\n26215.37(Cr)\n30-09-2025\nU56588030\nUPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab\n3000.0(Cr)\n29215.37(Cr)\n30-09-2025\nU59011935\nUPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU\n200.0(Dr)\n29015.37(Cr)\n30-09-2025\nU60747775\nUPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y\n3300.0(Cr)\n32315.37(Cr)\n01-10-2025\nV17161536\nUPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a\n1000.0(Cr)\n33315.37(Cr)\n01-10-2025\nV23077680\nUPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb\n3000.0(Cr)\n36315.37(Cr)\n01-10-2025\nV23523328\nUPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax\n2000.0(Cr)\n38315.37(Cr)\n01-10-2025\nV26570189\nUPIAR/508471673897/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n33315.37(Cr)\n01-10-2025\nV27706624\nUPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n30315.37(Cr)\n01-10-2025\nV48295319\nUPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb\n250.0(Dr)\n30065.37(Cr)\n02-10-2025\nV79423195\nUPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb\n280.0(Dr)\n29785.37(Cr)\n02-10-2025\nV82381263\nUPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n29545.37(Cr)\n02-10-2025\nV94450985\n253110100033102:Int.Pd:01-07-2025 to 30-09-2025\n139.0(Cr)\n29684.37(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 42106.51, + "closing_balance": 29684.37, + "transactions": [ + { + "date": "28-09-2025", + "description": "UPIAB/183159475035/CR/REDDY KA/CNRB/shankar.reddy2", + "amount": 700.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/305314549262/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/364672217864/DR/CHEKKA S/YESB/paytm.s1ciysn@", + "amount": 20.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/048029829167/DR/ANKABATT/YESB/ Q062714588@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/189371304758/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 14810.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "Sms Charges For Sept Qtr ,2025", + "amount": 27.1, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-09-2025", + "description": "UPIAB/436339056573/CR/INAKOTI /BARB/bujjiinakoti1@", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-09-2025", + "description": "UPIAR/676335143440/DR/PAVAN PU/CNRB/11011085900188", + "amount": 394.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/575019086555/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 1.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAB/501961303786/CR/POOSARLA/SBIN/ 8332957789@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/432926170966/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 1380.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-09-2025", + "description": "UPIAR/173060233290/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1664.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/296708205022/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/652256077247/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/662878322647/CR/GANTEDA /SBIN/gantedasriniva", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/794375073518/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 72.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/013414906706/CR/CHINABAB/SBIN/yamalachinabab", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAR/837108123011/DR/BSNL Rec/YESB/PHONEPEBSNLSOU", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-09-2025", + "description": "UPIAB/945705567796/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3300.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/796831040198/CR/UPPU DH/SBIN/9347304113-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/196555549095/CR/MANAPURA/SBIN/ 8500042726@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAB/054502715991/CR/MANDINGI/SBIN/ 8328360834@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/508471673897/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/227681803421/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-10-2025", + "description": "UPIAR/248258658579/DR/MR PATHI/YESB/ Q950708256@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/575570688600/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "UPIAR/032488603866/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-10-2025", + "description": "253110100033102:Int.Pd:01-07-2025 to 30-09-2025", + "amount": 139.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "28-09-2025", + "period_end": "02-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_08_extraction.json b/debug/20260518_165811/cp2_page_08_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..555c866d95ddd36686f635d5f3fac5e90df96d23 --- /dev/null +++ b/debug/20260518_165811/cp2_page_08_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 8, + "elapsed_s": 18.84, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 8, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n8\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n03-10-2025\nW67535230\nUPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax\n400.0(Cr)\n30084.37(Cr)\n03-10-2025\nW74021681\nUPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb\n36.0(Dr)\n30048.37(Cr)\n03-10-2025\nW74284043\nUPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb\n27.0(Dr)\n30021.37(Cr)\n04-10-2025\nX3413451\nUPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n29921.37(Cr)\n04-10-2025\nX42104803\nUPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb\n578.0(Dr)\n29343.37(Cr)\n04-10-2025\nX43279910\nUPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb\n260.0(Dr)\n29083.37(Cr)\n05-10-2025\nX70584637\nUPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578\n354.0(Dr)\n28729.37(Cr)\n05-10-2025\nY4917836\nUPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n28619.37(Cr)\n06-10-2025\nY21235466\nUPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n952.7(Dr)\n27666.67(Cr)\n06-10-2025\nY25303806\nUPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr\n808.0(Dr)\n26858.67(Cr)\n06-10-2025\nY48548843\nUPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax\n4800.0(Cr)\n31658.67(Cr)\n06-10-2025\nY55969117\nUPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb\n3000.0(Cr)\n34658.67(Cr)\n07-10-2025\nS5100243\nUPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax\n5000.0(Cr)\n39658.67(Cr)\n07-10-2025\nS29752867\nUPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n42658.67(Cr)\n08-10-2025\nS50152341\nUPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123\n50000.0(Cr)\n92658.67(Cr)\n08-10-2025\nS55476164\nUPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y\n39115.0(Cr)\n131773.67(Cr)\n08-10-2025\nS62438972\nUPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323\n150.0(Dr)\n131623.67(Cr)\n08-10-2025\nS74425752\nUPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a\n1500.0(Cr)\n133123.67(Cr)\n08-10-2025\nT10673685\nUPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb\n3000.0(Cr)\n136123.67(Cr)\n09-10-2025\nT16350985\nUPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax\n3000.0(Cr)\n139123.67(Cr)\n09-10-2025\nT16618597\nUPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb\n500.0(Cr)\n139623.67(Cr)\n09-10-2025\nT16624374\nUPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n138623.67(Cr)\n09-10-2025\nT18686532\nUPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n137623.67(Cr)\n09-10-2025\nT30772120\nUPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar\n1500.0(Cr)\n139123.67(Cr)\n09-10-2025\nT78403614\nUPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@\n40.0(Dr)\n139083.67(Cr)\n10-10-2025\nT84544735\nUPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1074.5(Dr)\n138009.17(Cr)\n10-10-2025\nU28396427\nUPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb\n180.0(Dr)\n137829.17(Cr)\n10-10-2025\nU29722233\nUPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb\n310.0(Dr)\n137519.17(Cr)\n", + "currency": "INR", + "opening_balance": 30084.37, + "closing_balance": 137519.17, + "transactions": [ + { + "date": "03-10-2025", + "description": "W67535230 UPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 400.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "W74021681 UPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 36.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "W74284043 UPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb", + "amount": 27.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "X3413451 UPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "X42104803 UPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb", + "amount": 578.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "X43279910 UPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "X70584637 UPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578", + "amount": 354.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "Y4917836 UPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y21235466 UPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 952.7, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y25303806 UPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr", + "amount": 808.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y48548843 UPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 4800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y55969117 UPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "S5100243 UPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "S29752867 UPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S50152341 UPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123", + "amount": 50000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S55476164 UPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y", + "amount": 39115.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S62438972 UPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S74425752 UPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "T10673685 UPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T16350985 UPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T16618597 UPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T16624374 UPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T18686532 UPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T30772120 UPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T78403614 UPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "T84544735 UPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1074.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "U28396427 UPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "U29722233 UPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "03-10-2025", + "period_end": "10-10-2025", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 8, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n8\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n03-10-2025\nW67535230\nUPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax\n400.0(Cr)\n30084.37(Cr)\n03-10-2025\nW74021681\nUPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb\n36.0(Dr)\n30048.37(Cr)\n03-10-2025\nW74284043\nUPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb\n27.0(Dr)\n30021.37(Cr)\n04-10-2025\nX3413451\nUPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n29921.37(Cr)\n04-10-2025\nX42104803\nUPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb\n578.0(Dr)\n29343.37(Cr)\n04-10-2025\nX43279910\nUPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb\n260.0(Dr)\n29083.37(Cr)\n05-10-2025\nX70584637\nUPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578\n354.0(Dr)\n28729.37(Cr)\n05-10-2025\nY4917836\nUPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n28619.37(Cr)\n06-10-2025\nY21235466\nUPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n952.7(Dr)\n27666.67(Cr)\n06-10-2025\nY25303806\nUPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr\n808.0(Dr)\n26858.67(Cr)\n06-10-2025\nY48548843\nUPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax\n4800.0(Cr)\n31658.67(Cr)\n06-10-2025\nY55969117\nUPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb\n3000.0(Cr)\n34658.67(Cr)\n07-10-2025\nS5100243\nUPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax\n5000.0(Cr)\n39658.67(Cr)\n07-10-2025\nS29752867\nUPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n42658.67(Cr)\n08-10-2025\nS50152341\nUPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123\n50000.0(Cr)\n92658.67(Cr)\n08-10-2025\nS55476164\nUPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y\n39115.0(Cr)\n131773.67(Cr)\n08-10-2025\nS62438972\nUPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323\n150.0(Dr)\n131623.67(Cr)\n08-10-2025\nS74425752\nUPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a\n1500.0(Cr)\n133123.67(Cr)\n08-10-2025\nT10673685\nUPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb\n3000.0(Cr)\n136123.67(Cr)\n09-10-2025\nT16350985\nUPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax\n3000.0(Cr)\n139123.67(Cr)\n09-10-2025\nT16618597\nUPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb\n500.0(Cr)\n139623.67(Cr)\n09-10-2025\nT16624374\nUPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n138623.67(Cr)\n09-10-2025\nT18686532\nUPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n137623.67(Cr)\n09-10-2025\nT30772120\nUPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar\n1500.0(Cr)\n139123.67(Cr)\n09-10-2025\nT78403614\nUPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@\n40.0(Dr)\n139083.67(Cr)\n10-10-2025\nT84544735\nUPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1074.5(Dr)\n138009.17(Cr)\n10-10-2025\nU28396427\nUPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb\n180.0(Dr)\n137829.17(Cr)\n10-10-2025\nU29722233\nUPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb\n310.0(Dr)\n137519.17(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 30084.37, + "closing_balance": 137519.17, + "transactions": [ + { + "date": "03-10-2025", + "description": "W67535230 UPIAB/043294329641/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 400.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "W74021681 UPIAR/522661787264/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 36.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-10-2025", + "description": "W74284043 UPIAR/894019215323/DR/Mrs Ter/YESB/ Q246787037@yb", + "amount": 27.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "X3413451 UPIAR/988812903453/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "X42104803 UPIAR/806276460674/DR/RAJESH K/YESB/ Q789179142@yb", + "amount": 578.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-10-2025", + "description": "X43279910 UPIAR/913160391960/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "X70584637 UPIAR/812146826601/DR/SVC RANJ/YESB/paytm-82825578", + "amount": 354.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-10-2025", + "description": "Y4917836 UPIAR/808059779124/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y21235466 UPIAR/185356979158/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 952.7, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y25303806 UPIAR/318868988277/DR/ irctc/UTIB/irctcretiringr", + "amount": 808.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y48548843 UPIAB/414086259057/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 4800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-10-2025", + "description": "Y55969117 UPIAB/287496605747/CR/JUTTADA /SBIN/ 9989398325@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "S5100243 UPIAB/804932680974/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-10-2025", + "description": "S29752867 UPIAB/490792134304/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S50152341 UPIAB/245490458019/CR/MALLEPAL/HDFC/rajan.reddy123", + "amount": 50000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S55476164 UPIAB/528135901104/CR/KUSUMA K/YESB/westernunion@y", + "amount": 39115.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S62438972 UPIAR/899117121794/DR/NM VET M/HDFC/Vyapar.1702323", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "S74425752 UPIAB/700081737862/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-10-2025", + "description": "T10673685 UPIAB/289191899982/CR/A RAMANA/ICIC/ 9007553335@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T16350985 UPIAB/064880629005/CR/POTNURU /SBIN/ 8885608388@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T16618597 UPIAB/341103804653/CR/POTNURU /SBIN/ 8885608388@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T16624374 UPIAR/528284214946/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T18686532 UPIAR/528250314783/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T30772120 UPIAB/528265356733/CR/Nowdasar/SBIN/sekharnowdasar", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-10-2025", + "description": "T78403614 UPIAR/447537772413/DR/VENKATA /YESB/paytm.s19rbx8@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "T84544735 UPIAR/164562162065/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1074.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "U28396427 UPIAR/927555327548/DR/VARANASI/ANDB/ Q550209813@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-10-2025", + "description": "U29722233 UPIAR/039743405541/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "03-10-2025", + "period_end": "10-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_09_extraction.json b/debug/20260518_165811/cp2_page_09_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..e9e874e92ff40d38bb2bc09b1ec1326a2c37a24d --- /dev/null +++ b/debug/20260518_165811/cp2_page_09_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 9, + "elapsed_s": 30.12, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 9, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n9\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n10-10-2025\nU30564029\nUPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb\n70.0(Dr)\n137449.17(Cr)\n10-10-2025\nU54114554\nUPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n971.8(Dr)\n136477.37(Cr)\n11-10-2025\nU76298093\nUPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a\n2000.0(Cr)\n138477.37(Cr)\n11-10-2025\nU76995606\nUPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@\n40.0(Dr)\n138437.37(Cr)\n11-10-2025\nU89465712\nUPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax\n3900.0(Cr)\n142337.37(Cr)\n11-10-2025\nU94187160\nUPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@\n1500.0(Dr)\n140837.37(Cr)\n11-10-2025\nV1580300\nUPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n140777.37(Cr)\n12-10-2025\nV26224468\nUPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1\n120.0(Cr)\n140897.37(Cr)\n12-10-2025\nV27047995\nUPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n140807.37(Cr)\n12-10-2025\nV27241516\nUPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb\n50.0(Dr)\n140757.37(Cr)\n12-10-2025\nV41655548\nUPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n140729.37(Cr)\n12-10-2025\nV43895333\nUPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n139929.37(Cr)\n12-10-2025\nV43970307\nUPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB\n97000.0(Dr)\n42929.37(Cr)\n12-10-2025\nV63480410\nUPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic\n1361.7(Dr)\n41567.63(Cr)\n13-10-2025\nW24014886\nUPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT\n420.0(Dr)\n41147.63(Cr)\n14-10-2025\nW90887471\nUPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n41047.63(Cr)\n15-10-2025\nX23360531\nUPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n40947.63(Cr)\n15-10-2025\nX25133831\nUPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax\n3000.0(Cr)\n43947.63(Cr)\n15-10-2025\nX78304216\nUPIAR/667912900466/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n33947.63(Cr)\n15-10-2025\nX78309347\nUPIAR/402410842388/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n28947.63(Cr)\n16-10-2025\nY7593452\nUPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n31947.63(Cr)\n17-10-2025\nA912925\nService Chrg For Change of Related Party Det\n118.0(Dr)\n31829.63(Cr)\n17-10-2025\nS8667460\nUPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n31789.63(Cr)\n18-10-2025\nS84246775\nUPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@\n640.0(Dr)\n31149.63(Cr)\n19-10-2025\nT1097175\nUPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb\n10000.0(Cr)\n41149.63(Cr)\n19-10-2025\nT45753718\nUPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar\n1599.4(Dr)\n39550.26(Cr)\n19-10-2025\nT52951021\nUPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n44050.26(Cr)\n20-10-2025\nU17059679\nUPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n182.7(Dr)\n43867.56(Cr)\n", + "currency": "INR", + "opening_balance": 137519.17, + "closing_balance": 43867.56, + "transactions": [ + { + "date": "10-10-2025", + "description": "UPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-10-2025", + "description": "UPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 971.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax", + "amount": 3900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@", + "amount": 1500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1", + "amount": 120.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB", + "amount": 97000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1361.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-10-2025", + "description": "UPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 420.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-10-2025", + "description": "UPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAR/667912900466/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAR/402410842388/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-10-2025", + "description": "UPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-10-2025", + "description": "Service Chrg For Change of Related Party Det", + "amount": 118.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-10-2025", + "description": "UPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-10-2025", + "description": "UPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@", + "amount": 640.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-10-2025", + "description": "UPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-10-2025", + "description": "UPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1599.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-10-2025", + "description": "UPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-10-2025", + "description": "UPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 182.7, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "10-10-2025", + "period_end": "20-10-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 9, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage of \n9\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n10-10-2025\nU30564029\nUPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb\n70.0(Dr)\n137449.17(Cr)\n10-10-2025\nU54114554\nUPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n971.8(Dr)\n136477.37(Cr)\n11-10-2025\nU76298093\nUPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a\n2000.0(Cr)\n138477.37(Cr)\n11-10-2025\nU76995606\nUPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@\n40.0(Dr)\n138437.37(Cr)\n11-10-2025\nU89465712\nUPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax\n3900.0(Cr)\n142337.37(Cr)\n11-10-2025\nU94187160\nUPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@\n1500.0(Dr)\n140837.37(Cr)\n11-10-2025\nV1580300\nUPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n140777.37(Cr)\n12-10-2025\nV26224468\nUPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1\n120.0(Cr)\n140897.37(Cr)\n12-10-2025\nV27047995\nUPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n140807.37(Cr)\n12-10-2025\nV27241516\nUPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb\n50.0(Dr)\n140757.37(Cr)\n12-10-2025\nV41655548\nUPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n140729.37(Cr)\n12-10-2025\nV43895333\nUPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n139929.37(Cr)\n12-10-2025\nV43970307\nUPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB\n97000.0(Dr)\n42929.37(Cr)\n12-10-2025\nV63480410\nUPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic\n1361.7(Dr)\n41567.63(Cr)\n13-10-2025\nW24014886\nUPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT\n420.0(Dr)\n41147.63(Cr)\n14-10-2025\nW90887471\nUPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n41047.63(Cr)\n15-10-2025\nX23360531\nUPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@\n100.0(Dr)\n40947.63(Cr)\n15-10-2025\nX25133831\nUPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax\n3000.0(Cr)\n43947.63(Cr)\n15-10-2025\nX78304216\nUPIAR/667912900466/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n33947.63(Cr)\n15-10-2025\nX78309347\nUPIAR/402410842388/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n28947.63(Cr)\n16-10-2025\nY7593452\nUPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n31947.63(Cr)\n17-10-2025\nA912925\nService Chrg For Change of Related Party Det\n118.0(Dr)\n31829.63(Cr)\n17-10-2025\nS8667460\nUPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n31789.63(Cr)\n18-10-2025\nS84246775\nUPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@\n640.0(Dr)\n31149.63(Cr)\n19-10-2025\nT1097175\nUPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb\n10000.0(Cr)\n41149.63(Cr)\n19-10-2025\nT45753718\nUPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar\n1599.4(Dr)\n39550.26(Cr)\n19-10-2025\nT52951021\nUPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n44050.26(Cr)\n20-10-2025\nU17059679\nUPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n182.7(Dr)\n43867.56(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 137519.17, + "closing_balance": 43867.56, + "transactions": [ + { + "date": "10-10-2025", + "description": "UPIAR/254149625684/DR/Mrs GIDI/YESB/ Q292462051@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-10-2025", + "description": "UPIAR/623772203662/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 971.8, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAB/937810625281/CR/SAKKURU /HDFC/9346383101-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAR/399003727471/DR/Vanasara/YESB/paytmqr6lduof@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAB/993926570382/CR/Mrs Pare/CBIN/ 7013111309@ax", + "amount": 3900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAR/005426741972/DR/SIVVA KA/YESB/paytmqr6nakvm@", + "amount": 1500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-10-2025", + "description": "UPIAR/389605881610/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAB/796357209992/CR/CHINTHAP/ICIC/karthikambika1", + "amount": 120.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/793020852051/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/786970753810/DR/MRS VADD/YESB/ Q325394688@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/093895904448/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/157729235113/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/647395150296/DR/Bank Acc/SBIN/10576616939@SB", + "amount": 97000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-10-2025", + "description": "UPIAR/311519559480/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1361.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-10-2025", + "description": "UPIAR/658640590673/DR/M S SRIS/ICIC/eazypay.QTKEDT", + "amount": 420.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-10-2025", + "description": "UPIAR/841959859099/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAR/755145776470/DR/SHEK RAH/YESB/paytmqr6soqml@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAB/834688936085/CR/DANNANA /SBIN/ 9652199496@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAR/667912900466/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-10-2025", + "description": "UPIAR/402410842388/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-10-2025", + "description": "UPIAB/158306654003/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-10-2025", + "description": "Service Chrg For Change of Related Party Det", + "amount": 118.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-10-2025", + "description": "UPIAR/583185259631/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-10-2025", + "description": "UPIAR/409889723412/DR/GANESH S/YESB/paytmqr6f9c4j@", + "amount": 640.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-10-2025", + "description": "UPIAB/351343938762/CR/UPPILI /SBIN/ 8790158784@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-10-2025", + "description": "UPIAR/376322255623/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1599.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-10-2025", + "description": "UPIAB/397213921035/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-10-2025", + "description": "UPIAR/458438720237/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 182.7, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "10-10-2025", + "period_end": "20-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_10_extraction.json b/debug/20260518_165811/cp2_page_10_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..30dc543bcff96863421a5ba79a29e6ea0104f33c --- /dev/null +++ b/debug/20260518_165811/cp2_page_10_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 10, + "elapsed_s": 29.7, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 10, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n10\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-10-2025\nU17586285\nUPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n654.5(Dr)\n43213.06(Cr)\n21-10-2025\nU32361196\nUPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n43113.06(Cr)\n21-10-2025\nU52522440\nUPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n43085.06(Cr)\n21-10-2025\nU53742042\nUPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax\n1.0(Cr)\n43086.06(Cr)\n21-10-2025\nU53769448\nUPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax\n4000.0(Cr)\n47086.06(Cr)\n21-10-2025\nU67947926\nUPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n46986.06(Cr)\n21-10-2025\nU74178984\nUPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@\n3000.0(Cr)\n49986.06(Cr)\n21-10-2025\nU74190298\nUPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n73.7(Dr)\n49912.36(Cr)\n22-10-2025\nV22901289\nUPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb\n125.0(Dr)\n49787.36(Cr)\n22-10-2025\nV23221089\nUPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573\n284.0(Dr)\n49503.36(Cr)\n23-10-2025\nV60426858\nUPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb\n74.0(Dr)\n49429.36(Cr)\n23-10-2025\nV61366153\nUPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8\n35.0(Dr)\n49394.36(Cr)\n23-10-2025\nV63857349\nUPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n44394.36(Cr)\n23-10-2025\nV69146534\nUPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703\n100.0(Dr)\n44294.36(Cr)\n23-10-2025\nV73386991\nUPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE\n30.0(Dr)\n44264.36(Cr)\n23-10-2025\nV78296699\nUPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n44154.36(Cr)\n24-10-2025\nW8750767\nUPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n47154.36(Cr)\n24-10-2025\nW24144625\nUPIAR/932996283212/DR/93922867/IDIB/9392286717@pty\n1.0(Dr)\n47153.36(Cr)\n24-10-2025\nW35582878\nUPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta\n1.0(Cr)\n47154.36(Cr)\n24-10-2025\nW36519531\nUPIAR/658196029923/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n37154.36(Cr)\n24-10-2025\nW36783879\nUPIAR/890081413960/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n27154.36(Cr)\n26-10-2025\nX20195301\nUPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n30154.36(Cr)\n26-10-2025\nX26164123\nUPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n30069.36(Cr)\n27-10-2025\nX89557838\nUPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@\n2000.0(Cr)\n32069.36(Cr)\n27-10-2025\nX93940092\nUPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax\n1000.0(Cr)\n33069.36(Cr)\n28-10-2025\nY40914814\nUPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax\n100000.0(Cr)\n133069.36(Cr)\n28-10-2025\nY49919100\nUPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n136069.36(Cr)\n28-10-2025\nY64510261\nUPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n135999.36(Cr)\n", + "currency": "INR", + "opening_balance": 43867.56, + "closing_balance": 135999.36, + "transactions": [ + { + "date": "20-10-2025", + "description": "UPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 654.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 73.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 125.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 284.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 74.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/932996283212/DR/93922867/IDIB/9392286717@pty", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/658196029923/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/890081413960/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 100000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "20-10-2025", + "period_end": "28-10-2025", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 10, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n10\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-10-2025\nU17586285\nUPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n654.5(Dr)\n43213.06(Cr)\n21-10-2025\nU32361196\nUPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n43113.06(Cr)\n21-10-2025\nU52522440\nUPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n43085.06(Cr)\n21-10-2025\nU53742042\nUPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax\n1.0(Cr)\n43086.06(Cr)\n21-10-2025\nU53769448\nUPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax\n4000.0(Cr)\n47086.06(Cr)\n21-10-2025\nU67947926\nUPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n46986.06(Cr)\n21-10-2025\nU74178984\nUPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@\n3000.0(Cr)\n49986.06(Cr)\n21-10-2025\nU74190298\nUPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n73.7(Dr)\n49912.36(Cr)\n22-10-2025\nV22901289\nUPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb\n125.0(Dr)\n49787.36(Cr)\n22-10-2025\nV23221089\nUPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573\n284.0(Dr)\n49503.36(Cr)\n23-10-2025\nV60426858\nUPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb\n74.0(Dr)\n49429.36(Cr)\n23-10-2025\nV61366153\nUPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8\n35.0(Dr)\n49394.36(Cr)\n23-10-2025\nV63857349\nUPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli\n5000.0(Dr)\n44394.36(Cr)\n23-10-2025\nV69146534\nUPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703\n100.0(Dr)\n44294.36(Cr)\n23-10-2025\nV73386991\nUPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE\n30.0(Dr)\n44264.36(Cr)\n23-10-2025\nV78296699\nUPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE\n110.0(Dr)\n44154.36(Cr)\n24-10-2025\nW8750767\nUPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n47154.36(Cr)\n24-10-2025\nW24144625\nUPIAR/932996283212/DR/93922867/IDIB/9392286717@pty\n1.0(Dr)\n47153.36(Cr)\n24-10-2025\nW35582878\nUPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta\n1.0(Cr)\n47154.36(Cr)\n24-10-2025\nW36519531\nUPIAR/658196029923/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n37154.36(Cr)\n24-10-2025\nW36783879\nUPIAR/890081413960/DR/93922867/IDIB/9392286717@pty\n10000.0(Dr)\n27154.36(Cr)\n26-10-2025\nX20195301\nUPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n30154.36(Cr)\n26-10-2025\nX26164123\nUPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n30069.36(Cr)\n27-10-2025\nX89557838\nUPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@\n2000.0(Cr)\n32069.36(Cr)\n27-10-2025\nX93940092\nUPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax\n1000.0(Cr)\n33069.36(Cr)\n28-10-2025\nY40914814\nUPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax\n100000.0(Cr)\n133069.36(Cr)\n28-10-2025\nY49919100\nUPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n136069.36(Cr)\n28-10-2025\nY64510261\nUPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n135999.36(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 43867.56, + "closing_balance": 135999.36, + "transactions": [ + { + "date": "20-10-2025", + "description": "UPIAR/155658079380/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 654.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/666007759506/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/984280903452/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/565864746997/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/983302241932/CR/CHINTALA/SBIN/ 9491334437@ax", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/835311387190/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAB/521135210278/CR/GORTI DI/BKID/divyateja1861@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-10-2025", + "description": "UPIAR/712283929537/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 73.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/564567372508/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 125.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-10-2025", + "description": "UPIAR/679199728067/DR/PENTAPAL/UTIB/gpay-112442573", + "amount": 284.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/796541251821/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 74.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/174920836287/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/822126186071/DR/Bajaj Al/YESB/bajajallianzli", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/083484741304/DR/Galavall/UTIB/gpay-112468703", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/379127136905/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-10-2025", + "description": "UPIAR/819555648359/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/286607689467/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/932996283212/DR/93922867/IDIB/9392286717@pty", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAB/529705941524/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/658196029923/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-10-2025", + "description": "UPIAR/890081413960/DR/93922867/IDIB/9392286717@pty", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAB/068001014689/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-10-2025", + "description": "UPIAR/691192470104/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/382530831635/CR/SURYARAO/SBIN/pentasuryarao@", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-10-2025", + "description": "UPIAB/610206748539/CR/CHAPPA /SBIN/ 7013745292@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAB/434355651539/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 100000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAB/892023460463/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-10-2025", + "description": "UPIAR/015813347286/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-10-2025", + "period_end": "28-10-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_11_extraction.json b/debug/20260518_165811/cp2_page_11_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..a934824c08d15cf32d7e5c62d6c872a35a898461 --- /dev/null +++ b/debug/20260518_165811/cp2_page_11_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 11, + "elapsed_s": 35.97, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 11, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n11\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-10-2025\nY67709028\nUPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n138999.36(Cr)\n29-10-2025\nY99278624\nUPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n188999.36(Cr)\n29-10-2025\nS4514184\nUPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a\n10000.0(Cr)\n198999.36(Cr)\n29-10-2025\nS11207438\nUPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb\n430.0(Dr)\n198569.36(Cr)\n29-10-2025\nS11440705\nUPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n198541.36(Cr)\n29-10-2025\nS38192466\nUPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax\n1000.0(Cr)\n199541.36(Cr)\n30-10-2025\nS72065144\nUPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n199513.36(Cr)\n30-10-2025\nS79843738\nUPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax\n3500.0(Cr)\n203013.36(Cr)\n30-10-2025\nS81176070\nUPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n209013.36(Cr)\n30-10-2025\nS87892036\nUPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n206013.36(Cr)\n30-10-2025\nS91687365\nUPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n256013.36(Cr)\n31-10-2025\nT15729603\nUPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb\n75.0(Dr)\n255938.36(Cr)\n31-10-2025\nT17140035\nUPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax\n13000.0(Cr)\n268938.36(Cr)\n31-10-2025\nT29344034\nUPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB\n95000.0(Dr)\n173938.36(Cr)\n31-10-2025\nT30093192\nUPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb\n1000.0(Cr)\n174938.36(Cr)\n31-10-2025\nT37880588\nIMPSAR/530416540412/K Satyanarayana/10576616939\n50000.0(Dr)\n124938.36(Cr)\n31-10-2025\nT37989116\nIMPSAR/530416540818/K Satyanarayana/10576616939\n70000.0(Dr)\n54938.36(Cr)\n31-10-2025\nT50974567\nIMPSAR/530418579963/K Satyanarayana/62214014329\n50000.0(Dr)\n4938.36(Cr)\n01-11-2025\nU26437897\nUPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb\n6500.0(Cr)\n11438.36(Cr)\n01-11-2025\nU29852713\nUPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib\n1000.0(Cr)\n12438.36(Cr)\n03-11-2025\nV18691470\nUPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n16438.36(Cr)\n04-11-2025\nV98321695\nUPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb\n1000.0(Cr)\n17438.36(Cr)\n04-11-2025\nW30064474\nUPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb\n20.0(Dr)\n17418.36(Cr)\n06-11-2025\nX5279994\nUPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n16618.36(Cr)\n06-11-2025\nX5343635\nUPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n13618.36(Cr)\n06-11-2025\nX53304768\nUPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n16618.36(Cr)\n06-11-2025\nX54539989\nUPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n22118.36(Cr)\n07-11-2025\nX77233231\nUPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb\n3000.0(Cr)\n25118.36(Cr)\n", + "person_name": "K Satyanarayana", + "currency": "INR", + "opening_balance": 135999.36, + "closing_balance": 25118.36, + "transactions": [ + { + "date": "28-10-2025", + "description": "UPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": "large_unlabeled_deposit" + }, + { + "date": "29-10-2025", + "description": "UPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 430.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": "large_unlabeled_deposit" + }, + { + "date": "31-10-2025", + "description": "UPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 13000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 95000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "UPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540412/K Satyanarayana/10576616939", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540818/K Satyanarayana/10576616939", + "amount": 70000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530418579963/K Satyanarayana/62214014329", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-11-2025", + "description": "UPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-11-2025", + "description": "UPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-11-2025", + "description": "UPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-11-2025", + "description": "UPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "28-10-2025", + "period_end": "07-11-2025", + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 11, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n11\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-10-2025\nY67709028\nUPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n138999.36(Cr)\n29-10-2025\nY99278624\nUPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n188999.36(Cr)\n29-10-2025\nS4514184\nUPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a\n10000.0(Cr)\n198999.36(Cr)\n29-10-2025\nS11207438\nUPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb\n430.0(Dr)\n198569.36(Cr)\n29-10-2025\nS11440705\nUPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n198541.36(Cr)\n29-10-2025\nS38192466\nUPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax\n1000.0(Cr)\n199541.36(Cr)\n30-10-2025\nS72065144\nUPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n199513.36(Cr)\n30-10-2025\nS79843738\nUPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax\n3500.0(Cr)\n203013.36(Cr)\n30-10-2025\nS81176070\nUPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n209013.36(Cr)\n30-10-2025\nS87892036\nUPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n206013.36(Cr)\n30-10-2025\nS91687365\nUPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax\n50000.0(Cr)\n256013.36(Cr)\n31-10-2025\nT15729603\nUPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb\n75.0(Dr)\n255938.36(Cr)\n31-10-2025\nT17140035\nUPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax\n13000.0(Cr)\n268938.36(Cr)\n31-10-2025\nT29344034\nUPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB\n95000.0(Dr)\n173938.36(Cr)\n31-10-2025\nT30093192\nUPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb\n1000.0(Cr)\n174938.36(Cr)\n31-10-2025\nT37880588\nIMPSAR/530416540412/K Satyanarayana/10576616939\n50000.0(Dr)\n124938.36(Cr)\n31-10-2025\nT37989116\nIMPSAR/530416540818/K Satyanarayana/10576616939\n70000.0(Dr)\n54938.36(Cr)\n31-10-2025\nT50974567\nIMPSAR/530418579963/K Satyanarayana/62214014329\n50000.0(Dr)\n4938.36(Cr)\n01-11-2025\nU26437897\nUPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb\n6500.0(Cr)\n11438.36(Cr)\n01-11-2025\nU29852713\nUPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib\n1000.0(Cr)\n12438.36(Cr)\n03-11-2025\nV18691470\nUPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n16438.36(Cr)\n04-11-2025\nV98321695\nUPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb\n1000.0(Cr)\n17438.36(Cr)\n04-11-2025\nW30064474\nUPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb\n20.0(Dr)\n17418.36(Cr)\n06-11-2025\nX5279994\nUPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n16618.36(Cr)\n06-11-2025\nX5343635\nUPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n13618.36(Cr)\n06-11-2025\nX53304768\nUPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n16618.36(Cr)\n06-11-2025\nX54539989\nUPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n22118.36(Cr)\n07-11-2025\nX77233231\nUPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb\n3000.0(Cr)\n25118.36(Cr)\n", + "person_name": "K Satyanarayana", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 135999.36, + "closing_balance": 25118.36, + "transactions": [ + { + "date": "28-10-2025", + "description": "UPIAB/935751600355/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/847896731568/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": "large_unlabeled_deposit" + }, + { + "date": "29-10-2025", + "description": "UPIAB/898030631893/CR/SREE VIS/KKBK/sreevisishta@a", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/662648231943/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 430.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAR/047053454326/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-10-2025", + "description": "UPIAB/853152400707/CR/ADAPAKA /SBIN/ 7013671656@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/960249219615/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/187963193017/CR/INAPAKUR/HDFC/ 7330772078@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/497225695708/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAR/326490669812/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-10-2025", + "description": "UPIAB/923589317306/CR/BEVARA L/HDFC/ 6301734915@ax", + "amount": 50000.0, + "transaction_type": "credit", + "label": "large_unlabeled_deposit" + }, + { + "date": "31-10-2025", + "description": "UPIAR/336313582238/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 75.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAB/654100767987/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 13000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "UPIAR/888202630301/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 95000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "UPIAB/309868115766/CR/RAJESH /SBIN/ 7981818011@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540412/K Satyanarayana/10576616939", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530416540818/K Satyanarayana/10576616939", + "amount": 70000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-10-2025", + "description": "IMPSAR/530418579963/K Satyanarayana/62214014329", + "amount": 50000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-11-2025", + "description": "UPIAB/404059561683/CR/PAMMI VA/HDFC/ 9989370627@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "01-11-2025", + "description": "UPIAB/471520491153/CR/OGIRALA /SBIN/ 8919869633@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "03-11-2025", + "description": "UPIAB/147082617058/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAB/499643134760/CR/MATTAPAL/HDFC/ 9966447915@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "04-11-2025", + "description": "UPIAR/878116667578/DR/MRS JALA/YESB/ Q552900306@yb", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/102705166257/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAR/640322877760/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/198096276870/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-11-2025", + "description": "UPIAB/802725129904/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-11-2025", + "description": "UPIAB/653059938069/CR/INAPAKUR/UBIN/irajsekhar2@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "28-10-2025", + "period_end": "07-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "large_unlabeled_deposit" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_12_extraction.json b/debug/20260518_165811/cp2_page_12_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..a28e40c23f8a4b6c3232dd07b85bbcf99ac174be --- /dev/null +++ b/debug/20260518_165811/cp2_page_12_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 12, + "elapsed_s": 15.97, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 12, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n12\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-11-2025\nX87864595\nUPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@\n2500.0(Cr)\n27618.36(Cr)\n07-11-2025\nX99447157\nUPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n28618.36(Cr)\n07-11-2025\nY7800795\nUPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb\n1500.0(Cr)\n30118.36(Cr)\n07-11-2025\nY10279871\nUPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma\n3000.0(Cr)\n33118.36(Cr)\n07-11-2025\nY12696515\nUPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb\n100.0(Dr)\n33018.36(Cr)\n07-11-2025\nY25995686\nUPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618\n36.2(Dr)\n32982.18(Cr)\n08-11-2025\nY65408766\nUPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb\n1000.0(Cr)\n33982.18(Cr)\n08-11-2025\nY75627294\nUPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl\n8000.0(Cr)\n41982.18(Cr)\n08-11-2025\nY89928989\nUPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n31982.18(Cr)\n09-11-2025\nY94184093\nUPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n30982.18(Cr)\n09-11-2025\nY95461407\nUPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n29982.18(Cr)\n09-11-2025\nS13380257\nUPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@\n160.0(Dr)\n29822.18(Cr)\n09-11-2025\nS32020072\nUPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n29752.18(Cr)\n09-11-2025\nS32560254\nUPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb\n100.0(Dr)\n29652.18(Cr)\n10-11-2025\nS84896556\nUPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb\n180.0(Dr)\n29472.18(Cr)\n10-11-2025\nS89086107\nUPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb\n3500.0(Cr)\n32972.18(Cr)\n10-11-2025\nS98843654\nUPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts\n3500.0(Cr)\n36472.18(Cr)\n10-11-2025\nT13653339\nUPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n39472.18(Cr)\n10-11-2025\nT14337999\nUPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n42472.18(Cr)\n11-11-2025\nT32008688\nUPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb\n76.0(Dr)\n42396.18(Cr)\n11-11-2025\nT51047079\nUPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n45396.18(Cr)\n11-11-2025\nT54484329\nUPIAR/718371638097/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n30396.18(Cr)\n11-11-2025\nT68075506\nUPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb\n360.0(Dr)\n30036.18(Cr)\n12-11-2025\nU19852929\nUPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n33036.18(Cr)\n12-11-2025\nU28282970\nUPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y\n20000.0(Cr)\n53036.18(Cr)\n12-11-2025\nU46022943\nUPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@\n1000.0(Cr)\n54036.18(Cr)\n12-11-2025\nU51872936\nUPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n53996.18(Cr)\n13-11-2025\nU87192975\nUPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@\n35.0(Dr)\n53961.18(Cr)\n", + "currency": "INR", + "opening_balance": 27618.36, + "closing_balance": 53961.18, + "transactions": [ + { + "date": "07-11-2025", + "description": "UPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 36.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 76.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/718371638097/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 360.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-11-2025", + "description": "UPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "07-11-2025", + "period_end": "13-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 12, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n12\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n07-11-2025\nX87864595\nUPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@\n2500.0(Cr)\n27618.36(Cr)\n07-11-2025\nX99447157\nUPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n28618.36(Cr)\n07-11-2025\nY7800795\nUPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb\n1500.0(Cr)\n30118.36(Cr)\n07-11-2025\nY10279871\nUPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma\n3000.0(Cr)\n33118.36(Cr)\n07-11-2025\nY12696515\nUPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb\n100.0(Dr)\n33018.36(Cr)\n07-11-2025\nY25995686\nUPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618\n36.2(Dr)\n32982.18(Cr)\n08-11-2025\nY65408766\nUPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb\n1000.0(Cr)\n33982.18(Cr)\n08-11-2025\nY75627294\nUPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl\n8000.0(Cr)\n41982.18(Cr)\n08-11-2025\nY89928989\nUPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n31982.18(Cr)\n09-11-2025\nY94184093\nUPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n30982.18(Cr)\n09-11-2025\nY95461407\nUPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n29982.18(Cr)\n09-11-2025\nS13380257\nUPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@\n160.0(Dr)\n29822.18(Cr)\n09-11-2025\nS32020072\nUPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n29752.18(Cr)\n09-11-2025\nS32560254\nUPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb\n100.0(Dr)\n29652.18(Cr)\n10-11-2025\nS84896556\nUPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb\n180.0(Dr)\n29472.18(Cr)\n10-11-2025\nS89086107\nUPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb\n3500.0(Cr)\n32972.18(Cr)\n10-11-2025\nS98843654\nUPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts\n3500.0(Cr)\n36472.18(Cr)\n10-11-2025\nT13653339\nUPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n39472.18(Cr)\n10-11-2025\nT14337999\nUPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n42472.18(Cr)\n11-11-2025\nT32008688\nUPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb\n76.0(Dr)\n42396.18(Cr)\n11-11-2025\nT51047079\nUPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n45396.18(Cr)\n11-11-2025\nT54484329\nUPIAR/718371638097/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n30396.18(Cr)\n11-11-2025\nT68075506\nUPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb\n360.0(Dr)\n30036.18(Cr)\n12-11-2025\nU19852929\nUPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n33036.18(Cr)\n12-11-2025\nU28282970\nUPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y\n20000.0(Cr)\n53036.18(Cr)\n12-11-2025\nU46022943\nUPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@\n1000.0(Cr)\n54036.18(Cr)\n12-11-2025\nU51872936\nUPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n53996.18(Cr)\n13-11-2025\nU87192975\nUPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@\n35.0(Dr)\n53961.18(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 27618.36, + "closing_balance": 53961.18, + "transactions": [ + { + "date": "07-11-2025", + "description": "UPIAB/086732984946/CR/DURGA A/SBIN/abhiramdurga7@", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/275417252911/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/948521716207/CR/KONDETI /BARB/ 9866902990@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAB/299238951742/CR/PASUMART/KKBK/srikanthpasuma", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/195592309241/DR/Mr KANTU/YESB/ Q735997505@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-11-2025", + "description": "UPIAR/435041999941/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 36.2, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/606869896720/CR/PONNADA /UCBA/ 9492762522@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAB/553187885529/CR/Mr Chand/IDIB/prakashomeanyl", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-11-2025", + "description": "UPIAR/989966646268/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531372043108/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/531310642484/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/635398403313/DR/Gompa Ye/YESB/paytm.s17xbmt@", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/128475725413/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-11-2025", + "description": "UPIAR/059000238916/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAR/634681242905/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/864111481230/CR/DAMODARA/SBIN/ 8985435436@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/531428042822/CR/Muthyala/SBIN/7842105813@pts", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/302117460448/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "10-11-2025", + "description": "UPIAB/399934220977/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/764137542045/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 76.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAB/269166467924/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/718371638097/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "11-11-2025", + "description": "UPIAR/700240806045/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 360.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/918345691955/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/461508676648/CR/MANIKANT/SBIN/9000140101-6@y", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAB/297020286958/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-11-2025", + "description": "UPIAR/166384493675/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "13-11-2025", + "description": "UPIAR/925686078224/DR/PALLE PY/YESB/paytmqr6slqbe@", + "amount": 35.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "07-11-2025", + "period_end": "13-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_13_extraction.json b/debug/20260518_165811/cp2_page_13_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..38e813a69b8f77b298e5cb09940f110f2309bf9e --- /dev/null +++ b/debug/20260518_165811/cp2_page_13_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 13, + "elapsed_s": 33.08, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 13, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n13\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-11-2025\nV6869237\nUPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb\n180.0(Dr)\n53781.18(Cr)\n13-11-2025\nV7074197\nUPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb\n90.0(Dr)\n53691.18(Cr)\n14-11-2025\nV68441480\nUPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb\n1000.0(Cr)\n54691.18(Cr)\n15-11-2025\nW3687981\nUPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax\n3000.0(Cr)\n57691.18(Cr)\n15-11-2025\nW22554248\nUPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@\n33.0(Dr)\n57658.18(Cr)\n15-11-2025\nW37108679\nUPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@\n100.0(Dr)\n57558.18(Cr)\n15-11-2025\nW41120754\nUPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62058.18(Cr)\n15-11-2025\nW46500886\nUPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@\n130.0(Dr)\n61928.18(Cr)\n15-11-2025\nW46905510\nUPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb\n140.0(Dr)\n61788.18(Cr)\n15-11-2025\nW47741959\nUPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y\n170.0(Dr)\n61618.18(Cr)\n16-11-2025\nW71058676\nUPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb\n85.0(Dr)\n61533.18(Cr)\n16-11-2025\nW83211766\nUPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb\n10.0(Dr)\n61523.18(Cr)\n16-11-2025\nW83994210\nUPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb\n100.0(Dr)\n61423.18(Cr)\n16-11-2025\nX7635310\nUPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb\n1000.0(Cr)\n62423.18(Cr)\n17-11-2025\nX66588260\nUPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y\n2000.0(Cr)\n64423.18(Cr)\n18-11-2025\nX98143087\nUPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb\n3000.0(Cr)\n67423.18(Cr)\n18-11-2025\nX99228510\nUPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao\n1000.0(Cr)\n68423.18(Cr)\n18-11-2025\nY32051321\nUPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u\n300.0(Dr)\n68123.18(Cr)\n19-11-2025\nY71752521\nUPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib\n20000.0(Cr)\n88123.18(Cr)\n19-11-2025\nY79064231\nUPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n91623.18(Cr)\n19-11-2025\nY92891216\nUPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax\n10000.0(Cr)\n101623.18(Cr)\n19-11-2025\nY98956862\nUPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki\n3000.0(Cr)\n104623.18(Cr)\n19-11-2025\nS693495\nUPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220\n3000.0(Cr)\n107623.18(Cr)\n19-11-2025\nS982898\nUPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n99623.18(Cr)\n19-11-2025\nS10290867\nUPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y\n10000.0(Dr)\n89623.18(Cr)\n19-11-2025\nS10289395\nUPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n79623.18(Cr)\n19-11-2025\nS10339129\nUPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y\n15000.0(Dr)\n64623.18(Cr)\n20-11-2025\nS42107990\nUPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb\n204.0(Dr)\n64419.18(Cr)\n", + "currency": "INR", + "opening_balance": 53961.18, + "closing_balance": 64419.18, + "transactions": [ + { + "date": "13-11-2025", + "description": "UPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-11-2025", + "description": "UPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-11-2025", + "description": "UPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-11-2025", + "description": "UPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-11-2025", + "description": "UPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-11-2025", + "description": "UPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-11-2025", + "description": "UPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 204.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "13-11-2025", + "period_end": "20-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 13, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n13\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-11-2025\nV6869237\nUPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb\n180.0(Dr)\n53781.18(Cr)\n13-11-2025\nV7074197\nUPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb\n90.0(Dr)\n53691.18(Cr)\n14-11-2025\nV68441480\nUPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb\n1000.0(Cr)\n54691.18(Cr)\n15-11-2025\nW3687981\nUPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax\n3000.0(Cr)\n57691.18(Cr)\n15-11-2025\nW22554248\nUPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@\n33.0(Dr)\n57658.18(Cr)\n15-11-2025\nW37108679\nUPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@\n100.0(Dr)\n57558.18(Cr)\n15-11-2025\nW41120754\nUPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62058.18(Cr)\n15-11-2025\nW46500886\nUPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@\n130.0(Dr)\n61928.18(Cr)\n15-11-2025\nW46905510\nUPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb\n140.0(Dr)\n61788.18(Cr)\n15-11-2025\nW47741959\nUPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y\n170.0(Dr)\n61618.18(Cr)\n16-11-2025\nW71058676\nUPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb\n85.0(Dr)\n61533.18(Cr)\n16-11-2025\nW83211766\nUPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb\n10.0(Dr)\n61523.18(Cr)\n16-11-2025\nW83994210\nUPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb\n100.0(Dr)\n61423.18(Cr)\n16-11-2025\nX7635310\nUPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb\n1000.0(Cr)\n62423.18(Cr)\n17-11-2025\nX66588260\nUPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y\n2000.0(Cr)\n64423.18(Cr)\n18-11-2025\nX98143087\nUPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb\n3000.0(Cr)\n67423.18(Cr)\n18-11-2025\nX99228510\nUPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao\n1000.0(Cr)\n68423.18(Cr)\n18-11-2025\nY32051321\nUPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u\n300.0(Dr)\n68123.18(Cr)\n19-11-2025\nY71752521\nUPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib\n20000.0(Cr)\n88123.18(Cr)\n19-11-2025\nY79064231\nUPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n91623.18(Cr)\n19-11-2025\nY92891216\nUPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax\n10000.0(Cr)\n101623.18(Cr)\n19-11-2025\nY98956862\nUPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki\n3000.0(Cr)\n104623.18(Cr)\n19-11-2025\nS693495\nUPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220\n3000.0(Cr)\n107623.18(Cr)\n19-11-2025\nS982898\nUPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n99623.18(Cr)\n19-11-2025\nS10290867\nUPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y\n10000.0(Dr)\n89623.18(Cr)\n19-11-2025\nS10289395\nUPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n79623.18(Cr)\n19-11-2025\nS10339129\nUPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y\n15000.0(Dr)\n64623.18(Cr)\n20-11-2025\nS42107990\nUPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb\n204.0(Dr)\n64419.18(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 53961.18, + "closing_balance": 64419.18, + "transactions": [ + { + "date": "13-11-2025", + "description": "UPIAR/415492927150/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-11-2025", + "description": "UPIAR/630298820743/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-11-2025", + "description": "UPIAB/324088908110/CR/DAMARASI/SBIN/ 9885760650@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAB/656272032672/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/850894345435/DR/KOPPAKA /YESB/paytmqr6hnaof@", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/744551672373/DR/Sri sita/YESB/paytmqr6nusvj@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAB/304844098484/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/514726150636/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/431549567157/DR/Mrs JAMI/YESB/ Q867931110@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-11-2025", + "description": "UPIAR/258783405399/DR/KARRI S/IDFB/9652203816-2@y", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/802875307442/DR/Mr RADHA/YESB/ Q437408601@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/409642335405/DR/MOHAMMED/BKID/ 9346589256@yb", + "amount": 10.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAR/370350817141/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-11-2025", + "description": "UPIAB/700931544045/CR/GELAM KI/PUNB/gelamkumar1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-11-2025", + "description": "UPIAB/125865846451/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-11-2025", + "description": "UPIAB/166991048600/CR/MUDDADA /HDFC/ 7893458669@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-11-2025", + "description": "UPIAB/783599993688/CR/KSN KIRA/SBIN/kantubuktharao", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-11-2025", + "description": "UPIAR/142548358246/DR/PAVAN PU/YESB/paytmqrrwzcj4u", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/942827507570/CR/Mr SURAP/CBIN/ 9494906561@ib", + "amount": 20000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/361201480815/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/130452834243/CR/SURYARAR/HDFC/ 7382070791@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/532308878564/CR/KENGAM R/ICIC/rupukumark@oki", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAB/940281901373/CR/KORADA /SBIN/srinivasit1220", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/997016952091/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/420508098116/DR/KORADA K/BKID/6303357650-2@y", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/257935255484/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-11-2025", + "description": "UPIAR/005058842877/DR/KORADA K/BKID/6303357650-2@y", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/543291573255/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 204.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-11-2025", + "period_end": "20-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_14_extraction.json b/debug/20260518_165811/cp2_page_14_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..bd85b1176864c4d37c899fb4c887db2b72fd155b --- /dev/null +++ b/debug/20260518_165811/cp2_page_14_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 14, + "elapsed_s": 18.22, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 14, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n14\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-11-2025\nS49603845\nUPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths\n8000.0(Cr)\n72419.18(Cr)\n20-11-2025\nS61304480\nUPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax\n188.0(Dr)\n72231.18(Cr)\n21-11-2025\nT1018637\nUPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@\n3000.0(Cr)\n75231.18(Cr)\n21-11-2025\nT24153404\nUPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n74901.18(Cr)\n22-11-2025\nT53764781\nUPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y\n1000.0(Cr)\n75901.18(Cr)\n22-11-2025\nU3764548\nUPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n75041.18(Cr)\n22-11-2025\nU3777139\nUPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.\n1136.0(Dr)\n73905.18(Cr)\n22-11-2025\nU3968058\nUPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp\n1.0(Dr)\n73904.18(Cr)\n22-11-2025\nU4273570\nUPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp\n1.0(Cr)\n73905.18(Cr)\n23-11-2025\nU14168335\nUPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@\n130.0(Dr)\n73775.18(Cr)\n23-11-2025\nU15591412\nUPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0\n100.0(Dr)\n73675.18(Cr)\n23-11-2025\nU25348399\nUPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh\n300.0(Dr)\n73375.18(Cr)\n23-11-2025\nU47338466\nUPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n73125.18(Cr)\n23-11-2025\nU47573654\nUPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb\n70.0(Dr)\n73055.18(Cr)\n24-11-2025\nU93699721\nUPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73027.18(Cr)\n24-11-2025\nV21814361\nUPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i\n1806.7(Dr)\n71220.51(Cr)\n25-11-2025\nV34382897\nUPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax\n2000.0(Cr)\n73220.51(Cr)\n25-11-2025\nV39245163\nUPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73120.51(Cr)\n25-11-2025\nV85935478\nUPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n76120.51(Cr)\n25-11-2025\nV86973058\nUPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa\n3000.0(Cr)\n79120.51(Cr)\n26-11-2025\nW20634950\nUPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@\n40.0(Dr)\n79080.51(Cr)\n26-11-2025\nW29198060\nUPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n82080.51(Cr)\n26-11-2025\nW33613575\nUPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n85080.51(Cr)\n26-11-2025\nW36374090\nUPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n84980.51(Cr)\n27-11-2025\nW72340905\nUPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma\n1000.0(Cr)\n85980.51(Cr)\n27-11-2025\nW97118124\nUPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a\n8500.0(Cr)\n94480.51(Cr)\n27-11-2025\nX4646545\nUPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a\n80.0(Dr)\n94400.51(Cr)\n27-11-2025\nX5139587\nUPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb\n120.0(Dr)\n94280.51(Cr)\n", + "currency": "INR", + "closing_balance": 94280.51, + "transactions": [ + { + "date": "20-11-2025", + "description": "UPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths", + "amount": 8000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 188.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1136.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1806.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 8500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "20-11-2025", + "period_end": "27-11-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "opening_balance", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 14, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n14\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-11-2025\nS49603845\nUPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths\n8000.0(Cr)\n72419.18(Cr)\n20-11-2025\nS61304480\nUPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax\n188.0(Dr)\n72231.18(Cr)\n21-11-2025\nT1018637\nUPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@\n3000.0(Cr)\n75231.18(Cr)\n21-11-2025\nT24153404\nUPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n74901.18(Cr)\n22-11-2025\nT53764781\nUPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y\n1000.0(Cr)\n75901.18(Cr)\n22-11-2025\nU3764548\nUPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb\n860.0(Dr)\n75041.18(Cr)\n22-11-2025\nU3777139\nUPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.\n1136.0(Dr)\n73905.18(Cr)\n22-11-2025\nU3968058\nUPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp\n1.0(Dr)\n73904.18(Cr)\n22-11-2025\nU4273570\nUPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp\n1.0(Cr)\n73905.18(Cr)\n23-11-2025\nU14168335\nUPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@\n130.0(Dr)\n73775.18(Cr)\n23-11-2025\nU15591412\nUPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0\n100.0(Dr)\n73675.18(Cr)\n23-11-2025\nU25348399\nUPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh\n300.0(Dr)\n73375.18(Cr)\n23-11-2025\nU47338466\nUPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n73125.18(Cr)\n23-11-2025\nU47573654\nUPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb\n70.0(Dr)\n73055.18(Cr)\n24-11-2025\nU93699721\nUPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73027.18(Cr)\n24-11-2025\nV21814361\nUPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i\n1806.7(Dr)\n71220.51(Cr)\n25-11-2025\nV34382897\nUPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax\n2000.0(Cr)\n73220.51(Cr)\n25-11-2025\nV39245163\nUPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73120.51(Cr)\n25-11-2025\nV85935478\nUPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n76120.51(Cr)\n25-11-2025\nV86973058\nUPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa\n3000.0(Cr)\n79120.51(Cr)\n26-11-2025\nW20634950\nUPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@\n40.0(Dr)\n79080.51(Cr)\n26-11-2025\nW29198060\nUPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n82080.51(Cr)\n26-11-2025\nW33613575\nUPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n85080.51(Cr)\n26-11-2025\nW36374090\nUPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n84980.51(Cr)\n27-11-2025\nW72340905\nUPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma\n1000.0(Cr)\n85980.51(Cr)\n27-11-2025\nW97118124\nUPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a\n8500.0(Cr)\n94480.51(Cr)\n27-11-2025\nX4646545\nUPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a\n80.0(Dr)\n94400.51(Cr)\n27-11-2025\nX5139587\nUPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb\n120.0(Dr)\n94280.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": null, + "closing_balance": 94280.51, + "transactions": [ + { + "date": "20-11-2025", + "description": "UPIAB/070602494840/CR/RAVI VAR/ICIC/ravi.penumaths", + "amount": 8000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-11-2025", + "description": "UPIAR/510828362519/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 188.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAB/721743543214/CR/JAMMU H/SBIN/jammuharibabu@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-11-2025", + "description": "UPIAR/351220064786/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/801529639014/CR/DHARMAVA/SBIN/vijaya.mca86@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/721199841772/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/885425777179/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 1136.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAR/532652222036/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-11-2025", + "description": "UPIAB/532752304007/CR/BAJAJLIF/YESB/bajajlife@yesp", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/022599580979/DR/Ommi App/YESB/paytmqr6kkjgo@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/086639185913/DR/KAMBALA /UNBA/BHARATPE.9J0C0", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/803195763080/DR/SRI BHAG/HDFC/sribhagyalaksh", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/579370767229/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-11-2025", + "description": "UPIAR/061733934584/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/934637568912/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-11-2025", + "description": "UPIAR/861751836422/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1806.7, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/730002643826/CR/CHANDRA /SBIN/ 7989134091@ax", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAR/445460977883/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/927357439039/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-11-2025", + "description": "UPIAB/596829115981/CR/SRINIVAS/SBIN/penkisrinivasa", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/441324387844/DR/AKULA TH/YESB/paytmqr6ok2ao@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/601374321352/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAB/552220594469/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-11-2025", + "description": "UPIAR/457187963834/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/799809120085/CR/Mrs KAND/MAHB/kandi9ravikuma", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAB/272387049050/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 8500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/312931834337/DR/BATTULA /KVBL/wlpos.2697616a", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-11-2025", + "description": "UPIAR/120466326647/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-11-2025", + "period_end": "27-11-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_15_extraction.json b/debug/20260518_165811/cp2_page_15_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8ea1c72efdedadce49b096d9edb8c0901f94e7bb --- /dev/null +++ b/debug/20260518_165811/cp2_page_15_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 15, + "elapsed_s": 31.01, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 15, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n15\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n27-11-2025\nX5697926\nUPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n354.0(Dr)\n93926.51(Cr)\n28-11-2025\nX41463436\nUPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes\n3000.0(Cr)\n96926.51(Cr)\n28-11-2025\nX68409986\nUPIAR/980140489614/DR/Bank Acc/BKID/86131011001673\n25000.0(Dr)\n71926.51(Cr)\n28-11-2025\nX68532094\nUPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n56926.51(Cr)\n28-11-2025\nX72343495\nUPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax\n300.0(Cr)\n57226.51(Cr)\n28-11-2025\nX84832880\nUPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb\n21792.0(Dr)\n35434.51(Cr)\n29-11-2025\nY4080816\nUPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n38934.51(Cr)\n29-11-2025\nY14306636\nUPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n41934.51(Cr)\n29-11-2025\nY15154342\nUPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb\n800.0(Dr)\n41134.51(Cr)\n29-11-2025\nY33106772\nUPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@\n100.0(Dr)\n41034.51(Cr)\n29-11-2025\nY37037921\nUPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb\n243.0(Dr)\n40791.51(Cr)\n30-11-2025\nY60980682\nUPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y\n7000.0(Cr)\n47791.51(Cr)\n30-11-2025\nY65318478\nUPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n42791.51(Cr)\n30-11-2025\nY79620266\nUPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb\n150.0(Dr)\n42641.51(Cr)\n30-11-2025\nY88178265\nUPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb\n63.0(Dr)\n42578.51(Cr)\n30-11-2025\nY89106588\nUPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT\n38.0(Dr)\n42540.51(Cr)\n30-11-2025\nY98841083\nUPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb\n120.0(Dr)\n42420.51(Cr)\n01-12-2025\nS42776213\nUPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb\n60.0(Dr)\n42360.51(Cr)\n01-12-2025\nS48299043\nUPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a\n3000.0(Cr)\n45360.51(Cr)\n01-12-2025\nS65278041\nUPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb\n40.0(Dr)\n45320.51(Cr)\n01-12-2025\nS73653191\nUPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib\n4000.0(Cr)\n49320.51(Cr)\n03-12-2025\nT62808069\nUPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax\n1000.0(Cr)\n50320.51(Cr)\n03-12-2025\nT63115748\nUPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb\n84.0(Dr)\n50236.51(Cr)\n03-12-2025\nU7203632\nUPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n54236.51(Cr)\n04-12-2025\nU39881530\nUPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib\n1000.0(Cr)\n55236.51(Cr)\n04-12-2025\nU48494598\nUPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i\n1000.0(Cr)\n56236.51(Cr)\n04-12-2025\nU55233490\nUPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb\n102.0(Dr)\n56134.51(Cr)\n04-12-2025\nU58480985\nUPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n804.0(Dr)\n55330.51(Cr)\n", + "currency": "INR", + "opening_balance": 94280.51, + "closing_balance": 55330.51, + "transactions": [ + { + "date": "27-11-2025", + "description": "UPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 354.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAR/980140489614/DR/Bank Acc/BKID/86131011001673", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 300.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 21792.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 243.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 63.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-12-2025", + "description": "UPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-12-2025", + "description": "UPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 84.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-12-2025", + "description": "UPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb", + "amount": 102.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "27-11-2025", + "period_end": "04-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 15, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n15\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n27-11-2025\nX5697926\nUPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222\n354.0(Dr)\n93926.51(Cr)\n28-11-2025\nX41463436\nUPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes\n3000.0(Cr)\n96926.51(Cr)\n28-11-2025\nX68409986\nUPIAR/980140489614/DR/Bank Acc/BKID/86131011001673\n25000.0(Dr)\n71926.51(Cr)\n28-11-2025\nX68532094\nUPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n56926.51(Cr)\n28-11-2025\nX72343495\nUPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax\n300.0(Cr)\n57226.51(Cr)\n28-11-2025\nX84832880\nUPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb\n21792.0(Dr)\n35434.51(Cr)\n29-11-2025\nY4080816\nUPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n38934.51(Cr)\n29-11-2025\nY14306636\nUPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y\n3000.0(Cr)\n41934.51(Cr)\n29-11-2025\nY15154342\nUPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb\n800.0(Dr)\n41134.51(Cr)\n29-11-2025\nY33106772\nUPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@\n100.0(Dr)\n41034.51(Cr)\n29-11-2025\nY37037921\nUPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb\n243.0(Dr)\n40791.51(Cr)\n30-11-2025\nY60980682\nUPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y\n7000.0(Cr)\n47791.51(Cr)\n30-11-2025\nY65318478\nUPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n42791.51(Cr)\n30-11-2025\nY79620266\nUPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb\n150.0(Dr)\n42641.51(Cr)\n30-11-2025\nY88178265\nUPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb\n63.0(Dr)\n42578.51(Cr)\n30-11-2025\nY89106588\nUPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT\n38.0(Dr)\n42540.51(Cr)\n30-11-2025\nY98841083\nUPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb\n120.0(Dr)\n42420.51(Cr)\n01-12-2025\nS42776213\nUPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb\n60.0(Dr)\n42360.51(Cr)\n01-12-2025\nS48299043\nUPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a\n3000.0(Cr)\n45360.51(Cr)\n01-12-2025\nS65278041\nUPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb\n40.0(Dr)\n45320.51(Cr)\n01-12-2025\nS73653191\nUPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib\n4000.0(Cr)\n49320.51(Cr)\n03-12-2025\nT62808069\nUPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax\n1000.0(Cr)\n50320.51(Cr)\n03-12-2025\nT63115748\nUPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb\n84.0(Dr)\n50236.51(Cr)\n03-12-2025\nU7203632\nUPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n54236.51(Cr)\n04-12-2025\nU39881530\nUPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib\n1000.0(Cr)\n55236.51(Cr)\n04-12-2025\nU48494598\nUPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i\n1000.0(Cr)\n56236.51(Cr)\n04-12-2025\nU55233490\nUPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb\n102.0(Dr)\n56134.51(Cr)\n04-12-2025\nU58480985\nUPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n804.0(Dr)\n55330.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 94280.51, + "closing_balance": 55330.51, + "transactions": [ + { + "date": "27-11-2025", + "description": "UPIAR/238581219561/DR/SRI RAJE/SBIP/SBIPMOPAD.0222", + "amount": 354.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAB/569803737145/CR/BODDU M/SBIN/6305919875@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAR/980140489614/DR/Bank Acc/BKID/86131011001673", + "amount": 25000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAR/521521869958/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAB/817653328538/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 300.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-11-2025", + "description": "UPIAR/062015923524/DR/ PhonePe/YESB/ BBPSBP@yb", + "amount": 21792.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAB/081596912267/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAB/324571209566/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAR/055549167877/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAR/293182010825/DR/MS ESWAR/YESB/paytmqr6n8bsa@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-11-2025", + "description": "UPIAR/652658781084/DR/SANTOSHE/YESB/ Q037262081@yb", + "amount": 243.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAB/099938405623/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/533404704066/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/269199350953/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/133961408001/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 63.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/800031985204/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-11-2025", + "description": "UPIAR/711048010167/DR/Mr OMMI /YESB/ Q245341726@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAR/301549518437/DR/BANDARU /IPOS/ 8500790671@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAB/381540262247/CR/REDDY J/CNRB/8886630111-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAR/436197439670/DR/PONDEMAD/YESB/ Q065295859@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-12-2025", + "description": "UPIAB/781081529225/CR/SAI SUDH/SBIN/ 8328593480@ib", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-12-2025", + "description": "UPIAB/733900569925/CR/KOLLI E/SBIN/ 8500188431@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-12-2025", + "description": "UPIAR/287330621970/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 84.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-12-2025", + "description": "UPIAB/046577450681/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAB/384268899260/CR/J VIJAYA/HDFC/ 9492639234@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAB/555879009789/CR/DANTULUR/SBIN/9959274274-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAR/448522126654/DR/GURUNADH/YESB/ Q173656508@yb", + "amount": 102.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-12-2025", + "description": "UPIAR/458406787690/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "27-11-2025", + "period_end": "04-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_16_extraction.json b/debug/20260518_165811/cp2_page_16_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..fd8887cc9e6012fec9ddf343e17cc45cae76b3f0 --- /dev/null +++ b/debug/20260518_165811/cp2_page_16_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 16, + "elapsed_s": 14.12, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 16, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n16\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-12-2025\nV6786277\nUPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb\n3000.0(Cr)\n58330.51(Cr)\n05-12-2025\nV35034677\nUPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb\n62.0(Dr)\n58268.51(Cr)\n05-12-2025\nV49361347\nUPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n61768.51(Cr)\n05-12-2025\nV49609871\nUPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280\n5000.0(Cr)\n66768.51(Cr)\n06-12-2025\nV86906971\nUPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n70268.51(Cr)\n07-12-2025\nW28634625\nUPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb\n210.0(Dr)\n70058.51(Cr)\n07-12-2025\nW30375532\nUPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb\n70.0(Dr)\n69988.51(Cr)\n07-12-2025\nW39995096\nUPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb\n60.0(Dr)\n69928.51(Cr)\n08-12-2025\nW98282693\nUPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb\n250.0(Dr)\n69678.51(Cr)\n08-12-2025\nX8502947\nUPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n68878.51(Cr)\n09-12-2025\nX66044206\nUPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n67878.51(Cr)\n09-12-2025\nX66028635\nUPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n66878.51(Cr)\n09-12-2025\nY717645\nUPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb\n45.0(Dr)\n66833.51(Cr)\n10-12-2025\nY71787773\nUPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb\n68.0(Dr)\n66765.51(Cr)\n10-12-2025\nY72120768\nUPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb\n25.0(Dr)\n66740.51(Cr)\n10-12-2025\nY94883273\nUPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n66490.51(Cr)\n11-12-2025\nS11696048\nUPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n71990.51(Cr)\n11-12-2025\nS19812761\nUPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n74990.51(Cr)\n11-12-2025\nS54420860\nUPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb\n1300.0(Dr)\n73690.51(Cr)\n12-12-2025\nS77003735\nUPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73590.51(Cr)\n12-12-2025\nS77179337\nUPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb\n83.0(Dr)\n73507.51(Cr)\n12-12-2025\nS96974832\nUPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73479.51(Cr)\n12-12-2025\nT17417290\nUPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456\n3000.0(Cr)\n76479.51(Cr)\n12-12-2025\nT19458568\nUPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@\n100.0(Dr)\n76379.51(Cr)\n13-12-2025\nT45320524\nUPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb\n70.0(Dr)\n76309.51(Cr)\n13-12-2025\nT76512045\nUPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n38.0(Dr)\n76271.51(Cr)\n13-12-2025\nT77789404\nUPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb\n28.0(Dr)\n76243.51(Cr)\n13-12-2025\nT91860556\nUPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb\n152.0(Dr)\n76091.51(Cr)\n", + "opening_balance": 55330.51, + "closing_balance": 76091.51, + "transactions": [ + { + "date": "05-12-2025", + "description": "UPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 62.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-12-2025", + "description": "UPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 83.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 152.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "05-12-2025", + "period_end": "13-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 16, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n16\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-12-2025\nV6786277\nUPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb\n3000.0(Cr)\n58330.51(Cr)\n05-12-2025\nV35034677\nUPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb\n62.0(Dr)\n58268.51(Cr)\n05-12-2025\nV49361347\nUPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n61768.51(Cr)\n05-12-2025\nV49609871\nUPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280\n5000.0(Cr)\n66768.51(Cr)\n06-12-2025\nV86906971\nUPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n70268.51(Cr)\n07-12-2025\nW28634625\nUPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb\n210.0(Dr)\n70058.51(Cr)\n07-12-2025\nW30375532\nUPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb\n70.0(Dr)\n69988.51(Cr)\n07-12-2025\nW39995096\nUPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb\n60.0(Dr)\n69928.51(Cr)\n08-12-2025\nW98282693\nUPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb\n250.0(Dr)\n69678.51(Cr)\n08-12-2025\nX8502947\nUPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n68878.51(Cr)\n09-12-2025\nX66044206\nUPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n67878.51(Cr)\n09-12-2025\nX66028635\nUPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n66878.51(Cr)\n09-12-2025\nY717645\nUPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb\n45.0(Dr)\n66833.51(Cr)\n10-12-2025\nY71787773\nUPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb\n68.0(Dr)\n66765.51(Cr)\n10-12-2025\nY72120768\nUPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb\n25.0(Dr)\n66740.51(Cr)\n10-12-2025\nY94883273\nUPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188\n250.0(Dr)\n66490.51(Cr)\n11-12-2025\nS11696048\nUPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n71990.51(Cr)\n11-12-2025\nS19812761\nUPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n74990.51(Cr)\n11-12-2025\nS54420860\nUPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb\n1300.0(Dr)\n73690.51(Cr)\n12-12-2025\nS77003735\nUPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n73590.51(Cr)\n12-12-2025\nS77179337\nUPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb\n83.0(Dr)\n73507.51(Cr)\n12-12-2025\nS96974832\nUPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb\n28.0(Dr)\n73479.51(Cr)\n12-12-2025\nT17417290\nUPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456\n3000.0(Cr)\n76479.51(Cr)\n12-12-2025\nT19458568\nUPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@\n100.0(Dr)\n76379.51(Cr)\n13-12-2025\nT45320524\nUPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb\n70.0(Dr)\n76309.51(Cr)\n13-12-2025\nT76512045\nUPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT\n38.0(Dr)\n76271.51(Cr)\n13-12-2025\nT77789404\nUPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb\n28.0(Dr)\n76243.51(Cr)\n13-12-2025\nT91860556\nUPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb\n152.0(Dr)\n76091.51(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 55330.51, + "closing_balance": 76091.51, + "transactions": [ + { + "date": "05-12-2025", + "description": "UPIAB/847409628167/CR/G KAMESW/CNRB/ 9959610002@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAR/169134556385/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 62.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/608369368963/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "05-12-2025", + "description": "UPIAB/140833383015/CR/BALA SHA/SBIN/alamuriravi280", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-12-2025", + "description": "UPIAB/095010611245/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/860259722044/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/215743230524/DR/SAISHARA/YESB/ Q487793383@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-12-2025", + "description": "UPIAR/182173779127/DR/ TOM 22/YESB/ Q692356509@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/201197583572/DR/S RASHEE/CNRB/ 7995137521@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-12-2025", + "description": "UPIAR/737030288773/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/534319058335/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/534348058943/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-12-2025", + "description": "UPIAR/336284035734/DR/Mrs Vall/YESB/ Q797258091@yb", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/957468935415/DR/PEDAMOTL/YESB/ Q663145422@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/848074599135/DR/GAVARA R/YESB/ Q673830926@yb", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-12-2025", + "description": "UPIAR/379733602844/DR/PAVAN PU/CNRB/11011085900188", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/258433303936/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAB/862307900595/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-12-2025", + "description": "UPIAR/751654678005/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/420606595230/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/734490612603/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 83.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/108128529008/DR/Mr SRINI/YESB/ Q258749858@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAB/954851116052/CR/KORADA S/BKID/appalanaidu456", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-12-2025", + "description": "UPIAR/206275765059/DR/BANKA SI/YESB/paytmqr6hnpr4@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/280382908120/DR/THALARI /CNRB/ 8121204427@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/769982808619/DR/Jio Rech/UTIB/JIOINAPPDIRECT", + "amount": 38.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/742479397107/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-12-2025", + "description": "UPIAR/106418491219/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 152.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "05-12-2025", + "period_end": "13-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_17_extraction.json b/debug/20260518_165811/cp2_page_17_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..1d172d22d0bdfcb38c31f5af037828748df5c09e --- /dev/null +++ b/debug/20260518_165811/cp2_page_17_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 17, + "elapsed_s": 25.36, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 17, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n17\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n14-12-2025\nU7615837\nUPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n76001.51(Cr)\n14-12-2025\nU9166940\nUPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax\n190.0(Dr)\n75811.51(Cr)\n14-12-2025\nU31816878\nUPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb\n110.0(Dr)\n75701.51(Cr)\n14-12-2025\nU43437986\nUPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188\n290.0(Dr)\n75411.51(Cr)\n14-12-2025\nU43723658\nUPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb\n280.0(Dr)\n75131.51(Cr)\n14-12-2025\nU54267149\nUPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb\n28.0(Dr)\n75103.51(Cr)\n14-12-2025\nU54362094\nUPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb\n33.0(Dr)\n75070.51(Cr)\n15-12-2025\nU76695718\nUPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a\n1000.0(Cr)\n76070.51(Cr)\n15-12-2025\nU82597942\nUPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib\n1000.0(Cr)\n77070.51(Cr)\n15-12-2025\nV3620111\nUPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067\n695.0(Dr)\n76375.51(Cr)\n16-12-2025\nV38593922\nUPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n76275.51(Cr)\n16-12-2025\nV46776662\nUPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n86275.51(Cr)\n16-12-2025\nV72631029\nUPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic\n2167.5(Dr)\n84107.98(Cr)\n16-12-2025\nV76490678\nUPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n84037.98(Cr)\n16-12-2025\nV76912966\nUPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax\n3000.0(Cr)\n87037.98(Cr)\n16-12-2025\nV78448627\nUPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y\n3000.0(Cr)\n90037.98(Cr)\n17-12-2025\nW5865757\nUPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n89787.98(Cr)\n17-12-2025\nW18481450\nUPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n93287.98(Cr)\n17-12-2025\nW20643142\nUPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a\n3500.0(Cr)\n96787.98(Cr)\n17-12-2025\nW28455004\nUPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun\n3500.0(Cr)\n100287.98(Cr)\n17-12-2025\nW31904460\nUPIAR/480040114334/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n90287.98(Cr)\n17-12-2025\nW32047425\nUPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n80287.98(Cr)\n17-12-2025\nW40972141\nUPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb\n230.0(Dr)\n80057.98(Cr)\n17-12-2025\nW41783840\nUPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb\n50.0(Dr)\n80007.98(Cr)\n17-12-2025\nW42199828\n6522029812982622/535118510548/253110100033102\n2000.0(Dr)\n78007.98(Cr)\n17-12-2025\nW45381649\nUPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n81007.98(Cr)\n18-12-2025\nW80049115\nUPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n85507.98(Cr)\n18-12-2025\nW97212548\nUPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@\n100.0(Dr)\n85407.98(Cr)\n", + "currency": "INR", + "opening_balance": 76091.51, + "closing_balance": 85407.98, + "transactions": [ + { + "date": "14-12-2025", + "description": "UPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 695.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 2167.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/480040114334/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "6522029812982622/535118510548/253110100033102", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "14-12-2025", + "period_end": "18-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 17, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n17\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n14-12-2025\nU7615837\nUPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n76001.51(Cr)\n14-12-2025\nU9166940\nUPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax\n190.0(Dr)\n75811.51(Cr)\n14-12-2025\nU31816878\nUPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb\n110.0(Dr)\n75701.51(Cr)\n14-12-2025\nU43437986\nUPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188\n290.0(Dr)\n75411.51(Cr)\n14-12-2025\nU43723658\nUPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb\n280.0(Dr)\n75131.51(Cr)\n14-12-2025\nU54267149\nUPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb\n28.0(Dr)\n75103.51(Cr)\n14-12-2025\nU54362094\nUPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb\n33.0(Dr)\n75070.51(Cr)\n15-12-2025\nU76695718\nUPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a\n1000.0(Cr)\n76070.51(Cr)\n15-12-2025\nU82597942\nUPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib\n1000.0(Cr)\n77070.51(Cr)\n15-12-2025\nV3620111\nUPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067\n695.0(Dr)\n76375.51(Cr)\n16-12-2025\nV38593922\nUPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n76275.51(Cr)\n16-12-2025\nV46776662\nUPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n86275.51(Cr)\n16-12-2025\nV72631029\nUPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic\n2167.5(Dr)\n84107.98(Cr)\n16-12-2025\nV76490678\nUPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n84037.98(Cr)\n16-12-2025\nV76912966\nUPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax\n3000.0(Cr)\n87037.98(Cr)\n16-12-2025\nV78448627\nUPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y\n3000.0(Cr)\n90037.98(Cr)\n17-12-2025\nW5865757\nUPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n89787.98(Cr)\n17-12-2025\nW18481450\nUPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n93287.98(Cr)\n17-12-2025\nW20643142\nUPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a\n3500.0(Cr)\n96787.98(Cr)\n17-12-2025\nW28455004\nUPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun\n3500.0(Cr)\n100287.98(Cr)\n17-12-2025\nW31904460\nUPIAR/480040114334/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n90287.98(Cr)\n17-12-2025\nW32047425\nUPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n80287.98(Cr)\n17-12-2025\nW40972141\nUPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb\n230.0(Dr)\n80057.98(Cr)\n17-12-2025\nW41783840\nUPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb\n50.0(Dr)\n80007.98(Cr)\n17-12-2025\nW42199828\n6522029812982622/535118510548/253110100033102\n2000.0(Dr)\n78007.98(Cr)\n17-12-2025\nW45381649\nUPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n81007.98(Cr)\n18-12-2025\nW80049115\nUPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n85507.98(Cr)\n18-12-2025\nW97212548\nUPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@\n100.0(Dr)\n85407.98(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 76091.51, + "closing_balance": 85407.98, + "transactions": [ + { + "date": "14-12-2025", + "description": "UPIAR/949175775655/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/687462419849/DR/PONDOORU/UBIN/ 9492520754@ax", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/584467366836/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/122459674067/DR/PAVAN PU/CNRB/11011085900188", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/600861573614/DR/Mrs KOPP/YESB/ Q600616089@yb", + "amount": 280.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/588851260039/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 28.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-12-2025", + "description": "UPIAR/646855480125/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/709874140101/CR/MEESALA /SBIN/8333000266-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAB/698942527063/CR/SREE LAX/UBIN/ sree.1kgp1@ib", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-12-2025", + "description": "UPIAR/239127374547/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 695.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/468424951586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/620947348530/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/512220692897/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 2167.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAR/555069215513/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/052222434511/CR/MAKANA D/HDFC/ 9676234566@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-12-2025", + "description": "UPIAB/026029026291/CR/CHERUKUR/HDFC/9791041910-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/185538549055/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/703589409854/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/910950064923/CR/CHINABAB/SBIN/7286932282-2@a", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/002829757839/CR/GUNDALA /SBIN/venkatadri.gun", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/480040114334/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/922276730734/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/509597616209/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAR/353106444937/DR/Mrs Bond/YESB/ Q960161284@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "6522029812982622/535118510548/253110100033102", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-12-2025", + "description": "UPIAB/187814655600/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/676860601262/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/725863378316/DR/Sri Bala/YESB/paytm.s12aswl@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "14-12-2025", + "period_end": "18-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_18_extraction.json b/debug/20260518_165811/cp2_page_18_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..2b79c661de76cff781efb152fae8e6c9c13834a1 --- /dev/null +++ b/debug/20260518_165811/cp2_page_18_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 18, + "elapsed_s": 23.65, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 18, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n18\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-12-2025\nX5722784\nUPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb\n378.0(Dr)\n85029.98(Cr)\n18-12-2025\nX5773647\nUPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb\n4000.0(Cr)\n89029.98(Cr)\n18-12-2025\nX7274876\nUPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a\n4000.0(Cr)\n93029.98(Cr)\n18-12-2025\nX24790768\nUPIAR/267906820245/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n78029.98(Cr)\n18-12-2025\nX24819555\nUPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n63029.98(Cr)\n19-12-2025\nX60108700\nUPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n62779.98(Cr)\n19-12-2025\nX64302701\nUPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb\n1000.0(Cr)\n63779.98(Cr)\n19-12-2025\nX74414081\nUPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb\n60.0(Dr)\n63719.98(Cr)\n19-12-2025\nX90131840\nUPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax\n3000.0(Cr)\n66719.98(Cr)\n20-12-2025\nY4900055\n6522029812982622/000000003156/253110100033102\n9000.0(Dr)\n57719.98(Cr)\n20-12-2025\nY17683295\nUPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n61219.98(Cr)\n20-12-2025\nY34699947\nUPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb\n500.0(Dr)\n60719.98(Cr)\n20-12-2025\nY34786082\nUPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb\n12000.0(Dr)\n48719.98(Cr)\n20-12-2025\nY53049707\nUPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y\n4000.0(Cr)\n52719.98(Cr)\n21-12-2025\nY72485024\nUPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y\n50.0(Dr)\n52669.98(Cr)\n21-12-2025\nY73667007\nUPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@\n870.0(Dr)\n51799.98(Cr)\n21-12-2025\nY73803345\nUPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n51559.98(Cr)\n21-12-2025\nY83047888\nUPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@\n500.0(Dr)\n51059.98(Cr)\n22-12-2025\nS33815006\nUPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n46059.98(Cr)\n22-12-2025\nS38466125\nUPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax\n3000.0(Cr)\n49059.98(Cr)\n23-12-2025\nT33772087\nUPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n48959.98(Cr)\n24-12-2025\nT64329984\nUPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb\n1000.0(Cr)\n49959.98(Cr)\n24-12-2025\nT64977419\nUPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n49709.98(Cr)\n24-12-2025\nT65374852\nUPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@\n90.0(Dr)\n49619.98(Cr)\n24-12-2025\nT84165250\nUPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb\n33.0(Dr)\n49586.98(Cr)\n24-12-2025\nT91377095\nUPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n53086.98(Cr)\n24-12-2025\nU8160799\nUPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n52586.98(Cr)\n24-12-2025\nU8583603\nUPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227\n50.0(Dr)\n52536.98(Cr)\n", + "currency": "INR", + "opening_balance": 85407.98, + "closing_balance": 52536.98, + "transactions": [ + { + "date": "18-12-2025", + "description": "UPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 378.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/267906820245/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "6522029812982622/000000003156/253110100033102", + "amount": 9000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 870.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-12-2025", + "description": "UPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227", + "amount": 50.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "18-12-2025", + "period_end": "24-12-2025" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 18, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n18\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n18-12-2025\nX5722784\nUPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb\n378.0(Dr)\n85029.98(Cr)\n18-12-2025\nX5773647\nUPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb\n4000.0(Cr)\n89029.98(Cr)\n18-12-2025\nX7274876\nUPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a\n4000.0(Cr)\n93029.98(Cr)\n18-12-2025\nX24790768\nUPIAR/267906820245/DR/Bank Acc/BKID/86131011001673\n15000.0(Dr)\n78029.98(Cr)\n18-12-2025\nX24819555\nUPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n63029.98(Cr)\n19-12-2025\nX60108700\nUPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n62779.98(Cr)\n19-12-2025\nX64302701\nUPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb\n1000.0(Cr)\n63779.98(Cr)\n19-12-2025\nX74414081\nUPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb\n60.0(Dr)\n63719.98(Cr)\n19-12-2025\nX90131840\nUPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax\n3000.0(Cr)\n66719.98(Cr)\n20-12-2025\nY4900055\n6522029812982622/000000003156/253110100033102\n9000.0(Dr)\n57719.98(Cr)\n20-12-2025\nY17683295\nUPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl\n3500.0(Cr)\n61219.98(Cr)\n20-12-2025\nY34699947\nUPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb\n500.0(Dr)\n60719.98(Cr)\n20-12-2025\nY34786082\nUPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb\n12000.0(Dr)\n48719.98(Cr)\n20-12-2025\nY53049707\nUPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y\n4000.0(Cr)\n52719.98(Cr)\n21-12-2025\nY72485024\nUPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y\n50.0(Dr)\n52669.98(Cr)\n21-12-2025\nY73667007\nUPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@\n870.0(Dr)\n51799.98(Cr)\n21-12-2025\nY73803345\nUPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@\n240.0(Dr)\n51559.98(Cr)\n21-12-2025\nY83047888\nUPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@\n500.0(Dr)\n51059.98(Cr)\n22-12-2025\nS33815006\nUPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n46059.98(Cr)\n22-12-2025\nS38466125\nUPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax\n3000.0(Cr)\n49059.98(Cr)\n23-12-2025\nT33772087\nUPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n48959.98(Cr)\n24-12-2025\nT64329984\nUPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb\n1000.0(Cr)\n49959.98(Cr)\n24-12-2025\nT64977419\nUPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@\n250.0(Dr)\n49709.98(Cr)\n24-12-2025\nT65374852\nUPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@\n90.0(Dr)\n49619.98(Cr)\n24-12-2025\nT84165250\nUPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb\n33.0(Dr)\n49586.98(Cr)\n24-12-2025\nT91377095\nUPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y\n3500.0(Cr)\n53086.98(Cr)\n24-12-2025\nU8160799\nUPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n52586.98(Cr)\n24-12-2025\nU8583603\nUPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227\n50.0(Dr)\n52536.98(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 85407.98, + "closing_balance": 52536.98, + "transactions": [ + { + "date": "18-12-2025", + "description": "UPIAR/680114081757/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 378.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/695865451327/CR/KALAGARL/SBIN/ 7416416519@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAB/237086671269/CR/KORADA R/UTIB/rajukorada05@a", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/267906820245/DR/Bank Acc/BKID/86131011001673", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-12-2025", + "description": "UPIAR/909270778936/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/130258648894/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/821474909296/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAR/978978614756/DR/Bavirise/SBIN/ 9390791551@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-12-2025", + "description": "UPIAB/516898677155/CR/SATISH A/HDFC/ 7525023968@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "6522029812982622/000000003156/253110100033102", + "amount": 9000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/457380869402/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/833842194279/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAR/660467914464/DR/PARVATHI/SBIN/ 9121966306@yb", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-12-2025", + "description": "UPIAB/005109141204/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/261815676363/DR/KOTA THU/UBIN/7670928402-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/691020258699/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 870.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/733076485223/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 240.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "21-12-2025", + "description": "UPIAR/070556758359/DR/BANGARI /YESB/paytm.s1ca5as@", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAR/535691250459/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-12-2025", + "description": "UPIAB/137605502172/CR/PATETI /SBIN/ 7306286456@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-12-2025", + "description": "UPIAR/344147707307/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/002126036686/CR/SANTOSH /SBIN/ 9441017151@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/339295248204/DR/Kambala /YESB/paytmqr6vte1z@", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/392222423348/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/326572523153/DR/PALLANTL/YESB/ Q393680537@yb", + "amount": 33.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAB/745560072344/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/402667930734/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-12-2025", + "description": "UPIAR/394921729775/DR/M S RUKM/ICIC/ibkPOS.EP18227", + "amount": 50.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "18-12-2025", + "period_end": "24-12-2025", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_19_extraction.json b/debug/20260518_165811/cp2_page_19_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..fb457d5b8d1be9e442c348eb93cf30a6ba71b7d7 --- /dev/null +++ b/debug/20260518_165811/cp2_page_19_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 19, + "elapsed_s": 19.04, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 19, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n19\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n24-12-2025\nU10110933\nUPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188\n402.0(Dr)\n52134.98(Cr)\n25-12-2025\nU33900758\nUPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax\n10000.0(Cr)\n62134.98(Cr)\n25-12-2025\nU52945799\n6522029812982622/000000000185/253110100033102\n20000.0(Dr)\n42134.98(Cr)\n25-12-2025\nU57658287\nUPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb\n1100.0(Dr)\n41034.98(Cr)\n25-12-2025\nU60482354\nUPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET\n2404.3(Dr)\n38630.66(Cr)\n26-12-2025\nU95921097\nUPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb\n1000.0(Cr)\n39630.66(Cr)\n26-12-2025\nV25057805\nUPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@\n200.0(Dr)\n39430.66(Cr)\n26-12-2025\nV26955326\nUPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb\n7000.0(Cr)\n46430.66(Cr)\n27-12-2025\nV82152260\nUPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@\n320.0(Dr)\n46110.66(Cr)\n27-12-2025\nW17646231\nSms Charges For Dec Qtr ,2025\n95.6(Dr)\n46015.08(Cr)\n28-12-2025\nW46177477\nUPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb\n3000.0(Cr)\n49015.08(Cr)\n28-12-2025\nW46837518\nUPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb\n200.0(Dr)\n48815.08(Cr)\n28-12-2025\nW49425861\nUPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n48725.08(Cr)\n28-12-2025\nW58072135\nUPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb\n500.0(Dr)\n48225.08(Cr)\n28-12-2025\nW68349859\nUPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264\n5095.0(Dr)\n43130.08(Cr)\n28-12-2025\nW71652084\nUPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626\n3300.0(Dr)\n39830.08(Cr)\n29-12-2025\nX45357832\n6522029812982622/000000008090/253110100033102\n10000.0(Dr)\n29830.08(Cr)\n29-12-2025\nX45420361\n6522029812982622/000000008091/253110100033102\n5000.0(Dr)\n24830.08(Cr)\n30-12-2025\nX70014946\nUPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb\n1500.0(Cr)\n26330.08(Cr)\n31-12-2025\nY34848247\nUPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n26080.08(Cr)\n31-12-2025\nY63281251\nUPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP\n2005.5(Dr)\n24074.54(Cr)\n01-01-2026\nS18269396\nUPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n27074.54(Cr)\n01-01-2026\nS24942956\nUPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220\n1000.0(Cr)\n28074.54(Cr)\n02-01-2026\nS62639590\n253110100033102:Int.Pd:01-10-2025 to 31-12-2025\n362.0(Cr)\n28436.54(Cr)\n02-01-2026\nS74049290\nUPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax\n10.0(Cr)\n28446.54(Cr)\n02-01-2026\nS74117018\nUPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Cr)\n33446.54(Cr)\n02-01-2026\nS79167891\nUPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Dr)\n28446.54(Cr)\n02-01-2026\nS81812614\nUPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb\n3500.0(Cr)\n31946.54(Cr)\n", + "opening_balance": 52134.98, + "closing_balance": 31946.54, + "transactions": [ + { + "date": "24-12-2025", + "description": "UPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188", + "amount": 402.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-12-2025", + "description": "UPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-12-2025", + "description": "6522029812982622/000000000185/253110100033102", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb", + "amount": 1100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-12-2025", + "description": "UPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET", + "amount": 2404.3, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-12-2025", + "description": "UPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-12-2025", + "description": "UPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-12-2025", + "description": "UPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "27-12-2025", + "description": "UPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@", + "amount": 320.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-12-2025", + "description": "Sms Charges For Dec Qtr ,2025", + "amount": 95.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264", + "amount": 5095.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626", + "amount": 3300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008090/253110100033102", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008091/253110100033102", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-12-2025", + "description": "UPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "31-12-2025", + "description": "UPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-12-2025", + "description": "UPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 2005.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-01-2026", + "description": "UPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-01-2026", + "description": "UPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "253110100033102:Int.Pd:01-10-2025 to 31-12-2025", + "amount": 362.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 10.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "24-12-2025", + "period_end": "02-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 19, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n19\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n24-12-2025\nU10110933\nUPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188\n402.0(Dr)\n52134.98(Cr)\n25-12-2025\nU33900758\nUPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax\n10000.0(Cr)\n62134.98(Cr)\n25-12-2025\nU52945799\n6522029812982622/000000000185/253110100033102\n20000.0(Dr)\n42134.98(Cr)\n25-12-2025\nU57658287\nUPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb\n1100.0(Dr)\n41034.98(Cr)\n25-12-2025\nU60482354\nUPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET\n2404.3(Dr)\n38630.66(Cr)\n26-12-2025\nU95921097\nUPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb\n1000.0(Cr)\n39630.66(Cr)\n26-12-2025\nV25057805\nUPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@\n200.0(Dr)\n39430.66(Cr)\n26-12-2025\nV26955326\nUPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb\n7000.0(Cr)\n46430.66(Cr)\n27-12-2025\nV82152260\nUPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@\n320.0(Dr)\n46110.66(Cr)\n27-12-2025\nW17646231\nSms Charges For Dec Qtr ,2025\n95.6(Dr)\n46015.08(Cr)\n28-12-2025\nW46177477\nUPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb\n3000.0(Cr)\n49015.08(Cr)\n28-12-2025\nW46837518\nUPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb\n200.0(Dr)\n48815.08(Cr)\n28-12-2025\nW49425861\nUPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n48725.08(Cr)\n28-12-2025\nW58072135\nUPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb\n500.0(Dr)\n48225.08(Cr)\n28-12-2025\nW68349859\nUPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264\n5095.0(Dr)\n43130.08(Cr)\n28-12-2025\nW71652084\nUPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626\n3300.0(Dr)\n39830.08(Cr)\n29-12-2025\nX45357832\n6522029812982622/000000008090/253110100033102\n10000.0(Dr)\n29830.08(Cr)\n29-12-2025\nX45420361\n6522029812982622/000000008091/253110100033102\n5000.0(Dr)\n24830.08(Cr)\n30-12-2025\nX70014946\nUPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb\n1500.0(Cr)\n26330.08(Cr)\n31-12-2025\nY34848247\nUPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n26080.08(Cr)\n31-12-2025\nY63281251\nUPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP\n2005.5(Dr)\n24074.54(Cr)\n01-01-2026\nS18269396\nUPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n27074.54(Cr)\n01-01-2026\nS24942956\nUPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220\n1000.0(Cr)\n28074.54(Cr)\n02-01-2026\nS62639590\n253110100033102:Int.Pd:01-10-2025 to 31-12-2025\n362.0(Cr)\n28436.54(Cr)\n02-01-2026\nS74049290\nUPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax\n10.0(Cr)\n28446.54(Cr)\n02-01-2026\nS74117018\nUPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Cr)\n33446.54(Cr)\n02-01-2026\nS79167891\nUPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb\n5000.0(Dr)\n28446.54(Cr)\n02-01-2026\nS81812614\nUPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb\n3500.0(Cr)\n31946.54(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 52134.98, + "closing_balance": 31946.54, + "transactions": [ + { + "date": "24-12-2025", + "description": "UPIAR/811390116794/DR/PAVAN PU/CNRB/11011085900188", + "amount": 402.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-12-2025", + "description": "UPIAB/306580414048/CR/VENKATA /SBIN/ 9849666083@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "25-12-2025", + "description": "6522029812982622/000000000185/253110100033102", + "amount": 20000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-12-2025", + "description": "UPIAR/612765371988/DR/REDDI A/YESB/ Q989592951@yb", + "amount": 1100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-12-2025", + "description": "UPIAR/007381753244/DR/Max Reta/UTIB/LANDMARKMAXRET", + "amount": 2404.3, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-12-2025", + "description": "UPIAB/763632551359/CR/SREE LAS/BARB/ 9441259231@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "26-12-2025", + "description": "UPIAR/052442984754/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "26-12-2025", + "description": "UPIAB/577266029437/CR/RAMA RAO/SBIN/ramugirada1@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "27-12-2025", + "description": "UPIAR/892970619899/DR/Bhavani /YESB/paytmqr6u48ag@", + "amount": 320.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "27-12-2025", + "description": "Sms Charges For Dec Qtr ,2025", + "amount": 95.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-12-2025", + "description": "UPIAB/042531213453/CR/PISINI S/HDFC/ 9966679555@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/237483244908/DR/MOHAMMED/YESB/ Q276430404@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/927540309096/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/136119667106/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/717463884828/DR/CMRVIZIA/PPIW/ombk.AAEM68264", + "amount": 5095.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "28-12-2025", + "description": "UPIAR/798822257121/DR/RAVIRAJ /UBIN/QR918985828626", + "amount": 3300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008090/253110100033102", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-12-2025", + "description": "6522029812982622/000000008091/253110100033102", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-12-2025", + "description": "UPIAB/293267762202/CR/GANGA SI/SBIN/ 8074595524@yb", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "31-12-2025", + "description": "UPIAR/143052805954/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-12-2025", + "description": "UPIAR/612631838392/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 2005.5, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-01-2026", + "description": "UPIAB/777015278789/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-01-2026", + "description": "UPIAB/518629329057/CR/KORADA /SBIN/srinivasit1220", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "253110100033102:Int.Pd:01-10-2025 to 31-12-2025", + "amount": 362.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "02-01-2026", + "description": "UPIAB/744127739063/CR/JAGARAPU/SBIN/ 9542310662@ax", + "amount": 10.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAB/132557247787/CR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAR/753149180463/DR/JAGARAPU/SBIN/ 9542310662@yb", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "UPIAB/667177762374/CR/CHENAPAT/SBIN/ 9490304473@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "24-12-2025", + "period_end": "02-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_20_extraction.json b/debug/20260518_165811/cp2_page_20_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..b62071a1021c07368afc0474f059d770c17a6f28 --- /dev/null +++ b/debug/20260518_165811/cp2_page_20_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 20, + "elapsed_s": 39.21, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 20, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n20\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-01-2026\nS98733801\nUPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars\n3000.0(Cr)\n34946.54(Cr)\n02-01-2026\nT18092911\nUPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax\n1000.0(Cr)\n35946.54(Cr)\n03-01-2026\nT42301027\nUPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n35696.54(Cr)\n03-01-2026\nT55207297\nUPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n38696.54(Cr)\n03-01-2026\nT62278210\nUPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n41696.54(Cr)\n04-01-2026\nU8307157\nUPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y\n70.0(Cr)\n41766.54(Cr)\n04-01-2026\nU45902288\nUPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n41466.54(Cr)\n04-01-2026\nU54108580\nUPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@\n370.0(Dr)\n41096.54(Cr)\n05-01-2026\nU96813610\nUPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb\n3500.0(Cr)\n44596.54(Cr)\n05-01-2026\nV5086199\nUPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a\n2000.0(Cr)\n46596.54(Cr)\n05-01-2026\nV9860429\nUPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344\n2143.0(Dr)\n44453.54(Cr)\n05-01-2026\nV12463023\nUPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb\n223.0(Dr)\n44230.54(Cr)\n05-01-2026\nV26260154\nUPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n43980.54(Cr)\n05-01-2026\nV28945194\nUPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n43180.54(Cr)\n06-01-2026\nV71254684\nUPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n42320.54(Cr)\n06-01-2026\nV86288156\nUPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb\n160.0(Dr)\n42160.54(Cr)\n07-01-2026\nW54587582\nUPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic\n1209.4(Dr)\n40951.1(Cr)\n07-01-2026\nW66370076\nMOB/MKT RECHARGE/432041257200\n802.0(Dr)\n40149.1(Cr)\n08-01-2026\nW81475296\nUPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb\n1000.0(Cr)\n41149.1(Cr)\n08-01-2026\nW93139137\nUPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32\n4000.0(Cr)\n45149.1(Cr)\n08-01-2026\nX4832416\nUPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol\n200.0(Dr)\n44949.1(Cr)\n09-01-2026\nX42802541\nUPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43949.1(Cr)\n09-01-2026\nX44843929\nUPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42949.1(Cr)\n09-01-2026\nX45133991\nUPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali\n3000.0(Cr)\n45949.1(Cr)\n09-01-2026\nX50554563\nUPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n45649.1(Cr)\n09-01-2026\nX51479938\nUPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi\n600.0(Dr)\n45049.1(Cr)\n09-01-2026\nX69774092\nUPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax\n8000.0(Cr)\n53049.1(Cr)\n09-01-2026\nY1062614\nUPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib\n500.0(Dr)\n52549.1(Cr)\n", + "currency": "INR", + "opening_balance": 31946.54, + "closing_balance": 52549.1, + "transactions": [ + { + "date": "02-01-2026", + "description": "S98733801 UPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "T18092911 UPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "T42301027 UPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "T55207297 UPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "T62278210 UPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "U8307157 UPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y", + "amount": 70.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "U45902288 UPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "U54108580 UPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@", + "amount": 370.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "U96813610 UPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V5086199 UPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V9860429 UPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2143.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V12463023 UPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 223.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V26260154 UPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V28945194 UPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "V71254684 UPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "V86288156 UPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "W54587582 UPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1209.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "W66370076 MOB/MKT RECHARGE/432041257200", + "amount": 802.0, + "transaction_type": "debit", + "label": "recharge" + }, + { + "date": "08-01-2026", + "description": "W81475296 UPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "W93139137 UPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "X4832416 UPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X42802541 UPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X44843929 UPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X45133991 UPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X50554563 UPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X51479938 UPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi", + "amount": 600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X69774092 UPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "Y1062614 UPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "02-01-2026", + "period_end": "09-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 20, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n20\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-01-2026\nS98733801\nUPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars\n3000.0(Cr)\n34946.54(Cr)\n02-01-2026\nT18092911\nUPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax\n1000.0(Cr)\n35946.54(Cr)\n03-01-2026\nT42301027\nUPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n35696.54(Cr)\n03-01-2026\nT55207297\nUPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a\n3000.0(Cr)\n38696.54(Cr)\n03-01-2026\nT62278210\nUPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n41696.54(Cr)\n04-01-2026\nU8307157\nUPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y\n70.0(Cr)\n41766.54(Cr)\n04-01-2026\nU45902288\nUPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188\n300.0(Dr)\n41466.54(Cr)\n04-01-2026\nU54108580\nUPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@\n370.0(Dr)\n41096.54(Cr)\n05-01-2026\nU96813610\nUPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb\n3500.0(Cr)\n44596.54(Cr)\n05-01-2026\nV5086199\nUPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a\n2000.0(Cr)\n46596.54(Cr)\n05-01-2026\nV9860429\nUPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344\n2143.0(Dr)\n44453.54(Cr)\n05-01-2026\nV12463023\nUPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb\n223.0(Dr)\n44230.54(Cr)\n05-01-2026\nV26260154\nUPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n43980.54(Cr)\n05-01-2026\nV28945194\nUPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n43180.54(Cr)\n06-01-2026\nV71254684\nUPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n42320.54(Cr)\n06-01-2026\nV86288156\nUPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb\n160.0(Dr)\n42160.54(Cr)\n07-01-2026\nW54587582\nUPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic\n1209.4(Dr)\n40951.1(Cr)\n07-01-2026\nW66370076\nMOB/MKT RECHARGE/432041257200\n802.0(Dr)\n40149.1(Cr)\n08-01-2026\nW81475296\nUPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb\n1000.0(Cr)\n41149.1(Cr)\n08-01-2026\nW93139137\nUPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32\n4000.0(Cr)\n45149.1(Cr)\n08-01-2026\nX4832416\nUPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol\n200.0(Dr)\n44949.1(Cr)\n09-01-2026\nX42802541\nUPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n43949.1(Cr)\n09-01-2026\nX44843929\nUPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n42949.1(Cr)\n09-01-2026\nX45133991\nUPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali\n3000.0(Cr)\n45949.1(Cr)\n09-01-2026\nX50554563\nUPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n45649.1(Cr)\n09-01-2026\nX51479938\nUPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi\n600.0(Dr)\n45049.1(Cr)\n09-01-2026\nX69774092\nUPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax\n8000.0(Cr)\n53049.1(Cr)\n09-01-2026\nY1062614\nUPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib\n500.0(Dr)\n52549.1(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 31946.54, + "closing_balance": 52549.1, + "transactions": [ + { + "date": "02-01-2026", + "description": "S98733801 UPIAB/469435225705/CR/MANDALA /HDFC/9908377899hars", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-01-2026", + "description": "T18092911 UPIAB/135397834424/CR/SATHUJOD/SBIN/ 9032326695@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "T42301027 UPIAR/228484278010/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "T55207297 UPIAB/200376875923/CR/YAMALA C/IOBA/7286932282-3@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-01-2026", + "description": "T62278210 UPIAB/914171127116/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "U8307157 UPIAB/230795376297/CR/KANURI /CNRB/6281299209-2@y", + "amount": 70.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "U45902288 UPIAR/245333389637/DR/PAVAN PU/CNRB/11011085900188", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-01-2026", + "description": "U54108580 UPIAR/275512537991/DR/GANESH S/YESB/paytmqr6x51e3@", + "amount": 370.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "U96813610 UPIAB/599688337209/CR/MATSA R/SBIN/ 9494014059@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V5086199 UPIAB/265674481552/CR/GORLI HA/JIOP/9133560317-4@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V9860429 UPIAR/157660422050/DR/SKL VIN /ICIC/pinelabs.26344", + "amount": 2143.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V12463023 UPIAR/434525557669/DR/SRI BHAG/KARB/ 7386384718@kb", + "amount": 223.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V26260154 UPIAR/789957104898/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-01-2026", + "description": "V28945194 UPIAR/290125947101/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "V71254684 UPIAR/883155343009/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-01-2026", + "description": "V86288156 UPIAR/277247485932/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 160.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "W54587582 UPIAR/722374742593/DR/AVENUE S/ICIC/pinedmartap@ic", + "amount": 1209.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-01-2026", + "description": "W66370076 MOB/MKT RECHARGE/432041257200", + "amount": 802.0, + "transaction_type": "debit", + "label": "recharge" + }, + { + "date": "08-01-2026", + "description": "W81475296 UPIAB/333168226722/CR/SWETHA K/PUNB/ 8978430613@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "W93139137 UPIAB/768602051763/CR/KARROTU /HDFC/srinukarrotu32", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-01-2026", + "description": "X4832416 UPIAR/516859667446/DR/RELIANCE/HDFC/reliancepetrol", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X42802541 UPIAR/600970125112/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X44843929 UPIAR/600924558817/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X45133991 UPIAB/540963710629/CR/KINTALI /BKID/ramaraokintali", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X50554563 UPIAR/316379303452/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X51479938 UPIAR/317711149420/DR/SRI AYYA/UBIN/ 75661001@ubi", + "amount": 600.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "X69774092 UPIAB/887696974152/CR/SAKA SA/SBIN/ 9885634040@ax", + "amount": 8000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-01-2026", + "description": "Y1062614 UPIAR/197264706956/DR/BEVARA P/BKID/ 8247867628@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "02-01-2026", + "period_end": "09-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_21_extraction.json b/debug/20260518_165811/cp2_page_21_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..f886ecee566d9e21f5f4dcabf95dbcd2a621a840 --- /dev/null +++ b/debug/20260518_165811/cp2_page_21_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 21, + "elapsed_s": 16.75, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 21, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n21\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-01-2026\nY90163413\nUPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n55549.1(Cr)\n12-01-2026\nS52176580\nUPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n56549.1(Cr)\n12-01-2026\nS82117527\nUPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb\n2700.0(Cr)\n59249.1(Cr)\n12-01-2026\nS95397159\nUPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb\n220.0(Dr)\n59029.1(Cr)\n12-01-2026\nS97139741\nUPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@\n730.0(Dr)\n58299.1(Cr)\n12-01-2026\nS98261430\nUPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254\n650.0(Dr)\n57649.1(Cr)\n13-01-2026\nT26655058\nUPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n57549.1(Cr)\n13-01-2026\nT27880143\nUPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb\n1000.0(Cr)\n58549.1(Cr)\n13-01-2026\nT33868423\nUPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n61549.1(Cr)\n13-01-2026\nT37220340\nUPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y\n3000.0(Cr)\n64549.1(Cr)\n13-01-2026\nT42933366\nUPIAR/693649126182/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n54549.1(Cr)\n13-01-2026\nT50530207\nUPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb\n3500.0(Cr)\n58049.1(Cr)\n13-01-2026\nT50891326\nUPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n57799.1(Cr)\n13-01-2026\nT63267931\nUPIAR/771361599267/DR/K S N /UTIB/gpay-121905896\n226.0(Dr)\n57573.1(Cr)\n13-01-2026\nT71926669\nUPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i\n1675.0(Dr)\n55898.1(Cr)\n14-01-2026\nU16882492\nUPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax\n7000.0(Cr)\n62898.1(Cr)\n14-01-2026\nU31183925\nUPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb\n320.0(Dr)\n62578.1(Cr)\n14-01-2026\nU38693097\nUPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs\n1600.0(Dr)\n60978.1(Cr)\n17-01-2026\nV82640814\nUPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb\n5000.0(Cr)\n65978.1(Cr)\n17-01-2026\nW24141895\nUPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.\n269.0(Dr)\n65709.1(Cr)\n18-01-2026\nW43488350\nUPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y\n50.0(Dr)\n65659.1(Cr)\n18-01-2026\nW56499052\nUPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb\n185.0(Dr)\n65474.1(Cr)\n18-01-2026\nW76911639\nUPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb\n140.0(Dr)\n65334.1(Cr)\n18-01-2026\nW77509387\nUPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n65084.1(Cr)\n19-01-2026\nW97084128\nUPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n69584.1(Cr)\n19-01-2026\nX50187887\nUPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n69514.1(Cr)\n20-01-2026\nX68837973\nUPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n69364.1(Cr)\n20-01-2026\nX70352122\nUPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb\n3500.0(Cr)\n72864.1(Cr)\n", + "opening_balance": 52549.1, + "closing_balance": 72864.1, + "transactions": [ + { + "date": "11-01-2026", + "description": "UPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb", + "amount": 2700.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@", + "amount": 730.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254", + "amount": 650.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/693649126182/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/771361599267/DR/K S N /UTIB/gpay-121905896", + "amount": 226.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1675.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-01-2026", + "description": "UPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-01-2026", + "description": "UPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-01-2026", + "description": "UPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs", + "amount": 1600.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-01-2026", + "description": "UPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-01-2026", + "description": "UPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 269.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 185.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-01-2026", + "description": "UPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-01-2026", + "description": "UPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-01-2026", + "description": "UPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-01-2026", + "description": "UPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "11-01-2026", + "period_end": "20-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 21, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n21\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n11-01-2026\nY90163413\nUPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y\n3000.0(Cr)\n55549.1(Cr)\n12-01-2026\nS52176580\nUPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n1000.0(Cr)\n56549.1(Cr)\n12-01-2026\nS82117527\nUPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb\n2700.0(Cr)\n59249.1(Cr)\n12-01-2026\nS95397159\nUPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb\n220.0(Dr)\n59029.1(Cr)\n12-01-2026\nS97139741\nUPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@\n730.0(Dr)\n58299.1(Cr)\n12-01-2026\nS98261430\nUPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254\n650.0(Dr)\n57649.1(Cr)\n13-01-2026\nT26655058\nUPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n57549.1(Cr)\n13-01-2026\nT27880143\nUPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb\n1000.0(Cr)\n58549.1(Cr)\n13-01-2026\nT33868423\nUPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n61549.1(Cr)\n13-01-2026\nT37220340\nUPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y\n3000.0(Cr)\n64549.1(Cr)\n13-01-2026\nT42933366\nUPIAR/693649126182/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n54549.1(Cr)\n13-01-2026\nT50530207\nUPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb\n3500.0(Cr)\n58049.1(Cr)\n13-01-2026\nT50891326\nUPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n57799.1(Cr)\n13-01-2026\nT63267931\nUPIAR/771361599267/DR/K S N /UTIB/gpay-121905896\n226.0(Dr)\n57573.1(Cr)\n13-01-2026\nT71926669\nUPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i\n1675.0(Dr)\n55898.1(Cr)\n14-01-2026\nU16882492\nUPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax\n7000.0(Cr)\n62898.1(Cr)\n14-01-2026\nU31183925\nUPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb\n320.0(Dr)\n62578.1(Cr)\n14-01-2026\nU38693097\nUPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs\n1600.0(Dr)\n60978.1(Cr)\n17-01-2026\nV82640814\nUPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb\n5000.0(Cr)\n65978.1(Cr)\n17-01-2026\nW24141895\nUPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.\n269.0(Dr)\n65709.1(Cr)\n18-01-2026\nW43488350\nUPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y\n50.0(Dr)\n65659.1(Cr)\n18-01-2026\nW56499052\nUPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb\n185.0(Dr)\n65474.1(Cr)\n18-01-2026\nW76911639\nUPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb\n140.0(Dr)\n65334.1(Cr)\n18-01-2026\nW77509387\nUPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n65084.1(Cr)\n19-01-2026\nW97084128\nUPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n69584.1(Cr)\n19-01-2026\nX50187887\nUPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n69514.1(Cr)\n20-01-2026\nX68837973\nUPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n69364.1(Cr)\n20-01-2026\nX70352122\nUPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb\n3500.0(Cr)\n72864.1(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 52549.1, + "closing_balance": 72864.1, + "transactions": [ + { + "date": "11-01-2026", + "description": "UPIAB/410491391076/CR/Mr NANDE/CBIN/8309078589-4@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAB/989118440037/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAB/612272650135/CR/GOVINDA /SBIN/ 9441066720@yb", + "amount": 2700.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAR/167330660748/DR/GOPI KRI/YESB/ Q415492967@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAR/271235822839/DR/Gunda Mo/YESB/paytm.s18w91q@", + "amount": 730.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-01-2026", + "description": "UPIAR/362505806319/DR/SRI VIJA/YESB/BHARATPE907254", + "amount": 650.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/802514716999/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/537699851943/CR/Srungara/SBIN/ 7032985386@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/537347542975/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/042022499543/CR/YERIBOTH/SBIN/7337257173-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/693649126182/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAB/661090817163/CR/PROJECT /UBIN/ bvvsdora@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/684406073128/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/771361599267/DR/K S N /UTIB/gpay-121905896", + "amount": 226.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-01-2026", + "description": "UPIAR/009109924740/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 1675.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-01-2026", + "description": "UPIAB/031518979894/CR/SRI SAI /KVBL/ 9346072459@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-01-2026", + "description": "UPIAR/467159869941/DR/PONDEMAD/YESB/ Q301829454@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-01-2026", + "description": "UPIAR/306003496481/DR/PILLI PA/YESB/paytmqrbtzjjvs", + "amount": 1600.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-01-2026", + "description": "UPIAB/789897000685/CR/RAMANA /SBIN/ 9502322789@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-01-2026", + "description": "UPIAR/286207872463/DR/ APEPDCL/AIRP/apepdcl826124.", + "amount": 269.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/810129685352/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/532362321731/DR/Mr VADA/YESB/ Q259504695@yb", + "amount": 185.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/617653240312/DR/Mr UTTAM/YESB/ Q785452054@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-01-2026", + "description": "UPIAR/200564979580/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-01-2026", + "description": "UPIAB/278822002195/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-01-2026", + "description": "UPIAR/622633659612/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-01-2026", + "description": "UPIAR/269128583297/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-01-2026", + "description": "UPIAB/115735094920/CR/MAHANTHI/CNRB/ 7095952969@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "11-01-2026", + "period_end": "20-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_22_extraction.json b/debug/20260518_165811/cp2_page_22_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..42c79692fbb735394b329b88b2247ea3a1269208 --- /dev/null +++ b/debug/20260518_165811/cp2_page_22_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 22, + "elapsed_s": 19.97, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 22, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n22\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-01-2026\nX82063512\nUPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb\n500.0(Dr)\n72364.1(Cr)\n20-01-2026\nX82190906\nUPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb\n26500.0(Dr)\n45864.1(Cr)\n20-01-2026\nX82351208\nUPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb\n27000.0(Cr)\n72864.1(Cr)\n20-01-2026\nX84196521\nUPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb\n27000.0(Dr)\n45864.1(Cr)\n20-01-2026\nY7484218\nUPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb\n60.0(Dr)\n45804.1(Cr)\n20-01-2026\nY9283344\nUPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb\n999.0(Dr)\n44805.1(Cr)\n21-01-2026\nY36977058\nUPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax\n3000.0(Cr)\n47805.1(Cr)\n21-01-2026\nY39872282\nUPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y\n2500.0(Cr)\n50305.1(Cr)\n21-01-2026\nY46619876\nUPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@\n400.0(Dr)\n49905.1(Cr)\n21-01-2026\nY76746530\nUPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@\n100.0(Dr)\n49805.1(Cr)\n22-01-2026\nS11195323\nUPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n44805.1(Cr)\n22-01-2026\nS23806381\nUPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a\n3000.0(Cr)\n47805.1(Cr)\n22-01-2026\nS26197643\nUPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y\n4000.0(Cr)\n51805.1(Cr)\n22-01-2026\nS30454700\nUPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic\n2500.0(Cr)\n54305.1(Cr)\n22-01-2026\nS43676592\nUPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax\n2500.0(Cr)\n56805.1(Cr)\n23-01-2026\nS68577190\nUPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n56720.1(Cr)\n23-01-2026\nS77543043\nUPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax\n1000.0(Cr)\n57720.1(Cr)\n23-01-2026\nS90618508\nUPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n67720.1(Cr)\n23-01-2026\nT2722484\nUPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-\n560.1(Dr)\n67159.97(Cr)\n23-01-2026\nT2782070\nUPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-\n180.0(Dr)\n66979.97(Cr)\n23-01-2026\nT7243002\nUPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@\n550.0(Dr)\n66429.97(Cr)\n23-01-2026\nT8674030\nUPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib\n70.0(Dr)\n66359.97(Cr)\n23-01-2026\nT9990231\nUPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@\n40.0(Dr)\n66319.97(Cr)\n24-01-2026\nT32571579\nUPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan\n3000.0(Cr)\n69319.97(Cr)\n24-01-2026\nT33195087\nUPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n69069.97(Cr)\n24-01-2026\nT33966692\nUPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax\n10000.0(Cr)\n79069.97(Cr)\n24-01-2026\nT51841623\nUPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar\n1275.4(Dr)\n77794.58(Cr)\n25-01-2026\nT94143376\nUPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n77464.58(Cr)\n", + "currency": "INR", + "opening_balance": 72364.1, + "closing_balance": 77464.58, + "transactions": [ + { + "date": "20-01-2026", + "description": "X82063512 UPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "X82190906 UPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb", + "amount": 26500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "X82351208 UPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "X84196521 UPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "Y7484218 UPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "Y9283344 UPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb", + "amount": 999.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y36977058 UPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y39872282 UPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y46619876 UPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 400.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y76746530 UPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S11195323 UPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S23806381 UPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S26197643 UPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S30454700 UPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S43676592 UPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "S68577190 UPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "S77543043 UPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "S90618508 UPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T2722484 UPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-", + "amount": 560.1, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T2782070 UPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T7243002 UPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 550.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T8674030 UPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T9990231 UPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T32571579 UPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T33195087 UPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T33966692 UPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T51841623 UPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1275.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-01-2026", + "description": "T94143376 UPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "20-01-2026", + "period_end": "25-01-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 22, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n22\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n20-01-2026\nX82063512\nUPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb\n500.0(Dr)\n72364.1(Cr)\n20-01-2026\nX82190906\nUPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb\n26500.0(Dr)\n45864.1(Cr)\n20-01-2026\nX82351208\nUPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb\n27000.0(Cr)\n72864.1(Cr)\n20-01-2026\nX84196521\nUPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb\n27000.0(Dr)\n45864.1(Cr)\n20-01-2026\nY7484218\nUPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb\n60.0(Dr)\n45804.1(Cr)\n20-01-2026\nY9283344\nUPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb\n999.0(Dr)\n44805.1(Cr)\n21-01-2026\nY36977058\nUPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax\n3000.0(Cr)\n47805.1(Cr)\n21-01-2026\nY39872282\nUPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y\n2500.0(Cr)\n50305.1(Cr)\n21-01-2026\nY46619876\nUPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@\n400.0(Dr)\n49905.1(Cr)\n21-01-2026\nY76746530\nUPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@\n100.0(Dr)\n49805.1(Cr)\n22-01-2026\nS11195323\nUPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n44805.1(Cr)\n22-01-2026\nS23806381\nUPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a\n3000.0(Cr)\n47805.1(Cr)\n22-01-2026\nS26197643\nUPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y\n4000.0(Cr)\n51805.1(Cr)\n22-01-2026\nS30454700\nUPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic\n2500.0(Cr)\n54305.1(Cr)\n22-01-2026\nS43676592\nUPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax\n2500.0(Cr)\n56805.1(Cr)\n23-01-2026\nS68577190\nUPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n56720.1(Cr)\n23-01-2026\nS77543043\nUPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax\n1000.0(Cr)\n57720.1(Cr)\n23-01-2026\nS90618508\nUPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot\n10000.0(Cr)\n67720.1(Cr)\n23-01-2026\nT2722484\nUPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-\n560.1(Dr)\n67159.97(Cr)\n23-01-2026\nT2782070\nUPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-\n180.0(Dr)\n66979.97(Cr)\n23-01-2026\nT7243002\nUPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@\n550.0(Dr)\n66429.97(Cr)\n23-01-2026\nT8674030\nUPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib\n70.0(Dr)\n66359.97(Cr)\n23-01-2026\nT9990231\nUPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@\n40.0(Dr)\n66319.97(Cr)\n24-01-2026\nT32571579\nUPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan\n3000.0(Cr)\n69319.97(Cr)\n24-01-2026\nT33195087\nUPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e\n250.0(Dr)\n69069.97(Cr)\n24-01-2026\nT33966692\nUPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax\n10000.0(Cr)\n79069.97(Cr)\n24-01-2026\nT51841623\nUPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar\n1275.4(Dr)\n77794.58(Cr)\n25-01-2026\nT94143376\nUPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb\n330.0(Dr)\n77464.58(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 72364.1, + "closing_balance": 77464.58, + "transactions": [ + { + "date": "20-01-2026", + "description": "X82063512 UPIAR/142342378402/DR/THATI /KKBK/ 9705584896@yb", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "X82190906 UPIAR/734522245893/DR/THATI /KKBK/ 9705584896@yb", + "amount": 26500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "X82351208 UPIAB/866080756458/CR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "X84196521 UPIAR/067501688314/DR/THATI /KKBK/ 9705584896@yb", + "amount": 27000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "Y7484218 UPIAR/468205882400/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "20-01-2026", + "description": "Y9283344 UPIAR/895940993948/DR/LIFE LIN/YESB/ Q280249170@yb", + "amount": 999.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y36977058 UPIAB/497815069009/CR/KARRI PR/HDFC/ 8712282067@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y39872282 UPIAB/096081398110/CR/BADAM JA/FDRL/9866618488-3@y", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y46619876 UPIAR/479108861516/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 400.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-01-2026", + "description": "Y76746530 UPIAR/246767708702/DR/Pydipath/YESB/paytm.s1xt0fd@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S11195323 UPIAR/602218706062/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S23806381 UPIAB/918294335139/CR/KALAKURI/UBIN/9885881282-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S26197643 UPIAB/268464399030/CR/GOTTAPU /SBIN/9490731074-2@y", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S30454700 UPIAB/602274563097/CR/SAI KISH/ICIC/skbadam80@okic", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "22-01-2026", + "description": "S43676592 UPIAB/865738849662/CR/BADAM JA/INDB/badamjkumar@ax", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "S68577190 UPIAR/026486529212/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "S77543043 UPIAB/030756911018/CR/GANDHAVA/IOBA/ 9618540341@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "S90618508 UPIAB/317938074695/CR/K G R CO/CNRB/govindarao.kot", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T2722484 UPIAR/005780932003/DR/Smart Vi/JIOP/2535861276989-", + "amount": 560.1, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T2782070 UPIAR/651576341912/DR/Smart Vi/JIOP/2535861276989-", + "amount": 180.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T7243002 UPIAR/086898270413/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 550.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T8674030 UPIAR/101082709143/DR/JAGAN MO/SBIN/ 9951501214@ib", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "23-01-2026", + "description": "T9990231 UPIAR/525716274332/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T32571579 UPIAB/602443711921/CR/LAVANYA /SBIN/kadiyala.lavan", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T33195087 UPIAR/226893392345/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T33966692 UPIAB/100811760898/CR/MSV BUIL/SBIN/ 9666467474@ax", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-01-2026", + "description": "T51841623 UPIAR/804403296228/DR/AVENUE S/HDFC/avenuesupermar", + "amount": 1275.4, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "25-01-2026", + "description": "T94143376 UPIAR/075573174014/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 330.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "20-01-2026", + "period_end": "25-01-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_23_extraction.json b/debug/20260518_165811/cp2_page_23_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..51c49fd39fc1bc07944263caf2e1bbe760ad776e --- /dev/null +++ b/debug/20260518_165811/cp2_page_23_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 23, + "elapsed_s": 30.1, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 23, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n23\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n25-01-2026\nU22025949\nUPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n67464.58(Cr)\n25-01-2026\nU35571628\nUPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb\n29.0(Dr)\n67435.58(Cr)\n26-01-2026\nU69280931\nUPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb\n34.0(Dr)\n67401.63(Cr)\n27-01-2026\nV7718840\nUPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n67261.63(Cr)\n27-01-2026\nV8302760\nUPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n67111.63(Cr)\n27-01-2026\nV11842807\nUPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n70111.63(Cr)\n28-01-2026\nW6895069\nUPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-\n314.0(Dr)\n69797.63(Cr)\n28-01-2026\nW8002916\nUPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n69697.63(Cr)\n28-01-2026\nW17318647\nUPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a\n2000.0(Cr)\n71697.63(Cr)\n29-01-2026\nW74120876\nUPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@\n471.0(Dr)\n71226.63(Cr)\n29-01-2026\nW75688022\nUPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb\n4000.0(Cr)\n75226.63(Cr)\n29-01-2026\nW76716923\nUPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP\n504.5(Dr)\n74722.1(Cr)\n30-01-2026\nX10327759\nUPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb\n883.0(Dr)\n73839.1(Cr)\n30-01-2026\nX16184511\nUPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb\n175.0(Dr)\n73664.1(Cr)\n30-01-2026\nX26859418\nUPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan\n883.0(Cr)\n74547.1(Cr)\n30-01-2026\nX28550957\nUPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e\n220.0(Dr)\n74327.1(Cr)\n30-01-2026\nX37712838\nUPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199\n1000.0(Cr)\n75327.1(Cr)\n30-01-2026\nX38871107\nUPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a\n3000.0(Cr)\n78327.1(Cr)\n31-01-2026\nX61556548\nUPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax\n16500.0(Cr)\n94827.1(Cr)\n31-01-2026\nX62666166\nUPIAR/819115052888/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n84827.1(Cr)\n31-01-2026\nX70131998\nUPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n74827.1(Cr)\n31-01-2026\nX88270306\nUPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n64827.1(Cr)\n31-01-2026\nX98488238\nUPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n6500.0(Cr)\n71327.1(Cr)\n31-01-2026\nX99004056\nUPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb\n2800.0(Cr)\n74127.1(Cr)\n31-01-2026\nX99783642\nUPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb\n310.0(Dr)\n73817.1(Cr)\n31-01-2026\nY9672269\nUPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb\n881.0(Dr)\n72936.1(Cr)\n31-01-2026\nY19346607\nUPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n85.4(Dr)\n72850.72(Cr)\n01-02-2026\nY35962925\nUPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n69850.72(Cr)\n", + "currency": "INR", + "opening_balance": 77464.58, + "closing_balance": 69850.72, + "transactions": [ + { + "date": "25-01-2026", + "description": "UPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-01-2026", + "description": "UPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 29.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-01-2026", + "description": "UPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb", + "amount": 34.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-", + "amount": 314.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 471.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 504.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb", + "amount": 883.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb", + "amount": 175.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan", + "amount": 883.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 16500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/819115052888/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb", + "amount": 2800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb", + "amount": 881.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 85.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "25-01-2026", + "period_end": "01-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 23, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n23\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n25-01-2026\nU22025949\nUPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n67464.58(Cr)\n25-01-2026\nU35571628\nUPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb\n29.0(Dr)\n67435.58(Cr)\n26-01-2026\nU69280931\nUPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb\n34.0(Dr)\n67401.63(Cr)\n27-01-2026\nV7718840\nUPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n67261.63(Cr)\n27-01-2026\nV8302760\nUPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e\n150.0(Dr)\n67111.63(Cr)\n27-01-2026\nV11842807\nUPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n70111.63(Cr)\n28-01-2026\nW6895069\nUPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-\n314.0(Dr)\n69797.63(Cr)\n28-01-2026\nW8002916\nUPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n69697.63(Cr)\n28-01-2026\nW17318647\nUPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a\n2000.0(Cr)\n71697.63(Cr)\n29-01-2026\nW74120876\nUPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@\n471.0(Dr)\n71226.63(Cr)\n29-01-2026\nW75688022\nUPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb\n4000.0(Cr)\n75226.63(Cr)\n29-01-2026\nW76716923\nUPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP\n504.5(Dr)\n74722.1(Cr)\n30-01-2026\nX10327759\nUPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb\n883.0(Dr)\n73839.1(Cr)\n30-01-2026\nX16184511\nUPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb\n175.0(Dr)\n73664.1(Cr)\n30-01-2026\nX26859418\nUPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan\n883.0(Cr)\n74547.1(Cr)\n30-01-2026\nX28550957\nUPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e\n220.0(Dr)\n74327.1(Cr)\n30-01-2026\nX37712838\nUPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199\n1000.0(Cr)\n75327.1(Cr)\n30-01-2026\nX38871107\nUPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a\n3000.0(Cr)\n78327.1(Cr)\n31-01-2026\nX61556548\nUPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax\n16500.0(Cr)\n94827.1(Cr)\n31-01-2026\nX62666166\nUPIAR/819115052888/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n84827.1(Cr)\n31-01-2026\nX70131998\nUPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n74827.1(Cr)\n31-01-2026\nX88270306\nUPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts\n10000.0(Dr)\n64827.1(Cr)\n31-01-2026\nX98488238\nUPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n6500.0(Cr)\n71327.1(Cr)\n31-01-2026\nX99004056\nUPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb\n2800.0(Cr)\n74127.1(Cr)\n31-01-2026\nX99783642\nUPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb\n310.0(Dr)\n73817.1(Cr)\n31-01-2026\nY9672269\nUPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb\n881.0(Dr)\n72936.1(Cr)\n31-01-2026\nY19346607\nUPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n85.4(Dr)\n72850.72(Cr)\n01-02-2026\nY35962925\nUPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts\n3000.0(Dr)\n69850.72(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 77464.58, + "closing_balance": 69850.72, + "transactions": [ + { + "date": "25-01-2026", + "description": "UPIAR/338761829435/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-01-2026", + "description": "UPIAR/605618213783/DR/KANDUKUR/YESB/ Q979616735@yb", + "amount": 29.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-01-2026", + "description": "UPIAR/421923216168/DR/Indian R/SBIN/bdpg2.iruts@sb", + "amount": 34.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/611590521252/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAR/826483257376/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-01-2026", + "description": "UPIAB/666938840146/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/298843560874/DR/Smart Vi/JIOP/2535861276989-", + "amount": 314.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAR/339892843256/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-01-2026", + "description": "UPIAB/120835164299/CR/Meesala /SBIN/9177065947-2@a", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/159301245319/DR/DADI MOT/SBIN/gjpdadimotors@", + "amount": 471.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAB/766755649381/CR/CHADALAV/SBIN/ 7095481019@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "29-01-2026", + "description": "UPIAR/100490990917/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 504.5, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/065608645926/DR/ICICI LO/YESB/ICICILMBARD@yb", + "amount": 883.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/353660570050/DR/Mr VADAP/YESB/ Q738117967@yb", + "amount": 175.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/603098128348/CR/ PhonePe/YESB/phonepemerchan", + "amount": 883.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAR/380496728636/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/857252881485/CR/SRINIVAS/ICIC/srinivasfeb199", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "30-01-2026", + "description": "UPIAB/770619476615/CR/MADHURI /SBIN/9492317338-6@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/724100091022/CR/SHYAM K/SBIN/shyam.rock2@ax", + "amount": 16500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/819115052888/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/376409816687/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/405068414082/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/605647864836/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 6500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAB/626453457734/CR/PANDIRIP/SBIN/ 9581299519@yb", + "amount": 2800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/287500714645/DR/SRINIVAS/YESB/ Q319687984@yb", + "amount": 310.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/424255042749/DR/Bajaj Al/YESB/ BAGICGI@yb", + "amount": 881.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "31-01-2026", + "description": "UPIAR/341752588029/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 85.4, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-02-2026", + "description": "UPIAR/310979260001/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "25-01-2026", + "period_end": "01-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_24_extraction.json b/debug/20260518_165811/cp2_page_24_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..b270c22a425623a66ce9d5b60b0a8fdd87db3b17 --- /dev/null +++ b/debug/20260518_165811/cp2_page_24_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 24, + "elapsed_s": 23.95, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 24, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n24\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-02-2026\nY40248578\nUPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n69765.72(Cr)\n01-02-2026\nY47995292\nUPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a\n1000.0(Cr)\n70765.72(Cr)\n01-02-2026\nY72228828\nUPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP\n1499.0(Dr)\n69266.72(Cr)\n01-02-2026\nY76705178\nUPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz\n100.0(Dr)\n69166.72(Cr)\n02-02-2026\nS4779932\nUPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n72666.72(Cr)\n02-02-2026\nS13332569\nUPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n78166.72(Cr)\n03-02-2026\nS82184129\nUPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax\n5000.0(Cr)\n83166.72(Cr)\n03-02-2026\nT980199\nUPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb\n70.0(Dr)\n83096.72(Cr)\n03-02-2026\nT1294495\nUPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n82896.72(Cr)\n04-02-2026\nT50091525\nUPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib\n1500.0(Cr)\n84396.72(Cr)\n04-02-2026\nT52006727\nUPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n84266.72(Cr)\n04-02-2026\nT82487240\nUPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649\n8874.0(Dr)\n75392.72(Cr)\n04-02-2026\nT82756213\nUPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb\n2650.0(Dr)\n72742.72(Cr)\n04-02-2026\nT90755199\nUPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb\n4000.0(Cr)\n76742.72(Cr)\n04-02-2026\nU2954625\nUPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb\n40.0(Dr)\n76702.72(Cr)\n04-02-2026\nU3181848\nUPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n76512.72(Cr)\n04-02-2026\nU5174131\nUPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-\n377.3(Dr)\n76135.44(Cr)\n04-02-2026\nU5638298\nUPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188\n324.0(Dr)\n75811.44(Cr)\n05-02-2026\nU29792485\nUPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a\n3000.0(Cr)\n78811.44(Cr)\n05-02-2026\nU44151335\nUPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb\n2500.0(Cr)\n81311.44(Cr)\n05-02-2026\nU68144041\nUPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi\n3000.0(Cr)\n84311.44(Cr)\n05-02-2026\nU70409836\nUPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax\n3000.0(Cr)\n87311.44(Cr)\n05-02-2026\nU71686662\nUPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i\n941.8(Dr)\n86369.66(Cr)\n05-02-2026\nU81209390\nUPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649\n15639.0(Dr)\n70730.66(Cr)\n06-02-2026\nU95478993\nUPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n70430.66(Cr)\n06-02-2026\nU98164505\nUPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@\n1000.0(Cr)\n71430.66(Cr)\n06-02-2026\nU98276086\nUPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@\n1000.0(Dr)\n70430.66(Cr)\n06-02-2026\nV8041887\nUPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n73930.66(Cr)\n", + "currency": "INR", + "opening_balance": 69850.72, + "closing_balance": 73930.66, + "transactions": [ + { + "date": "01-02-2026", + "description": "UPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-02-2026", + "description": "UPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-02-2026", + "description": "UPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 1499.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-02-2026", + "description": "UPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-02-2026", + "description": "UPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-02-2026", + "description": "UPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-02-2026", + "description": "UPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-02-2026", + "description": "UPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-02-2026", + "description": "UPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649", + "amount": 8874.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb", + "amount": 2650.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-", + "amount": 377.3, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188", + "amount": 324.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 941.8, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649", + "amount": 15639.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "01-02-2026", + "period_end": "06-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 24, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n24\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-02-2026\nY40248578\nUPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n69765.72(Cr)\n01-02-2026\nY47995292\nUPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a\n1000.0(Cr)\n70765.72(Cr)\n01-02-2026\nY72228828\nUPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP\n1499.0(Dr)\n69266.72(Cr)\n01-02-2026\nY76705178\nUPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz\n100.0(Dr)\n69166.72(Cr)\n02-02-2026\nS4779932\nUPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n72666.72(Cr)\n02-02-2026\nS13332569\nUPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n78166.72(Cr)\n03-02-2026\nS82184129\nUPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax\n5000.0(Cr)\n83166.72(Cr)\n03-02-2026\nT980199\nUPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb\n70.0(Dr)\n83096.72(Cr)\n03-02-2026\nT1294495\nUPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n82896.72(Cr)\n04-02-2026\nT50091525\nUPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib\n1500.0(Cr)\n84396.72(Cr)\n04-02-2026\nT52006727\nUPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n84266.72(Cr)\n04-02-2026\nT82487240\nUPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649\n8874.0(Dr)\n75392.72(Cr)\n04-02-2026\nT82756213\nUPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb\n2650.0(Dr)\n72742.72(Cr)\n04-02-2026\nT90755199\nUPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb\n4000.0(Cr)\n76742.72(Cr)\n04-02-2026\nU2954625\nUPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb\n40.0(Dr)\n76702.72(Cr)\n04-02-2026\nU3181848\nUPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n76512.72(Cr)\n04-02-2026\nU5174131\nUPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-\n377.3(Dr)\n76135.44(Cr)\n04-02-2026\nU5638298\nUPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188\n324.0(Dr)\n75811.44(Cr)\n05-02-2026\nU29792485\nUPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a\n3000.0(Cr)\n78811.44(Cr)\n05-02-2026\nU44151335\nUPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb\n2500.0(Cr)\n81311.44(Cr)\n05-02-2026\nU68144041\nUPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi\n3000.0(Cr)\n84311.44(Cr)\n05-02-2026\nU70409836\nUPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax\n3000.0(Cr)\n87311.44(Cr)\n05-02-2026\nU71686662\nUPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i\n941.8(Dr)\n86369.66(Cr)\n05-02-2026\nU81209390\nUPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649\n15639.0(Dr)\n70730.66(Cr)\n06-02-2026\nU95478993\nUPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n70430.66(Cr)\n06-02-2026\nU98164505\nUPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@\n1000.0(Cr)\n71430.66(Cr)\n06-02-2026\nU98276086\nUPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@\n1000.0(Dr)\n70430.66(Cr)\n06-02-2026\nV8041887\nUPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n73930.66(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 69850.72, + "closing_balance": 73930.66, + "transactions": [ + { + "date": "01-02-2026", + "description": "UPIAR/185502335081/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-02-2026", + "description": "UPIAB/446177466601/CR/THOTAKUR/BKID/8309595628-2@a", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-02-2026", + "description": "UPIAR/316485401185/DR/DMART AV/HDFC/DMARTAVENUESUP", + "amount": 1499.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-02-2026", + "description": "UPIAR/784275182182/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-02-2026", + "description": "UPIAB/617836011746/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-02-2026", + "description": "UPIAB/988527125767/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-02-2026", + "description": "UPIAB/170071040023/CR/KOPPALA /HDFC/ 7008803234@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-02-2026", + "description": "UPIAR/526768868508/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-02-2026", + "description": "UPIAR/101403453352/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAB/092824587374/CR/THALLAVA/ICIC/ 8330916763@ib", + "amount": 1500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/430842865930/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/357671236339/DR/ PhonePe/YESB/SV251211225649", + "amount": 8874.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/131239388329/DR/KOTLA ES/CNRB/ easu5@yb", + "amount": 2650.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAB/840596350932/CR/Mrs Pare/CBIN/ 7013111309@yb", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/651259680606/DR/BODDETI /UBIN/ 9885784366@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/504968800595/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/642665500668/DR/Smart Vi/JIOP/2306662626130-", + "amount": 377.3, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-02-2026", + "description": "UPIAR/123334787325/DR/PAVAN PU/CNRB/11011085900188", + "amount": 324.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/395504344154/CR/Yamala C/CSBK/7286932282-7@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/937911273392/CR/L MADHA/SBIN/madhavi9748@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/106646349357/CR/REDDI S/SBIN/reddi.srilaxmi", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAB/650253207711/CR/PATNNANA/SBIN/ 9160721214@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAR/907990463938/DR/AVENUE S/ICIC/innovdmartap@i", + "amount": 941.8, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-02-2026", + "description": "UPIAR/472646062922/DR/ PhonePe/YESB/SV251211225649", + "amount": 15639.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAR/430669596247/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAB/751177787674/CR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAR/928978462641/DR/VEERA VE/SBIN/surendra02342@", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "06-02-2026", + "description": "UPIAB/295419125516/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "01-02-2026", + "period_end": "06-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_25_extraction.json b/debug/20260518_165811/cp2_page_25_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..5ed31b80cbd44dcd7e6f4f957fe09854f6f8e4e5 --- /dev/null +++ b/debug/20260518_165811/cp2_page_25_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 25, + "elapsed_s": 19.25, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 25, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n25\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n06-02-2026\nV22129101\nUPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@\n180.0(Dr)\n73750.66(Cr)\n06-02-2026\nV25747036\nUPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax\n1000.0(Cr)\n74750.66(Cr)\n06-02-2026\nV34941636\nUPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax\n3000.0(Cr)\n77750.66(Cr)\n07-02-2026\nV77127363\nUPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n76950.66(Cr)\n07-02-2026\nV88002699\nUPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax\n350.0(Dr)\n76600.66(Cr)\n07-02-2026\nV88303333\nUPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb\n210.0(Dr)\n76390.66(Cr)\n07-02-2026\nW9151951\nUPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax\n500.0(Cr)\n76890.66(Cr)\n07-02-2026\nW12359197\nUPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb\n110.0(Dr)\n76780.66(Cr)\n07-02-2026\nW13100151\nUPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb\n364.0(Dr)\n76416.66(Cr)\n07-02-2026\nW15137518\nUPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-\n292.6(Dr)\n76124.1(Cr)\n07-02-2026\nW16892725\nUPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb\n180.0(Dr)\n75944.1(Cr)\n08-02-2026\nW37233273\nUPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n75594.1(Cr)\n08-02-2026\nW39034414\nUPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n75464.1(Cr)\n08-02-2026\nW53741568\nUPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb\n3500.0(Cr)\n78964.1(Cr)\n08-02-2026\nW61737668\nUPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb\n320.0(Dr)\n78644.1(Cr)\n08-02-2026\nW82181393\nUPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188\n448.0(Dr)\n78196.1(Cr)\n09-02-2026\nW94391902\nUPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n77196.1(Cr)\n09-02-2026\nW95368382\nUPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n76196.1(Cr)\n09-02-2026\nX56432496\nUPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n20.2(Dr)\n76175.9(Cr)\n10-02-2026\nX74975797\nUPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n76045.9(Cr)\n10-02-2026\nY13483626\nUPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb\n1269.0(Dr)\n74776.9(Cr)\n10-02-2026\nY30313007\nUPIAR/505970277664/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n64776.9(Cr)\n11-02-2026\nY46830154\nUPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n64476.9(Cr)\n11-02-2026\nY77560647\nUPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n63616.9(Cr)\n11-02-2026\nY99864292\nUPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722\n220.0(Dr)\n63396.9(Cr)\n12-02-2026\nS17166900\nUPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n63328.9(Cr)\n13-02-2026\nS93772595\nUPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n66828.9(Cr)\n13-02-2026\nT11833404\nUPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y\n3000.0(Cr)\n69828.9(Cr)\n", + "currency": "INR", + "opening_balance": 73750.66, + "closing_balance": 69828.9, + "transactions": [ + { + "date": "06-02-2026", + "description": "UPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-", + "amount": 292.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188", + "amount": 448.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 20.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1269.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/505970277664/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-02-2026", + "description": "UPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "06-02-2026", + "period_end": "13-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 25, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n25\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n06-02-2026\nV22129101\nUPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@\n180.0(Dr)\n73750.66(Cr)\n06-02-2026\nV25747036\nUPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax\n1000.0(Cr)\n74750.66(Cr)\n06-02-2026\nV34941636\nUPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax\n3000.0(Cr)\n77750.66(Cr)\n07-02-2026\nV77127363\nUPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n76950.66(Cr)\n07-02-2026\nV88002699\nUPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax\n350.0(Dr)\n76600.66(Cr)\n07-02-2026\nV88303333\nUPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb\n210.0(Dr)\n76390.66(Cr)\n07-02-2026\nW9151951\nUPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax\n500.0(Cr)\n76890.66(Cr)\n07-02-2026\nW12359197\nUPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb\n110.0(Dr)\n76780.66(Cr)\n07-02-2026\nW13100151\nUPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb\n364.0(Dr)\n76416.66(Cr)\n07-02-2026\nW15137518\nUPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-\n292.6(Dr)\n76124.1(Cr)\n07-02-2026\nW16892725\nUPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb\n180.0(Dr)\n75944.1(Cr)\n08-02-2026\nW37233273\nUPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n75594.1(Cr)\n08-02-2026\nW39034414\nUPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n75464.1(Cr)\n08-02-2026\nW53741568\nUPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb\n3500.0(Cr)\n78964.1(Cr)\n08-02-2026\nW61737668\nUPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb\n320.0(Dr)\n78644.1(Cr)\n08-02-2026\nW82181393\nUPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188\n448.0(Dr)\n78196.1(Cr)\n09-02-2026\nW94391902\nUPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n77196.1(Cr)\n09-02-2026\nW95368382\nUPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n76196.1(Cr)\n09-02-2026\nX56432496\nUPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n20.2(Dr)\n76175.9(Cr)\n10-02-2026\nX74975797\nUPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n76045.9(Cr)\n10-02-2026\nY13483626\nUPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb\n1269.0(Dr)\n74776.9(Cr)\n10-02-2026\nY30313007\nUPIAR/505970277664/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n64776.9(Cr)\n11-02-2026\nY46830154\nUPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@\n300.0(Dr)\n64476.9(Cr)\n11-02-2026\nY77560647\nUPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834\n860.0(Dr)\n63616.9(Cr)\n11-02-2026\nY99864292\nUPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722\n220.0(Dr)\n63396.9(Cr)\n12-02-2026\nS17166900\nUPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n63328.9(Cr)\n13-02-2026\nS93772595\nUPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n66828.9(Cr)\n13-02-2026\nT11833404\nUPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y\n3000.0(Cr)\n69828.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 73750.66, + "closing_balance": 69828.9, + "transactions": [ + { + "date": "06-02-2026", + "description": "UPIAR/241516779268/DR/SRINIVAS/YESB/paytmqr70e51y@", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/863198598949/CR/MURAHARI/SBIN/ 9494330422@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "06-02-2026", + "description": "UPIAB/027744841983/CR/NADIPALL/UBIN/ 7702846220@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/922382874462/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/241232113000/DR/Ishrat /SBIN/ 7675832648@ax", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/650187746186/DR/ASHOK ST/YESB/ Q867224964@yb", + "amount": 210.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAB/981414664555/CR/SHEIK RA/UTIB/ 9985127456@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/814623091868/DR/KSN SON/SBIN/ksnsons6295@sb", + "amount": 110.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/028922901187/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 364.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/272294440431/DR/Smart Vi/JIOP/2306662490082-", + "amount": 292.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-02-2026", + "description": "UPIAR/626094301288/DR/CHENNA N/YESB/ Q472109063@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/575225481401/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/771536663821/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAB/439518230513/CR/Mr SRINI/CBIN/ msvasa2@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/490240556781/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-02-2026", + "description": "UPIAR/674422310731/DR/PAVAN PU/CNRB/11011085900188", + "amount": 448.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604091412650/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/604047271341/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-02-2026", + "description": "UPIAR/085474669762/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 20.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/784361016982/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/309249520785/DR/Mr GULLI/CBIN/ 9494978131@yb", + "amount": 1269.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-02-2026", + "description": "UPIAR/505970277664/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/829153024254/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/361035070928/DR/ PhonePe/YESB/SV251211223834", + "amount": 860.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-02-2026", + "description": "UPIAR/665166810565/DR/VEERAGAN/YESB/paytm-70228722", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-02-2026", + "description": "UPIAR/550073134508/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/263618532559/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/288353366227/CR/BOBBADI /SBIN/9502787824-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "06-02-2026", + "period_end": "13-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_26_extraction.json b/debug/20260518_165811/cp2_page_26_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..3c85f912bef22c34f92610e8470186fca01116a4 --- /dev/null +++ b/debug/20260518_165811/cp2_page_26_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 26, + "elapsed_s": 38.76, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 26, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n26\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-02-2026\nT18767471\nUPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb\n2000.0(Cr)\n71828.9(Cr)\n13-02-2026\nT19926693\nUPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y\n5000.0(Cr)\n76828.9(Cr)\n13-02-2026\nT24551339\nUPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y\n190.0(Dr)\n76638.9(Cr)\n13-02-2026\nT39772743\nUPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju\n1.0(Cr)\n76639.9(Cr)\n13-02-2026\nT39790908\nUPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju\n1000.0(Cr)\n77639.9(Cr)\n13-02-2026\nT42496779\nUPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB\n9.0(Dr)\n77630.9(Cr)\n13-02-2026\nT42544609\nUPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n67630.9(Cr)\n14-02-2026\nT58960949\nUPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8\n1790.0(Dr)\n65840.9(Cr)\n14-02-2026\nT59037874\nUPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8\n2625.0(Dr)\n63215.9(Cr)\n14-02-2026\nT59730404\nUPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8\n2670.0(Dr)\n60545.9(Cr)\n14-02-2026\nT59822032\nUPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8\n1700.0(Dr)\n58845.9(Cr)\n14-02-2026\nT87399079\nUPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb\n100.0(Dr)\n58745.9(Cr)\n14-02-2026\nT99142907\nUPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-\n476.6(Dr)\n58269.25(Cr)\n14-02-2026\nU542124\nUPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@\n80.0(Dr)\n58189.25(Cr)\n15-02-2026\nU33805039\nUPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n57989.25(Cr)\n15-02-2026\nU55106560\nUPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI\n9.0(Dr)\n57980.25(Cr)\n15-02-2026\nU62184090\nUPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI\n12000.0(Dr)\n45980.25(Cr)\n15-02-2026\nU64258076\nUPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI\n10116.0(Dr)\n35864.25(Cr)\n15-02-2026\nU65830372\nUPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb\n100.0(Dr)\n35764.25(Cr)\n16-02-2026\nV5277810\nUPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb\n3000.0(Cr)\n38764.25(Cr)\n16-02-2026\nV5318042\nUPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax\n3500.0(Cr)\n42264.25(Cr)\n17-02-2026\nV57861374\nUPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb\n120.0(Dr)\n42144.25(Cr)\n17-02-2026\nV65782607\nUPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@\n3000.0(Cr)\n45144.25(Cr)\n17-02-2026\nV77968458\nUPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb\n7000.0(Cr)\n52144.25(Cr)\n17-02-2026\nV95289898\nUPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n55144.25(Cr)\n17-02-2026\nV95752567\nUPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005\n1000.0(Cr)\n56144.25(Cr)\n17-02-2026\nV96269543\nUPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n56044.25(Cr)\n17-02-2026\nV96656853\nUPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz\n110.0(Dr)\n55934.25(Cr)\n", + "currency": "INR", + "opening_balance": 69828.9, + "closing_balance": 55934.25, + "transactions": [ + { + "date": "13-02-2026", + "description": "UPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1790.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2625.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2670.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1700.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-", + "amount": 476.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI", + "amount": 10116.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 110.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "13-02-2026", + "period_end": "17-02-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 26, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n26\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-02-2026\nT18767471\nUPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb\n2000.0(Cr)\n71828.9(Cr)\n13-02-2026\nT19926693\nUPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y\n5000.0(Cr)\n76828.9(Cr)\n13-02-2026\nT24551339\nUPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y\n190.0(Dr)\n76638.9(Cr)\n13-02-2026\nT39772743\nUPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju\n1.0(Cr)\n76639.9(Cr)\n13-02-2026\nT39790908\nUPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju\n1000.0(Cr)\n77639.9(Cr)\n13-02-2026\nT42496779\nUPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB\n9.0(Dr)\n77630.9(Cr)\n13-02-2026\nT42544609\nUPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n67630.9(Cr)\n14-02-2026\nT58960949\nUPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8\n1790.0(Dr)\n65840.9(Cr)\n14-02-2026\nT59037874\nUPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8\n2625.0(Dr)\n63215.9(Cr)\n14-02-2026\nT59730404\nUPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8\n2670.0(Dr)\n60545.9(Cr)\n14-02-2026\nT59822032\nUPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8\n1700.0(Dr)\n58845.9(Cr)\n14-02-2026\nT87399079\nUPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb\n100.0(Dr)\n58745.9(Cr)\n14-02-2026\nT99142907\nUPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-\n476.6(Dr)\n58269.25(Cr)\n14-02-2026\nU542124\nUPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@\n80.0(Dr)\n58189.25(Cr)\n15-02-2026\nU33805039\nUPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e\n200.0(Dr)\n57989.25(Cr)\n15-02-2026\nU55106560\nUPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI\n9.0(Dr)\n57980.25(Cr)\n15-02-2026\nU62184090\nUPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI\n12000.0(Dr)\n45980.25(Cr)\n15-02-2026\nU64258076\nUPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI\n10116.0(Dr)\n35864.25(Cr)\n15-02-2026\nU65830372\nUPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb\n100.0(Dr)\n35764.25(Cr)\n16-02-2026\nV5277810\nUPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb\n3000.0(Cr)\n38764.25(Cr)\n16-02-2026\nV5318042\nUPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax\n3500.0(Cr)\n42264.25(Cr)\n17-02-2026\nV57861374\nUPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb\n120.0(Dr)\n42144.25(Cr)\n17-02-2026\nV65782607\nUPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@\n3000.0(Cr)\n45144.25(Cr)\n17-02-2026\nV77968458\nUPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb\n7000.0(Cr)\n52144.25(Cr)\n17-02-2026\nV95289898\nUPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n55144.25(Cr)\n17-02-2026\nV95752567\nUPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005\n1000.0(Cr)\n56144.25(Cr)\n17-02-2026\nV96269543\nUPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n56044.25(Cr)\n17-02-2026\nV96656853\nUPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz\n110.0(Dr)\n55934.25(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 69828.9, + "closing_balance": 55934.25, + "transactions": [ + { + "date": "13-02-2026", + "description": "UPIAB/076345404310/CR/LATCHIRE/SBIN/ 9052669014@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/907389772155/CR/TADDEE S/HDFC/9490971239-2@y", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/194599874286/DR/Kalyanam/SBIN/9494547686-2@y", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/254686515945/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAB/042063618497/CR/GOWRI RA/SBIN/penkigowriraju", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/922041235357/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-02-2026", + "description": "UPIAR/766566309730/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/946126615061/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1790.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/525610815199/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2625.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/155386195166/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 2670.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/759840407706/DR/Indian R/SBIN/railsbiupi11.8", + "amount": 1700.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/298394705953/DR/DHANA LA/YESB/ Q608527185@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/898495994140/DR/Smart Vi/JIOP/2305852734107-", + "amount": 476.6, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-02-2026", + "description": "UPIAR/129603611429/DR/Sayyad R/YESB/paytmqr6xm2cb@", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/787770812241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/773512016734/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 9.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/553386503085/DR/Bank Acc/CBIN/5666322276@CBI", + "amount": 12000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/192992058610/DR/Bank Acc/CBIN/5575400361@CBI", + "amount": 10116.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-02-2026", + "description": "UPIAR/845668729151/DR/Mr UTTAM/YESB/ Q351987005@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/712582528001/CR/SHANMUKH/CNRB/ 9014489591@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-02-2026", + "description": "UPIAB/029843297197/CR/CHUKKA /SBIN/ 9885033407@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/505601270657/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/266928782584/CR/NADIPALL/IOBA/nsramakrishna@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/403294234408/CR/SRI SAI /KVBL/ 9346072459@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/149554780019/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAB/077708012533/CR/RABIYA /SBIN/irshadalam2005", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/813482578005/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-02-2026", + "description": "UPIAR/493836162249/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 110.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-02-2026", + "period_end": "17-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_27_extraction.json b/debug/20260518_165811/cp2_page_27_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..98a7ecebb474dfb04e5ce324fe08dda5372683cb --- /dev/null +++ b/debug/20260518_165811/cp2_page_27_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 27, + "elapsed_s": 35.92, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 27, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n27\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n17-02-2026\nW13408611\nUPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n45934.25(Cr)\n18-02-2026\nW28289287\nUPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n45584.25(Cr)\n18-02-2026\nW38271194\nUPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg\n1000.0(Cr)\n46584.25(Cr)\n18-02-2026\nW45409986\nUPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb\n100.0(Dr)\n46484.25(Cr)\n18-02-2026\nW53523145\nUPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@\n200.0(Dr)\n46284.25(Cr)\n18-02-2026\nW67493440\nUPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22\n3000.0(Cr)\n49284.25(Cr)\n18-02-2026\nW69771125\nUPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Dr)\n46284.25(Cr)\n18-02-2026\nW81014495\nUPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n43.0(Dr)\n46241.25(Cr)\n19-02-2026\nX23727780\nUPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb\n3000.0(Cr)\n49241.25(Cr)\n19-02-2026\nX47001919\nUPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb\n12.0(Dr)\n49229.25(Cr)\n19-02-2026\nX47030807\nUPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n46729.25(Cr)\n20-02-2026\nX96175531\nUPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb\n6000.0(Cr)\n52729.25(Cr)\n20-02-2026\nY2191460\nUPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb\n170.0(Dr)\n52559.25(Cr)\n20-02-2026\nY5056717\nUPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge\n5000.0(Cr)\n57559.25(Cr)\n21-02-2026\nY26763158\nUPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62059.25(Cr)\n21-02-2026\nY37739571\nUPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987\n3500.0(Cr)\n65559.25(Cr)\n21-02-2026\nY56338350\nUPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i\n1000.0(Cr)\n66559.25(Cr)\n21-02-2026\nY63329419\nUPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb\n3500.0(Cr)\n70059.25(Cr)\n21-02-2026\nY79033229\nUPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n70019.25(Cr)\n22-02-2026\nY98360154\nUPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n69929.25(Cr)\n22-02-2026\nS2629926\nUPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n64929.25(Cr)\n22-02-2026\nS10069020\nUPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n950.0(Dr)\n63979.25(Cr)\n22-02-2026\nS10470614\nUPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618\n59.2(Dr)\n63920.09(Cr)\n22-02-2026\nS12349040\nUPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb\n100.0(Dr)\n63820.09(Cr)\n22-02-2026\nS21867420\nUPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050\n200.0(Dr)\n63620.09(Cr)\n22-02-2026\nS38470563\nUPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb\n60.0(Dr)\n63560.09(Cr)\n22-02-2026\nS38718044\nUPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb\n290.0(Dr)\n63270.09(Cr)\n22-02-2026\nS38928346\nUPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188\n314.0(Dr)\n62956.09(Cr)\n", + "currency": "INR", + "opening_balance": 55934.25, + "closing_balance": 62956.09, + "transactions": [ + { + "date": "17-02-2026", + "description": "UPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 43.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "UPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-02-2026", + "description": "UPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb", + "amount": 12.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "UPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "UPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-02-2026", + "description": "UPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "UPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-02-2026", + "description": "UPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 950.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 59.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188", + "amount": 314.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "17-02-2026", + "period_end": "22-02-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 27, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n27\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n17-02-2026\nW13408611\nUPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n45934.25(Cr)\n18-02-2026\nW28289287\nUPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@\n350.0(Dr)\n45584.25(Cr)\n18-02-2026\nW38271194\nUPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg\n1000.0(Cr)\n46584.25(Cr)\n18-02-2026\nW45409986\nUPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb\n100.0(Dr)\n46484.25(Cr)\n18-02-2026\nW53523145\nUPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@\n200.0(Dr)\n46284.25(Cr)\n18-02-2026\nW67493440\nUPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22\n3000.0(Cr)\n49284.25(Cr)\n18-02-2026\nW69771125\nUPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Dr)\n46284.25(Cr)\n18-02-2026\nW81014495\nUPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n43.0(Dr)\n46241.25(Cr)\n19-02-2026\nX23727780\nUPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb\n3000.0(Cr)\n49241.25(Cr)\n19-02-2026\nX47001919\nUPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb\n12.0(Dr)\n49229.25(Cr)\n19-02-2026\nX47030807\nUPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n46729.25(Cr)\n20-02-2026\nX96175531\nUPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb\n6000.0(Cr)\n52729.25(Cr)\n20-02-2026\nY2191460\nUPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb\n170.0(Dr)\n52559.25(Cr)\n20-02-2026\nY5056717\nUPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge\n5000.0(Cr)\n57559.25(Cr)\n21-02-2026\nY26763158\nUPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n62059.25(Cr)\n21-02-2026\nY37739571\nUPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987\n3500.0(Cr)\n65559.25(Cr)\n21-02-2026\nY56338350\nUPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i\n1000.0(Cr)\n66559.25(Cr)\n21-02-2026\nY63329419\nUPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb\n3500.0(Cr)\n70059.25(Cr)\n21-02-2026\nY79033229\nUPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n70019.25(Cr)\n22-02-2026\nY98360154\nUPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb\n90.0(Dr)\n69929.25(Cr)\n22-02-2026\nS2629926\nUPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n64929.25(Cr)\n22-02-2026\nS10069020\nUPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n950.0(Dr)\n63979.25(Cr)\n22-02-2026\nS10470614\nUPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618\n59.2(Dr)\n63920.09(Cr)\n22-02-2026\nS12349040\nUPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb\n100.0(Dr)\n63820.09(Cr)\n22-02-2026\nS21867420\nUPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050\n200.0(Dr)\n63620.09(Cr)\n22-02-2026\nS38470563\nUPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb\n60.0(Dr)\n63560.09(Cr)\n22-02-2026\nS38718044\nUPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb\n290.0(Dr)\n63270.09(Cr)\n22-02-2026\nS38928346\nUPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188\n314.0(Dr)\n62956.09(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 55934.25, + "closing_balance": 62956.09, + "transactions": [ + { + "date": "17-02-2026", + "description": "UPIAR/714466084122/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/249532480905/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 350.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAB/521828629927/CR/SRI VENK/UBIN/srivenkatadurg", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/482257888767/DR/MARISETT/YESB/ Q179822997@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/713040018390/DR/SRI LAKS/YESB/paytm.s1t399d@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAB/282788790308/CR/DENDETI /SBIN/vikranthteja22", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/057212991785/DR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-02-2026", + "description": "UPIAR/359741996987/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 43.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "UPIAB/181450295054/CR/K V VIJA/SBIN/ 8501099882@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-02-2026", + "description": "UPIAR/956505944285/DR/KACHERLA/YESB/ Q106091514@yb", + "amount": 12.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-02-2026", + "description": "UPIAR/357768317245/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "UPIAB/056022348628/CR/NAGIREDL/SBIN/ 9390880777@yb", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-02-2026", + "description": "UPIAR/544539351307/DR/PAAKARLA/YESB/ Q571163195@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-02-2026", + "description": "UPIAB/837304452706/CR/GEDALA S/ICIC/subrahmanyamge", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/942723989535/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/605289805184/CR/D SRINUV/UBIN/srinudamma1987", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/093585891097/CR/DOKARA S/CNRB/9573014488-2@i", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAB/842679107130/CR/YANAGALA/SBIN/ 6006292517@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-02-2026", + "description": "UPIAR/935853824862/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/479953282807/DR/KELLA BA/YESB/ Q403062371@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/605303364027/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-02-2026", + "description": "UPIAR/714524417492/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 950.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/158477245900/DR/MAHARAJP/HDFC/maharajpet.618", + "amount": 59.2, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/377451158158/DR/MOHAMMED/UBIN/ 7702403652@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/146430771631/DR/SRI SAI /KKBK/Mswipe.2500050", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/695721675600/DR/Miss AM/YESB/ Q873154158@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/250961512210/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 290.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-02-2026", + "description": "UPIAR/241702047702/DR/PAVAN PU/CNRB/11011085900188", + "amount": 314.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "17-02-2026", + "period_end": "22-02-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_28_extraction.json b/debug/20260518_165811/cp2_page_28_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8dccbf8478b746a2193fe4d0273ed69216d87044 --- /dev/null +++ b/debug/20260518_165811/cp2_page_28_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 28, + "elapsed_s": 24.89, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 28, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n28\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n22-02-2026\nS45981150\nUPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n52956.09(Cr)\n23-02-2026\nS70207027\nUPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb\n3500.0(Cr)\n56456.09(Cr)\n23-02-2026\nS71912487\nUPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n62456.09(Cr)\n23-02-2026\nS78434044\nUPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb\n3500.0(Cr)\n65956.09(Cr)\n23-02-2026\nS98152993\nUPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax\n1000.0(Cr)\n66956.09(Cr)\n23-02-2026\nT8876730\nUPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax\n7500.0(Cr)\n74456.09(Cr)\n24-02-2026\nT34002709\nUPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n77456.09(Cr)\n24-02-2026\nT67679017\nUPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb\n100.0(Dr)\n77356.09(Cr)\n24-02-2026\nT81540904\nUPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n40481.09(Cr)\n25-02-2026\nT97228853\nUPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n40181.09(Cr)\n25-02-2026\nU35841389\nUPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb\n100.0(Dr)\n40081.09(Cr)\n25-02-2026\nU36383980\nUPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188\n200.0(Dr)\n39881.09(Cr)\n25-02-2026\nU37645292\nUPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n37381.09(Cr)\n25-02-2026\nU39541991\nUPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y\n3000.0(Cr)\n40381.09(Cr)\n26-02-2026\nU60792036\nUPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n43381.09(Cr)\n26-02-2026\nU72072699\nUPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb\n3000.0(Cr)\n46381.09(Cr)\n26-02-2026\nU86194802\nUPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT\n804.0(Dr)\n45577.09(Cr)\n26-02-2026\nU89149879\nUPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib\n3000.0(Cr)\n48577.09(Cr)\n26-02-2026\nV15540073\nUPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n54577.09(Cr)\n27-02-2026\nV32216288\nUPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb\n30.0(Dr)\n54547.09(Cr)\n27-02-2026\nV51112516\nUPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha\n1000.0(Cr)\n55547.09(Cr)\n27-02-2026\nV62992836\nUPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar\n300.0(Dr)\n55247.09(Cr)\n27-02-2026\nV78744671\nUPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar\n20.0(Dr)\n55227.09(Cr)\n28-02-2026\nW27968583\nUPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n45227.09(Cr)\n28-02-2026\nW51513376\nUPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop\n3000.0(Cr)\n48227.09(Cr)\n28-02-2026\nW54577353\nUPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n11352.09(Cr)\n01-03-2026\nW85084903\nUPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb\n220.0(Dr)\n11132.09(Cr)\n01-03-2026\nW95055843\nIMPSAB/606016704797/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n41132.09(Cr)\n", + "person_name": "SATYANARAYANA KORAD", + "currency": "INR", + "opening_balance": 62956.09, + "closing_balance": 41132.09, + "transactions": [ + { + "date": "22-02-2026", + "description": "UPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax", + "amount": 7500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "IMPSAB/606016704797/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "22-02-2026", + "period_end": "01-03-2026" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 28, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n28\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n22-02-2026\nS45981150\nUPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n52956.09(Cr)\n23-02-2026\nS70207027\nUPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb\n3500.0(Cr)\n56456.09(Cr)\n23-02-2026\nS71912487\nUPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n62456.09(Cr)\n23-02-2026\nS78434044\nUPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb\n3500.0(Cr)\n65956.09(Cr)\n23-02-2026\nS98152993\nUPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax\n1000.0(Cr)\n66956.09(Cr)\n23-02-2026\nT8876730\nUPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax\n7500.0(Cr)\n74456.09(Cr)\n24-02-2026\nT34002709\nUPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n77456.09(Cr)\n24-02-2026\nT67679017\nUPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb\n100.0(Dr)\n77356.09(Cr)\n24-02-2026\nT81540904\nUPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n40481.09(Cr)\n25-02-2026\nT97228853\nUPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@\n300.0(Dr)\n40181.09(Cr)\n25-02-2026\nU35841389\nUPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb\n100.0(Dr)\n40081.09(Cr)\n25-02-2026\nU36383980\nUPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188\n200.0(Dr)\n39881.09(Cr)\n25-02-2026\nU37645292\nUPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n37381.09(Cr)\n25-02-2026\nU39541991\nUPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y\n3000.0(Cr)\n40381.09(Cr)\n26-02-2026\nU60792036\nUPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n43381.09(Cr)\n26-02-2026\nU72072699\nUPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb\n3000.0(Cr)\n46381.09(Cr)\n26-02-2026\nU86194802\nUPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT\n804.0(Dr)\n45577.09(Cr)\n26-02-2026\nU89149879\nUPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib\n3000.0(Cr)\n48577.09(Cr)\n26-02-2026\nV15540073\nUPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n54577.09(Cr)\n27-02-2026\nV32216288\nUPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb\n30.0(Dr)\n54547.09(Cr)\n27-02-2026\nV51112516\nUPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha\n1000.0(Cr)\n55547.09(Cr)\n27-02-2026\nV62992836\nUPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar\n300.0(Dr)\n55247.09(Cr)\n27-02-2026\nV78744671\nUPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar\n20.0(Dr)\n55227.09(Cr)\n28-02-2026\nW27968583\nUPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb\n10000.0(Dr)\n45227.09(Cr)\n28-02-2026\nW51513376\nUPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop\n3000.0(Cr)\n48227.09(Cr)\n28-02-2026\nW54577353\nUPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n11352.09(Cr)\n01-03-2026\nW85084903\nUPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb\n220.0(Dr)\n11132.09(Cr)\n01-03-2026\nW95055843\nIMPSAB/606016704797/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n41132.09(Cr)\n", + "person_name": "SATYANARAYANA KORAD", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 62956.09, + "closing_balance": 41132.09, + "transactions": [ + { + "date": "22-02-2026", + "description": "UPIAR/143548976959/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/332342718515/CR/KRUSHNA /SBIN/ 9666999733@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/336362106791/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/359708197991/CR/RAVI KUM/UBIN/ 9490898701@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/262651234172/CR/BANGARAM/SBIN/ 9391380485@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "23-02-2026", + "description": "UPIAB/589525306311/CR/NATHANIE/SBIN/ 9849183045@ax", + "amount": 7500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAB/214956512760/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/718292658584/DR/PYDIPATH/YESB/ Q950241840@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-02-2026", + "description": "UPIAR/261530231444/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/984389745078/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/637444772328/DR/AMARA JY/UBIN/ 6304729783@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/836746109938/DR/PAVAN PU/CNRB/11011085900188", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAR/342556456771/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-02-2026", + "description": "UPIAB/718984766373/CR/RAVI KIR/BKID/8125884156-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/649246470198/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/056607163188/CR/Mr ROMPA/CBIN/ 7989798305@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAR/554394333225/DR/Jio Rech/YESB/JIOINAPPDIRECT", + "amount": 804.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/170541904883/CR/DATLA VE/UBIN/ devi.1977@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-02-2026", + "description": "UPIAB/551381436897/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/864798268868/DR/BODDA M/YESB/ Q661337752@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAB/799005415786/CR/MADHAVI /HDFC/nadipallimadha", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/502523377590/DR/SIRIGIRI/SBIN/gajapathikomar", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-02-2026", + "description": "UPIAR/772212576716/DR/ARJI RAM/UBIN/arji.mukundhar", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/271834750655/DR/Mopada /SBIN/sbin0020931@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAB/378064875303/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-02-2026", + "description": "UPIAR/881618303926/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "UPIAR/945934393608/DR/BODDU AP/YESB/ Q834764152@yb", + "amount": 220.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "01-03-2026", + "description": "IMPSAB/606016704797/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "22-02-2026", + "period_end": "01-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_29_extraction.json b/debug/20260518_165811/cp2_page_29_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..a1956fad1c322a125ac3aa62f388d57c406dd3cb --- /dev/null +++ b/debug/20260518_165811/cp2_page_29_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 29, + "elapsed_s": 17.92, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 29, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n29\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-03-2026\nW95512803\nIMPSAB/606016709015/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n71132.09(Cr)\n01-03-2026\nX8318031\nUPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188\n130.0(Dr)\n71002.09(Cr)\n01-03-2026\nX8665995\nUPIAR/599057255381/DR/K S N /UTIB/gpay-121905896\n200.0(Dr)\n70802.09(Cr)\n01-03-2026\nX9444568\nUPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@\n390.0(Dr)\n70412.09(Cr)\n01-03-2026\nX22304292\nUPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib\n1000.0(Dr)\n69412.09(Cr)\n01-03-2026\nX22372418\nUPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n32537.09(Cr)\n02-03-2026\nX42618069\nUPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax\n1000.0(Cr)\n33537.09(Cr)\n02-03-2026\nX48058528\nUPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n36537.09(Cr)\n02-03-2026\nX61855904\nUPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@\n100.0(Dr)\n36437.09(Cr)\n02-03-2026\nX86035687\nUPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib\n500.0(Dr)\n35937.09(Cr)\n02-03-2026\nX99219011\nUPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb\n159.0(Dr)\n35778.09(Cr)\n02-03-2026\nY2371684\nUPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Cr)\n45778.09(Cr)\n02-03-2026\nY2403548\nUPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n8903.09(Cr)\n03-03-2026\nY17953765\nUPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n8803.09(Cr)\n03-03-2026\nY47361115\nIMPSAB/606217709201/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n38803.09(Cr)\n03-03-2026\nY47478884\nIMPSAB/606217710519/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n68803.09(Cr)\n03-03-2026\nY47684074\nIMPSAB/606217712277/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n98803.09(Cr)\n03-03-2026\nY47765145\nIMPSAB/606217712929/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n128803.09(Cr)\n03-03-2026\nY48349267\nIMPSAB/606217718184/SATYANARAYANA KORAD/6303357650\n20000.0(Cr)\n148803.09(Cr)\n03-03-2026\nY48505935\nUPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n138803.09(Cr)\n03-03-2026\nY54802579\nUPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb\n756.0(Dr)\n138047.09(Cr)\n03-03-2026\nY56002967\nUPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb\n127.0(Dr)\n137920.09(Cr)\n04-03-2026\nY88963684\nUPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@\n250.0(Dr)\n137670.09(Cr)\n04-03-2026\nS11874551\nUPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n141670.09(Cr)\n04-03-2026\nS18145753\nUPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@\n100.0(Dr)\n141570.09(Cr)\n05-03-2026\nS65727402\nUPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n145070.09(Cr)\n05-03-2026\nS84456623\nUPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb\n100.0(Dr)\n144970.09(Cr)\n05-03-2026\nT3026437\nUPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb\n93.0(Dr)\n144877.09(Cr)\n", + "person_name": "SATYANARAYANA KORADA", + "currency": "INR", + "opening_balance": 71132.09, + "closing_balance": 144877.09, + "transactions": [ + { + "date": "01-03-2026", + "description": "IMPSAB/606016709015/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/599057255381/DR/K S N /UTIB/gpay-121905896", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 390.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 159.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217709201/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217710519/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712277/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712929/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217718184/SATYANARAYANA KORAD/6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 756.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 127.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 93.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "01-03-2026", + "period_end": "05-03-2026" + }, + "null_or_empty_fields": [ + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 29, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n29\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n01-03-2026\nW95512803\nIMPSAB/606016709015/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n71132.09(Cr)\n01-03-2026\nX8318031\nUPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188\n130.0(Dr)\n71002.09(Cr)\n01-03-2026\nX8665995\nUPIAR/599057255381/DR/K S N /UTIB/gpay-121905896\n200.0(Dr)\n70802.09(Cr)\n01-03-2026\nX9444568\nUPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@\n390.0(Dr)\n70412.09(Cr)\n01-03-2026\nX22304292\nUPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib\n1000.0(Dr)\n69412.09(Cr)\n01-03-2026\nX22372418\nUPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n32537.09(Cr)\n02-03-2026\nX42618069\nUPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax\n1000.0(Cr)\n33537.09(Cr)\n02-03-2026\nX48058528\nUPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb\n3000.0(Cr)\n36537.09(Cr)\n02-03-2026\nX61855904\nUPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@\n100.0(Dr)\n36437.09(Cr)\n02-03-2026\nX86035687\nUPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib\n500.0(Dr)\n35937.09(Cr)\n02-03-2026\nX99219011\nUPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb\n159.0(Dr)\n35778.09(Cr)\n02-03-2026\nY2371684\nUPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Cr)\n45778.09(Cr)\n02-03-2026\nY2403548\nUPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I\n36875.0(Dr)\n8903.09(Cr)\n03-03-2026\nY17953765\nUPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n8803.09(Cr)\n03-03-2026\nY47361115\nIMPSAB/606217709201/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n38803.09(Cr)\n03-03-2026\nY47478884\nIMPSAB/606217710519/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n68803.09(Cr)\n03-03-2026\nY47684074\nIMPSAB/606217712277/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n98803.09(Cr)\n03-03-2026\nY47765145\nIMPSAB/606217712929/SATYANARAYANA KORAD/6303357650\n30000.0(Cr)\n128803.09(Cr)\n03-03-2026\nY48349267\nIMPSAB/606217718184/SATYANARAYANA KORAD/6303357650\n20000.0(Cr)\n148803.09(Cr)\n03-03-2026\nY48505935\nUPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb\n10000.0(Dr)\n138803.09(Cr)\n03-03-2026\nY54802579\nUPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb\n756.0(Dr)\n138047.09(Cr)\n03-03-2026\nY56002967\nUPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb\n127.0(Dr)\n137920.09(Cr)\n04-03-2026\nY88963684\nUPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@\n250.0(Dr)\n137670.09(Cr)\n04-03-2026\nS11874551\nUPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@\n4000.0(Cr)\n141670.09(Cr)\n04-03-2026\nS18145753\nUPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@\n100.0(Dr)\n141570.09(Cr)\n05-03-2026\nS65727402\nUPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb\n3500.0(Cr)\n145070.09(Cr)\n05-03-2026\nS84456623\nUPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb\n100.0(Dr)\n144970.09(Cr)\n05-03-2026\nT3026437\nUPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb\n93.0(Dr)\n144877.09(Cr)\n", + "person_name": "SATYANARAYANA KORADA", + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 71132.09, + "closing_balance": 144877.09, + "transactions": [ + { + "date": "01-03-2026", + "description": "IMPSAB/606016709015/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/714905590019/DR/PAVAN PU/CNRB/11011085900188", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/599057255381/DR/K S N /UTIB/gpay-121905896", + "amount": 200.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/981528901597/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 390.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/105910801575/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "01-03-2026", + "description": "UPIAR/301666030393/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/192683262387/CR/VANAPALL/SBIN/ 9948648166@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/810737082099/CR/BHEEMARA/SBIN/ sagarsuni9@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/260511683388/DR/SRI LAKS/YESB/paytm.s1t38rt@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/125474753789/DR/Mrs NAMM/IDIB/ 9392286717@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/804748855385/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 159.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAB/070733230454/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "02-03-2026", + "description": "UPIAR/055809092146/DR/Bank Acc/ICIC/058305008165@I", + "amount": 36875.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/664033719666/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217709201/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217710519/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712277/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217712929/SATYANARAYANA KORAD/6303357650", + "amount": 30000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "IMPSAB/606217718184/SATYANARAYANA KORAD/6303357650", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/838974021904/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/732562425810/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 756.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "03-03-2026", + "description": "UPIAR/223701845417/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 127.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/007612499375/DR/PATHIVAD/YESB/paytmqr6ytoq2@", + "amount": 250.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAB/435240230138/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "04-03-2026", + "description": "UPIAR/195066586217/DR/Sri Bala/YESB/paytm.s1xywg5@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAB/936911807580/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/586581808004/DR/ ALIMUN/SBIN/ 9908256171@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "05-03-2026", + "description": "UPIAR/862360061373/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 93.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "01-03-2026", + "period_end": "05-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_30_extraction.json b/debug/20260518_165811/cp2_page_30_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..273a96cf5890365bde0a25137034e1e0d255dd74 --- /dev/null +++ b/debug/20260518_165811/cp2_page_30_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 30, + "elapsed_s": 29.67, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 30, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n30\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-03-2026\nT3804683\nUPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@\n35.0(Dr)\n144842.09(Cr)\n05-03-2026\nT5710665\nUPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n144802.09(Cr)\n05-03-2026\nT6338102\nUPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb\n170.0(Dr)\n144632.09(Cr)\n05-03-2026\nT13781823\nUPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n143673.04(Cr)\n05-03-2026\nT13812414\nUPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n142713.99(Cr)\n06-03-2026\nT26853522\nUPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb\n7000.0(Cr)\n149713.99(Cr)\n06-03-2026\nT26949018\nUPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y\n3000.0(Cr)\n152713.99(Cr)\n06-03-2026\nT29346182\nUPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n152613.99(Cr)\n06-03-2026\nT33474902\nUPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y\n3000.0(Cr)\n155613.99(Cr)\n06-03-2026\nT42632644\nUPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb\n500.0(Cr)\n156113.99(Cr)\n06-03-2026\nT80305154\nUPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb\n180.0(Dr)\n155933.99(Cr)\n07-03-2026\nU7637854\nUPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb\n10000.0(Cr)\n165933.99(Cr)\n07-03-2026\nU16834306\nUPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb\n500.0(Cr)\n166433.99(Cr)\n07-03-2026\nU19570685\nUPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax\n3500.0(Cr)\n169933.99(Cr)\n07-03-2026\nU20239819\nUPIAR/847604064228/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n159933.99(Cr)\n07-03-2026\nU20500680\nUPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n157433.99(Cr)\n07-03-2026\nU20563844\nUPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n147433.99(Cr)\n07-03-2026\nU28095079\nUPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n147373.99(Cr)\n07-03-2026\nU30693702\nUPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@\n130.0(Dr)\n147243.99(Cr)\n07-03-2026\nU57485523\nUPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n146323.99(Cr)\n07-03-2026\nU57489049\nUPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649\n17184.0(Dr)\n129139.99(Cr)\n08-03-2026\nV6850346\nUPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n129069.99(Cr)\n08-03-2026\nV8290137\nUPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n128269.99(Cr)\n08-03-2026\nV9260370\nUPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb\n230.0(Dr)\n128039.99(Cr)\n08-03-2026\nV9498390\nUPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188\n160.0(Dr)\n127879.99(Cr)\n09-03-2026\nV35362678\nUPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n126879.99(Cr)\n09-03-2026\nV35372462\nUPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n125879.99(Cr)\n09-03-2026\nV41336139\nUPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax\n3500.0(Cr)\n129379.99(Cr)\n", + "currency": "INR", + "opening_balance": 144877.09, + "closing_balance": 129379.99, + "transactions": [ + { + "date": "05-03-2026", + "description": "UPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/847604064228/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649", + "amount": 17184.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "05-03-2026", + "period_end": "09-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 30, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n30\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n05-03-2026\nT3804683\nUPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@\n35.0(Dr)\n144842.09(Cr)\n05-03-2026\nT5710665\nUPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@\n40.0(Dr)\n144802.09(Cr)\n05-03-2026\nT6338102\nUPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb\n170.0(Dr)\n144632.09(Cr)\n05-03-2026\nT13781823\nUPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n143673.04(Cr)\n05-03-2026\nT13812414\nUPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@\n959.0(Dr)\n142713.99(Cr)\n06-03-2026\nT26853522\nUPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb\n7000.0(Cr)\n149713.99(Cr)\n06-03-2026\nT26949018\nUPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y\n3000.0(Cr)\n152713.99(Cr)\n06-03-2026\nT29346182\nUPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb\n100.0(Dr)\n152613.99(Cr)\n06-03-2026\nT33474902\nUPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y\n3000.0(Cr)\n155613.99(Cr)\n06-03-2026\nT42632644\nUPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb\n500.0(Cr)\n156113.99(Cr)\n06-03-2026\nT80305154\nUPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb\n180.0(Dr)\n155933.99(Cr)\n07-03-2026\nU7637854\nUPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb\n10000.0(Cr)\n165933.99(Cr)\n07-03-2026\nU16834306\nUPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb\n500.0(Cr)\n166433.99(Cr)\n07-03-2026\nU19570685\nUPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax\n3500.0(Cr)\n169933.99(Cr)\n07-03-2026\nU20239819\nUPIAR/847604064228/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n159933.99(Cr)\n07-03-2026\nU20500680\nUPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n157433.99(Cr)\n07-03-2026\nU20563844\nUPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n147433.99(Cr)\n07-03-2026\nU28095079\nUPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n147373.99(Cr)\n07-03-2026\nU30693702\nUPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@\n130.0(Dr)\n147243.99(Cr)\n07-03-2026\nU57485523\nUPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n146323.99(Cr)\n07-03-2026\nU57489049\nUPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649\n17184.0(Dr)\n129139.99(Cr)\n08-03-2026\nV6850346\nUPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb\n70.0(Dr)\n129069.99(Cr)\n08-03-2026\nV8290137\nUPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n128269.99(Cr)\n08-03-2026\nV9260370\nUPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb\n230.0(Dr)\n128039.99(Cr)\n08-03-2026\nV9498390\nUPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188\n160.0(Dr)\n127879.99(Cr)\n09-03-2026\nV35362678\nUPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n126879.99(Cr)\n09-03-2026\nV35372462\nUPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n125879.99(Cr)\n09-03-2026\nV41336139\nUPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax\n3500.0(Cr)\n129379.99(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 144877.09, + "closing_balance": 129379.99, + "transactions": [ + { + "date": "05-03-2026", + "description": "UPIAR/706806604447/DR/YELLAPU /YESB/paytm.s1ws421@", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/622218180850/DR/VENKATA /YESB/paytm.s1ao6ec@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/750631115521/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 170.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/648182112533/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-03-2026", + "description": "UPIAR/511082567769/DR/IRCTC Ra/UTIB/IRCTCPGONLINE@", + "amount": 959.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/105685840858/CR/KOMMANAP/SBIN/ 9441305981@yb", + "amount": 7000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/865926240250/CR/KALAKURI/UBIN/9885881282-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/674403478543/DR/SHEK RAH/YESB/ Q324807443@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-03-2026", + "description": "UPIAB/318316343122/CR/ROUTHU /SBIN/7075732704-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAB/968016891595/CR/MAHAPATR/SBIN/ 9908341342@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-03-2026", + "description": "UPIAR/243324638606/DR/ARJI SI/SBIN/ 6309334350@yb", + "amount": 180.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAB/833791286753/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 10000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/712327101399/CR/NAKKA V/SBIN/ 9966338898@yb", + "amount": 500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAB/305659354206/CR/APPARAO /SBIN/ 7389091844@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/847604064228/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/260878710418/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/782045008687/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "07-03-2026", + "description": "UPIAR/703313059923/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/623016848434/DR/RAYATHI /YESB/paytm.s1xkfvn@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/137202707996/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "07-03-2026", + "description": "UPIAR/821440028016/DR/ PhonePe/YESB/SV251211225649", + "amount": 17184.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/404132921804/DR/SWEET IN/YESB/ Q163232668@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/781332274872/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/700928177556/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-03-2026", + "description": "UPIAR/835467805571/DR/PAVAN PU/CNRB/11011085900188", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606829688586/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/606898409790/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAB/569362208723/CR/KODU SA/SBIN/sankarakodu@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "05-03-2026", + "period_end": "09-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_31_extraction.json b/debug/20260518_165811/cp2_page_31_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..51a58e5618006f98f4f01d4ac60588b50c940d6c --- /dev/null +++ b/debug/20260518_165811/cp2_page_31_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 31, + "elapsed_s": 29.9, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 31, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n31\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n09-03-2026\nV45953532\nUPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n129279.99(Cr)\n09-03-2026\nV50999916\nUPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax\n3500.0(Cr)\n132779.99(Cr)\n09-03-2026\nV92921144\nUPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu\n1300.0(Dr)\n131479.99(Cr)\n10-03-2026\nW42496724\nUPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb\n3000.0(Cr)\n134479.99(Cr)\n10-03-2026\nW46974628\nUPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E\n55.0(Dr)\n134424.99(Cr)\n10-03-2026\nW56296532\nUPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n131924.99(Cr)\n10-03-2026\nW63646957\nUPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax\n7000.0(Cr)\n138924.99(Cr)\n11-03-2026\nX18481067\nUPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb\n200.0(Dr)\n138724.99(Cr)\n11-03-2026\nX23687750\nUPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop\n2000.0(Cr)\n140724.99(Cr)\n11-03-2026\nX41516425\nUPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1274.0(Dr)\n139450.94(Cr)\n12-03-2026\nX89122496\nUPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes\n3000.0(Cr)\n142450.94(Cr)\n12-03-2026\nY7350001\nUPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu\n900.0(Dr)\n141550.94(Cr)\n12-03-2026\nY20669927\nUPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta\n400.0(Cr)\n141950.94(Cr)\n12-03-2026\nY22193207\nUPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n141030.94(Cr)\n13-03-2026\nY43817952\nUPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb\n58.0(Dr)\n140972.94(Cr)\n13-03-2026\nY53367048\nUPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb\n60.0(Dr)\n140912.94(Cr)\n13-03-2026\nY80743981\nUPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@\n60.0(Dr)\n140852.94(Cr)\n14-03-2026\nS9151793\nUPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n143852.94(Cr)\n14-03-2026\nS9313960\nUPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n146852.94(Cr)\n14-03-2026\nS10094316\nUPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n149852.94(Cr)\n14-03-2026\nS20233480\nUPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686\n35.0(Dr)\n149817.94(Cr)\n14-03-2026\nS30218995\nUPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0\n35.0(Dr)\n149782.94(Cr)\n14-03-2026\nS46312648\nUPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n139782.94(Cr)\n14-03-2026\nS46374376\nUPIAR/453795768976/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n129782.94(Cr)\n14-03-2026\nS47119305\nUPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax\n500.0(Cr)\n130282.94(Cr)\n14-03-2026\nS47549444\nUPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n130222.94(Cr)\n15-03-2026\nS75796024\nUPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax\n20.0(Cr)\n130242.94(Cr)\n15-03-2026\nS93520430\nUPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb\n100.0(Dr)\n130142.94(Cr)\n", + "currency": "INR", + "opening_balance": 129379.99, + "closing_balance": 130142.94, + "transactions": [ + { + "date": "09-03-2026", + "description": "UPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 1300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E", + "amount": 55.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-03-2026", + "description": "UPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-03-2026", + "description": "UPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-03-2026", + "description": "UPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1274.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 900.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 400.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-03-2026", + "description": "UPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 58.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-03-2026", + "description": "UPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-03-2026", + "description": "UPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/453795768976/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax", + "amount": 20.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "09-03-2026", + "period_end": "15-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 31, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n31\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n09-03-2026\nV45953532\nUPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e\n100.0(Dr)\n129279.99(Cr)\n09-03-2026\nV50999916\nUPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax\n3500.0(Cr)\n132779.99(Cr)\n09-03-2026\nV92921144\nUPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu\n1300.0(Dr)\n131479.99(Cr)\n10-03-2026\nW42496724\nUPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb\n3000.0(Cr)\n134479.99(Cr)\n10-03-2026\nW46974628\nUPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E\n55.0(Dr)\n134424.99(Cr)\n10-03-2026\nW56296532\nUPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n131924.99(Cr)\n10-03-2026\nW63646957\nUPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax\n7000.0(Cr)\n138924.99(Cr)\n11-03-2026\nX18481067\nUPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb\n200.0(Dr)\n138724.99(Cr)\n11-03-2026\nX23687750\nUPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop\n2000.0(Cr)\n140724.99(Cr)\n11-03-2026\nX41516425\nUPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@\n1274.0(Dr)\n139450.94(Cr)\n12-03-2026\nX89122496\nUPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes\n3000.0(Cr)\n142450.94(Cr)\n12-03-2026\nY7350001\nUPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu\n900.0(Dr)\n141550.94(Cr)\n12-03-2026\nY20669927\nUPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta\n400.0(Cr)\n141950.94(Cr)\n12-03-2026\nY22193207\nUPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n141030.94(Cr)\n13-03-2026\nY43817952\nUPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb\n58.0(Dr)\n140972.94(Cr)\n13-03-2026\nY53367048\nUPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb\n60.0(Dr)\n140912.94(Cr)\n13-03-2026\nY80743981\nUPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@\n60.0(Dr)\n140852.94(Cr)\n14-03-2026\nS9151793\nUPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n143852.94(Cr)\n14-03-2026\nS9313960\nUPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n146852.94(Cr)\n14-03-2026\nS10094316\nUPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n149852.94(Cr)\n14-03-2026\nS20233480\nUPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686\n35.0(Dr)\n149817.94(Cr)\n14-03-2026\nS30218995\nUPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0\n35.0(Dr)\n149782.94(Cr)\n14-03-2026\nS46312648\nUPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB\n10000.0(Dr)\n139782.94(Cr)\n14-03-2026\nS46374376\nUPIAR/453795768976/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n129782.94(Cr)\n14-03-2026\nS47119305\nUPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax\n500.0(Cr)\n130282.94(Cr)\n14-03-2026\nS47549444\nUPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@\n60.0(Dr)\n130222.94(Cr)\n15-03-2026\nS75796024\nUPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax\n20.0(Cr)\n130242.94(Cr)\n15-03-2026\nS93520430\nUPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb\n100.0(Dr)\n130142.94(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 129379.99, + "closing_balance": 130142.94, + "transactions": [ + { + "date": "09-03-2026", + "description": "UPIAR/864251802241/DR/SAMANVIT/YESB/paytm-9183714e", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAB/958262176940/CR/S V V SA/UBIN/satyasaluru@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "09-03-2026", + "description": "UPIAR/360781426860/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 1300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAB/100460528510/CR/CHALAPAT/SBIN/ chalamsbi@sb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAR/350362098551/DR/SSRINIVA/UNBA/BHARATPE2Q0P0E", + "amount": 55.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAR/274755056844/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "10-03-2026", + "description": "UPIAB/294797328490/CR/LATCHIRE/SBIN/ 9052669014@ax", + "amount": 7000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-03-2026", + "description": "UPIAR/980079757601/DR/REDDY VE/UTIB/ 9182240851@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-03-2026", + "description": "UPIAB/805880803385/CR/VEMPADAP/BARB/thopuvdamuthop", + "amount": 2000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "11-03-2026", + "description": "UPIAR/149498929409/DR/IRCTC Ra/YESB/IRCTCPGONLINE@", + "amount": 1274.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAB/643729022237/CR/ARASADA /HDFC/8008989119@yes", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAR/014034013286/DR/MOONURU /PUNB/nagachef.moonu", + "amount": 900.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAB/607122754945/CR/Mrs NAMM/IDIB/9392286717@pta", + "amount": 400.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "12-03-2026", + "description": "UPIAR/634435743983/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-03-2026", + "description": "UPIAR/289204668355/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 58.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-03-2026", + "description": "UPIAR/159861064753/DR/DUMMU AP/YESB/ Q028902639@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-03-2026", + "description": "UPIAR/200667910492/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/444033336109/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/147074191806/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/001653054895/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/562289458966/DR/S V RAMA/CNRB/20073024246686", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/414104535455/DR/Mr BANGA/UNBA/BHARATPE.9D0P0", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/121890603428/DR/Bank Acc/SBIN/38487860368@SB", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/453795768976/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAB/336333745226/CR/AMBATI /SBIN/ 9963456373@ax", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-03-2026", + "description": "UPIAR/967471560547/DR/Bhavani /YESB/paytmqr6qbgg4@", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAB/507913695369/CR/GOTTIMUK/SBIN/ 7093251670@ax", + "amount": 20.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/476970237610/DR/NAIDU PI/SBIN/ 8500482034@sb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "09-03-2026", + "period_end": "15-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_32_extraction.json b/debug/20260518_165811/cp2_page_32_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..09673f924c138414c71da56fc334d47935a39c0d --- /dev/null +++ b/debug/20260518_165811/cp2_page_32_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 32, + "elapsed_s": 30.72, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 32, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n32\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n15-03-2026\nT1431060\nUPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188\n330.0(Dr)\n129812.94(Cr)\n15-03-2026\nT2036748\nUPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb\n320.0(Dr)\n129492.94(Cr)\n15-03-2026\nT3193318\nUPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb\n330.0(Dr)\n129162.94(Cr)\n16-03-2026\nT59829555\nUPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a\n120.0(Dr)\n129042.94(Cr)\n16-03-2026\nT74470785\nUPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n128542.94(Cr)\n16-03-2026\nT90390479\nUPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n131542.94(Cr)\n16-03-2026\nT95259415\nUPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty\n1400.0(Dr)\n130142.94(Cr)\n16-03-2026\nT95773447\nUPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n122142.94(Cr)\n17-03-2026\nU10217769\nUPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n121992.94(Cr)\n17-03-2026\nU10603140\nUPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb\n30.0(Dr)\n121962.94(Cr)\n17-03-2026\nU20043427\nUPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb\n5000.0(Cr)\n126962.94(Cr)\n17-03-2026\nU20671073\nUPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n129962.94(Cr)\n17-03-2026\nU20890056\nUPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n132962.94(Cr)\n17-03-2026\nU21355342\nUPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n117962.94(Cr)\n17-03-2026\nU41744579\nUPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n\n3500.0(Cr)\n121462.94(Cr)\n17-03-2026\nU55298960\nUPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y\n3000.0(Cr)\n124462.94(Cr)\n18-03-2026\nU82757784\nUPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb\n7000.0(Dr)\n117462.94(Cr)\n18-03-2026\nV21940913\nUPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a\n464.0(Dr)\n116998.94(Cr)\n18-03-2026\nV25904139\nUPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz\n200.0(Dr)\n116798.94(Cr)\n18-03-2026\nV27678774\nUPIAR/700490298089/DR/78934359/BARB/7893435901@pty\n630.0(Dr)\n116168.94(Cr)\n18-03-2026\nV29542853\nUPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@\n200.0(Dr)\n115968.94(Cr)\n18-03-2026\nV29879405\nUPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n115778.94(Cr)\n18-03-2026\nV30934892\nUPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n100778.94(Cr)\n18-03-2026\nV37577625\nUPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@\n3000.0(Cr)\n103778.94(Cr)\n19-03-2026\nV69334163\nUPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb\n55.0(Dr)\n103723.94(Cr)\n19-03-2026\nV70630207\nUPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb\n250.0(Dr)\n103473.94(Cr)\n19-03-2026\nV70979917\nUPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb\n200.0(Dr)\n103273.94(Cr)\n19-03-2026\nV90729556\nUPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb\n420.0(Dr)\n102853.94(Cr)\n", + "currency": "INR", + "opening_balance": 130142.94, + "closing_balance": 102853.94, + "transactions": [ + { + "date": "15-03-2026", + "description": "UPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty", + "amount": 1400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 7000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 464.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/700490298089/DR/78934359/BARB/7893435901@pty", + "amount": 630.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb", + "amount": 55.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 420.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "15-03-2026", + "period_end": "19-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 32, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n32\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n15-03-2026\nT1431060\nUPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188\n330.0(Dr)\n129812.94(Cr)\n15-03-2026\nT2036748\nUPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb\n320.0(Dr)\n129492.94(Cr)\n15-03-2026\nT3193318\nUPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb\n330.0(Dr)\n129162.94(Cr)\n16-03-2026\nT59829555\nUPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a\n120.0(Dr)\n129042.94(Cr)\n16-03-2026\nT74470785\nUPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631\n500.0(Dr)\n128542.94(Cr)\n16-03-2026\nT90390479\nUPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a\n3000.0(Cr)\n131542.94(Cr)\n16-03-2026\nT95259415\nUPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty\n1400.0(Dr)\n130142.94(Cr)\n16-03-2026\nT95773447\nUPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts\n8000.0(Dr)\n122142.94(Cr)\n17-03-2026\nU10217769\nUPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@\n150.0(Dr)\n121992.94(Cr)\n17-03-2026\nU10603140\nUPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb\n30.0(Dr)\n121962.94(Cr)\n17-03-2026\nU20043427\nUPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb\n5000.0(Cr)\n126962.94(Cr)\n17-03-2026\nU20671073\nUPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y\n3000.0(Cr)\n129962.94(Cr)\n17-03-2026\nU20890056\nUPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a\n3000.0(Cr)\n132962.94(Cr)\n17-03-2026\nU21355342\nUPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n117962.94(Cr)\n17-03-2026\nU41744579\nUPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n\n3500.0(Cr)\n121462.94(Cr)\n17-03-2026\nU55298960\nUPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y\n3000.0(Cr)\n124462.94(Cr)\n18-03-2026\nU82757784\nUPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb\n7000.0(Dr)\n117462.94(Cr)\n18-03-2026\nV21940913\nUPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a\n464.0(Dr)\n116998.94(Cr)\n18-03-2026\nV25904139\nUPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz\n200.0(Dr)\n116798.94(Cr)\n18-03-2026\nV27678774\nUPIAR/700490298089/DR/78934359/BARB/7893435901@pty\n630.0(Dr)\n116168.94(Cr)\n18-03-2026\nV29542853\nUPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@\n200.0(Dr)\n115968.94(Cr)\n18-03-2026\nV29879405\nUPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb\n190.0(Dr)\n115778.94(Cr)\n18-03-2026\nV30934892\nUPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb\n15000.0(Dr)\n100778.94(Cr)\n18-03-2026\nV37577625\nUPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@\n3000.0(Cr)\n103778.94(Cr)\n19-03-2026\nV69334163\nUPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb\n55.0(Dr)\n103723.94(Cr)\n19-03-2026\nV70630207\nUPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb\n250.0(Dr)\n103473.94(Cr)\n19-03-2026\nV70979917\nUPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb\n200.0(Dr)\n103273.94(Cr)\n19-03-2026\nV90729556\nUPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb\n420.0(Dr)\n102853.94(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 130142.94, + "closing_balance": 102853.94, + "transactions": [ + { + "date": "15-03-2026", + "description": "UPIAR/691626103210/DR/PAVAN PU/CNRB/11011085900188", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/960787789679/DR/SIKAKOLL/YESB/ Q384253025@yb", + "amount": 320.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-03-2026", + "description": "UPIAR/995757185294/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 330.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/733817260343/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/638260021869/DR/M S RUKM/ICIC/ibkPOS.EP18631", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAB/098346166876/CR/DONDAPAT/KKBK/8121989447-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/023480553302/DR/Mrs Namm/IDIB/9392286717@pty", + "amount": 1400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-03-2026", + "description": "UPIAR/038183965312/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 8000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/722561536586/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/108644697202/DR/RAJKUMAR/SBIN/ 8341872326@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/854474094767/CR/PAKALAPA/HDFC/ pvrraju1@yb", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/397676055778/CR/THONANGI/PUNB/8790158784-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/042092673692/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAR/162649732584/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/001229901254/CR/KANCHARL/SBIN/8331056274-1@n", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-03-2026", + "description": "UPIAB/361438679793/CR/APPALA N/SBIN/9959612349-2@y", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/602419225119/DR/NAGA RAJ/SBIN/ 9059363062@yb", + "amount": 7000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/407534574214/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 464.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/462995360247/DR/OMMI BHA/CBIN/202509PRT00Fhz", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/700490298089/DR/78934359/BARB/7893435901@pty", + "amount": 630.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/652597764768/DR/Somu Ven/YESB/paytm.s1aw5fc@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/165950441792/DR/SRI CHAN/YESB/ Q215997371@yb", + "amount": 190.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAR/367764413663/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 15000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-03-2026", + "description": "UPIAB/199716287337/CR/JAGADISH/UBIN/unionbank2558@", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/305326973599/DR/MR DANDU/YESB/ Q814838536@yb", + "amount": 55.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/660064974054/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/597087956446/DR/VEERAVAR/ANDB/ 9177286120@yb", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/335845634812/DR/SWEET IN/YESB/ Q821835848@yb", + "amount": 420.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "15-03-2026", + "period_end": "19-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_33_extraction.json b/debug/20260518_165811/cp2_page_33_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..8e66fb775565c4758f73d9225d84b5e00ff5322d --- /dev/null +++ b/debug/20260518_165811/cp2_page_33_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 33, + "elapsed_s": 29.84, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 33, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n33\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n19-03-2026\nV95827413\nUPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n107353.94(Cr)\n19-03-2026\nW1372662\nUPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb\n60.0(Dr)\n107293.94(Cr)\n19-03-2026\nW1966742\nUPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb\n30.0(Dr)\n107263.94(Cr)\n20-03-2026\nW27145905\nUPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@\n200.0(Dr)\n107063.94(Cr)\n20-03-2026\nW36259637\nUPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Dr)\n102563.94(Cr)\n20-03-2026\nW36391159\nUPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl\n4000.0(Cr)\n106563.94(Cr)\n20-03-2026\nW52440600\nUPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax\n800.0(Cr)\n107363.94(Cr)\n20-03-2026\nW60477911\nUPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes\n3200.0(Cr)\n110563.94(Cr)\n21-03-2026\nX8599682\nUPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a\n90.0(Dr)\n110473.94(Cr)\n22-03-2026\nX77648355\nUPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n105473.94(Cr)\n22-03-2026\nY866773\nUPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb\n3000.0(Cr)\n108473.94(Cr)\n22-03-2026\nY11244589\nSms Charges For Mar Qtr ,2026\n121.0(Dr)\n108352.99(Cr)\n22-03-2026\nY25105063\nUPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax\n35.0(Dr)\n108317.99(Cr)\n22-03-2026\nY39313938\nUPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188\n344.0(Dr)\n107973.99(Cr)\n22-03-2026\nY42045780\nUPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca\n477.0(Dr)\n107496.99(Cr)\n24-03-2026\nS29111787\nUPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@\n300.0(Dr)\n107196.99(Cr)\n24-03-2026\nS67460117\nUPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb\n1004.0(Dr)\n106192.99(Cr)\n25-03-2026\nS91802575\nUPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax\n3500.0(Cr)\n109692.99(Cr)\n25-03-2026\nT9523540\nUPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb\n150.0(Dr)\n109542.99(Cr)\n25-03-2026\nT12750140\nUPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax\n900.0(Cr)\n110442.99(Cr)\n25-03-2026\nT17872082\nUPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb\n2500.0(Cr)\n112942.99(Cr)\n25-03-2026\nT35132383\nUPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@\n58.0(Dr)\n112884.99(Cr)\n26-03-2026\nT71144064\nUPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax\n3000.0(Cr)\n115884.99(Cr)\n26-03-2026\nU7717518\nUPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax\n5000.0(Cr)\n120884.99(Cr)\n26-03-2026\nU7772542\nUPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax\n200.0(Cr)\n121084.99(Cr)\n26-03-2026\nU11719451\nUPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@\n40.0(Dr)\n121044.99(Cr)\n27-03-2026\nU71134257\nUPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb\n4500.0(Cr)\n125544.99(Cr)\n28-03-2026\nV7350139\nUPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan\n6800.0(Cr)\n132344.99(Cr)\n", + "currency": "INR", + "opening_balance": 102853.94, + "closing_balance": 132344.99, + "transactions": [ + { + "date": "19-03-2026", + "description": "UPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes", + "amount": 3200.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-03-2026", + "description": "UPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "22-03-2026", + "description": "Sms Charges For Mar Qtr ,2026", + "amount": 121.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188", + "amount": 344.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca", + "amount": 477.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-03-2026", + "description": "UPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-03-2026", + "description": "UPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1004.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 58.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 200.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-03-2026", + "description": "UPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-03-2026", + "description": "UPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan", + "amount": 6800.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "19-03-2026", + "period_end": "28-03-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 33, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n33\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n19-03-2026\nV95827413\nUPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n107353.94(Cr)\n19-03-2026\nW1372662\nUPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb\n60.0(Dr)\n107293.94(Cr)\n19-03-2026\nW1966742\nUPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb\n30.0(Dr)\n107263.94(Cr)\n20-03-2026\nW27145905\nUPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@\n200.0(Dr)\n107063.94(Cr)\n20-03-2026\nW36259637\nUPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb\n4500.0(Dr)\n102563.94(Cr)\n20-03-2026\nW36391159\nUPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl\n4000.0(Cr)\n106563.94(Cr)\n20-03-2026\nW52440600\nUPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax\n800.0(Cr)\n107363.94(Cr)\n20-03-2026\nW60477911\nUPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes\n3200.0(Cr)\n110563.94(Cr)\n21-03-2026\nX8599682\nUPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a\n90.0(Dr)\n110473.94(Cr)\n22-03-2026\nX77648355\nUPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n105473.94(Cr)\n22-03-2026\nY866773\nUPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb\n3000.0(Cr)\n108473.94(Cr)\n22-03-2026\nY11244589\nSms Charges For Mar Qtr ,2026\n121.0(Dr)\n108352.99(Cr)\n22-03-2026\nY25105063\nUPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax\n35.0(Dr)\n108317.99(Cr)\n22-03-2026\nY39313938\nUPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188\n344.0(Dr)\n107973.99(Cr)\n22-03-2026\nY42045780\nUPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca\n477.0(Dr)\n107496.99(Cr)\n24-03-2026\nS29111787\nUPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@\n300.0(Dr)\n107196.99(Cr)\n24-03-2026\nS67460117\nUPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb\n1004.0(Dr)\n106192.99(Cr)\n25-03-2026\nS91802575\nUPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax\n3500.0(Cr)\n109692.99(Cr)\n25-03-2026\nT9523540\nUPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb\n150.0(Dr)\n109542.99(Cr)\n25-03-2026\nT12750140\nUPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax\n900.0(Cr)\n110442.99(Cr)\n25-03-2026\nT17872082\nUPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb\n2500.0(Cr)\n112942.99(Cr)\n25-03-2026\nT35132383\nUPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@\n58.0(Dr)\n112884.99(Cr)\n26-03-2026\nT71144064\nUPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax\n3000.0(Cr)\n115884.99(Cr)\n26-03-2026\nU7717518\nUPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax\n5000.0(Cr)\n120884.99(Cr)\n26-03-2026\nU7772542\nUPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax\n200.0(Cr)\n121084.99(Cr)\n26-03-2026\nU11719451\nUPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@\n40.0(Dr)\n121044.99(Cr)\n27-03-2026\nU71134257\nUPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb\n4500.0(Cr)\n125544.99(Cr)\n28-03-2026\nV7350139\nUPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan\n6800.0(Cr)\n132344.99(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 102853.94, + "closing_balance": 132344.99, + "transactions": [ + { + "date": "19-03-2026", + "description": "UPIAB/138216463595/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/903241749622/DR/Mr Madd/YESB/ Q643726589@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-03-2026", + "description": "UPIAR/152229042398/DR/MR VUNNA/YESB/ Q15311661@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAR/585730210422/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAR/259283489328/DR/KUSUMAPU/BARB/korada30112@yb", + "amount": 4500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAB/116817689368/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAB/169840442232/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 800.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "20-03-2026", + "description": "UPIAB/644509351389/CR/PANDIRIP/SBIN/9581299519@yes", + "amount": 3200.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-03-2026", + "description": "UPIAR/910038625861/DR/GEETA KR/BARB/geetasai4321@a", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/608169710876/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAB/230062569548/CR/ERRA AV/SBIN/ 7675957106@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "22-03-2026", + "description": "Sms Charges For Mar Qtr ,2026", + "amount": 121.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/721603362203/DR/PENTAPAT/SBIN/ geetasai2@ax", + "amount": 35.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/759095259388/DR/PAVAN PU/CNRB/11011085900188", + "amount": 344.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "22-03-2026", + "description": "UPIAR/773837875902/DR/Snapdeal/NSPB/cf.snapdeal@ca", + "amount": 477.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-03-2026", + "description": "UPIAR/127002948034/DR/Alabani /YESB/paytmqr6hqff5@", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "24-03-2026", + "description": "UPIAR/157708534895/DR/LIFE LIN/YESB/ Q485198756@yb", + "amount": 1004.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAB/520828506038/CR/GOPALA N/SBIN/ 9502189571@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAR/722930355754/DR/SHEK RAH/YESB/ Q496382656@yb", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAB/691711305102/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 900.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAB/531170202023/CR/CHOKKAKU/SBIN/ 9441749176@yb", + "amount": 2500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "25-03-2026", + "description": "UPIAR/283795464861/DR/BANDI DH/YESB/paytm.s1xvwti@", + "amount": 58.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAB/657724440557/CR/YERUKULA/SBIN/ y.chandra1@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAB/622751286442/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 5000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAB/125248183189/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 200.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "26-03-2026", + "description": "UPIAR/610493447619/DR/BANGARI /YESB/paytm.s1r0cg9@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "27-03-2026", + "description": "UPIAB/959672873959/CR/Mr CHILL/IDIB/ 9642231886@yb", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "28-03-2026", + "description": "UPIAB/550258967928/CR/KENGUVA /IBKL/kenguva.sravan", + "amount": 6800.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "19-03-2026", + "period_end": "28-03-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_34_extraction.json b/debug/20260518_165811/cp2_page_34_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..5cbfd79ddd2a3aed0f16e53ca54e4fe77d1e15cb --- /dev/null +++ b/debug/20260518_165811/cp2_page_34_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 34, + "elapsed_s": 30.08, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 34, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n34\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-03-2026\nV8074204\nUPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax\n100.0(Dr)\n132244.99(Cr)\n29-03-2026\nV69415453\nUPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb\n100.0(Dr)\n132144.99(Cr)\n29-03-2026\nV70340559\nUPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n132059.99(Cr)\n30-03-2026\nW23637679\nUPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax\n3500.0(Cr)\n135559.99(Cr)\n30-03-2026\nW28365039\nUPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax\n1800.0(Cr)\n137359.99(Cr)\n30-03-2026\nW28453952\nUPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n134859.99(Cr)\n30-03-2026\nW28522987\nUPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n124859.99(Cr)\n30-03-2026\nW68375352\nUPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb\n230.0(Dr)\n124629.99(Cr)\n30-03-2026\nW70178686\nUPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb\n130.0(Dr)\n124499.99(Cr)\n30-03-2026\nW70660890\nUPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@\n680.0(Dr)\n123819.99(Cr)\n30-03-2026\nW71553677\nUPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax\n3000.0(Cr)\n126819.99(Cr)\n30-03-2026\nW80932153\nUPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n56.1(Dr)\n126763.9(Cr)\n30-03-2026\nW81788213\nUPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb\n131.0(Dr)\n126632.9(Cr)\n31-03-2026\nX2938878\nUPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n126492.9(Cr)\n31-03-2026\nX15694325\nUPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid\n3000.0(Cr)\n129492.9(Cr)\n31-03-2026\nX26349505\nUPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb\n260.0(Dr)\n129232.9(Cr)\n31-03-2026\nX47776572\nUPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb\n3000.0(Cr)\n132232.9(Cr)\n31-03-2026\nX48977231\nUPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb\n70.0(Dr)\n132162.9(Cr)\n31-03-2026\nX49630750\nUPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax\n100.0(Dr)\n132062.9(Cr)\n31-03-2026\nX50051855\nUPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb\n50.0(Dr)\n132012.9(Cr)\n31-03-2026\nX50694966\nUPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@\n115.0(Dr)\n131897.9(Cr)\n31-03-2026\nX64110446\nUPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb\n807.0(Dr)\n131090.9(Cr)\n31-03-2026\nY12105285\nUPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb\n15.0(Dr)\n131075.9(Cr)\n02-04-2026\nY46303651\nUPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib\n1000.0(Dr)\n130075.9(Cr)\n02-04-2026\nY60613879\nUPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb\n1500.0(Dr)\n128575.9(Cr)\n02-04-2026\nY71185507\nUPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@\n1687.0(Dr)\n126888.9(Cr)\n02-04-2026\nY79698996\nUPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@\n100.0(Dr)\n126788.9(Cr)\n02-04-2026\nY81134682\nUPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib\n1500.0(Dr)\n125288.9(Cr)\n", + "currency": "INR", + "opening_balance": 132344.99, + "closing_balance": 125288.9, + "transactions": [ + { + "date": "28-03-2026", + "description": "UPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-03-2026", + "description": "UPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-03-2026", + "description": "UPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 1800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 680.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 56.1, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 131.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 115.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 807.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb", + "amount": 15.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb", + "amount": 1500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@", + "amount": 1687.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib", + "amount": 1500.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "period_start": "28-03-2026", + "period_end": "02-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 34, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n34\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n28-03-2026\nV8074204\nUPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax\n100.0(Dr)\n132244.99(Cr)\n29-03-2026\nV69415453\nUPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb\n100.0(Dr)\n132144.99(Cr)\n29-03-2026\nV70340559\nUPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb\n85.0(Dr)\n132059.99(Cr)\n30-03-2026\nW23637679\nUPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax\n3500.0(Cr)\n135559.99(Cr)\n30-03-2026\nW28365039\nUPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax\n1800.0(Cr)\n137359.99(Cr)\n30-03-2026\nW28453952\nUPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts\n2500.0(Dr)\n134859.99(Cr)\n30-03-2026\nW28522987\nUPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb\n10000.0(Dr)\n124859.99(Cr)\n30-03-2026\nW68375352\nUPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb\n230.0(Dr)\n124629.99(Cr)\n30-03-2026\nW70178686\nUPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb\n130.0(Dr)\n124499.99(Cr)\n30-03-2026\nW70660890\nUPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@\n680.0(Dr)\n123819.99(Cr)\n30-03-2026\nW71553677\nUPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax\n3000.0(Cr)\n126819.99(Cr)\n30-03-2026\nW80932153\nUPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP\n56.1(Dr)\n126763.9(Cr)\n30-03-2026\nW81788213\nUPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb\n131.0(Dr)\n126632.9(Cr)\n31-03-2026\nX2938878\nUPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@\n140.0(Dr)\n126492.9(Cr)\n31-03-2026\nX15694325\nUPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid\n3000.0(Cr)\n129492.9(Cr)\n31-03-2026\nX26349505\nUPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb\n260.0(Dr)\n129232.9(Cr)\n31-03-2026\nX47776572\nUPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb\n3000.0(Cr)\n132232.9(Cr)\n31-03-2026\nX48977231\nUPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb\n70.0(Dr)\n132162.9(Cr)\n31-03-2026\nX49630750\nUPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax\n100.0(Dr)\n132062.9(Cr)\n31-03-2026\nX50051855\nUPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb\n50.0(Dr)\n132012.9(Cr)\n31-03-2026\nX50694966\nUPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@\n115.0(Dr)\n131897.9(Cr)\n31-03-2026\nX64110446\nUPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb\n807.0(Dr)\n131090.9(Cr)\n31-03-2026\nY12105285\nUPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb\n15.0(Dr)\n131075.9(Cr)\n02-04-2026\nY46303651\nUPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib\n1000.0(Dr)\n130075.9(Cr)\n02-04-2026\nY60613879\nUPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb\n1500.0(Dr)\n128575.9(Cr)\n02-04-2026\nY71185507\nUPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@\n1687.0(Dr)\n126888.9(Cr)\n02-04-2026\nY79698996\nUPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@\n100.0(Dr)\n126788.9(Cr)\n02-04-2026\nY81134682\nUPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib\n1500.0(Dr)\n125288.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 132344.99, + "closing_balance": 125288.9, + "transactions": [ + { + "date": "28-03-2026", + "description": "UPIAR/648867631711/DR/VANAPALL/SBIN/ 9491785963@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-03-2026", + "description": "UPIAR/325107987862/DR/VESALAPU/UBIN/ 9618961992@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "29-03-2026", + "description": "UPIAR/947852270750/DR/ADIGARLA/YESB/ Q011307040@yb", + "amount": 85.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAB/453738096925/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAB/717765548897/CR/NAKKA V/SBIN/ 9966338898@ax", + "amount": 1800.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/746405437807/DR/KOTTAPAL/SBIN/9550284734@pts", + "amount": 2500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/026125643910/DR/MOPADA S/HDFC/ 9676973264@yb", + "amount": 10000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/499217016916/DR/ARUNA MA/YESB/ Q861089928@yb", + "amount": 230.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/222443907004/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 130.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/534882865715/DR/BARATAM /YESB/paytm.s15g4i2@", + "amount": 680.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAB/864710304645/CR/MENDA A/SBIN/ 9490487779@ax", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/062414187806/DR/ MedPlus/YESB/MEDPLUSANDHRAP", + "amount": 56.1, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "30-03-2026", + "description": "UPIAR/137966343502/DR/SANTOSHE/YESB/ Q650140222@yb", + "amount": 131.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/457908307287/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAB/744094682778/CR/ATCHIM N/SBIN/boddu.hemanaid", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/008312335129/DR/Mr Madd/YESB/ Q879431669@yb", + "amount": 260.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAB/558944911179/CR/KONDALA /SBIN/ 9398438577@yb", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/095995583812/DR/MS SEETA/IDIB/ 9440119811@yb", + "amount": 70.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/504273775079/DR/POTNURU /SBIN/ 8465084998@ax", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/438279242761/DR/AMALA KU/CNRB/ 6301775466@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/950405915003/DR/BHAVANI /YESB/paytmqr6g36a0@", + "amount": 115.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/213083515764/DR/Mrs Ter/YESB/ Q044394780@yb", + "amount": 807.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "31-03-2026", + "description": "UPIAR/771507074148/DR/SISIR R/YESB/ Q246006229@yb", + "amount": 15.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/887701496838/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 1000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/639748255447/DR/MUKESH K/SBIN/ 8953954282@yb", + "amount": 1500.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/616470122845/DR/Paradise/YESB/paytmqr5d43ns@", + "amount": 1687.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/929167528317/DR/SHANKERI/YESB/paytmqr6oo6cv@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "02-04-2026", + "description": "UPIAR/028103230676/DR/SURESH /KKBK/ 8303169488@ib", + "amount": 1500.0, + "transaction_type": "debit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "28-03-2026", + "period_end": "02-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_35_extraction.json b/debug/20260518_165811/cp2_page_35_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..fbb89027cc5c763b4f99c85353e2dbbdac14e8f7 --- /dev/null +++ b/debug/20260518_165811/cp2_page_35_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 35, + "elapsed_s": 38.08, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 35, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n35\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-04-2026\nY89432898\nUPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@\n40.0(Dr)\n125248.9(Cr)\n02-04-2026\nY89596609\nUPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@\n20.0(Dr)\n125228.9(Cr)\n02-04-2026\nY98659740\nUPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2\n50.0(Dr)\n125178.9(Cr)\n02-04-2026\nY98773238\nUPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib\n2000.0(Dr)\n123178.9(Cr)\n02-04-2026\nY98797888\nUPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib\n500.0(Dr)\n122678.9(Cr)\n02-04-2026\nS933725\nUPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty\n2400.0(Dr)\n120278.9(Cr)\n02-04-2026\nS2104699\nUPIAR/930990370870/DR/87658526/PUNB/8765852607@pty\n40.0(Dr)\n120238.9(Cr)\n02-04-2026\nS3536055\nUPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928\n200.0(Dr)\n120038.9(Cr)\n03-04-2026\nS13987718\n253110100033102:Int.Pd:01-01-2026 to 31-03-2026\n494.0(Cr)\n120532.9(Cr)\n03-04-2026\nS26931216\nUPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552\n25.0(Dr)\n120507.9(Cr)\n03-04-2026\nS31693571\nUPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty\n2000.0(Dr)\n118507.9(Cr)\n03-04-2026\nS33051866\nUPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570\n5001.0(Dr)\n113506.9(Cr)\n03-04-2026\nS35963738\nUPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022\n100.0(Dr)\n113406.9(Cr)\n03-04-2026\nS36072569\nUPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022\n200.0(Dr)\n113206.9(Cr)\n03-04-2026\nS36343496\nUPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123\n250.0(Dr)\n112956.9(Cr)\n03-04-2026\nS36752779\nUPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb\n80.0(Dr)\n112876.9(Cr)\n03-04-2026\nS37112832\nUPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb\n50.0(Dr)\n112826.9(Cr)\n03-04-2026\nS45273462\nUPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@\n45.0(Dr)\n112781.9(Cr)\n03-04-2026\nS46579142\nUPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@\n150.0(Dr)\n112631.9(Cr)\n03-04-2026\nS49212989\nUPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta\n300.0(Dr)\n112331.9(Cr)\n03-04-2026\nS51184060\nUPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846\n1000.0(Dr)\n111331.9(Cr)\n03-04-2026\nS63357800\nUPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113\n500.0(Dr)\n110831.9(Cr)\n03-04-2026\nS64770398\nUPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb\n60.0(Dr)\n110771.9(Cr)\n03-04-2026\nS64874602\nUPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb\n100.0(Dr)\n110671.9(Cr)\n04-04-2026\nT16039851\nUPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110621.9(Cr)\n04-04-2026\nT16087267\nUPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110571.9(Cr)\n04-04-2026\nT16280646\nUPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@\n15.0(Dr)\n110556.9(Cr)\n04-04-2026\nT17897819\nUPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@\n20.0(Dr)\n110536.9(Cr)\n", + "currency": "INR", + "opening_balance": 125288.9, + "closing_balance": 110536.9, + "transactions": [ + { + "date": "02-04-2026", + "description": "UPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/930990370870/DR/87658526/PUNB/8765852607@pty", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "253110100033102:Int.Pd:01-01-2026 to 31-03-2026", + "amount": 494.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "03-04-2026", + "description": "UPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570", + "amount": 5001.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 15.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + } + ], + "period_start": "02-04-2026", + "period_end": "04-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 35, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n35\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n02-04-2026\nY89432898\nUPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@\n40.0(Dr)\n125248.9(Cr)\n02-04-2026\nY89596609\nUPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@\n20.0(Dr)\n125228.9(Cr)\n02-04-2026\nY98659740\nUPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2\n50.0(Dr)\n125178.9(Cr)\n02-04-2026\nY98773238\nUPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib\n2000.0(Dr)\n123178.9(Cr)\n02-04-2026\nY98797888\nUPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib\n500.0(Dr)\n122678.9(Cr)\n02-04-2026\nS933725\nUPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty\n2400.0(Dr)\n120278.9(Cr)\n02-04-2026\nS2104699\nUPIAR/930990370870/DR/87658526/PUNB/8765852607@pty\n40.0(Dr)\n120238.9(Cr)\n02-04-2026\nS3536055\nUPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928\n200.0(Dr)\n120038.9(Cr)\n03-04-2026\nS13987718\n253110100033102:Int.Pd:01-01-2026 to 31-03-2026\n494.0(Cr)\n120532.9(Cr)\n03-04-2026\nS26931216\nUPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552\n25.0(Dr)\n120507.9(Cr)\n03-04-2026\nS31693571\nUPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty\n2000.0(Dr)\n118507.9(Cr)\n03-04-2026\nS33051866\nUPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570\n5001.0(Dr)\n113506.9(Cr)\n03-04-2026\nS35963738\nUPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022\n100.0(Dr)\n113406.9(Cr)\n03-04-2026\nS36072569\nUPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022\n200.0(Dr)\n113206.9(Cr)\n03-04-2026\nS36343496\nUPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123\n250.0(Dr)\n112956.9(Cr)\n03-04-2026\nS36752779\nUPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb\n80.0(Dr)\n112876.9(Cr)\n03-04-2026\nS37112832\nUPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb\n50.0(Dr)\n112826.9(Cr)\n03-04-2026\nS45273462\nUPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@\n45.0(Dr)\n112781.9(Cr)\n03-04-2026\nS46579142\nUPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@\n150.0(Dr)\n112631.9(Cr)\n03-04-2026\nS49212989\nUPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta\n300.0(Dr)\n112331.9(Cr)\n03-04-2026\nS51184060\nUPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846\n1000.0(Dr)\n111331.9(Cr)\n03-04-2026\nS63357800\nUPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113\n500.0(Dr)\n110831.9(Cr)\n03-04-2026\nS64770398\nUPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb\n60.0(Dr)\n110771.9(Cr)\n03-04-2026\nS64874602\nUPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb\n100.0(Dr)\n110671.9(Cr)\n04-04-2026\nT16039851\nUPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110621.9(Cr)\n04-04-2026\nT16087267\nUPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb\n50.0(Dr)\n110571.9(Cr)\n04-04-2026\nT16280646\nUPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@\n15.0(Dr)\n110556.9(Cr)\n04-04-2026\nT17897819\nUPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@\n20.0(Dr)\n110536.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 125288.9, + "closing_balance": 110536.9, + "transactions": [ + { + "date": "02-04-2026", + "description": "UPIAR/749328472426/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/269787649906/DR/Shila de/YESB/paytm.s1p8ik9@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/265692346195/DR/BALAJI S/SBIN/balajisawmill2", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/491833980635/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/110839838314/DR/KASHI TR/BMCB/ 7233998375@ib", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/784070830366/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/930990370870/DR/87658526/PUNB/8765852607@pty", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "02-04-2026", + "description": "UPIAR/576233410296/DR/SHRI SHY/HDFC/Vyapar.1756928", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "253110100033102:Int.Pd:01-01-2026 to 31-03-2026", + "amount": 494.0, + "transaction_type": "credit", + "label": "interest" + }, + { + "date": "03-04-2026", + "description": "UPIAR/106198135618/DR/Shankar /UTIB/gpay-112555552", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/043817259987/DR/Anuradha/PUNB/8765852607@pty", + "amount": 2000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/516532249132/DR/KASI ANN/CNRB/12402192026570", + "amount": 5001.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/034879777080/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/966254644199/DR/Ankit Ga/UTIB/gpay-121914022", + "amount": 200.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/020637987945/DR/PUNAM GU/UBIN/baldaugupta123", + "amount": 250.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/618769078250/DR/VIJAY KE/YESB/ Q912586051@yb", + "amount": 80.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/349491574651/DR/SUDHIR K/YESB/ Q021306950@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/087842753067/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 45.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/597907337741/DR/SUNIL SE/UBIN/sunilseth7271@", + "amount": 150.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/951848121045/DR/SHUBHAM /UCBA/6388302954@pta", + "amount": 300.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/854828207231/DR/Patti Ar/UTIB/gpay-112542846", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/931401253639/DR/Rajan Ya/UTIB/gpay-112617113", + "amount": 500.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/313714162614/DR/VINEET S/YESB/ Q572994176@yb", + "amount": 60.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "03-04-2026", + "description": "UPIAR/196724290803/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/883323924228/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/698503829706/DR/DIVYANSH/YESB/ Q548553638@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/843445792951/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 15.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/963637193061/DR/VINAY KU/YESB/paytmqr6ey5b4@", + "amount": 20.0, + "transaction_type": "debit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "02-04-2026", + "period_end": "04-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_36_extraction.json b/debug/20260518_165811/cp2_page_36_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..9f3f92e870fb45b3fc7367b3d9d7ad04cc74dfe5 --- /dev/null +++ b/debug/20260518_165811/cp2_page_36_extraction.json @@ -0,0 +1,485 @@ +{ + "page": 36, + "elapsed_s": 18.87, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 36, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n36\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n04-04-2026\nT18476960\nUPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@\n25.0(Dr)\n110511.9(Cr)\n04-04-2026\nT22748431\nUPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552\n1000.0(Dr)\n109511.9(Cr)\n05-04-2026\nU7164579\nUPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509\n120.0(Dr)\n109391.9(Cr)\n06-04-2026\nU40853212\nUPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n115391.9(Cr)\n06-04-2026\nU56337717\nUPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n120891.9(Cr)\n07-04-2026\nV48787294\nUPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb\n40.0(Dr)\n120851.9(Cr)\n08-04-2026\nV80904284\nUPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax\n3500.0(Cr)\n124351.9(Cr)\n08-04-2026\nV81723631\nUPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n124221.9(Cr)\n08-04-2026\nW3202084\nUPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN\n124.0(Dr)\n124097.9(Cr)\n08-04-2026\nW22796019\nUPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb\n30.0(Dr)\n124067.9(Cr)\n09-04-2026\nW48197038\nUPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n123067.9(Cr)\n09-04-2026\nW50449003\nUPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n122067.9(Cr)\n09-04-2026\nW60646245\nUPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb\n5900.0(Cr)\n127967.9(Cr)\n09-04-2026\nW65227924\nUPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n130967.9(Cr)\n09-04-2026\nW71390357\nUPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb\n100.0(Cr)\n131067.9(Cr)\n09-04-2026\nW71401561\nUPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb\n900.0(Cr)\n131967.9(Cr)\n09-04-2026\nW76757797\nUPIAR/493746823714/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n126967.9(Cr)\n09-04-2026\nW92548146\nUPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE\n95.0(Dr)\n126872.9(Cr)\n09-04-2026\nW96115145\nUPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n126072.9(Cr)\n09-04-2026\nX7380771\nUPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb\n160.0(Dr)\n125912.9(Cr)\n11-04-2026\nY14684852\nUPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel\n1000.0(Dr)\n124912.9(Cr)\n11-04-2026\nY50549497\nUPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb\n1000.0(Cr)\n125912.9(Cr)\n12-04-2026\nY76389971\nUPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb\n90.0(Dr)\n125822.9(Cr)\n12-04-2026\nS6283611\nUPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb\n140.0(Dr)\n125682.9(Cr)\n12-04-2026\nS23086284\nUPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y\n260.0(Dr)\n125422.9(Cr)\n13-04-2026\nS43426518\nUPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb\n3500.0(Cr)\n128922.9(Cr)\n13-04-2026\nS44656611\nUPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax\n1000.0(Cr)\n129922.9(Cr)\n13-04-2026\nS47905285\nUPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib\n3000.0(Cr)\n132922.9(Cr)\n", + "opening_balance": 110536.9, + "closing_balance": 132922.9, + "transactions": [ + { + "date": "04-04-2026", + "description": "UPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-04-2026", + "description": "UPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-04-2026", + "description": "UPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-04-2026", + "description": "UPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-04-2026", + "description": "UPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-04-2026", + "description": "UPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN", + "amount": 124.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb", + "amount": 5900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 100.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAR/493746823714/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 95.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-04-2026", + "description": "UPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y", + "amount": 260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "04-04-2026", + "period_end": "13-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "currency", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 36, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n36\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n04-04-2026\nT18476960\nUPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@\n25.0(Dr)\n110511.9(Cr)\n04-04-2026\nT22748431\nUPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552\n1000.0(Dr)\n109511.9(Cr)\n05-04-2026\nU7164579\nUPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509\n120.0(Dr)\n109391.9(Cr)\n06-04-2026\nU40853212\nUPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl\n6000.0(Cr)\n115391.9(Cr)\n06-04-2026\nU56337717\nUPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb\n5500.0(Cr)\n120891.9(Cr)\n07-04-2026\nV48787294\nUPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb\n40.0(Dr)\n120851.9(Cr)\n08-04-2026\nV80904284\nUPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax\n3500.0(Cr)\n124351.9(Cr)\n08-04-2026\nV81723631\nUPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n124221.9(Cr)\n08-04-2026\nW3202084\nUPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN\n124.0(Dr)\n124097.9(Cr)\n08-04-2026\nW22796019\nUPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb\n30.0(Dr)\n124067.9(Cr)\n09-04-2026\nW48197038\nUPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n123067.9(Cr)\n09-04-2026\nW50449003\nUPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb\n1000.0(Dr)\n122067.9(Cr)\n09-04-2026\nW60646245\nUPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb\n5900.0(Cr)\n127967.9(Cr)\n09-04-2026\nW65227924\nUPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl\n3000.0(Cr)\n130967.9(Cr)\n09-04-2026\nW71390357\nUPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb\n100.0(Cr)\n131067.9(Cr)\n09-04-2026\nW71401561\nUPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb\n900.0(Cr)\n131967.9(Cr)\n09-04-2026\nW76757797\nUPIAR/493746823714/DR/Bank Acc/BKID/86131011001673\n5000.0(Dr)\n126967.9(Cr)\n09-04-2026\nW92548146\nUPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE\n95.0(Dr)\n126872.9(Cr)\n09-04-2026\nW96115145\nUPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb\n800.0(Dr)\n126072.9(Cr)\n09-04-2026\nX7380771\nUPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb\n160.0(Dr)\n125912.9(Cr)\n11-04-2026\nY14684852\nUPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel\n1000.0(Dr)\n124912.9(Cr)\n11-04-2026\nY50549497\nUPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb\n1000.0(Cr)\n125912.9(Cr)\n12-04-2026\nY76389971\nUPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb\n90.0(Dr)\n125822.9(Cr)\n12-04-2026\nS6283611\nUPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb\n140.0(Dr)\n125682.9(Cr)\n12-04-2026\nS23086284\nUPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y\n260.0(Dr)\n125422.9(Cr)\n13-04-2026\nS43426518\nUPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb\n3500.0(Cr)\n128922.9(Cr)\n13-04-2026\nS44656611\nUPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax\n1000.0(Cr)\n129922.9(Cr)\n13-04-2026\nS47905285\nUPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib\n3000.0(Cr)\n132922.9(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": null, + "opening_balance": 110536.9, + "closing_balance": 132922.9, + "transactions": [ + { + "date": "04-04-2026", + "description": "UPIAR/487543324700/DR/KAJAL GI/YESB/paytm.s1q7adp@", + "amount": 25.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "04-04-2026", + "description": "UPIAR/580568170465/DR/Shankar /UTIB/gpay-112555552", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "05-04-2026", + "description": "UPIAR/711599380604/DR/VIHANA V/YESB/paytm.d9144509", + "amount": 120.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "06-04-2026", + "description": "UPIAB/571145963336/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "06-04-2026", + "description": "UPIAB/504876132782/CR/PAKALAPA/SBIN/ 9652481775@yb", + "amount": 5500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "07-04-2026", + "description": "UPIAR/809844495202/DR/DENGETI /YESB/ Q853578125@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAB/257395160957/CR/PUTTUPU /SBIN/ 9441341886@ax", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "08-04-2026", + "description": "UPIAR/048501783392/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/998883738783/DR/SRI VASA/SBIP/SBIBHIM.INSTAN", + "amount": 124.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "08-04-2026", + "description": "UPIAR/076627660973/DR/SWEET IN/YESB/ Q215108233@yb", + "amount": 30.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609982462560/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/609992051532/DR/ ICCL/YESB/ ICCLMF@yb", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAB/111033584878/CR/TADEPALL/SBIN/ 8374489250@yb", + "amount": 5900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAB/076105754241/CR/DARLA VE/BARB/venkatesh.darl", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAB/350385442891/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 100.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAB/666963938233/CR/GULI PAL/SBIN/ 9550669056@yb", + "amount": 900.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "09-04-2026", + "description": "UPIAR/493746823714/DR/Bank Acc/BKID/86131011001673", + "amount": 5000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/682442299101/DR/ APSRTC/YESB/APSRTCOFFLINEE", + "amount": 95.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/080645716883/DR/MUDUNURU/UBIN/ 9490301046@yb", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "09-04-2026", + "description": "UPIAR/638163838855/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 160.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAR/982909516932/DR/JEETU P/SBIN/jeetubhaipatel", + "amount": 1000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "11-04-2026", + "description": "UPIAB/995109898607/CR/GANESH K/SBIN/ 9505483237@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "12-04-2026", + "description": "UPIAR/981469389279/DR/KELLA BA/YESB/ Q689775421@yb", + "amount": 90.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/486709567845/DR/MAYURI T/YESB/ Q524787111@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "12-04-2026", + "description": "UPIAR/344157893490/DR/K PRABHA/CNRB/7416790434-2@y", + "amount": 260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/040906535667/CR/RAMALAKS/SBIN/ 9494171674@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAB/187210127646/CR/DODDA A/SBIN/ 9618724578@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "13-04-2026", + "description": "UPIAB/065165681822/CR/KONDALAR/SBIN/ 8433683460@ib", + "amount": 3000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "04-04-2026", + "period_end": "13-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_37_extraction.json b/debug/20260518_165811/cp2_page_37_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..849adbb2347efec9b955798705102f2ff81576fc --- /dev/null +++ b/debug/20260518_165811/cp2_page_37_extraction.json @@ -0,0 +1,489 @@ +{ + "page": 37, + "elapsed_s": 28.25, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 37, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n37\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-04-2026\nS57714989\nUPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax\n1000.0(Cr)\n133922.9(Cr)\n13-04-2026\nS66644362\nUPIAR/981621305763/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n123922.9(Cr)\n13-04-2026\nS82048131\nUPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb\n3500.0(Cr)\n127422.9(Cr)\n14-04-2026\nT14768340\nUPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n127292.9(Cr)\n14-04-2026\nT47677787\nUPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n127192.9(Cr)\n15-04-2026\nT70795448\nANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S\n354.0(Dr)\n126838.9(Cr)\n15-04-2026\nT94628615\nUPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n126770.9(Cr)\n15-04-2026\nU17799301\nUPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067\n1260.0(Dr)\n125510.9(Cr)\n15-04-2026\nU20089790\nUPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax\n2600.0(Cr)\n128110.9(Cr)\n15-04-2026\nU22688487\nUPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y\n1900.0(Dr)\n126210.9(Cr)\n16-04-2026\nU73125550\nUPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb\n1000.0(Cr)\n127210.9(Cr)\n16-04-2026\nU88620384\nUPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax\n700.0(Cr)\n127910.9(Cr)\n16-04-2026\nU94629778\nUPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb\n136.0(Dr)\n127774.9(Cr)\n16-04-2026\nV9918180\nUPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini\n172.0(Dr)\n127602.9(Cr)\n17-04-2026\nV30271938\nUPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@\n400.0(Dr)\n127202.9(Cr)\n17-04-2026\nV32167596\nUPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y\n1000.0(Cr)\n128202.9(Cr)\n17-04-2026\nV69001150\nUPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart\n79.0(Dr)\n128123.9(Cr)\n17-04-2026\nV71738874\nUPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-\n276.0(Dr)\n127847.88(Cr)\n18-04-2026\nW4516775\nUPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y\n500.0(Cr)\n128347.88(Cr)\n18-04-2026\nW5469587\nUPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n132847.88(Cr)\n18-04-2026\nW29238621\nUPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i\n4000.0(Cr)\n136847.88(Cr)\n19-04-2026\nW85187249\nUPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n800.0(Dr)\n136047.88(Cr)\n19-04-2026\nX7596300\nUPIAR/864729139387/DR/SURYA T/CNRB/33618092997037\n140.0(Dr)\n135907.88(Cr)\n19-04-2026\nX9595170\nUPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb\n50.0(Dr)\n135857.88(Cr)\n19-04-2026\nX17753117\nUPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb\n40.0(Dr)\n135817.88(Cr)\n19-04-2026\nX17865893\nUPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@\n29.0(Dr)\n135788.88(Cr)\n20-04-2026\nX43149977\nUPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb\n1000.0(Cr)\n136788.88(Cr)\n21-04-2026\nY36826401\nUPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb\n1000.0(Cr)\n137788.88(Cr)\n", + "currency": "INR", + "opening_balance": 132922.9, + "closing_balance": 137788.88, + "transactions": [ + { + "date": "13-04-2026", + "description": "UPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAR/981621305763/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-04-2026", + "description": "UPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-04-2026", + "description": "UPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "ANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S", + "amount": 354.0, + "transaction_type": "debit", + "label": "annual_fee" + }, + { + "date": "15-04-2026", + "description": "UPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 1260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax", + "amount": 2600.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y", + "amount": 1900.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 700.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 136.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini", + "amount": 172.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart", + "amount": 79.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-", + "amount": 276.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-04-2026", + "description": "UPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-04-2026", + "description": "UPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-04-2026", + "description": "UPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/864729139387/DR/SURYA T/CNRB/33618092997037", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@", + "amount": 29.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-04-2026", + "description": "UPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-04-2026", + "description": "UPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + } + ], + "period_start": "13-04-2026", + "period_end": "21-04-2026", + "anomaly_flags": [ + "balance_discontinuity" + ] + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid" + ], + "raw_extraction": { + "page_number": 37, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n37\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n13-04-2026\nS57714989\nUPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax\n1000.0(Cr)\n133922.9(Cr)\n13-04-2026\nS66644362\nUPIAR/981621305763/DR/Bank Acc/BKID/86131011001673\n10000.0(Dr)\n123922.9(Cr)\n13-04-2026\nS82048131\nUPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb\n3500.0(Cr)\n127422.9(Cr)\n14-04-2026\nT14768340\nUPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@\n130.0(Dr)\n127292.9(Cr)\n14-04-2026\nT47677787\nUPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n127192.9(Cr)\n15-04-2026\nT70795448\nANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S\n354.0(Dr)\n126838.9(Cr)\n15-04-2026\nT94628615\nUPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb\n68.0(Dr)\n126770.9(Cr)\n15-04-2026\nU17799301\nUPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067\n1260.0(Dr)\n125510.9(Cr)\n15-04-2026\nU20089790\nUPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax\n2600.0(Cr)\n128110.9(Cr)\n15-04-2026\nU22688487\nUPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y\n1900.0(Dr)\n126210.9(Cr)\n16-04-2026\nU73125550\nUPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb\n1000.0(Cr)\n127210.9(Cr)\n16-04-2026\nU88620384\nUPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax\n700.0(Cr)\n127910.9(Cr)\n16-04-2026\nU94629778\nUPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb\n136.0(Dr)\n127774.9(Cr)\n16-04-2026\nV9918180\nUPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini\n172.0(Dr)\n127602.9(Cr)\n17-04-2026\nV30271938\nUPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@\n400.0(Dr)\n127202.9(Cr)\n17-04-2026\nV32167596\nUPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y\n1000.0(Cr)\n128202.9(Cr)\n17-04-2026\nV69001150\nUPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart\n79.0(Dr)\n128123.9(Cr)\n17-04-2026\nV71738874\nUPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-\n276.0(Dr)\n127847.88(Cr)\n18-04-2026\nW4516775\nUPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y\n500.0(Cr)\n128347.88(Cr)\n18-04-2026\nW5469587\nUPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@\n4500.0(Cr)\n132847.88(Cr)\n18-04-2026\nW29238621\nUPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i\n4000.0(Cr)\n136847.88(Cr)\n19-04-2026\nW85187249\nUPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN\n800.0(Dr)\n136047.88(Cr)\n19-04-2026\nX7596300\nUPIAR/864729139387/DR/SURYA T/CNRB/33618092997037\n140.0(Dr)\n135907.88(Cr)\n19-04-2026\nX9595170\nUPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb\n50.0(Dr)\n135857.88(Cr)\n19-04-2026\nX17753117\nUPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb\n40.0(Dr)\n135817.88(Cr)\n19-04-2026\nX17865893\nUPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@\n29.0(Dr)\n135788.88(Cr)\n20-04-2026\nX43149977\nUPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb\n1000.0(Cr)\n136788.88(Cr)\n21-04-2026\nY36826401\nUPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb\n1000.0(Cr)\n137788.88(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 132922.9, + "closing_balance": 137788.88, + "transactions": [ + { + "date": "13-04-2026", + "description": "UPIAB/748335180964/CR/APPALASR/SBIN/ 9885760650@ax", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAR/981621305763/DR/Bank Acc/BKID/86131011001673", + "amount": 10000.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "13-04-2026", + "description": "UPIAB/175875387564/CR/Mandangi/SBIN/ 9494918941@yb", + "amount": 3500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "14-04-2026", + "description": "UPIAR/888312282779/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 130.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "14-04-2026", + "description": "UPIAR/099038373082/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "ANN.FEE6522029812982622DATE OF ISSUANCE16-03-2023S", + "amount": 354.0, + "transaction_type": "debit", + "label": "annual_fee" + }, + { + "date": "15-04-2026", + "description": "UPIAR/423470961101/DR/Mr Bandi/YESB/ Q669290821@yb", + "amount": 68.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAR/699234088069/DR/SWEET HO/FDRL/BHARATPE.90067", + "amount": 1260.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAB/119345813567/CR/BAPUJI /SBIN/ 8309199401@ax", + "amount": 2600.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "15-04-2026", + "description": "UPIAR/270430062894/DR/PAITHIRE/BKID/9059965551-7@y", + "amount": 1900.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAB/311348180339/CR/SRINIVAS/SBIN/ 9490791534@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAB/629378364087/CR/REDDY VE/UTIB/ 9182240851@ax", + "amount": 700.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAR/429199254954/DR/SAI BHAG/KARB/ 9652317441@kb", + "amount": 136.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "16-04-2026", + "description": "UPIAR/344259513934/DR/SAI KRUP/SIBL/pentapatisrini", + "amount": 172.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAR/503039447733/DR/Kambala /YESB/paytmqr6vtnap@", + "amount": 400.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAB/220106902677/CR/YAMALA C/IOBA/7286932282-3@y", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAR/465103753905/DR/VISHAL M/HDFC/vishalmegamart", + "amount": 79.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "17-04-2026", + "description": "UPIAR/532547050702/DR/Smart Vi/JIOP/2306662615086-", + "amount": 276.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "18-04-2026", + "description": "UPIAB/747986676933/CR/GAVARA /SBIN/9550252189-5@y", + "amount": 500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-04-2026", + "description": "UPIAB/328810990432/CR/UPPALAPA/HDFC/revanthhdfc12@", + "amount": 4500.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "18-04-2026", + "description": "UPIAB/226665654418/CR/APPALANA/SBIN/9959612349-2@i", + "amount": 4000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/131661472521/DR/SRI LAKS/SBIP/SBIBHIM.INSTAN", + "amount": 800.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/864729139387/DR/SURYA T/CNRB/33618092997037", + "amount": 140.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/828315158723/DR/POTNURU /YESB/ Q410149348@yb", + "amount": 50.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/662261112491/DR/BONDADA /YESB/ Q281559826@yb", + "amount": 40.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "19-04-2026", + "description": "UPIAR/840704960833/DR/Anasuya /YESB/paytmqr6fy8p6@", + "amount": 29.0, + "transaction_type": "debit", + "label": null + }, + { + "date": "20-04-2026", + "description": "UPIAB/033274933731/CR/RUGADA N/BARB/ 7997629791@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + }, + { + "date": "21-04-2026", + "description": "UPIAB/142838742617/CR/PINNINTI/HDFC/ 9701010187@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": null + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "13-04-2026", + "period_end": "21-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [ + "balance_discontinuity" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp2_page_38_extraction.json b/debug/20260518_165811/cp2_page_38_extraction.json new file mode 100644 index 0000000000000000000000000000000000000000..753ba8318a6ef103796a76b2b3f7be4489ee723d --- /dev/null +++ b/debug/20260518_165811/cp2_page_38_extraction.json @@ -0,0 +1,289 @@ +{ + "page": 38, + "elapsed_s": 21.09, + "page_type_detected": "bank_statement", + "non_null_fields": { + "page_number": 38, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n38\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n21-04-2026\nY36982063\nUPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha\n1000.0(Cr)\n138788.88(Cr)\n21-04-2026\nY66328299\nUPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66336109\nUPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n157868.88(Cr)\n21-04-2026\nY66816219\nUPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66918270\nUPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n117868.88(Cr)\n22-04-2026\nY78763154\nUPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n117768.88(Cr)\n22-04-2026\nY88085587\nUPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n112768.88(Cr)\n22-04-2026\nS24482676\nUPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb\n140.0(Dr)\n112628.88(Cr)\n22-04-2026\nS25092112\nUPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188\n445.0(Dr)\n112183.88(Cr)\n22-04-2026\nS29716042\nUPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n118183.88(Cr)\n23-04-2026\nS76287968\nUPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb\n2000.0(Cr)\n120183.88(Cr)\n24-04-2026\nT29915388\nUPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@\n100.0(Dr)\n120083.88(Cr)\n24-04-2026\nT35435593\nUPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n140083.88(Cr)\n24-04-2026\nT49670108\nUPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb\n1000.0(Cr)\n141083.88(Cr)\n", + "currency": "INR", + "opening_balance": 137788.88, + "closing_balance": 141083.88, + "transactions": [ + { + "date": "21-04-2026", + "description": "UPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188", + "amount": 445.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-04-2026", + "description": "UPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-04-2026", + "description": "UPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-04-2026", + "description": "UPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-04-2026", + "description": "UPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "period_start": "21-04-2026", + "period_end": "24-04-2026" + }, + "null_or_empty_fields": [ + "person_name", + "date_of_birth", + "applicant_dob", + "nationality", + "passport_number", + "employer_name", + "job_title", + "monthly_salary", + "annual_income", + "document_date", + "employment_start", + "employment_end", + "sponsor_name", + "sponsor_relationship", + "sponsor_declared_income", + "sponsor_income_currency", + "applicant_name", + "declared_liquid_assets", + "declared_movable_assets", + "declared_property_value", + "declared_annual_income", + "declared_assets_total", + "institution_name", + "program_name", + "program_cost", + "program_duration_months", + "enrollment_start", + "tax_year", + "taxable_income", + "tax_paid", + "anomaly_flags" + ], + "raw_extraction": { + "page_number": 38, + "page_type": "bank_statement", + "raw_text": "Savings Account\nPage \n of \n38\n38\nDate\nTransaction Id\nRemarks\nAmount( )\nBalance( )\n21-04-2026\nY36982063\nUPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha\n1000.0(Cr)\n138788.88(Cr)\n21-04-2026\nY66328299\nUPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834\n920.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66336109\nUPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n157868.88(Cr)\n21-04-2026\nY66816219\nUPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n137868.88(Cr)\n21-04-2026\nY66918270\nUPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB\n20000.0(Dr)\n117868.88(Cr)\n22-04-2026\nY78763154\nUPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@\n100.0(Dr)\n117768.88(Cr)\n22-04-2026\nY88085587\nUPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp\n5000.0(Dr)\n112768.88(Cr)\n22-04-2026\nS24482676\nUPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb\n140.0(Dr)\n112628.88(Cr)\n22-04-2026\nS25092112\nUPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188\n445.0(Dr)\n112183.88(Cr)\n22-04-2026\nS29716042\nUPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a\n6000.0(Cr)\n118183.88(Cr)\n23-04-2026\nS76287968\nUPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb\n2000.0(Cr)\n120183.88(Cr)\n24-04-2026\nT29915388\nUPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@\n100.0(Dr)\n120083.88(Cr)\n24-04-2026\nT35435593\nUPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb\n20000.0(Cr)\n140083.88(Cr)\n24-04-2026\nT49670108\nUPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb\n1000.0(Cr)\n141083.88(Cr)\n", + "person_name": null, + "date_of_birth": null, + "applicant_dob": null, + "nationality": null, + "passport_number": null, + "currency": "INR", + "opening_balance": 137788.88, + "closing_balance": 141083.88, + "transactions": [ + { + "date": "21-04-2026", + "description": "UPIAB/290095027980/CR/ROUTHU /SBIN/routhujanardha", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAR/349445966912/DR/ PhonePe/YESB/SV251211223834", + "amount": 920.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAB/854479354841/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAR/503131001081/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "21-04-2026", + "description": "UPIAR/197081984998/DR/Bank Acc/SBIN/62214014329@SB", + "amount": 20000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/373108246246/DR/SHEK RAH/YESB/paytmqr6iqeby@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/647881702141/DR/Bajaj Li/YESB/bajajlife@yesp", + "amount": 5000.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/005766991837/DR/LAKSHMI /YESB/ Q424186410@yb", + "amount": 140.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAR/582864047436/DR/PAVAN PU/CNRB/11011085900188", + "amount": 445.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "22-04-2026", + "description": "UPIAB/626546490286/CR/THONANGI/PUNB/8790158784-2@a", + "amount": 6000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "23-04-2026", + "description": "UPIAB/051719567155/CR/PARISARL/SBIN/ 8309344031@yb", + "amount": 2000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-04-2026", + "description": "UPIAR/939951440428/DR/Kambala /YESB/paytmqr6vtnb0@", + "amount": 100.0, + "transaction_type": "debit", + "label": "transfer" + }, + { + "date": "24-04-2026", + "description": "UPIAB/103862694692/CR/KUSUMAPU/BARB/korada30112@yb", + "amount": 20000.0, + "transaction_type": "credit", + "label": "transfer" + }, + { + "date": "24-04-2026", + "description": "UPIAB/530061238822/CR/RAM SURA/HDFC/ 8978688881@yb", + "amount": 1000.0, + "transaction_type": "credit", + "label": "transfer" + } + ], + "employer_name": null, + "job_title": null, + "monthly_salary": null, + "annual_income": null, + "document_date": null, + "period_start": "21-04-2026", + "period_end": "24-04-2026", + "employment_start": null, + "employment_end": null, + "sponsor_name": null, + "sponsor_relationship": null, + "sponsor_declared_income": null, + "sponsor_income_currency": null, + "applicant_name": null, + "declared_liquid_assets": null, + "declared_movable_assets": null, + "declared_property_value": null, + "declared_annual_income": null, + "declared_assets_total": null, + "institution_name": null, + "program_name": null, + "program_cost": null, + "program_duration_months": null, + "enrollment_start": null, + "tax_year": null, + "taxable_income": null, + "tax_paid": null, + "anomaly_flags": [] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp3_graph.json b/debug/20260518_165811/cp3_graph.json new file mode 100644 index 0000000000000000000000000000000000000000..751c4604ea562bcfb80e655f4f56a62ee28e8118 --- /dev/null +++ b/debug/20260518_165811/cp3_graph.json @@ -0,0 +1,435 @@ +{ + "identity": { + "name_variants": [ + "KORADA SATYANARAYANA", + "K Satyanarayana", + "SATYANARAYANA KORAD", + "SATYANARAYANA KORADA" + ], + "canonical_name": "KORADA SATYANARAYANA", + "date_of_birth": null, + "nationality": null, + "passport_number": null, + "transliteration_flags": [ + "'K Satyanarayana' vs 'KORADA SATYANARAYANA'", + "'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'", + "'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'" + ], + "cross_doc_name_match": false + }, + "financial": { + "currency": "INR", + "opening_balance": 46479.31, + "closing_balance": 141083.88, + "avg_monthly_income": null, + "total_credits": 1805222.0, + "total_debits": 1703231.3, + "transaction_count": 1036, + "spikes": [ + { + "date": "13-07-2025", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "17-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "18-08-2025", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "20-08-2025", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "21-08-2025", + "amount": 25000.0, + "label": null, + "ratio_to_average": 4.86 + }, + { + "date": "23-08-2025", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "08-10-2025", + "amount": 50000.0, + "label": "transfer", + "ratio_to_average": 9.72 + }, + { + "date": "08-10-2025", + "amount": 39115.0, + "label": "transfer", + "ratio_to_average": 7.61 + }, + { + "date": "28-10-2025", + "amount": 100000.0, + "label": null, + "ratio_to_average": 19.44 + }, + { + "date": "29-10-2025", + "amount": 50000.0, + "label": "large_unlabeled_deposit", + "ratio_to_average": 9.72 + }, + { + "date": "30-10-2025", + "amount": 50000.0, + "label": "large_unlabeled_deposit", + "ratio_to_average": 9.72 + }, + { + "date": "12-11-2025", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "19-11-2025", + "amount": 20000.0, + "label": null, + "ratio_to_average": 3.89 + }, + { + "date": "20-01-2026", + "amount": 27000.0, + "label": "transfer", + "ratio_to_average": 5.25 + }, + { + "date": "31-01-2026", + "amount": 16500.0, + "label": null, + "ratio_to_average": 3.21 + }, + { + "date": "01-03-2026", + "amount": 30000.0, + "label": null, + "ratio_to_average": 5.83 + }, + { + "date": "01-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 30000.0, + "label": "transfer", + "ratio_to_average": 5.83 + }, + { + "date": "03-03-2026", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "21-04-2026", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + }, + { + "date": "24-04-2026", + "amount": 20000.0, + "label": "transfer", + "ratio_to_average": 3.89 + } + ], + "unlabeled_deposit_count": 198, + "income_percentile": null, + "declared_property_value": null, + "declared_movable_assets": null, + "source_is_affidavit": false + }, + "temporal": { + "doc_date_ranges": [ + { + "source": "bank_statement", + "page": 1, + "start": "24-04-2025", + "end": "24-04-2026" + }, + { + "source": "bank_statement", + "page": 2, + "start": "29-05-2025", + "end": "16-07-2025" + }, + { + "source": "bank_statement", + "page": 3, + "start": "16-07-2025", + "end": "18-08-2025" + }, + { + "source": "bank_statement", + "page": 4, + "start": "18-08-2025", + "end": "10-09-2025" + }, + { + "source": "bank_statement", + "page": 5, + "start": "11-09-2025", + "end": "20-09-2025" + }, + { + "source": "bank_statement", + "page": 6, + "start": "20-09-2025", + "end": "27-09-2025" + }, + { + "source": "bank_statement", + "page": 7, + "start": "28-09-2025", + "end": "02-10-2025" + }, + { + "source": "bank_statement", + "page": 8, + "start": "03-10-2025", + "end": "10-10-2025" + }, + { + "source": "bank_statement", + "page": 9, + "start": "10-10-2025", + "end": "20-10-2025" + }, + { + "source": "bank_statement", + "page": 10, + "start": "20-10-2025", + "end": "28-10-2025" + }, + { + "source": "bank_statement", + "page": 11, + "start": "28-10-2025", + "end": "07-11-2025" + }, + { + "source": "bank_statement", + "page": 12, + "start": "07-11-2025", + "end": "13-11-2025" + }, + { + "source": "bank_statement", + "page": 13, + "start": "13-11-2025", + "end": "20-11-2025" + }, + { + "source": "bank_statement", + "page": 14, + "start": "20-11-2025", + "end": "27-11-2025" + }, + { + "source": "bank_statement", + "page": 15, + "start": "27-11-2025", + "end": "04-12-2025" + }, + { + "source": "bank_statement", + "page": 16, + "start": "05-12-2025", + "end": "13-12-2025" + }, + { + "source": "bank_statement", + "page": 17, + "start": "14-12-2025", + "end": "18-12-2025" + }, + { + "source": "bank_statement", + "page": 18, + "start": "18-12-2025", + "end": "24-12-2025" + }, + { + "source": "bank_statement", + "page": 19, + "start": "24-12-2025", + "end": "02-01-2026" + }, + { + "source": "bank_statement", + "page": 20, + "start": "02-01-2026", + "end": "09-01-2026" + }, + { + "source": "bank_statement", + "page": 21, + "start": "11-01-2026", + "end": "20-01-2026" + }, + { + "source": "bank_statement", + "page": 22, + "start": "20-01-2026", + "end": "25-01-2026" + }, + { + "source": "bank_statement", + "page": 23, + "start": "25-01-2026", + "end": "01-02-2026" + }, + { + "source": "bank_statement", + "page": 24, + "start": "01-02-2026", + "end": "06-02-2026" + }, + { + "source": "bank_statement", + "page": 25, + "start": "06-02-2026", + "end": "13-02-2026" + }, + { + "source": "bank_statement", + "page": 26, + "start": "13-02-2026", + "end": "17-02-2026" + }, + { + "source": "bank_statement", + "page": 27, + "start": "17-02-2026", + "end": "22-02-2026" + }, + { + "source": "bank_statement", + "page": 28, + "start": "22-02-2026", + "end": "01-03-2026" + }, + { + "source": "bank_statement", + "page": 29, + "start": "01-03-2026", + "end": "05-03-2026" + }, + { + "source": "bank_statement", + "page": 30, + "start": "05-03-2026", + "end": "09-03-2026" + }, + { + "source": "bank_statement", + "page": 31, + "start": "09-03-2026", + "end": "15-03-2026" + }, + { + "source": "bank_statement", + "page": 32, + "start": "15-03-2026", + "end": "19-03-2026" + }, + { + "source": "bank_statement", + "page": 33, + "start": "19-03-2026", + "end": "28-03-2026" + }, + { + "source": "bank_statement", + "page": 34, + "start": "28-03-2026", + "end": "02-04-2026" + }, + { + "source": "bank_statement", + "page": 35, + "start": "02-04-2026", + "end": "04-04-2026" + }, + { + "source": "bank_statement", + "page": 36, + "start": "04-04-2026", + "end": "13-04-2026" + }, + { + "source": "bank_statement", + "page": 37, + "start": "13-04-2026", + "end": "21-04-2026" + }, + { + "source": "bank_statement", + "page": 38, + "start": "21-04-2026", + "end": "24-04-2026" + } + ], + "employment_start": null, + "employment_end": null, + "visa_window_start": null, + "visa_window_end": null, + "gap_flags": [], + "chronology_valid": true + }, + "sponsor": null, + "enrollment": null, + "edges": [ + { + "edge_type": "income_link", + "source_node": "identity", + "target_node": "financial", + "coherent": true, + "detail": null + } + ], + "token_count": 2725, + "source_page_count": 38, + "estimated_raw_tokens": 76000, + "source_doc_types": [ + "bank_statement" + ] +} \ No newline at end of file diff --git a/debug/20260518_165811/cp3_graph_summary.txt b/debug/20260518_165811/cp3_graph_summary.txt new file mode 100644 index 0000000000000000000000000000000000000000..92f94827ae312862cb96404400d90a1a291b7d11 --- /dev/null +++ b/debug/20260518_165811/cp3_graph_summary.txt @@ -0,0 +1,27 @@ +=== GRAPH SUMMARY (run: 20260518_165811) === +Source pages: 38 | Doc types: ['bank_statement'] +Token count: 2725 | Compression: 76,000 -> 2,725 + +--- IDENTITY --- + canonical_name: KORADA SATYANARAYANA + date_of_birth: None + nationality: None + passport_number: None + name_variants: ['KORADA SATYANARAYANA', 'K Satyanarayana', 'SATYANARAYANA KORAD', 'SATYANARAYANA KORADA'] + +--- FINANCIAL --- + source_is_affidavit: False + currency: INR + closing_balance: 141083.88 + avg_monthly_income: None + transaction_count: 1036 + declared_property: None + declared_movables: None + +--- SPONSOR --- + sponsor_name: None + relationship: None + declared_income: None + + enrollment: null + edges: [] \ No newline at end of file diff --git a/debug/20260518_165811/cp4_enrollment_agent_prompt.json b/debug/20260518_165811/cp4_enrollment_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..f0212576d7bffd1f905e48aca671f0558a8d5c5b --- /dev/null +++ b/debug/20260518_165811/cp4_enrollment_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "enrollment_agent", + "graph_subset_keys": [ + "enrollment", + "financial", + "temporal" + ], + "estimated_input_tokens": 2553, + "prompt_char_count": 10214, + "prompt": "You are an adversarial pre-submission auditor reviewing enrollment documentation.\nYour task: identify enrollment/financial inconsistencies in the PROVIDED documents and flag missing\nenrollment documents as informational gaps.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nDOSSIER COMPLETENESS: THIS IS A PARTIAL DOSSIER. The user has NOT uploaded all required documents yet. Missing: ['passport', 'payslip', 'tax_return', 'sponsor_letter', 'employment_letter', 'enrollment_letter', 'affidavit']. RULES: 1) If a data node is null because the corresponding document was not uploaded, classify this as 'info' severity with explanation 'Document not provided — required for complete audit.' Do NOT escalate missing-document gaps to 'critical'. 2) ONLY flag as 'critical' genuine anomalies found WITHIN the provided documents (e.g., smurfing, unexplained spikes, forged data, balance discontinuities). 3) Set agent_verdict to 'flag' for missing-doc issues, reserve 'critical' for real anomalies.\n\nENROLLMENT DATA:\nnull\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": null,\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 198,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 7,\n \"start\": \"28-09-2025\",\n \"end\": \"02-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 8,\n \"start\": \"03-10-2025\",\n \"end\": \"10-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 9,\n \"start\": \"10-10-2025\",\n \"end\": \"20-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 10,\n \"start\": \"20-10-2025\",\n \"end\": \"28-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 11,\n \"start\": \"28-10-2025\",\n \"end\": \"07-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 12,\n \"start\": \"07-11-2025\",\n \"end\": \"13-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 13,\n \"start\": \"13-11-2025\",\n \"end\": \"20-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 14,\n \"start\": \"20-11-2025\",\n \"end\": \"27-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 15,\n \"start\": \"27-11-2025\",\n \"end\": \"04-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 16,\n \"start\": \"05-12-2025\",\n \"end\": \"13-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 17,\n \"start\": \"14-12-2025\",\n \"end\": \"18-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 18,\n \"start\": \"18-12-2025\",\n \"end\": \"24-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 19,\n \"start\": \"24-12-2025\",\n \"end\": \"02-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 20,\n \"start\": \"02-01-2026\",\n \"end\": \"09-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 21,\n \"start\": \"11-01-2026\",\n \"end\": \"20-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 22,\n \"start\": \"20-01-2026\",\n \"end\": \"25-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 23,\n \"start\": \"25-01-2026\",\n \"end\": \"01-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 24,\n \"start\": \"01-02-2026\",\n \"end\": \"06-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 31,\n \"start\": \"09-03-2026\",\n \"end\": \"15-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 32,\n \"start\": \"15-03-2026\",\n \"end\": \"19-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 33,\n \"start\": \"19-03-2026\",\n \"end\": \"28-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 34,\n \"start\": \"28-03-2026\",\n \"end\": \"02-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 35,\n \"start\": \"02-04-2026\",\n \"end\": \"04-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 36,\n \"start\": \"04-04-2026\",\n \"end\": \"13-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 37,\n \"start\": \"13-04-2026\",\n \"end\": \"21-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 38,\n \"start\": \"21-04-2026\",\n \"end\": \"24-04-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the applicant's closing_balance cover program_cost? Show the arithmetic.\n Include a living expense estimate (~$1,500/month × duration_months) if relevant.\n2. Does enrollment_start align with the visa application timeline?\n3. Is the program_duration_months realistic for the stated program?\n4. If funds_cover_full_stay is false, quantify the shortfall exactly.\n5. If no enrollment data exists (null), classify as 'info' severity — enrollment documents\n may not have been uploaded yet, or this may be a non-student visa.\n Do NOT treat missing enrollment as a critical rejection issue.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_165811/cp4_financial_agent_prompt.json b/debug/20260518_165811/cp4_financial_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..52a015a73854aba3a2a73f595f26411220d34d4f --- /dev/null +++ b/debug/20260518_165811/cp4_financial_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "financial_agent", + "graph_subset_keys": [ + "financial", + "identity" + ], + "estimated_input_tokens": 3502, + "prompt_char_count": 14008, + "prompt": "You are an adversarial pre-submission auditor reviewing financial documents.\nYour task: identify genuine financial anomalies in the PROVIDED documents. Focus on patterns that\nindicate fund manipulation, smurfing, or unexplained activity — NOT on missing documents.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nDOSSIER COMPLETENESS: THIS IS A PARTIAL DOSSIER. The user has NOT uploaded all required documents yet. Missing: ['passport', 'payslip', 'tax_return', 'sponsor_letter', 'employment_letter', 'enrollment_letter', 'affidavit']. RULES: 1) If a data node is null because the corresponding document was not uploaded, classify this as 'info' severity with explanation 'Document not provided — required for complete audit.' Do NOT escalate missing-document gaps to 'critical'. 2) ONLY flag as 'critical' genuine anomalies found WITHIN the provided documents (e.g., smurfing, unexplained spikes, forged data, balance discontinuities). 3) Set agent_verdict to 'flag' for missing-doc issues, reserve 'critical' for real anomalies.\n\nFINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": null,\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 198,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"KORADA SATYANARAYANA\",\n \"K Satyanarayana\",\n \"SATYANARAYANA KORAD\",\n \"SATYANARAYANA KORADA\"\n ],\n \"canonical_name\": \"KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'K Satyanarayana' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=20-08-2025]\",\n \"message\": \"Transaction on 20-08-2025 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=21-08-2025]\",\n \"message\": \"Transaction on 21-08-2025 is 4.86\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.86\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=23-08-2025]\",\n \"message\": \"Transaction on 23-08-2025 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=28-10-2025]\",\n \"message\": \"Transaction on 28-10-2025 is 19.44\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 19.44\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=19-11-2025]\",\n \"message\": \"Transaction on 19-11-2025 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=31-01-2026]\",\n \"message\": \"Transaction on 31-01-2026 is 3.21\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.21\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (141,084 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 1,858,916 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"141,084 JPY\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=13-07-2025]\",\n \"message\": \"Transaction on 13-07-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=17-08-2025]\",\n \"message\": \"Transaction on 17-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=18-08-2025]\",\n \"message\": \"Transaction on 18-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 7.61\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 7.61\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=29-10-2025]\",\n \"message\": \"Transaction on 29-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: large_unlabeled_deposit\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=30-10-2025]\",\n \"message\": \"Transaction on 30-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: large_unlabeled_deposit\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=12-11-2025]\",\n \"message\": \"Transaction on 12-11-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=20-01-2026]\",\n \"message\": \"Transaction on 20-01-2026 is 5.25\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.25\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=21-04-2026]\",\n \"message\": \"Transaction on 21-04-2026 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=24-04-2026]\",\n \"message\": \"Transaction on 24-04-2026 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-002\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"message\": \"198 deposit(s) have no source label\",\n \"expected\": \"0 unlabeled deposits\",\n \"actual\": \"198\"\n }\n]\n\nAnalyse the following — be specific, cite exact values:\n1. For each spike in spikes[]: is there a plausible source? If unlabeled, flag as warning or critical\n based on the severity of the spike ratio and clustering pattern.\n2. Does avg_monthly_income × visa_duration cover declared costs? Show the arithmetic.\n If income data is missing because payslips haven't been uploaded, note this as 'info' not 'critical'.\n3. Does the balance trajectory make sense given declared income? Flag any impossible accumulation.\n4. Are there cross-document income discrepancies (payslip vs bank deposit amounts)?\n5. If the closing balance is below a threshold, note the current documented balance and suggest\n the user upload additional accounts to meet the requirement — do NOT issue a hard rejection.\n6. Aggregate balances across ALL provided accounts before assessing financial thresholds.\n\nSEVERITY GUIDE:\n- 'critical': Genuine anomalies WITHIN the data (smurfing clusters, forged amounts, impossible balances)\n- 'warning': Suspicious patterns that need explanation (large unlabeled deposits, unusual spikes)\n- 'info': Missing data because documents haven't been uploaded yet\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_165811/cp4_identity_agent_prompt.json b/debug/20260518_165811/cp4_identity_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..660960abe0102b3d84150f3a9a5a1ca77b38987d --- /dev/null +++ b/debug/20260518_165811/cp4_identity_agent_prompt.json @@ -0,0 +1,9 @@ +{ + "agent_id": "identity_agent", + "graph_subset_keys": [ + "identity" + ], + "estimated_input_tokens": 785, + "prompt_char_count": 3142, + "prompt": "You are an adversarial pre-submission auditor reviewing identity documents.\nYour task: identify identity inconsistencies in the PROVIDED documents and flag missing identity documents\nas informational gaps — NOT as rejection grounds.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nDOSSIER COMPLETENESS: THIS IS A PARTIAL DOSSIER. The user has NOT uploaded all required documents yet. Missing: ['passport', 'payslip', 'tax_return', 'sponsor_letter', 'employment_letter', 'enrollment_letter', 'affidavit']. RULES: 1) If a data node is null because the corresponding document was not uploaded, classify this as 'info' severity with explanation 'Document not provided — required for complete audit.' Do NOT escalate missing-document gaps to 'critical'. 2) ONLY flag as 'critical' genuine anomalies found WITHIN the provided documents (e.g., smurfing, unexplained spikes, forged data, balance discontinuities). 3) Set agent_verdict to 'flag' for missing-doc issues, reserve 'critical' for real anomalies.\n\nIDENTITY DATA:\n{\n \"name_variants\": [\n \"KORADA SATYANARAYANA\",\n \"K Satyanarayana\",\n \"SATYANARAYANA KORAD\",\n \"SATYANARAYANA KORADA\"\n ],\n \"canonical_name\": \"KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'K Satyanarayana' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[\n {\n \"rule_id\": \"IDN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"identity.cross_doc_name_match\",\n \"message\": \"Name mismatch across documents: ['KORADA SATYANARAYANA', 'K Satyanarayana', 'SATYANARAYANA KORAD', 'SATYANARAYANA KORADA']. Possible transliteration issues: [\\\"'K Satyanarayana' vs 'KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'\\\"]\",\n \"expected\": \"Consistent name across all documents\",\n \"actual\": \"4 variants found\"\n }\n]\n\nAnalyse the following — be specific, cite exact field paths:\n1. Are all name_variants plausibly the same person? Consider transliteration rules\n (e.g. Japanese: family-first vs given-first, romanisation differences).\n2. If cross_doc_name_match is false, is this a genuine mismatch or an expected\n transliteration variation? Rate the severity.\n3. Check for date_of_birth consistency — is it the same across all documents?\n4. Does the passport_number match the identity page expectations for the stated nationality?\n5. If passport data is null, classify as 'info' severity — the passport document has not been uploaded yet.\n Do NOT treat missing passport as a critical rejection issue.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_165811/cp4_sponsor_agent_prompt.json b/debug/20260518_165811/cp4_sponsor_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..3ffc4cfc6ad1ac7a658cd502ceb9cf33dd27dab2 --- /dev/null +++ b/debug/20260518_165811/cp4_sponsor_agent_prompt.json @@ -0,0 +1,11 @@ +{ + "agent_id": "sponsor_agent", + "graph_subset_keys": [ + "sponsor", + "identity", + "financial" + ], + "estimated_input_tokens": 1500, + "prompt_char_count": 6000, + "prompt": "You are an adversarial pre-submission auditor reviewing sponsor documentation.\nYour task: identify sponsorship inconsistencies in the PROVIDED documents and flag missing sponsor\ndocuments as informational gaps.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nDOSSIER COMPLETENESS: THIS IS A PARTIAL DOSSIER. The user has NOT uploaded all required documents yet. Missing: ['passport', 'payslip', 'tax_return', 'sponsor_letter', 'employment_letter', 'enrollment_letter', 'affidavit']. RULES: 1) If a data node is null because the corresponding document was not uploaded, classify this as 'info' severity with explanation 'Document not provided — required for complete audit.' Do NOT escalate missing-document gaps to 'critical'. 2) ONLY flag as 'critical' genuine anomalies found WITHIN the provided documents (e.g., smurfing, unexplained spikes, forged data, balance discontinuities). 3) Set agent_verdict to 'flag' for missing-doc issues, reserve 'critical' for real anomalies.\n\nSPONSOR DATA:\nnull\n\nAPPLICANT IDENTITY:\n{\n \"name_variants\": [\n \"KORADA SATYANARAYANA\",\n \"K Satyanarayana\",\n \"SATYANARAYANA KORAD\",\n \"SATYANARAYANA KORADA\"\n ],\n \"canonical_name\": \"KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'K Satyanarayana' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n}\n\nAPPLICANT FINANCIAL DATA:\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": null,\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 198,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact values:\n1. Does the sponsor's declared_income realistically cover the applicant's total costs\n (tuition + living expenses + travel)? Show the arithmetic.\n2. Is the stated relationship plausible? (e.g. \"uncle\" sponsoring a non-relative is suspicious)\n3. If income_supports_coverage is false, quantify the shortfall.\n4. Does the sponsor's income_currency match the jurisdiction where they claim to reside?\n5. If no sponsor data exists (null), classify as 'info' severity — the sponsor documents\n have not been uploaded yet. The applicant may be self-funded or sponsor docs are pending.\n Do NOT treat missing sponsor as a critical rejection issue.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_165811/cp4_temporal_agent_prompt.json b/debug/20260518_165811/cp4_temporal_agent_prompt.json new file mode 100644 index 0000000000000000000000000000000000000000..1c043a65f49fde1965a1083d4dd5e49cab4847cd --- /dev/null +++ b/debug/20260518_165811/cp4_temporal_agent_prompt.json @@ -0,0 +1,10 @@ +{ + "agent_id": "temporal_agent", + "graph_subset_keys": [ + "temporal", + "financial" + ], + "estimated_input_tokens": 2580, + "prompt_char_count": 10322, + "prompt": "You are an adversarial pre-submission auditor reviewing the timeline of an application.\nYour task: identify temporal inconsistencies in the PROVIDED documents. Missing temporal data due to\nun-uploaded documents should be flagged as 'info', not 'critical'.\n\nJURISDICTION CONTEXT:\nJapanese Student (COE) visa requirements: Minimum bank balance of ¥2,000,000. 6 months of consecutive bank statements required. Certificate of Eligibility (COE) must match visa application dates. All large deposits must have documented sources. Sponsor must demonstrate income ≥1.2× total program costs.\n\nDOSSIER COMPLETENESS: THIS IS A PARTIAL DOSSIER. The user has NOT uploaded all required documents yet. Missing: ['passport', 'payslip', 'tax_return', 'sponsor_letter', 'employment_letter', 'enrollment_letter', 'affidavit']. RULES: 1) If a data node is null because the corresponding document was not uploaded, classify this as 'info' severity with explanation 'Document not provided — required for complete audit.' Do NOT escalate missing-document gaps to 'critical'. 2) ONLY flag as 'critical' genuine anomalies found WITHIN the provided documents (e.g., smurfing, unexplained spikes, forged data, balance discontinuities). 3) Set agent_verdict to 'flag' for missing-doc issues, reserve 'critical' for real anomalies.\n\nTEMPORAL DATA:\n{\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 7,\n \"start\": \"28-09-2025\",\n \"end\": \"02-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 8,\n \"start\": \"03-10-2025\",\n \"end\": \"10-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 9,\n \"start\": \"10-10-2025\",\n \"end\": \"20-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 10,\n \"start\": \"20-10-2025\",\n \"end\": \"28-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 11,\n \"start\": \"28-10-2025\",\n \"end\": \"07-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 12,\n \"start\": \"07-11-2025\",\n \"end\": \"13-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 13,\n \"start\": \"13-11-2025\",\n \"end\": \"20-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 14,\n \"start\": \"20-11-2025\",\n \"end\": \"27-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 15,\n \"start\": \"27-11-2025\",\n \"end\": \"04-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 16,\n \"start\": \"05-12-2025\",\n \"end\": \"13-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 17,\n \"start\": \"14-12-2025\",\n \"end\": \"18-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 18,\n \"start\": \"18-12-2025\",\n \"end\": \"24-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 19,\n \"start\": \"24-12-2025\",\n \"end\": \"02-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 20,\n \"start\": \"02-01-2026\",\n \"end\": \"09-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 21,\n \"start\": \"11-01-2026\",\n \"end\": \"20-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 22,\n \"start\": \"20-01-2026\",\n \"end\": \"25-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 23,\n \"start\": \"25-01-2026\",\n \"end\": \"01-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 24,\n \"start\": \"01-02-2026\",\n \"end\": \"06-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 31,\n \"start\": \"09-03-2026\",\n \"end\": \"15-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 32,\n \"start\": \"15-03-2026\",\n \"end\": \"19-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 33,\n \"start\": \"19-03-2026\",\n \"end\": \"28-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 34,\n \"start\": \"28-03-2026\",\n \"end\": \"02-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 35,\n \"start\": \"02-04-2026\",\n \"end\": \"04-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 36,\n \"start\": \"04-04-2026\",\n \"end\": \"13-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 37,\n \"start\": \"13-04-2026\",\n \"end\": \"21-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 38,\n \"start\": \"21-04-2026\",\n \"end\": \"24-04-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n}\n\nFINANCIAL DATA (for date cross-reference):\n{\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": null,\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 198,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n}\n\nRULE ENGINE FLAGS (already detected):\n[]\n\nAnalyse the following — be specific, cite exact dates:\n1. Do employment_start and employment_end form a continuous period? Flag any gaps.\n2. Do the doc_date_ranges overlap logically? A bank statement ending after an\n employment letter's issue date is normal; the reverse is suspicious.\n3. If visa_window_start/end exist, does the employment and financial history\n cover the required pre-application period (typically 3-6 months)?\n4. Check chronology_valid — if false, explain what dates are logically impossible.\n5. Are transaction dates within the stated employment period?\n6. If employment dates are null because employment letters haven't been uploaded,\n classify as 'info' severity — not a critical temporal anomaly.\n\nRespond ONLY with the AgentFinding JSON schema. Every anomaly must include the exact field_path." +} \ No newline at end of file diff --git a/debug/20260518_165811/cp5_enrollment_agent_response.json b/debug/20260518_165811/cp5_enrollment_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..f4482856689f4ced0b9da10fe3b5f5b187682353 --- /dev/null +++ b/debug/20260518_165811/cp5_enrollment_agent_response.json @@ -0,0 +1,47 @@ +{ + "agent_id": "enrollment_agent", + "elapsed_s": 13.83, + "parse_error": null, + "verdict": "critical", + "confidence": 0.95, + "anomaly_count": 5, + "summary": "Critical financial anomalies detected including severe balance shortfall for COE requirements and evidence of structured deposits (smurfing), alongside informational gaps for missing enrollment documents.", + "full_finding": { + "agent_id": "enrollment_agent", + "anomalies": [ + { + "field_path": "enrollment", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "financial.closing_balance", + "severity": "critical", + "explanation": "Closing balance of 141,083.88 INR is severely below the estimated equivalent of the ¥2,000,000 (approx. 1,100,000 INR) minimum requirement for a Japanese Student COE.", + "rule_id": null + }, + { + "field_path": "financial.spikes", + "severity": "critical", + "explanation": "Five identical incoming transfers of 30,000 INR on 03-03-2026 indicate smurfing or structured deposits designed to obscure the source of funds.", + "rule_id": null + }, + { + "field_path": "financial.unlabeled_deposit_count", + "severity": "critical", + "explanation": "198 unlabeled deposits are present, including successive 50,000 INR deposits in October 2025, violating the requirement that all large deposits have documented sources.", + "rule_id": null + }, + { + "field_path": "financial.avg_monthly_income", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + } + ], + "confidence": 0.95, + "agent_verdict": "critical", + "summary": "Critical financial anomalies detected including severe balance shortfall for COE requirements and evidence of structured deposits (smurfing), alongside informational gaps for missing enrollment documents." + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp5_financial_agent_response.json b/debug/20260518_165811/cp5_financial_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..1fd37fea84df1204c01489ad745e556542886286 --- /dev/null +++ b/debug/20260518_165811/cp5_financial_agent_response.json @@ -0,0 +1,47 @@ +{ + "agent_id": "financial_agent", + "elapsed_s": 34.34, + "parse_error": null, + "verdict": "critical", + "confidence": 0.98, + "anomaly_count": 5, + "summary": "The provided bank statement reveals critical signs of fund manipulation, including aggressive smurfing in August 2025 and March 2026, alongside insufficient balances and pending income verification documents.", + "full_finding": { + "agent_id": "financial_agent", + "anomalies": [ + { + "field_path": "financial.spikes[date=03-03-2026]", + "severity": "critical", + "explanation": "Five separate transfer deposits (four at 30,000 INR and one at 20,000 INR) were made on a single day (03-03-2026). This extreme clustering of identical amounts is a clear indicator of smurfing or structuring to artificially inflate the balance while evading large-transaction scrutiny.", + "rule_id": "FIN-001" + }, + { + "field_path": "financial.spikes[date=17-08-2025]", + "severity": "critical", + "explanation": "Multiple rapid deposits of 25,000 to 30,000 INR occurred almost daily between 17-08-2025 and 23-08-2025. This highly unnatural sequence represents organized fund parking or structuring.", + "rule_id": "FIN-001" + }, + { + "field_path": "financial.spikes[date=28-10-2025]", + "severity": "critical", + "explanation": "A massive cluster of unexplained deposits totaling 200,000 INR occurred between 28-10-2025 and 30-10-2025, including a 100,000 INR unlabeled deposit. This indicates sudden fund manipulation just before a potential statement boundary.", + "rule_id": "FIN-001" + }, + { + "field_path": "financial.closing_balance", + "severity": "warning", + "explanation": "The current documented closing balance is 141,083.88, which is below the ¥2,000,000 threshold. Please upload statements for any additional bank accounts so balances can be aggregated to meet the requirement.", + "rule_id": "FIN-004" + }, + { + "field_path": "avg_monthly_income", + "severity": "info", + "explanation": "Document not provided — required for complete audit. Cannot perform cross-document income verification or assess capacity to cover costs until payslips and sponsor letters are uploaded.", + "rule_id": null + } + ], + "confidence": 0.98, + "agent_verdict": "critical", + "summary": "The provided bank statement reveals critical signs of fund manipulation, including aggressive smurfing in August 2025 and March 2026, alongside insufficient balances and pending income verification documents." + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp5_identity_agent_response.json b/debug/20260518_165811/cp5_identity_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..1571c3b7a793afbe9748ab2812417ad78285d89b --- /dev/null +++ b/debug/20260518_165811/cp5_identity_agent_response.json @@ -0,0 +1,41 @@ +{ + "agent_id": "identity_agent", + "elapsed_s": 20.52, + "parse_error": null, + "verdict": "flag", + "confidence": 0.95, + "anomaly_count": 4, + "summary": "Identity data shows plausible name permutations, but core verification is currently blocked due to unsubmitted passport documents.", + "full_finding": { + "agent_id": "identity_agent", + "anomalies": [ + { + "field_path": "identity.cross_doc_name_match", + "severity": "warning", + "explanation": "Multiple name variations detected across documents, though they are plausible permutations involving initial usage and order swaps.", + "rule_id": "IDN-001" + }, + { + "field_path": "identity.date_of_birth", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "identity.nationality", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "identity.passport_number", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + } + ], + "confidence": 0.95, + "agent_verdict": "flag", + "summary": "Identity data shows plausible name permutations, but core verification is currently blocked due to unsubmitted passport documents." + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp5_sponsor_agent_response.json b/debug/20260518_165811/cp5_sponsor_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..09e79ba5600a00e08bf893ed15a3091f8fde9f1c --- /dev/null +++ b/debug/20260518_165811/cp5_sponsor_agent_response.json @@ -0,0 +1,47 @@ +{ + "agent_id": "sponsor_agent", + "elapsed_s": 18.22, + "parse_error": null, + "verdict": "critical", + "confidence": 0.98, + "anomaly_count": 5, + "summary": "Sponsorship documentation is entirely missing, which is highly problematic given the applicant's severe personal balance shortfall and blatant smurfing anomalies in their financial record.", + "full_finding": { + "agent_id": "sponsor_agent", + "anomalies": [ + { + "field_path": "sponsor", + "severity": "info", + "explanation": "Document not provided — required for complete audit. The sponsor dataset is completely null.", + "rule_id": null + }, + { + "field_path": "identity.passport_number", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "financial.closing_balance", + "severity": "critical", + "explanation": "The applicant's personal closing balance of 141,083.88 INR falls severely short of the ¥2,000,000 (approx. 1,150,000 INR) minimum requirement for a Japanese Student visa, making a verified sponsor absolutely mandatory.", + "rule_id": null + }, + { + "field_path": "financial.spikes", + "severity": "critical", + "explanation": "Strong evidence of smurfing/fund inflation on 03-03-2026, featuring five separate immediate transfers totaling 140,000 INR in a single day.", + "rule_id": null + }, + { + "field_path": "financial.unlabeled_deposit_count", + "severity": "warning", + "explanation": "The account contains 198 unlabeled deposits, which obfuscates the origin of funds and directly violates the requirement that all large deposits have documented sources.", + "rule_id": null + } + ], + "confidence": 0.98, + "agent_verdict": "critical", + "summary": "Sponsorship documentation is entirely missing, which is highly problematic given the applicant's severe personal balance shortfall and blatant smurfing anomalies in their financial record." + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp5_temporal_agent_response.json b/debug/20260518_165811/cp5_temporal_agent_response.json new file mode 100644 index 0000000000000000000000000000000000000000..eb67734f158724633e47054e6653330a8b4f3058 --- /dev/null +++ b/debug/20260518_165811/cp5_temporal_agent_response.json @@ -0,0 +1,53 @@ +{ + "agent_id": "temporal_agent", + "elapsed_s": 22.03, + "parse_error": null, + "verdict": "critical", + "confidence": 0.95, + "anomaly_count": 6, + "summary": "Identified critical temporal discontinuities within the provided bank statements, alongside several missing required documents.", + "full_finding": { + "agent_id": "temporal_agent", + "anomalies": [ + { + "field_path": "employment_start", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "employment_end", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "visa_window_start", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "visa_window_end", + "severity": "info", + "explanation": "Document not provided — required for complete audit.", + "rule_id": null + }, + { + "field_path": "doc_date_ranges[20].start", + "severity": "critical", + "explanation": "Bank statement dates show a chronological discontinuity: page 20 ends on 09-01-2026, but page 21 starts on 11-01-2026, leaving 10-01-2026 unaccounted for.", + "rule_id": null + }, + { + "field_path": "doc_date_ranges[1].start", + "severity": "critical", + "explanation": "While page 1 implies a start date of 24-04-2025, sequential detailed transactions on page 2 do not begin until 29-05-2025, indicating missing pages or a gap in early records.", + "rule_id": null + } + ], + "confidence": 0.95, + "agent_verdict": "critical", + "summary": "Identified critical temporal discontinuities within the provided bank statements, alongside several missing required documents." + } +} \ No newline at end of file diff --git a/debug/20260518_165811/cp6_narrative.json b/debug/20260518_165811/cp6_narrative.json new file mode 100644 index 0000000000000000000000000000000000000000..bb5f0a75e89ce7788c48c0fd4c03de026e4bf0fa --- /dev/null +++ b/debug/20260518_165811/cp6_narrative.json @@ -0,0 +1,53 @@ +{ + "elapsed_s": 31.15, + "parse_error": null, + "verdict": "INCOMPLETE_DOSSIER", + "risk_score": 0.88, + "critical_issues_count": 6, + "prompt_char_count": 29021, + "prompt": "You are an adversarial pre-submission auditor. Your job is to identify gaps and anomalies\nBEFORE the applicant submits their visa package to the embassy. You are helping them strengthen their case,\nnot judging them.\n\nDOCUMENT TYPES PROCESSED: ['bank_statement']\n\n\n\nCRITICAL CONTEXT — PARTIAL DOSSIER:\nThe user has uploaded ONLY these document types: ['bank_statement']\nThe following document types are MISSING: ['passport', 'payslip', 'tax_return', 'sponsor_letter', 'employment_letter', 'enrollment_letter', 'affidavit']\n\nRULES FOR PARTIAL DOSSIER:\n1. You MUST set verdict to \"INCOMPLETE_DOSSIER\" (not FAIL) because the user has not submitted all documents yet.\n2. List all missing document types in the missing_documents field.\n3. DO NOT treat missing data nodes (null passport, null enrollment, null sponsor) as rejection-worthy anomalies.\n These are simply documents the user has not uploaded yet.\n4. ONLY flag as \"critical\" issues that represent genuine anomalies WITHIN the provided documents\n (e.g., smurfing patterns, unexplained spikes, forged signatures, balance discontinuities).\n5. The risk_score should reflect the risk of the PROVIDED documents only, not penalize for missing docs.\n A clean bank statement with no anomalies but missing passport = risk 0.2-0.3, NOT 0.99.\n6. In rejection_narrative, frame it as a pre-submission audit report, NOT a visa denial letter.\n Example tone: \"The provided bank statement shows X anomalies that require attention before submission.\n Additionally, the following documents must be uploaded to complete the dossier: [list].\"\n7. In rebuttal_guidance, list actionable steps to complete the dossier and address any real anomalies.\n\nSEMANTIC GRAPH (full document picture):\n{\n \"identity\": {\n \"name_variants\": [\n \"KORADA SATYANARAYANA\",\n \"K Satyanarayana\",\n \"SATYANARAYANA KORAD\",\n \"SATYANARAYANA KORADA\"\n ],\n \"canonical_name\": \"KORADA SATYANARAYANA\",\n \"date_of_birth\": null,\n \"nationality\": null,\n \"passport_number\": null,\n \"transliteration_flags\": [\n \"'K Satyanarayana' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'\",\n \"'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'\"\n ],\n \"cross_doc_name_match\": false\n },\n \"financial\": {\n \"currency\": \"INR\",\n \"opening_balance\": 46479.31,\n \"closing_balance\": 141083.88,\n \"avg_monthly_income\": null,\n \"total_credits\": 1805222.0,\n \"total_debits\": 1703231.3,\n \"transaction_count\": 1036,\n \"spikes\": [\n {\n \"date\": \"13-07-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"17-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"18-08-2025\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"20-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"21-08-2025\",\n \"amount\": 25000.0,\n \"label\": null,\n \"ratio_to_average\": 4.86\n },\n {\n \"date\": \"23-08-2025\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"08-10-2025\",\n \"amount\": 39115.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 7.61\n },\n {\n \"date\": \"28-10-2025\",\n \"amount\": 100000.0,\n \"label\": null,\n \"ratio_to_average\": 19.44\n },\n {\n \"date\": \"29-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"30-10-2025\",\n \"amount\": 50000.0,\n \"label\": \"large_unlabeled_deposit\",\n \"ratio_to_average\": 9.72\n },\n {\n \"date\": \"12-11-2025\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"19-11-2025\",\n \"amount\": 20000.0,\n \"label\": null,\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"20-01-2026\",\n \"amount\": 27000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.25\n },\n {\n \"date\": \"31-01-2026\",\n \"amount\": 16500.0,\n \"label\": null,\n \"ratio_to_average\": 3.21\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": null,\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"01-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 30000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 5.83\n },\n {\n \"date\": \"03-03-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"21-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n },\n {\n \"date\": \"24-04-2026\",\n \"amount\": 20000.0,\n \"label\": \"transfer\",\n \"ratio_to_average\": 3.89\n }\n ],\n \"unlabeled_deposit_count\": 198,\n \"income_percentile\": null,\n \"declared_property_value\": null,\n \"declared_movable_assets\": null,\n \"source_is_affidavit\": false\n },\n \"temporal\": {\n \"doc_date_ranges\": [\n {\n \"source\": \"bank_statement\",\n \"page\": 1,\n \"start\": \"24-04-2025\",\n \"end\": \"24-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 2,\n \"start\": \"29-05-2025\",\n \"end\": \"16-07-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 3,\n \"start\": \"16-07-2025\",\n \"end\": \"18-08-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 4,\n \"start\": \"18-08-2025\",\n \"end\": \"10-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 5,\n \"start\": \"11-09-2025\",\n \"end\": \"20-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 6,\n \"start\": \"20-09-2025\",\n \"end\": \"27-09-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 7,\n \"start\": \"28-09-2025\",\n \"end\": \"02-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 8,\n \"start\": \"03-10-2025\",\n \"end\": \"10-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 9,\n \"start\": \"10-10-2025\",\n \"end\": \"20-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 10,\n \"start\": \"20-10-2025\",\n \"end\": \"28-10-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 11,\n \"start\": \"28-10-2025\",\n \"end\": \"07-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 12,\n \"start\": \"07-11-2025\",\n \"end\": \"13-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 13,\n \"start\": \"13-11-2025\",\n \"end\": \"20-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 14,\n \"start\": \"20-11-2025\",\n \"end\": \"27-11-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 15,\n \"start\": \"27-11-2025\",\n \"end\": \"04-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 16,\n \"start\": \"05-12-2025\",\n \"end\": \"13-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 17,\n \"start\": \"14-12-2025\",\n \"end\": \"18-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 18,\n \"start\": \"18-12-2025\",\n \"end\": \"24-12-2025\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 19,\n \"start\": \"24-12-2025\",\n \"end\": \"02-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 20,\n \"start\": \"02-01-2026\",\n \"end\": \"09-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 21,\n \"start\": \"11-01-2026\",\n \"end\": \"20-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 22,\n \"start\": \"20-01-2026\",\n \"end\": \"25-01-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 23,\n \"start\": \"25-01-2026\",\n \"end\": \"01-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 24,\n \"start\": \"01-02-2026\",\n \"end\": \"06-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 25,\n \"start\": \"06-02-2026\",\n \"end\": \"13-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 26,\n \"start\": \"13-02-2026\",\n \"end\": \"17-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 27,\n \"start\": \"17-02-2026\",\n \"end\": \"22-02-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 28,\n \"start\": \"22-02-2026\",\n \"end\": \"01-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 29,\n \"start\": \"01-03-2026\",\n \"end\": \"05-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 30,\n \"start\": \"05-03-2026\",\n \"end\": \"09-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 31,\n \"start\": \"09-03-2026\",\n \"end\": \"15-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 32,\n \"start\": \"15-03-2026\",\n \"end\": \"19-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 33,\n \"start\": \"19-03-2026\",\n \"end\": \"28-03-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 34,\n \"start\": \"28-03-2026\",\n \"end\": \"02-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 35,\n \"start\": \"02-04-2026\",\n \"end\": \"04-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 36,\n \"start\": \"04-04-2026\",\n \"end\": \"13-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 37,\n \"start\": \"13-04-2026\",\n \"end\": \"21-04-2026\"\n },\n {\n \"source\": \"bank_statement\",\n \"page\": 38,\n \"start\": \"21-04-2026\",\n \"end\": \"24-04-2026\"\n }\n ],\n \"employment_start\": null,\n \"employment_end\": null,\n \"visa_window_start\": null,\n \"visa_window_end\": null,\n \"gap_flags\": [],\n \"chronology_valid\": true\n },\n \"sponsor\": null,\n \"enrollment\": null,\n \"edges\": [\n {\n \"edge_type\": \"income_link\",\n \"source_node\": \"identity\",\n \"target_node\": \"financial\",\n \"coherent\": true,\n \"detail\": null\n }\n ],\n \"token_count\": 2725,\n \"source_page_count\": 38,\n \"estimated_raw_tokens\": 76000,\n \"source_doc_types\": [\n \"bank_statement\"\n ]\n}\n\nRULE ENGINE FINDINGS:\n[\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=20-08-2025]\",\n \"message\": \"Transaction on 20-08-2025 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=21-08-2025]\",\n \"message\": \"Transaction on 21-08-2025 is 4.86\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 4.86\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=23-08-2025]\",\n \"message\": \"Transaction on 23-08-2025 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=28-10-2025]\",\n \"message\": \"Transaction on 28-10-2025 is 19.44\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 19.44\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=19-11-2025]\",\n \"message\": \"Transaction on 19-11-2025 is 3.89\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=31-01-2026]\",\n \"message\": \"Transaction on 31-01-2026 is 3.21\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.21\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 NO SOURCE LABEL (unlabeled deposit)\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-004\",\n \"severity\": \"critical\",\n \"field_path\": \"financial.closing_balance\",\n \"message\": \"Closing balance (141,084 JPY) below minimum requirement (2,000,000 JPY). Shortfall: 1,858,916 JPY\",\n \"expected\": \"balance \\u2265 2,000,000 JPY\",\n \"actual\": \"141,084 JPY\"\n },\n {\n \"rule_id\": \"IDN-001\",\n \"severity\": \"critical\",\n \"field_path\": \"identity.cross_doc_name_match\",\n \"message\": \"Name mismatch across documents: ['KORADA SATYANARAYANA', 'K Satyanarayana', 'SATYANARAYANA KORAD', 'SATYANARAYANA KORADA']. Possible transliteration issues: [\\\"'K Satyanarayana' vs 'KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORAD' vs 'KORADA SATYANARAYANA'\\\", \\\"'SATYANARAYANA KORADA' vs 'KORADA SATYANARAYANA'\\\"]\",\n \"expected\": \"Consistent name across all documents\",\n \"actual\": \"4 variants found\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=13-07-2025]\",\n \"message\": \"Transaction on 13-07-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=17-08-2025]\",\n \"message\": \"Transaction on 17-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=18-08-2025]\",\n \"message\": \"Transaction on 18-08-2025 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=08-10-2025]\",\n \"message\": \"Transaction on 08-10-2025 is 7.61\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 7.61\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=29-10-2025]\",\n \"message\": \"Transaction on 29-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: large_unlabeled_deposit\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=30-10-2025]\",\n \"message\": \"Transaction on 30-10-2025 is 9.72\\u00d7 the average credit \\u2014 labeled: large_unlabeled_deposit\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 9.72\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=12-11-2025]\",\n \"message\": \"Transaction on 12-11-2025 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=20-01-2026]\",\n \"message\": \"Transaction on 20-01-2026 is 5.25\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.25\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=01-03-2026]\",\n \"message\": \"Transaction on 01-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 5.83\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 5.83\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"message\": \"Transaction on 03-03-2026 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=21-04-2026]\",\n \"message\": \"Transaction on 21-04-2026 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-001\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.spikes[date=24-04-2026]\",\n \"message\": \"Transaction on 24-04-2026 is 3.89\\u00d7 the average credit \\u2014 labeled: transfer\",\n \"expected\": \"ratio \\u2264 3.0\",\n \"actual\": \"ratio = 3.89\"\n },\n {\n \"rule_id\": \"FIN-002\",\n \"severity\": \"warning\",\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"message\": \"198 deposit(s) have no source label\",\n \"expected\": \"0 unlabeled deposits\",\n \"actual\": \"198\"\n }\n]\n\nSPECIALIST AGENT FINDINGS:\n[\n {\n \"agent_id\": \"identity_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"identity.cross_doc_name_match\",\n \"severity\": \"warning\",\n \"explanation\": \"Multiple name variations detected across documents, though they are plausible permutations involving initial usage and order swaps.\",\n \"rule_id\": \"IDN-001\"\n },\n {\n \"field_path\": \"identity.date_of_birth\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"identity.nationality\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"identity.passport_number\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.95,\n \"agent_verdict\": \"flag\",\n \"summary\": \"Identity data shows plausible name permutations, but core verification is currently blocked due to unsubmitted passport documents.\"\n },\n {\n \"agent_id\": \"financial_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"financial.spikes[date=03-03-2026]\",\n \"severity\": \"critical\",\n \"explanation\": \"Five separate transfer deposits (four at 30,000 INR and one at 20,000 INR) were made on a single day (03-03-2026). This extreme clustering of identical amounts is a clear indicator of smurfing or structuring to artificially inflate the balance while evading large-transaction scrutiny.\",\n \"rule_id\": \"FIN-001\"\n },\n {\n \"field_path\": \"financial.spikes[date=17-08-2025]\",\n \"severity\": \"critical\",\n \"explanation\": \"Multiple rapid deposits of 25,000 to 30,000 INR occurred almost daily between 17-08-2025 and 23-08-2025. This highly unnatural sequence represents organized fund parking or structuring.\",\n \"rule_id\": \"FIN-001\"\n },\n {\n \"field_path\": \"financial.spikes[date=28-10-2025]\",\n \"severity\": \"critical\",\n \"explanation\": \"A massive cluster of unexplained deposits totaling 200,000 INR occurred between 28-10-2025 and 30-10-2025, including a 100,000 INR unlabeled deposit. This indicates sudden fund manipulation just before a potential statement boundary.\",\n \"rule_id\": \"FIN-001\"\n },\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"warning\",\n \"explanation\": \"The current documented closing balance is 141,083.88, which is below the \\u00a52,000,000 threshold. Please upload statements for any additional bank accounts so balances can be aggregated to meet the requirement.\",\n \"rule_id\": \"FIN-004\"\n },\n {\n \"field_path\": \"avg_monthly_income\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit. Cannot perform cross-document income verification or assess capacity to cover costs until payslips and sponsor letters are uploaded.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.98,\n \"agent_verdict\": \"critical\",\n \"summary\": \"The provided bank statement reveals critical signs of fund manipulation, including aggressive smurfing in August 2025 and March 2026, alongside insufficient balances and pending income verification documents.\"\n },\n {\n \"agent_id\": \"temporal_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"employment_start\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"employment_end\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"visa_window_start\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"visa_window_end\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"doc_date_ranges[20].start\",\n \"severity\": \"critical\",\n \"explanation\": \"Bank statement dates show a chronological discontinuity: page 20 ends on 09-01-2026, but page 21 starts on 11-01-2026, leaving 10-01-2026 unaccounted for.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"doc_date_ranges[1].start\",\n \"severity\": \"critical\",\n \"explanation\": \"While page 1 implies a start date of 24-04-2025, sequential detailed transactions on page 2 do not begin until 29-05-2025, indicating missing pages or a gap in early records.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.95,\n \"agent_verdict\": \"critical\",\n \"summary\": \"Identified critical temporal discontinuities within the provided bank statements, alongside several missing required documents.\"\n },\n {\n \"agent_id\": \"sponsor_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"sponsor\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit. The sponsor dataset is completely null.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"identity.passport_number\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"The applicant's personal closing balance of 141,083.88 INR falls severely short of the \\u00a52,000,000 (approx. 1,150,000 INR) minimum requirement for a Japanese Student visa, making a verified sponsor absolutely mandatory.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.spikes\",\n \"severity\": \"critical\",\n \"explanation\": \"Strong evidence of smurfing/fund inflation on 03-03-2026, featuring five separate immediate transfers totaling 140,000 INR in a single day.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"severity\": \"warning\",\n \"explanation\": \"The account contains 198 unlabeled deposits, which obfuscates the origin of funds and directly violates the requirement that all large deposits have documented sources.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.98,\n \"agent_verdict\": \"critical\",\n \"summary\": \"Sponsorship documentation is entirely missing, which is highly problematic given the applicant's severe personal balance shortfall and blatant smurfing anomalies in their financial record.\"\n },\n {\n \"agent_id\": \"enrollment_agent\",\n \"anomalies\": [\n {\n \"field_path\": \"enrollment\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.closing_balance\",\n \"severity\": \"critical\",\n \"explanation\": \"Closing balance of 141,083.88 INR is severely below the estimated equivalent of the \\u00a52,000,000 (approx. 1,100,000 INR) minimum requirement for a Japanese Student COE.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.spikes\",\n \"severity\": \"critical\",\n \"explanation\": \"Five identical incoming transfers of 30,000 INR on 03-03-2026 indicate smurfing or structured deposits designed to obscure the source of funds.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.unlabeled_deposit_count\",\n \"severity\": \"critical\",\n \"explanation\": \"198 unlabeled deposits are present, including successive 50,000 INR deposits in October 2025, violating the requirement that all large deposits have documented sources.\",\n \"rule_id\": null\n },\n {\n \"field_path\": \"financial.avg_monthly_income\",\n \"severity\": \"info\",\n \"explanation\": \"Document not provided \\u2014 required for complete audit.\",\n \"rule_id\": null\n }\n ],\n \"confidence\": 0.95,\n \"agent_verdict\": \"critical\",\n \"summary\": \"Critical financial anomalies detected including severe balance shortfall for COE requirements and evidence of structured deposits (smurfing), alongside informational gaps for missing enrollment documents.\"\n }\n]\n\nYour task:\n1. Synthesise ALL findings into a single coherent verdict.\n2. Distinguish between:\n a) ACTUAL ANOMALIES found within provided documents (these are critical/warning)\n b) MISSING INFORMATION because documents haven't been uploaded yet (these are info-level gaps)\n3. Write the rejection_narrative as a pre-submission audit: formal, specific, citing document evidence.\n Separate the \"Anomalies Found\" section from the \"Documents Still Required\" section.\n4. For each issue, write one rebuttal_guidance item: what additional document or action would resolve it.\n5. Risk score: 0.0 = clean provided documents, 1.0 = severe anomalies in provided documents.\n Do NOT inflate risk score just because documents are missing.\n6. In citations, list the exact graph node paths that support your findings (e.g. 'financial.spikes[0].amount').\n\nRespond ONLY with NarrativeVerdict JSON.", + "full_verdict": { + "verdict": "INCOMPLETE_DOSSIER", + "risk_score": 0.88, + "missing_documents": [ + "passport", + "payslip", + "tax_return", + "sponsor_letter", + "employment_letter", + "enrollment_letter", + "affidavit" + ], + "critical_issues": [ + "Temporal discontinuities within the bank statement: an unaccounted-for gap on 10-01-2026 between pages 20 and 21, and a detailed transaction gap between 24-04-2025 and 29-05-2025.", + "Blatant fund structuring (smurfing) on 03-03-2026, comprising five separate transfers totaling 140,000 INR in a single day.", + "Organized fund parking between 17-08-2025 and 23-08-2025 consisting of rapid, successive 25,000 to 30,000 INR deposits.", + "Massive cluster of unexplained deposits between 28-10-2025 and 30-10-2025 totaling 200,000 INR (including a single 100,000 INR unlabeled deposit).", + "198 unlabeled deposits throughout the statement, heavily obfuscating the origin of funds.", + "Severe closing balance shortfall (141,083.88 INR), far below typical minimum visa requirements, making strong sponsorship absolutely mandatory." + ], + "warning_issues": [ + "Internal name variations across the provided document (KORADA SATYANARAYANA, K Satyanarayana, etc.) which require passport verification.", + "Multiple other anomalous spikes exceeding 3x the average credit (e.g., 13-07-2025, 08-10-2025) that lack clear source attribution." + ], + "rejection_narrative": "This is a pre-submission audit report. The current dossier is incomplete and cannot be submitted in its present state. A review of the provided bank statement reveals critical anomalies that pose a near-certain risk of visa refusal if not addressed prior to submission. First, the statement contains temporal discontinuities, notably a missing day (10-01-2026) between pages 20 and 21, and a transaction gap between April and May 2025, suggesting missing pages or tampered records. Second, there is prominent evidence of fund structuring (smurfing). This is most visible on 03-03-2026, where five consecutive transfers totaling 140,000 INR were deposited in a single day, as well as an unnatural sequence of rapid deposits in August 2025. Third, the account exhibits 198 unlabeled deposits, including a sudden, unexplained influx of 200,000 INR in late October 2025, which obfuscates the true origin of funds. Finally, the closing balance of 141,083.88 INR is critically below standard financial thresholds for this visa category. In addition to resolving these financial anomalies, the applicant must upload the following missing documents to complete the dossier: passport, payslip, tax return, sponsor letter, employment letter, enrollment letter, and an affidavit.", + "rebuttal_guidance": [ + "Upload a complete, contiguous bank statement directly issued by the financial institution to resolve the temporal gaps (e.g., missing records for 10-01-2026).", + "Provide formal source-of-funds documentation (e.g., loan agreements, asset sales, or official payslips) to explain the clustered deposits on 03-03-2026, 17-08-2025 to 23-08-2025, and late October 2025.", + "Provide an affidavit or detailed letter of explanation explicitly clarifying the nature and source of the 198 unlabeled deposits.", + "Upload a valid passport to confirm the applicant's canonical identity and resolve the internal name variations.", + "Upload a formal Sponsor Letter along with the sponsor's financial documents to compensate for the primary applicant's severe balance shortfall.", + "Upload all outstanding required documents (payslip, tax_return, employment_letter, enrollment_letter) to complete the visa dossier." + ], + "citations": [ + "temporal.doc_date_ranges[20].start", + "temporal.doc_date_ranges[1].start", + "financial.spikes[date=03-03-2026]", + "financial.spikes[date=17-08-2025]", + "financial.spikes[date=28-10-2025]", + "financial.unlabeled_deposit_count", + "financial.closing_balance", + "identity.cross_doc_name_match" + ] + } +} \ No newline at end of file diff --git a/debug/20260518_165811/run_summary.json b/debug/20260518_165811/run_summary.json new file mode 100644 index 0000000000000000000000000000000000000000..f137eefe576fb1da461e253459d88fcc9cd984e4 --- /dev/null +++ b/debug/20260518_165811/run_summary.json @@ -0,0 +1,431 @@ +{ + "run_id": "20260518_165811", + "total_elapsed_s": 355.8, + "checkpoints": [ + { + "checkpoint": "CP0", + "timestamp": "2026-05-18T16:58:11.773937+00:00", + "file": "document_1.pdf", + "pages": 38, + "electronic": true + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:20.868332+00:00", + "page": 1, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 8.95 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:36.537795+00:00", + "page": 6, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 15.66 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:40.937872+00:00", + "page": 3, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 28.99 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:42.766586+00:00", + "page": 5, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 30.79 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:44.416394+00:00", + "page": 4, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 32.45 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:44.624588+00:00", + "page": 2, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 32.68 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:58:59.779391+00:00", + "page": 8, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 18.84 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:00.290734+00:00", + "page": 7, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 23.75 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:12.888701+00:00", + "page": 9, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 30.12 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:14.118559+00:00", + "page": 10, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 29.7 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:15.756172+00:00", + "page": 12, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 15.97 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:20.601908+00:00", + "page": 11, + "type": "bank_statement", + "non_null_count": 11, + "elapsed_s": 35.97 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:29.884797+00:00", + "page": 16, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 14.12 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:31.111906+00:00", + "page": 14, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 18.22 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:33.374670+00:00", + "page": 13, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 33.08 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:45.182136+00:00", + "page": 15, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 31.01 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:45.963344+00:00", + "page": 17, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 25.36 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:50.161971+00:00", + "page": 19, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 19.04 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T16:59:53.539954+00:00", + "page": 18, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 23.65 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:01.936977+00:00", + "page": 21, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 16.75 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:05.937380+00:00", + "page": 22, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 19.97 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:12.590227+00:00", + "page": 20, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 39.21 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:17.497546+00:00", + "page": 24, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 23.95 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:20.268062+00:00", + "page": 23, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 30.1 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:21.217897+00:00", + "page": 25, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 19.25 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:38.188006+00:00", + "page": 29, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 17.92 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:42.388026+00:00", + "page": 28, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 24.89 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:44.699843+00:00", + "page": 26, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 38.76 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:48.519451+00:00", + "page": 27, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 35.92 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:00:50.894879+00:00", + "page": 30, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 29.67 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:08.088979+00:00", + "page": 31, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 29.9 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:13.109504+00:00", + "page": 32, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 30.72 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:14.538954+00:00", + "page": 33, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 29.84 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:18.610039+00:00", + "page": 34, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 30.08 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:26.960301+00:00", + "page": 36, + "type": "bank_statement", + "non_null_count": 8, + "elapsed_s": 18.87 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:28.980759+00:00", + "page": 35, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 38.08 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:35.635345+00:00", + "page": 38, + "type": "bank_statement", + "non_null_count": 9, + "elapsed_s": 21.09 + }, + { + "checkpoint": "CP2", + "timestamp": "2026-05-18T17:01:41.403190+00:00", + "page": 37, + "type": "bank_statement", + "non_null_count": 10, + "elapsed_s": 28.25 + }, + { + "checkpoint": "CP3", + "timestamp": "2026-05-18T17:01:42.084195+00:00", + "canonical_name": "KORADA SATYANARAYANA", + "doc_types": [ + "bank_statement" + ], + "closing_balance": 141083.88, + "token_count": 2725 + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T17:01:42.128135+00:00", + "agent": "identity_agent", + "estimated_tokens": 785, + "graph_keys": [ + "identity" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T17:02:02.655095+00:00", + "agent": "identity_agent", + "verdict": "flag", + "confidence": 0.95, + "elapsed_s": 20.52, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T17:02:03.659487+00:00", + "agent": "financial_agent", + "estimated_tokens": 3502, + "graph_keys": [ + "financial", + "identity" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T17:02:37.998089+00:00", + "agent": "financial_agent", + "verdict": "critical", + "confidence": 0.98, + "elapsed_s": 34.34, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T17:02:39.002136+00:00", + "agent": "temporal_agent", + "estimated_tokens": 2580, + "graph_keys": [ + "temporal", + "financial" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T17:03:01.035940+00:00", + "agent": "temporal_agent", + "verdict": "critical", + "confidence": 0.95, + "elapsed_s": 22.03, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T17:03:02.039295+00:00", + "agent": "sponsor_agent", + "estimated_tokens": 1500, + "graph_keys": [ + "sponsor", + "identity", + "financial" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T17:03:20.264594+00:00", + "agent": "sponsor_agent", + "verdict": "critical", + "confidence": 0.98, + "elapsed_s": 18.22, + "parse_error": null + }, + { + "checkpoint": "CP4", + "timestamp": "2026-05-18T17:03:21.305016+00:00", + "agent": "enrollment_agent", + "estimated_tokens": 2553, + "graph_keys": [ + "enrollment", + "financial", + "temporal" + ] + }, + { + "checkpoint": "CP5", + "timestamp": "2026-05-18T17:03:35.133124+00:00", + "agent": "enrollment_agent", + "verdict": "critical", + "confidence": 0.95, + "elapsed_s": 13.83, + "parse_error": null + }, + { + "checkpoint": "CP6", + "timestamp": "2026-05-18T17:04:07.293712+00:00", + "verdict": "INCOMPLETE_DOSSIER", + "risk_score": 0.88, + "elapsed_s": 31.15 + } + ], + "output_dir": "C:\\Users\\ksk76\\Downloads\\uplan-hackathon-space-amd\\refined\\new-plan\\debug\\20260518_165811" +} \ No newline at end of file diff --git a/debug/__init__.py b/debug/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..6aa655169e69c4c665d76311a45e3780038d2683 --- /dev/null +++ b/debug/__init__.py @@ -0,0 +1 @@ +# Uplan debug instrumentation package diff --git a/debug/__pycache__/__init__.cpython-314.pyc b/debug/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0d63b9aaae32e70b282c2a5fe71f4c3a2d25419c Binary files /dev/null and b/debug/__pycache__/__init__.cpython-314.pyc differ diff --git a/debug/__pycache__/logger.cpython-314.pyc b/debug/__pycache__/logger.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..16eb5d1fa0e89b10a53c009fa902db0dcbe4288b Binary files /dev/null and b/debug/__pycache__/logger.cpython-314.pyc differ diff --git a/debug/logger.py b/debug/logger.py new file mode 100644 index 0000000000000000000000000000000000000000..14e8d6ecc8b7d492720d3549aed897301b81a56f --- /dev/null +++ b/debug/logger.py @@ -0,0 +1,312 @@ +""" +Uplan Debug Logger -- Full Pipeline Observability (CP0-CP6) + +Writes structured debug artifacts to debug// directory. +Each checkpoint captures a specific pipeline stage for forensic inspection. + +Checkpoints: + CP0 -- Document ingestion (file metadata, is_scanned detection) + CP1 -- Per-page raw content (extracted text or PNG size) + CP2 -- Flash extraction output per page (raw JSON + non-null fields) + CP3 -- Graph builder merge (final graph + per-node summary) + CP4 -- Agent prompt (exact string sent to Pro, token estimate) + CP5 -- Agent raw response (parsed AgentFinding + any parse errors) + CP6 -- Narrative synthesis input + output + +Usage: + from debug.logger import DebugLogger + logger = DebugLogger(run_id="my_run") # or auto-generates timestamp ID + logger.cp0_ingestion(pdf_path, pdf_bytes) + logger.cp1_page_content(page_idx, page_type, text_or_size) + ... + logger.close() # writes summary index +""" + +from __future__ import annotations + +import json +import os +import time +from datetime import datetime, timezone +from pathlib import Path +from typing import Any, Optional + +import fitz # PyMuPDF + + +class DebugLogger: + """ + Writes structured debug artifacts for each pipeline stage. + All output goes to debug// relative to the project root. + """ + + def __init__(self, run_id: Optional[str] = None, base_dir: Optional[str] = None): + if run_id is None: + run_id = datetime.now(timezone.utc).strftime("%Y%m%d_%H%M%S") + self.run_id = run_id + self.start_time = time.time() + + # Base dir: debug// relative to project root + project_root = Path(__file__).parent.parent + if base_dir: + self.out_dir = Path(base_dir) / run_id + else: + self.out_dir = project_root / "debug" / run_id + + self.out_dir.mkdir(parents=True, exist_ok=True) + self._log: list[dict] = [] + print(f" [DEBUG] Logger initialized -> {self.out_dir}") + + def _write(self, filename: str, data: Any, as_text: bool = False) -> Path: + """Write data to a file in the debug output directory.""" + path = self.out_dir / filename + if as_text: + path.write_text(str(data), encoding="utf-8") + else: + with open(path, "w", encoding="utf-8") as f: + json.dump(data, f, indent=2, default=str, ensure_ascii=False) + return path + + def _checkpoint(self, cp: str, summary: dict) -> None: + """Record a checkpoint entry in the run log.""" + entry = {"checkpoint": cp, "timestamp": datetime.now(timezone.utc).isoformat(), **summary} + self._log.append(entry) + print(f" [DEBUG] {cp} logged") + + # ----------------------------------------------------------------------- + # CP0 -- Document Ingestion + # ----------------------------------------------------------------------- + + def cp0_ingestion(self, file_path: str, pdf_bytes: bytes) -> dict: + """ + Log document intake metadata. + Detects whether document is electronic (has text layer) or scanned. + """ + doc = fitz.open(stream=pdf_bytes, filetype="pdf") + page_count = len(doc) + + pages_info = [] + is_scanned = True # assume scanned until we find text + for i, page in enumerate(doc): + text = page.get_text("text").strip() + char_count = len(text) + if char_count > 50: + is_scanned = False + pages_info.append({ + "page": i + 1, + "char_count": char_count, + "has_text_layer": char_count > 20, + }) + doc.close() + + meta = { + "file_path": file_path, + "file_size_bytes": len(pdf_bytes), + "page_count": page_count, + "is_electronic": not is_scanned, + "is_scanned": is_scanned, + "pages": pages_info, + } + self._write("cp0_ingestion.json", meta) + self._checkpoint("CP0", {"file": os.path.basename(file_path), "pages": page_count, "electronic": not is_scanned}) + return meta + + # ----------------------------------------------------------------------- + # CP1 -- Per-page raw content + # ----------------------------------------------------------------------- + + def cp1_page_content(self, page_idx: int, pdf_bytes: bytes, png_bytes: bytes) -> None: + """ + Log raw content for a single page. + For electronic PDFs: first 500 chars of extracted text. + For all: PNG size in KB. + """ + doc = fitz.open(stream=pdf_bytes, filetype="pdf") + page = doc[page_idx] + raw_text = page.get_text("text").strip() + doc.close() + + info = { + "page": page_idx + 1, + "png_size_kb": round(len(png_bytes) / 1024, 1), + "has_text_layer": len(raw_text) > 20, + "text_char_count": len(raw_text), + "text_preview": raw_text[:500] if raw_text else None, + } + self._write(f"cp1_page_{page_idx + 1:02d}_raw.json", info) + + # ----------------------------------------------------------------------- + # CP2 -- Flash extraction output per page + # ----------------------------------------------------------------------- + + def cp2_extraction(self, page_idx: int, extraction_dict: dict, elapsed_s: float) -> None: + """ + Log what Flash returned for a single page. + Highlights non-null fields and lists what was silently dropped (null). + """ + non_null = {k: v for k, v in extraction_dict.items() + if v is not None and v != [] and v != 0 and v is not False} + null_fields = [k for k, v in extraction_dict.items() + if v is None or v == [] or (isinstance(v, float) and v == 0.0)] + + output = { + "page": page_idx + 1, + "elapsed_s": round(elapsed_s, 2), + "page_type_detected": extraction_dict.get("page_type"), + "non_null_fields": non_null, + "null_or_empty_fields": null_fields, + "raw_extraction": extraction_dict, + } + self._write(f"cp2_page_{page_idx + 1:02d}_extraction.json", output) + self._checkpoint("CP2", { + "page": page_idx + 1, + "type": extraction_dict.get("page_type"), + "non_null_count": len(non_null), + "elapsed_s": round(elapsed_s, 2), + }) + + # ----------------------------------------------------------------------- + # CP3 -- Graph builder merge + # ----------------------------------------------------------------------- + + def cp3_graph(self, graph_dict: dict, pages_count: int) -> None: + """ + Log the final SemanticGraph after merge. + Writes full graph JSON + a human-readable summary of each node. + """ + self._write("cp3_graph.json", graph_dict) + + # Human-readable summary + identity = graph_dict.get("identity", {}) + financial = graph_dict.get("financial", {}) + sponsor = graph_dict.get("sponsor") or {} + doc_types = graph_dict.get("source_doc_types", []) + + summary_lines = [ + f"=== GRAPH SUMMARY (run: {self.run_id}) ===", + f"Source pages: {pages_count} | Doc types: {doc_types}", + f"Token count: {graph_dict.get('token_count')} | Compression: {graph_dict.get('estimated_raw_tokens', 0):,} -> {graph_dict.get('token_count', 0):,}", + "", + "--- IDENTITY ---", + f" canonical_name: {identity.get('canonical_name')}", + f" date_of_birth: {identity.get('date_of_birth')}", + f" nationality: {identity.get('nationality')}", + f" passport_number: {identity.get('passport_number')}", + f" name_variants: {identity.get('name_variants')}", + "", + "--- FINANCIAL ---", + f" source_is_affidavit: {financial.get('source_is_affidavit')}", + f" currency: {financial.get('currency')}", + f" closing_balance: {financial.get('closing_balance')}", + f" avg_monthly_income: {financial.get('avg_monthly_income')}", + f" transaction_count: {financial.get('transaction_count')}", + f" declared_property: {financial.get('declared_property_value')}", + f" declared_movables: {financial.get('declared_movable_assets')}", + "", + "--- SPONSOR ---", + f" sponsor_name: {sponsor.get('sponsor_name')}", + f" relationship: {sponsor.get('relationship')}", + f" declared_income: {sponsor.get('declared_income')}", + "", + f" enrollment: {'present' if graph_dict.get('enrollment') else 'null'}", + f" edges: {[e.get('edge_type') for e in graph_dict.get('edges', [])]}", + ] + + summary_text = "\n".join(summary_lines) + self._write("cp3_graph_summary.txt", summary_text, as_text=True) + self._checkpoint("CP3", { + "canonical_name": identity.get("canonical_name"), + "doc_types": doc_types, + "closing_balance": financial.get("closing_balance"), + "token_count": graph_dict.get("token_count"), + }) + + # ----------------------------------------------------------------------- + # CP4 -- Agent prompt + # ----------------------------------------------------------------------- + + def cp4_agent_prompt(self, agent_id: str, prompt: str, graph_subset_keys: list[str]) -> None: + """Log the exact prompt string sent to the Pro model for an agent.""" + char_count = len(prompt) + estimated_tokens = char_count // 4 + + output = { + "agent_id": agent_id, + "graph_subset_keys": graph_subset_keys, + "estimated_input_tokens": estimated_tokens, + "prompt_char_count": char_count, + "prompt": prompt, + } + self._write(f"cp4_{agent_id}_prompt.json", output) + self._checkpoint("CP4", { + "agent": agent_id, + "estimated_tokens": estimated_tokens, + "graph_keys": graph_subset_keys, + }) + + # ----------------------------------------------------------------------- + # CP5 -- Agent raw response + # ----------------------------------------------------------------------- + + def cp5_agent_response(self, agent_id: str, finding_dict: dict, elapsed_s: float, + parse_error: Optional[str] = None) -> None: + """Log what the Pro model returned for an agent call.""" + output = { + "agent_id": agent_id, + "elapsed_s": round(elapsed_s, 2), + "parse_error": parse_error, + "verdict": finding_dict.get("agent_verdict"), + "confidence": finding_dict.get("confidence"), + "anomaly_count": len(finding_dict.get("anomalies", [])), + "summary": finding_dict.get("summary"), + "full_finding": finding_dict, + } + self._write(f"cp5_{agent_id}_response.json", output) + self._checkpoint("CP5", { + "agent": agent_id, + "verdict": finding_dict.get("agent_verdict"), + "confidence": finding_dict.get("confidence"), + "elapsed_s": round(elapsed_s, 2), + "parse_error": parse_error, + }) + + # ----------------------------------------------------------------------- + # CP6 -- Narrative synthesis + # ----------------------------------------------------------------------- + + def cp6_narrative(self, prompt: str, verdict_dict: dict, elapsed_s: float, + parse_error: Optional[str] = None) -> None: + """Log the narrative synthesis prompt and final verdict output.""" + output = { + "elapsed_s": round(elapsed_s, 2), + "parse_error": parse_error, + "verdict": verdict_dict.get("verdict"), + "risk_score": verdict_dict.get("risk_score"), + "critical_issues_count": len(verdict_dict.get("critical_issues", [])), + "prompt_char_count": len(prompt), + "prompt": prompt, + "full_verdict": verdict_dict, + } + self._write("cp6_narrative.json", output) + self._checkpoint("CP6", { + "verdict": verdict_dict.get("verdict"), + "risk_score": verdict_dict.get("risk_score"), + "elapsed_s": round(elapsed_s, 2), + }) + + # ----------------------------------------------------------------------- + # Close / Summary + # ----------------------------------------------------------------------- + + def close(self) -> None: + """Write the run summary index file.""" + total_elapsed = round(time.time() - self.start_time, 1) + summary = { + "run_id": self.run_id, + "total_elapsed_s": total_elapsed, + "checkpoints": self._log, + "output_dir": str(self.out_dir), + } + self._write("run_summary.json", summary) + print(f" [DEBUG] Run complete: {len(self._log)} checkpoints in {total_elapsed}s") + print(f" [DEBUG] Debug artifacts: {self.out_dir}") diff --git a/encoding/__init__.py b/encoding/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..76b9cf75177c40924f6ae3d06e54e8f7b1a90fd8 --- /dev/null +++ b/encoding/__init__.py @@ -0,0 +1 @@ +# Structural encoding layer — page extraction + graph building diff --git a/encoding/__pycache__/__init__.cpython-314.pyc b/encoding/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..64950487808e5108e419823fc568e0000458c47a Binary files /dev/null and b/encoding/__pycache__/__init__.cpython-314.pyc differ diff --git a/encoding/__pycache__/extractor.cpython-314.pyc b/encoding/__pycache__/extractor.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80d59e0765fea3e4803e7e6f8bba11d358205972 Binary files /dev/null and b/encoding/__pycache__/extractor.cpython-314.pyc differ diff --git a/encoding/__pycache__/graph_builder.cpython-314.pyc b/encoding/__pycache__/graph_builder.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7b550106ce7448dda7628b6c9582816a471c0bbe Binary files /dev/null and b/encoding/__pycache__/graph_builder.cpython-314.pyc differ diff --git a/encoding/__pycache__/schema.cpython-314.pyc b/encoding/__pycache__/schema.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fb331dd11204fa7d7dd292c5a76906a3d3a123a6 Binary files /dev/null and b/encoding/__pycache__/schema.cpython-314.pyc differ diff --git a/encoding/extractor.py b/encoding/extractor.py new file mode 100644 index 0000000000000000000000000000000000000000..db97df5e27835e18ada81a1b5997ea30a4a08351 --- /dev/null +++ b/encoding/extractor.py @@ -0,0 +1,300 @@ +""" +Uplan Structural Encoder -- Per-Page Entity Extraction + +Uses PyMuPDF (fitz) to render each page as PNG, then sends to Gemini Flash +with structured output (response_schema=PageExtraction) for typed extraction. + +ASYNC with THROTTLING: Pages are extracted concurrently via asyncio.gather() +but rate-limited by a semaphore (MAX_CONCURRENT_PAGES, default=2) to stay +within Google AI Studio free tier limits. Exponential backoff retries on 429. +""" + +from __future__ import annotations + +import asyncio +import hashlib +import random +import re +import time +from typing import Callable, Optional + +import fitz # PyMuPDF +from google.genai import types + +from config import ( + FLASH_MODEL, + PAGE_DPI, + MAX_CONCURRENT_PAGES, + API_RETRY_ATTEMPTS, + API_RETRY_BASE_DELAY, + API_RETRY_MAX_DELAY, + client, +) +from encoding.schema import PageExtraction + + +# -- Extraction Prompt ----------------------------------------------------- + +EXTRACTION_PROMPT = """You are a forensic immigration document analyst performing typed entity extraction. + +TASK: Examine this single page from an immigration visa application document package. +Extract ALL structured data visible on this page into the provided JSON schema. + +CRITICAL RULES: +1. EXTRACT ONLY what is explicitly visible on this page. Never infer, guess, or fabricate. +2. If a field is not present on this page, set it to null. +3. Classify page_type based on observable content: + - "bank_statement": Account transactions, balances, bank headers + - "payslip": Salary/wage payment details, pay period + - "tax_return": Annual tax filing, assessment, income declaration + - "passport": Identity page with name, DOB, nationality, photo + - "sponsor_letter": Letter from a financial sponsor declaring support + - "employment_letter": Letter confirming employment, position, salary + - "enrollment_letter": Admission/enrollment letter from an institution + - "affidavit": Sworn financial or support declaration signed by a sponsor/parent + - "unknown": Cannot determine document type + +4. FOR AFFIDAVIT PAGES -- READ THIS CAREFULLY: + An affidavit is signed BY a sponsor (parent/guardian) FOR a visa applicant. + + FIELD MAPPING for affidavits: + - person_name = the DECLARANT who signs (e.g. "KORADA SATYANARAYANA" -- the father) + - date_of_birth = the DECLARANT/SPONSOR's own DOB (their personal info, e.g. "21/02/1971") + - applicant_name = the BENEFICIARY being sponsored -- extract from "father of X", "for my son X" + - applicant_dob = the APPLICANT's DOB -- from the family member table, find the Son/Daughter row + EXAMPLE: If table shows "Korada Sai Kiran (Son), Date of Birth: 02-06-2003" + then applicant_dob = "02-06-2003" (NOT the father's 21/02/1971) + - sponsor_name = same as person_name + - sponsor_relationship = relationship declared (e.g. "Father") + + ASSET FIELD MAPPING -- split assets by category: + - declared_liquid_assets = SUM of BANK and FINANCIAL accounts ONLY: + savings accounts + fixed deposits + LIC policies + investment accounts + e.g. 90978 + 154603 + 154603 + 1023668 + 162290 + 158519 = 1744661 + DO NOT include cash/gold/silver/property in this field + - declared_movable_assets = cash + gold + silver ornaments + jewelry ONLY + e.g. "Cash, Gold & Silver ornaments: Rs. 25,00,000" -> 2500000 + - declared_property_value = immovable property ONLY: flats, land, agricultural land + e.g. "Properties owned: Rs. 1,63,60,000" -> 16360000 + - declared_annual_income = SUM of ALL annual income sources: + salary + business income + rental income + other + e.g. 300000 + 552000 + 348000 = 1200000 + - sponsor_declared_income = same value as declared_annual_income + - currency = "INR" if amounts are in Rupees + +5. For financial transactions on bank statements: extract EVERY visible row. + Mark as "credit" for incoming money, "debit" for outgoing. +6. For all amounts: extract the numeric value only. + Strip commas, currency symbols, dashes. "1,54,603.98" -> 154603.98, "10,23,668-40" -> 1023668.40 +7. In anomaly_flags, note observable irregularities: + - "large_unlabeled_deposit", "date_format_inconsistent", "possible_alteration", + "balance_discontinuity", "name_spelling_variation" + +This is a SINGLE page. Extract only what THIS page shows.""" + + +# -- Rate-limited async extraction ----------------------------------------- + +# Global semaphore — throttles concurrent API calls across all pages +_semaphore: Optional[asyncio.Semaphore] = None + + +def _get_semaphore() -> asyncio.Semaphore: + """Lazy-init semaphore (must be created inside the event loop).""" + global _semaphore + if _semaphore is None: + _semaphore = asyncio.Semaphore(MAX_CONCURRENT_PAGES) + return _semaphore + + +async def _extract_single_page_async( + page_idx: int, + pdf_bytes: bytes, + png_bytes: bytes | None, + fast_text: str | None, + total: int, + logger=None, +) -> PageExtraction: + """Extract typed entities from a single page via Gemini Flash (async). + Uses Text-to-Flash hybrid if fast_text is provided, otherwise Vision. + Uses semaphore for concurrency control and exponential backoff for retries.""" + + # Deduplication check + if not png_bytes and not fast_text: + print(f" [DEDUPED] Page {page_idx + 1}/{total} -- skipped identical image") + return PageExtraction(page_number=page_idx + 1, page_type="unknown") + + sem = _get_semaphore() + + # CP1 -- log raw page content before sending to Flash + if logger and png_bytes: + logger.cp1_page_content(page_idx, pdf_bytes, png_bytes) + + async with sem: + start = time.time() + last_err = None + + for attempt in range(API_RETRY_ATTEMPTS): + try: + if fast_text: + contents = [ + EXTRACTION_PROMPT, + "Parse the following document text into the standard JSON schema:\n\n[TEXT]\n" + fast_text + ] + else: + contents = [ + EXTRACTION_PROMPT, + types.Part.from_bytes(data=png_bytes, mime_type="image/png"), + ] + + response = await client.aio.models.generate_content( + model=FLASH_MODEL, + contents=contents, + config={ + "response_mime_type": "application/json", + "response_schema": PageExtraction, + }, + ) + extraction: PageExtraction = response.parsed + extraction.page_number = page_idx + 1 + + # If we bypassed Vision, attach the raw text to the schema as requested + if fast_text: + extraction.raw_text = fast_text + + elapsed = time.time() - start + mode = "TEXT" if fast_text else "VISION" + print(f" [OK] Page {page_idx + 1}/{total} -- {extraction.page_type.value} [{mode}] ({elapsed:.1f}s)") + + # CP2 -- log Flash extraction output + if logger: + logger.cp2_extraction(page_idx, extraction.model_dump(), elapsed) + + return extraction + + except Exception as e: + last_err = e + err_str = str(e) + is_rate_limit = "429" in err_str or "RESOURCE_EXHAUSTED" in err_str + + if is_rate_limit and attempt < API_RETRY_ATTEMPTS - 1: + delay = None + # Try to extract exact wait time from header or error string + try: + if hasattr(e, "response") and e.response and hasattr(e.response, "headers"): + retry_after = e.response.headers.get("Retry-After") + if retry_after: + delay = float(retry_after) + except Exception: + pass + + if delay is None: + m = re.search(r"Wait (\d+) seconds", err_str) + if m: + delay = float(m.group(1)) + else: + delay = min(API_RETRY_BASE_DELAY * (2 ** attempt) + random.uniform(0, 1), API_RETRY_MAX_DELAY) + + delay += 1.5 # Buffer + print(f" [WAIT] Page {page_idx + 1}: rate limited, retry in {delay:.1f}s (attempt {attempt + 1}/{API_RETRY_ATTEMPTS})") + await asyncio.sleep(delay) + elif not is_rate_limit: + # Non-rate-limit error -- don't retry + break + + # All retries exhausted or non-retryable error + elapsed = time.time() - start + print(f" [FAIL] Page {page_idx + 1}: extraction failed -- {last_err} ({elapsed:.1f}s)") + return PageExtraction(page_number=page_idx + 1, page_type="unknown") + + +async def _extract_pages_async( + pdf_bytes: bytes, + *, + on_page=None, + logger=None, +) -> list[PageExtraction]: + """ + Extract typed entities from every page of a PDF. + + Pages run concurrently but throttled by semaphore (MAX_CONCURRENT_PAGES) + to stay within API rate limits. + """ + # Reset semaphore for each extraction run (new event loop context) + global _semaphore + _semaphore = None + + doc = fitz.open(stream=pdf_bytes, filetype="pdf") + total_pages = len(doc) + + # Process pages: Text Fast-Path vs Image Deduplication + page_tasks: list[tuple[int, bytes | None, str | None]] = [] + seen_hashes = set() + + for page_idx in range(total_pages): + page = doc[page_idx] + text = page.get_text() + + if len(text.strip()) > 100: + # Text-heavy page -> Fast path (skip PNG) + page_tasks.append((page_idx, None, text)) + else: + # Scanned / Image-heavy page -> Rasterize to PNG + pix = page.get_pixmap(dpi=PAGE_DPI) + png_bytes = pix.tobytes("png") + img_hash = hashlib.sha256(png_bytes).hexdigest() + + if img_hash in seen_hashes: + # Exact duplicate page (e.g. blank back page) + page_tasks.append((page_idx, None, None)) + else: + seen_hashes.add(img_hash) + page_tasks.append((page_idx, png_bytes, None)) + + doc.close() + + if on_page: + on_page(0, total_pages) + + print(f" Extracting {total_pages} pages (max {MAX_CONCURRENT_PAGES} concurrent)...") + + # Fire extraction calls -- semaphore controls concurrency + tasks = [ + _extract_single_page_async(idx, pdf_bytes, png, txt, total_pages, logger) + for idx, png, txt in page_tasks + ] + results = await asyncio.gather(*tasks) + + if on_page: + on_page(total_pages, total_pages) + + return list(results) + + +# -- Sync wrapper ---------------------------------------------------------- + + +def extract_pages( + pdf_bytes: bytes, + *, + on_page=None, + logger=None, +) -> list[PageExtraction]: + """ + Sync wrapper for async extraction. + Pass a DebugLogger instance to enable CP1/CP2 checkpoint logging. + """ + coro = _extract_pages_async(pdf_bytes, on_page=on_page, logger=logger) + + try: + loop = asyncio.get_running_loop() + except RuntimeError: + loop = None + + if loop and loop.is_running(): + import concurrent.futures + with concurrent.futures.ThreadPoolExecutor(max_workers=1) as pool: + future = pool.submit(asyncio.run, coro) + return future.result() + else: + return asyncio.run(coro) diff --git a/encoding/graph_builder.py b/encoding/graph_builder.py new file mode 100644 index 0000000000000000000000000000000000000000..b9831d7c35ac4a0b4a0c11c6f2b669b5b9ee6dec --- /dev/null +++ b/encoding/graph_builder.py @@ -0,0 +1,400 @@ +""" +Uplan Graph Builder — Merge per-page extractions into a single SemanticGraph. + +Takes list[PageExtraction] (flat, per-page) and produces a SemanticGraph +(rich, cross-document). This is pure Python — no LLM calls. + +Key operations: + - Identity deduplication (lowercase + strip normalization) + - Financial aggregation (time-series, spike detection) + - Temporal construction (date ranges, gap detection) + - Edge building (cross-node coherence checks) + - Token counting (via Gemini count_tokens API) +""" + +from __future__ import annotations + +from collections import defaultdict +from statistics import mean +from typing import Optional + +from config import ALPHA_SPIKE_RATIO, PRO_MODEL, client +from encoding.schema import ( + EdgeType, + EnrollmentNode, + FinancialNode, + GapFlag, + GraphEdge, + IdentityNode, + PageExtraction, + PageType, + SemanticGraph, + SpikeEntry, + SponsorNode, + TemporalNode, +) + + +def _normalize_name(name: str) -> str: + """Lowercase, strip, collapse whitespace for name deduplication.""" + return " ".join(name.lower().strip().split()) + + +def _build_identity(pages: list[PageExtraction]) -> IdentityNode: + """Merge identity information across all pages. + + Priority: passport > applicant_name on affidavit > person_name on non-affidavit. + DOB priority: passport DOB > applicant_dob from affidavit > declarant DOB (last resort). + """ + raw_names: list[str] = [] + applicant_names: list[str] = [] # From affidavit applicant_name field + sponsor_names: list[str] = [] # Declarant names (person_name on affidavit) + dob: Optional[str] = None + applicant_dob: Optional[str] = None # From affidavit's family member table + declarant_dob: Optional[str] = None # The sponsor's own DOB (fallback only) + nationality: Optional[str] = None + passport_no: Optional[str] = None + + for p in pages: + if p.page_type == PageType.AFFIDAVIT: + # On affidavit: person_name = declarant/sponsor, applicant_name = beneficiary + if p.applicant_name: + applicant_names.append(p.applicant_name) + if p.person_name: + sponsor_names.append(p.person_name) + # applicant_dob is the son/daughter's DOB from the family table + if p.applicant_dob and not applicant_dob: + applicant_dob = p.applicant_dob + # date_of_birth on affidavit is the DECLARANT's (sponsor's) DOB + if p.date_of_birth and not declarant_dob: + declarant_dob = p.date_of_birth + else: + if p.person_name: + raw_names.append(p.person_name) + if p.date_of_birth and not dob: + dob = p.date_of_birth + if p.nationality and not nationality: + nationality = p.nationality + if p.passport_number and not passport_no: + passport_no = p.passport_number + + # DOB priority: non-affidavit (passport) > applicant_dob from affidavit > declarant DOB + resolved_dob = dob or applicant_dob + # Only fall back to declarant DOB if nothing else available (and log it) + if resolved_dob is None and declarant_dob: + print(f" [WARN] identity: no applicant DOB found, falling back to declarant DOB {declarant_dob}") + resolved_dob = declarant_dob + + # Name priority: non-affidavit > applicant_name from affidavit > declarant name + candidate_names = raw_names or applicant_names or sponsor_names + + # Deduplicate names via normalization + seen_normalized: dict[str, str] = {} + for name in candidate_names: + norm = _normalize_name(name) + if norm not in seen_normalized: + seen_normalized[norm] = name + + unique_variants = list(seen_normalized.values()) + canonical = unique_variants[0] if unique_variants else None + + transliteration_flags = [] + if len(seen_normalized) > 1: + transliteration_flags = [ + f"'{v}' vs '{unique_variants[0]}'" for v in unique_variants[1:] + ] + + return IdentityNode( + name_variants=unique_variants, + canonical_name=canonical, + date_of_birth=resolved_dob, + nationality=nationality, + passport_number=passport_no, + transliteration_flags=transliteration_flags, + cross_doc_name_match=len(seen_normalized) <= 1, + ) + + +def _build_financial(pages: list[PageExtraction]) -> FinancialNode: + """Aggregate financial data across bank statements, payslips, and affidavits. + + For affidavits: + - declared_liquid_assets (savings + FD only) -> closing_balance + - declared_annual_income / 12 -> avg_monthly_income + - declared_property_value -> financial.declared_property_value (non-liquid) + - declared_movable_assets -> financial.declared_movable_assets (non-liquid) + - source_is_affidavit = True -> agents know 0 transactions is expected + """ + currency: Optional[str] = None + all_opening: list[float] = [] + all_closing: list[float] = [] + all_salaries: list[float] = [] + all_credits: list[float] = [] + all_debits: list[float] = [] + unlabeled_count = 0 + total_transactions = 0 + has_affidavit = False + property_value: Optional[float] = None + movable_assets: Optional[float] = None + + for p in pages: + if p.currency and not currency: + currency = p.currency + + if p.page_type == PageType.AFFIDAVIT: + has_affidavit = True + # Use declared_liquid_assets (bank+FD only) as closing balance + liquid = p.declared_liquid_assets + # Fall back to deprecated declared_assets_total if new field missing + if liquid is None: + liquid = p.declared_assets_total + if liquid is not None: + all_closing.append(liquid) + + # Annual income -> monthly equivalent + annual = p.declared_annual_income + if annual is None: + annual = p.sponsor_declared_income + if annual is not None: + all_salaries.append(annual / 12.0) + + # Non-liquid wealth + if p.declared_property_value is not None and property_value is None: + property_value = p.declared_property_value + if p.declared_movable_assets is not None and movable_assets is None: + movable_assets = p.declared_movable_assets + else: + if p.opening_balance is not None: + all_opening.append(p.opening_balance) + if p.closing_balance is not None: + all_closing.append(p.closing_balance) + if p.monthly_salary is not None: + all_salaries.append(p.monthly_salary) + + for txn in p.transactions: + total_transactions += 1 + if txn.transaction_type.value == "credit": + all_credits.append(txn.amount) + if txn.label is None: + unlabeled_count += 1 + else: + all_debits.append(txn.amount) + + total_credits = sum(all_credits) + total_debits = sum(all_debits) + avg_monthly = mean(all_salaries) if all_salaries else None + + # Spike detection: credits > ALPHA x average credit + spikes: list[SpikeEntry] = [] + if all_credits: + avg_credit = mean(all_credits) + if avg_credit > 0: + for p in pages: + for txn in p.transactions: + if txn.transaction_type.value == "credit": + ratio = txn.amount / avg_credit + if ratio > ALPHA_SPIKE_RATIO: + spikes.append(SpikeEntry( + date=txn.date, + amount=txn.amount, + label=txn.label, + ratio_to_average=round(ratio, 2), + )) + + return FinancialNode( + currency=currency, + opening_balance=all_opening[0] if all_opening else None, + closing_balance=all_closing[-1] if all_closing else None, + avg_monthly_income=avg_monthly, + total_credits=total_credits, + total_debits=total_debits, + transaction_count=total_transactions, + spikes=spikes, + unlabeled_deposit_count=unlabeled_count, + declared_property_value=property_value, + declared_movable_assets=movable_assets, + source_is_affidavit=has_affidavit, + ) + + +def _build_temporal(pages: list[PageExtraction]) -> TemporalNode: + """Build timeline from document dates and employment periods.""" + date_ranges: list[dict] = [] + emp_start: Optional[str] = None + emp_end: Optional[str] = None + + for p in pages: + if p.period_start or p.period_end: + date_ranges.append({ + "source": p.page_type.value, + "page": p.page_number, + "start": p.period_start, + "end": p.period_end, + }) + if p.employment_start and not emp_start: + emp_start = p.employment_start + if p.employment_end and not emp_end: + emp_end = p.employment_end + + return TemporalNode( + doc_date_ranges=date_ranges, + employment_start=emp_start, + employment_end=emp_end, + # Gap detection and chronology validation require date parsing. + # For PoC: flag if no employment dates found at all. + chronology_valid=True, # Will be refined by rule engine + ) + + +def _build_sponsor(pages: list[PageExtraction]) -> Optional[SponsorNode]: + """Extract sponsor data if any sponsor pages exist.""" + for p in pages: + if p.page_type in (PageType.SPONSOR_LETTER, PageType.AFFIDAVIT): + if p.sponsor_name or p.sponsor_declared_income is not None: + return SponsorNode( + sponsor_name=p.sponsor_name, + relationship=p.sponsor_relationship, + declared_income=p.sponsor_declared_income, + income_currency=p.sponsor_income_currency, + ) + return None + + +def _build_enrollment(pages: list[PageExtraction]) -> Optional[EnrollmentNode]: + """Extract enrollment data if any enrollment pages exist.""" + for p in pages: + if p.page_type == PageType.ENROLLMENT_LETTER: + if p.institution_name or p.program_cost is not None: + return EnrollmentNode( + institution_name=p.institution_name, + program_name=p.program_name, + program_cost=p.program_cost, + duration_months=p.program_duration_months, + enrollment_start=p.enrollment_start, + ) + return None + + +def _build_edges( + identity: IdentityNode, + financial: FinancialNode, + temporal: TemporalNode, + sponsor: Optional[SponsorNode], + enrollment: Optional[EnrollmentNode], +) -> list[GraphEdge]: + """Build typed edges representing cross-node relationships.""" + edges: list[GraphEdge] = [] + + # Identity → Financial: do we have both identity and financial data? + if identity.canonical_name and financial.transaction_count > 0: + edges.append(GraphEdge( + edge_type=EdgeType.INCOME_LINK, + source_node="identity", + target_node="financial", + coherent=True, # Refined by rule engine + detail=None, + )) + + # Identity → Temporal: employment dates present? + if identity.canonical_name and temporal.employment_start: + edges.append(GraphEdge( + edge_type=EdgeType.DATE_MATCH, + source_node="identity", + target_node="temporal", + coherent=temporal.chronology_valid, + detail=None if temporal.chronology_valid else "Chronology invalid", + )) + + # Identity → Sponsor: sponsor relationship exists? + if sponsor and sponsor.sponsor_name: + edges.append(GraphEdge( + edge_type=EdgeType.SPONSOR_LINK, + source_node="identity", + target_node="sponsor", + coherent=sponsor.income_supports_coverage, + detail=None if sponsor.income_supports_coverage else "Sponsor income insufficient", + )) + + # Identity → Enrollment: enrollment data exists? + if enrollment and enrollment.institution_name: + edges.append(GraphEdge( + edge_type=EdgeType.FUNDS_CHECK, + source_node="identity", + target_node="enrollment", + coherent=enrollment.funds_cover_full_stay, + detail=None if enrollment.funds_cover_full_stay else "Funds insufficient for program", + )) + + # Financial → Temporal: salary-to-deposit coherence + if financial.avg_monthly_income and financial.transaction_count > 0: + edges.append(GraphEdge( + edge_type=EdgeType.INCOME_TO_BALANCE, + source_node="financial", + target_node="temporal", + coherent=True, # Refined by rule engine + detail=None, + )) + + return edges + + +def _count_graph_tokens(graph: SemanticGraph) -> int: + """Count tokens of the graph JSON using Gemini's tokenizer.""" + graph_json = graph.model_dump_json() + try: + response = client.models.count_tokens( + model=PRO_MODEL, + contents=graph_json, + ) + return response.total_tokens + except Exception as e: + # Fallback: rough estimate (1 token ≈ 4 chars) + print(f" ! Token counting failed ({e}), using estimate") + return len(graph_json) // 4 + + +def build_graph(pages: list[PageExtraction]) -> SemanticGraph: + """ + Merge per-page extractions into a single SemanticGraph. + + This is pure Python — no LLM calls except for token counting. + The output graph is ~1,200 tokens regardless of input document size. + """ + print(" -> Building identity node...") + identity = _build_identity(pages) + + print(" -> Building financial node...") + financial = _build_financial(pages) + + print(" -> Building temporal node...") + temporal = _build_temporal(pages) + + print(" -> Building sponsor node...") + sponsor = _build_sponsor(pages) + + print(" -> Building enrollment node...") + enrollment = _build_enrollment(pages) + + print(" -> Building edges...") + edges = _build_edges(identity, financial, temporal, sponsor, enrollment) + + # Estimate raw token count: ~2,000 tokens per page of scanned document + estimated_raw = len(pages) * 2000 + + graph = SemanticGraph( + identity=identity, + financial=financial, + temporal=temporal, + sponsor=sponsor, + enrollment=enrollment, + edges=edges, + source_page_count=len(pages), + estimated_raw_tokens=estimated_raw, + source_doc_types=list({p.page_type.value for p in pages}), + ) + + # 4. Final compression metrics + print(" -> Counting graph tokens...") + graph.token_count = _count_graph_tokens(graph) + + return graph diff --git a/encoding/schema.py b/encoding/schema.py new file mode 100644 index 0000000000000000000000000000000000000000..851a2bc083852266339779287f431d756514c5e7 --- /dev/null +++ b/encoding/schema.py @@ -0,0 +1,353 @@ +""" +Uplan Semantic Graph Schema + +Two-tier design: + 1. PageExtraction — FLAT model used as Gemini Flash response_schema. + No Optional[ComplexModel] nesting. Safe for SDK schema conversion. + 2. SemanticGraph — RICH model built in Python by graph_builder.py. + Never used as response_schema. Contains full typed node hierarchy. + +This file is the typed contract between every layer of Uplan. +""" + +from __future__ import annotations + +from enum import Enum +from typing import Optional + +from pydantic import BaseModel, Field + + +# ═══════════════════════════════════════════════════════════════════════ +# TIER 1 — Flat extraction model (Gemini Flash response_schema) +# ═══════════════════════════════════════════════════════════════════════ + + +class PageType(str, Enum): + BANK_STATEMENT = "bank_statement" + PAYSLIP = "payslip" + TAX_RETURN = "tax_return" + PASSPORT = "passport" + SPONSOR_LETTER = "sponsor_letter" + EMPLOYMENT_LETTER = "employment_letter" + ENROLLMENT_LETTER = "enrollment_letter" + AFFIDAVIT = "affidavit" + UNKNOWN = "unknown" + + +class TransactionType(str, Enum): + CREDIT = "credit" + DEBIT = "debit" + + +class Transaction(BaseModel): + """Single financial transaction row. Flat — safe for response_schema.""" + date: str = Field(description="Transaction date as it appears on the document") + description: str = Field(description="Transaction description or narration text") + amount: float = Field(description="Transaction amount as a number, no currency symbol") + transaction_type: TransactionType = Field(description="credit for incoming, debit for outgoing") + label: Optional[str] = Field( + default=None, + description="Source label if identifiable (e.g. 'salary', 'transfer'). null if unlabeled.", + ) + + +class PageExtraction(BaseModel): + """ + Flat per-page extraction result from Gemini Flash. + Used as response_schema — all fields are primitives or list[simple_model]. + No Optional[ComplexModel] to avoid SDK schema conversion failures. + """ + + page_number: int = Field(description="1-indexed page number within the document") + page_type: PageType = Field(description="Document type detected on this page") + raw_text: Optional[str] = Field(default=None, description="Raw text extracted via PyMuPDF fast-path") + + # -- Identity fields (passport, ID pages) --------------------------------- + person_name: Optional[str] = Field( + default=None, + description=( + "Full name of the PERSON who created/signed this document. " + "On a passport/payslip = the applicant. On an affidavit = the declarant/sponsor." + ), + ) + date_of_birth: Optional[str] = Field( + default=None, + description=( + "Date of birth of person_name (the signer/declarant). " + "On a passport = the applicant's DOB. On an affidavit = the SPONSOR's DOB, NOT the applicant's." + ), + ) + applicant_dob: Optional[str] = Field( + default=None, + description=( + "[AFFIDAVIT ONLY] Date of birth of the VISA APPLICANT (the beneficiary being sponsored). " + "Extract from the family member table — the son/daughter entry, NOT the declarant's own row. " + "e.g. if affidavit lists 'Korada Sai Kiran (Son), DOB: 02-06-2003', this = '02-06-2003'." + ), + ) + nationality: Optional[str] = Field(default=None, description="Nationality or citizenship") + passport_number: Optional[str] = Field(default=None, description="Passport or ID number") + + # ── Financial fields (bank statements, payslips) ──────────────── + currency: Optional[str] = Field(default=None, description="3-letter currency code (e.g. JPY, USD)") + opening_balance: Optional[float] = Field(default=None, description="Opening/starting balance on this page") + closing_balance: Optional[float] = Field(default=None, description="Closing/ending balance on this page") + transactions: list[Transaction] = Field(default_factory=list, description="All visible transactions") + + # ── Income / Employment fields ────────────────────────────────── + employer_name: Optional[str] = Field(default=None, description="Employer or company name") + job_title: Optional[str] = Field(default=None, description="Job title or designation") + monthly_salary: Optional[float] = Field(default=None, description="Monthly salary amount") + annual_income: Optional[float] = Field(default=None, description="Annual income amount") + + # ── Temporal fields ───────────────────────────────────────────── + document_date: Optional[str] = Field(default=None, description="Date of issuance of this document") + period_start: Optional[str] = Field(default=None, description="Start of the period this page covers") + period_end: Optional[str] = Field(default=None, description="End of the period this page covers") + employment_start: Optional[str] = Field(default=None, description="Employment start date if stated") + employment_end: Optional[str] = Field(default=None, description="Employment end date if stated") + + # -- Sponsor fields ------------------------------------------------------- + sponsor_name: Optional[str] = Field( + default=None, + description="Financial sponsor's name — the person DECLARING/SIGNING the document", + ) + sponsor_relationship: Optional[str] = Field(default=None, description="Relationship to applicant (e.g. 'Father', 'Mother')") + sponsor_declared_income: Optional[float] = Field(default=None, description="Sponsor's total declared annual income from ALL sources combined") + sponsor_income_currency: Optional[str] = Field(default=None, description="Currency of sponsor income") + + # -- Affidavit-specific fields (affidavit documents) --------------------- + # An affidavit is signed BY the sponsor FOR the applicant. + # person_name = the declarant/sponsor (signs it, their DOB goes in date_of_birth) + # applicant_name = the beneficiary (the actual visa applicant) + # applicant_dob = the beneficiary's DOB (from the family member table) + applicant_name: Optional[str] = Field( + default=None, + description=( + "[AFFIDAVIT ONLY] Name of the visa APPLICANT (beneficiary), distinct from the sponsor/declarant. " + "Extract from phrases like 'father of X', 'for my son X', 'studies of X'. " + "This is the person whose visa is being applied for." + ), + ) + declared_liquid_assets: Optional[float] = Field( + default=None, + description=( + "[AFFIDAVIT ONLY] Sum of BANK/FINANCIAL account balances ONLY: " + "savings accounts + fixed deposits + LIC + investment accounts. " + "Do NOT include property value, land, gold, or physical assets here. " + "e.g. SBI savings 90978 + SBI savings 154603 + Union Bank 154603 + SBI FD 1023668 + LIC 162290 + Bajaj 158519 = 1744664." + ), + ) + declared_movable_assets: Optional[float] = Field( + default=None, + description=( + "[AFFIDAVIT ONLY] Value of movable physical assets: cash, gold, silver ornaments, jewelry. " + "Do NOT include bank accounts or property/land here. " + "e.g. 'Cash, Gold & Silver ornaments: Rs. 25,00,000' → 2500000." + ), + ) + declared_property_value: Optional[float] = Field( + default=None, + description=( + "[AFFIDAVIT ONLY] Total declared value of immovable property: residential flats, land, agricultural land. " + "e.g. 'Properties owned: Rs. 1,63,60,000' → 16360000." + ), + ) + declared_annual_income: Optional[float] = Field( + default=None, + description=( + "[AFFIDAVIT ONLY] SUM of ALL annual income lines from ALL sources. " + "Add salary + business + rent + other income. " + "e.g. 300000 + 552000 + 348000 = 1200000." + ), + ) + # Keep for backward compat — deprecated in favor of declared_liquid_assets + declared_assets_total: Optional[float] = Field( + default=None, + description="Deprecated. Use declared_liquid_assets instead.", + ) + + # ── Enrollment fields ─────────────────────────────────────────── + institution_name: Optional[str] = Field(default=None, description="Educational institution name") + program_name: Optional[str] = Field(default=None, description="Program or course name") + program_cost: Optional[float] = Field(default=None, description="Total program cost/tuition") + program_duration_months: Optional[int] = Field(default=None, description="Program duration in months") + enrollment_start: Optional[str] = Field(default=None, description="Enrollment or term start date") + + # ── Tax fields ────────────────────────────────────────────────── + tax_year: Optional[int] = Field(default=None, description="Tax assessment year") + taxable_income: Optional[float] = Field(default=None, description="Total taxable income reported") + tax_paid: Optional[float] = Field(default=None, description="Total tax paid or deducted") + + # ── Anomaly signals ───────────────────────────────────────────── + anomaly_flags: list[str] = Field( + default_factory=list, + description=( + "Observable irregularities: 'large_unlabeled_deposit', " + "'date_format_inconsistent', 'possible_alteration', " + "'balance_discontinuity', 'name_spelling_variation'" + ), + ) + + +# ═══════════════════════════════════════════════════════════════════════ +# TIER 2 — Rich graph model (built in Python, NOT used as response_schema) +# ═══════════════════════════════════════════════════════════════════════ + + +class SpikeEntry(BaseModel): + """A financial spike — an anomalously large transaction.""" + date: str + amount: float + label: Optional[str] = None # null = unlabeled = strongest anomaly signal + ratio_to_average: float = Field(description="spike_amount / avg_monthly_credit") + + +class GapFlag(BaseModel): + """An employment or temporal gap.""" + period_start: str + period_end: str + gap_days: int + severity: str = Field(description="'warning' or 'critical'") + + +class IdentityNode(BaseModel): + """Central node: applicant identity across all documents.""" + name_variants: list[str] = Field(default_factory=list, description="All name spellings found") + canonical_name: Optional[str] = Field(default=None, description="Normalized canonical name") + date_of_birth: Optional[str] = None + nationality: Optional[str] = None + passport_number: Optional[str] = None + transliteration_flags: list[str] = Field( + default_factory=list, + description="Name variant mismatches that may be transliteration issues", + ) + cross_doc_name_match: bool = Field( + default=True, + description="False if names across documents don't reconcile", + ) + + +class FinancialNode(BaseModel): + """Financial summary across all bank statements, payslips, and affidavits.""" + currency: Optional[str] = None + opening_balance: Optional[float] = None + closing_balance: Optional[float] = None # Bank stmt closing OR liquid assets from affidavit + avg_monthly_income: Optional[float] = None + total_credits: float = 0.0 + total_debits: float = 0.0 + transaction_count: int = 0 + spikes: list[SpikeEntry] = Field(default_factory=list) + unlabeled_deposit_count: int = 0 + income_percentile: Optional[float] = Field( + default=None, + description="Contextual income percentile (hardcoded thresholds for PoC)", + ) + # Affidavit-sourced wealth (non-liquid, for context only) + declared_property_value: Optional[float] = Field( + default=None, + description="Declared immovable property value from affidavit (not liquid)", + ) + declared_movable_assets: Optional[float] = Field( + default=None, + description="Declared gold/silver/cash value from affidavit", + ) + source_is_affidavit: bool = Field( + default=False, + description="True if financial data comes from a declared affidavit (no transactions expected)", + ) + + +class TemporalNode(BaseModel): + """Timeline coherence across all documents.""" + doc_date_ranges: list[dict] = Field( + default_factory=list, + description="[{'source': 'bank_stmt', 'start': '...', 'end': '...'}]", + ) + employment_start: Optional[str] = None + employment_end: Optional[str] = None + visa_window_start: Optional[str] = None + visa_window_end: Optional[str] = None + gap_flags: list[GapFlag] = Field(default_factory=list) + chronology_valid: bool = Field( + default=True, + description="False if document dates are logically impossible", + ) + + +class SponsorNode(BaseModel): + """Sponsor details from sponsor letter / affidavit.""" + sponsor_name: Optional[str] = None + relationship: Optional[str] = None + declared_income: Optional[float] = None + income_currency: Optional[str] = None + income_supports_coverage: bool = Field( + default=True, + description="False if sponsor income is insufficient for applicant costs", + ) + jurisdiction: Optional[str] = None + + +class EnrollmentNode(BaseModel): + """Enrollment details from CoE / admission letter.""" + institution_name: Optional[str] = None + program_name: Optional[str] = None + program_cost: Optional[float] = None + program_cost_currency: Optional[str] = None + duration_months: Optional[int] = None + enrollment_start: Optional[str] = None + funds_cover_full_stay: bool = Field( + default=True, + description="False if applicant funds don't cover program cost + living", + ) + coe_date_matches_visa: bool = Field( + default=True, + description="False if enrollment date doesn't align with visa window", + ) + + +class EdgeType(str, Enum): + INCOME_LINK = "income_link" # Identity ↔ Financial + DATE_MATCH = "date_match" # Identity ↔ Temporal + SPONSOR_LINK = "sponsor_link" # Identity ↔ Sponsor + FUNDS_CHECK = "funds_check" # Identity ↔ Enrollment + INCOME_TO_BALANCE = "income_to_balance" # Payslip income ↔ Bank deposit + + +class GraphEdge(BaseModel): + """Typed relationship between graph nodes.""" + edge_type: EdgeType + source_node: str = Field(description="e.g. 'identity', 'financial'") + target_node: str = Field(description="e.g. 'financial', 'sponsor'") + coherent: bool = Field(description="True if the relationship is consistent") + detail: Optional[str] = Field( + default=None, + description="Explanation if incoherent (e.g. 'salary on payslip not found in bank deposits')", + ) + + +class SemanticGraph(BaseModel): + """ + The complete semantic graph -- the core data structure of Uplan. + Built by graph_builder.py from a list[PageExtraction]. + Consumed by the rule engine and specialist agents. + ~1,200 tokens vs. ~60,000 tokens of raw document text. + """ + identity: IdentityNode = Field(default_factory=IdentityNode) + financial: FinancialNode = Field(default_factory=FinancialNode) + temporal: TemporalNode = Field(default_factory=TemporalNode) + sponsor: Optional[SponsorNode] = None + enrollment: Optional[EnrollmentNode] = None + edges: list[GraphEdge] = Field(default_factory=list) + token_count: int = Field(default=0, description="Token count of this graph's JSON representation") + source_page_count: int = Field(default=0, description="Total pages processed from source documents") + estimated_raw_tokens: int = Field(default=0, description="Estimated token count of raw documents") + source_doc_types: list[str] = Field( + default_factory=list, + description=( + "All PageType values seen across processed pages. " + "Agents use this to contextualize findings — e.g. if 'affidavit' is present and " + "'bank_statement' is absent, zero transactions is EXPECTED not suspicious." + ), + ) diff --git a/implementation_plan.md b/implementation_plan.md new file mode 100644 index 0000000000000000000000000000000000000000..5bfcceef5185a987424e2266e953d15d8154b6da --- /dev/null +++ b/implementation_plan.md @@ -0,0 +1,475 @@ +# Uplan PoC — Adversarial Immigration Document Intelligence + +> **Scope**: Hackathon proof-of-concept. No fine-tuning. No production deployment. +> **Goal**: Demonstrate structural encoding → typed semantic graph → parallel specialist reasoning → adversarial narrative synthesis as a viable architecture for immigration document intelligence. + +--- + +## Navigation Checkpoint + +### Data / Model Pipeline + +```mermaid +flowchart LR + subgraph INGEST["1 · Document Ingestion"] + A[PDF Upload] --> B[Page Segmentation] + end + subgraph ENCODE["2 · Structural Encoding · Gemini Flash"] + B --> C[Per-Page Entity Extraction] + C --> D[Typed JSON Nodes] + D --> E[Graph Merge] + end + subgraph RULES["3 · Deterministic Rule Engine"] + E --> F[Math Algebra
spike ratio · income %ile
date coherence · coverage] + end + subgraph AGENTS["4 · Specialist Agents · Gemini Pro · Parallel"] + F --> G1[Identity] + F --> G2[Financial] + F --> G3[Temporal] + F --> G4[Sponsor] + F --> G5[Enrollment] + end + subgraph SYNTH["5 · Narrative Synthesis · Gemini Pro"] + G1 & G2 & G3 & G4 & G5 --> H[Cross-Doc Verdict] + end + subgraph REPORT["6 · Output"] + H --> I[Structured Report
+ Anomaly Citations] + end + + style ENCODE fill:#1a1a2e,stroke:#e94560,color:#fff + style AGENTS fill:#1a1a2e,stroke:#0f3460,color:#fff + style SYNTH fill:#1a1a2e,stroke:#16213e,color:#fff +``` + +### File Dependency Tree + +``` +uplan/ # Root package +├── config.py # Vertex AI client init, model names, thresholds +├── requirements.txt +├── .env.example +│ +├── encoding/ # Structural Encoding Layer +│ ├── __init__.py +│ ├── schema.py # Pydantic models for all 5 node types + graph +│ ├── extractor.py # Gemini Flash: per-page typed entity extraction +│ └── graph_builder.py # Merge per-page nodes → global semantic graph +│ +├── rules/ # Deterministic Rule Engine +│ ├── __init__.py +│ └── engine.py # Pure-math algebra on graph nodes (no LLM) +│ +├── orchestrator/ # LangGraph Orchestration +│ ├── __init__.py +│ ├── state.py # TypedDict state schema for LangGraph +│ └── graph.py # StateGraph: ingest→encode→rules→agents→synth→purge +│ +├── agents/ # Specialist Agents (Gemini Pro) +│ ├── __init__.py +│ ├── base_agent.py # Abstract base: call Gemini Pro, return structured finding +│ ├── identity_agent.py # Name variant, transliteration, cross-doc match +│ ├── financial_agent.py # Balance trend, spike analysis, income coherence +│ ├── temporal_agent.py # Date range, employment gaps, visa overlap +│ ├── sponsor_agent.py # Sponsor income, relationship, jurisdiction +│ ├── enrollment_agent.py # Institution, program cost, funds coverage +│ └── narrative.py # Cross-doc synthesis: final verdict + citations +│ +├── security/ # Lobster Trap Integration (Phase 2) +│ ├── __init__.py +│ ├── proxy_client.py # Rewrites Gemini base_url → Lobster Trap +│ └── rules/ +│ └── policy.yaml # YAML: DENY PII in plaintext, LOG financial nodes +│ +└── ui/ # Streamlit Frontend + ├── app.py # Entrypoint: file upload, orchestrator call, report + └── components.py # Report rendering, anomaly cards, graph viz +``` + +#### Import Dependency Graph + +```mermaid +graph TD + CONFIG[config.py] --> SCHEMA[encoding/schema.py] + CONFIG --> EXTRACTOR[encoding/extractor.py] + CONFIG --> BASE_AGENT[agents/base_agent.py] + + SCHEMA --> EXTRACTOR + SCHEMA --> GRAPH_BUILDER[encoding/graph_builder.py] + SCHEMA --> ENGINE[rules/engine.py] + SCHEMA --> STATE[orchestrator/state.py] + + EXTRACTOR --> GRAPH_BUILDER + GRAPH_BUILDER --> ENGINE + + STATE --> ORCH_GRAPH[orchestrator/graph.py] + + BASE_AGENT --> IDENTITY[agents/identity_agent.py] + BASE_AGENT --> FINANCIAL[agents/financial_agent.py] + BASE_AGENT --> TEMPORAL[agents/temporal_agent.py] + BASE_AGENT --> SPONSOR[agents/sponsor_agent.py] + BASE_AGENT --> ENROLLMENT[agents/enrollment_agent.py] + BASE_AGENT --> NARRATIVE[agents/narrative.py] + + ORCH_GRAPH --> EXTRACTOR + ORCH_GRAPH --> ENGINE + ORCH_GRAPH --> IDENTITY & FINANCIAL & TEMPORAL & SPONSOR & ENROLLMENT + ORCH_GRAPH --> NARRATIVE + + ORCH_GRAPH --> APP[ui/app.py] + + style CONFIG fill:#e94560,color:#fff + style SCHEMA fill:#0f3460,color:#fff + style ORCH_GRAPH fill:#16213e,color:#fff +``` + +--- + +## User Review Required + +> [!IMPORTANT] +> **Vertex AI Authentication**: The plan assumes you have a GCP project with Vertex AI API enabled and Application Default Credentials configured (`gcloud auth application-default login`). Confirm your **GCP project ID** and preferred **region** (e.g., `us-central1`). + +> [!IMPORTANT] +> **Model Selection**: The plan uses `gemini-2.0-flash` for extraction (speed, cost) and `gemini-2.5-pro` for reasoning (quality). Confirm these are available in your Vertex AI project, or specify alternatives. + +> [!WARNING] +> **Lobster Trap is Phase 2**: Per your instruction, Lobster Trap integration is deferred. The `security/` module will be scaffolded but not wired into the main pipeline. All Gemini calls go direct to Vertex AI in Phase 1. + +--- + +## Open Questions + +> [!IMPORTANT] +> **1. Test Documents**: Do you have sample immigration PDFs (bank statements, passports, sponsor letters) for end-to-end testing? Or should I create synthetic test fixtures with mock data? + +> [!IMPORTANT] +> **2. Streamlit vs. other UI**: You mentioned "Streamlit / Next.js" in the layers. For a hackathon PoC, Streamlit is faster to ship. Should I go with Streamlit, or do you want a Next.js frontend for the demo? + +> [!IMPORTANT] +> **3. ChromaDB BYOG RAG**: The BYOG policy store (immigration policy PDFs for RAG) — should this be included in the PoC scope, or is it sufficient to hardcode jurisdiction-specific thresholds in the rule engine for the demo? + +--- + +## Proposed Changes + +### Component 1: Config & Environment + +#### [NEW] [config.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/config.py) + +Central configuration module. Initializes the `google.genai.Client` with `vertexai=True`. + +```python +# Code Status: Production-Ready Template +from google import genai + +client = genai.Client( + vertexai=True, + project=os.environ["GCP_PROJECT_ID"], + location=os.environ.get("GCP_LOCATION", "us-central1"), +) + +FLASH_MODEL = "gemini-2.0-flash" # Extraction pass +PRO_MODEL = "gemini-2.5-pro" # Reasoning pass +``` + +Key decisions: +- Single `client` instance, imported by all modules +- Model names as constants — easy to swap +- All secrets via env vars (`.env` + `python-dotenv`) + +#### [NEW] [requirements.txt](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/requirements.txt) + +``` +google-genai>=1.14.0 +langgraph>=0.4.0 +pydantic>=2.10 +streamlit>=1.45.0 +python-dotenv>=1.0.0 +PyPDF2>=3.0.0 +``` + +#### [NEW] [.env.example](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/.env.example) + +``` +GCP_PROJECT_ID=your-project-id +GCP_LOCATION=us-central1 +``` + +--- + +### Component 2: Encoding Layer (The Core Innovation) + +This is the structural encoding pipeline — the heart of Uplan. + +#### [NEW] [schema.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/encoding/schema.py) + +Pydantic models for the typed semantic graph. These are both the extraction schema (Gemini Flash output) AND the reasoning input (Gemini Pro input). This is the contract between layers. + +**5 node types + relationship edges + global graph container:** + +| Node Type | Key Fields | Anomaly Flags | +|-----------|-----------|---------------| +| `IdentityNode` | `name_variants[]`, `dob`, `nationality`, `passport_no` | `transliteration_flags[]`, `cross_doc_match: bool` | +| `FinancialNode` | `currency`, `avg_monthly_income`, `closing_balance`, `spikes[]` | `unlabeled_deposits: int`, `income_percentile: float \| None` | +| `TemporalNode` | `doc_date_ranges[]`, `employment_start/end`, `visa_window` | `gap_flags[]`, `chronology_valid: bool` | +| `SponsorNode` | `declared_income`, `relationship`, `jurisdiction` | `income_supports_coverage: bool`, `doc_authenticity_score` | +| `EnrollmentNode` | `institution`, `program_cost`, `duration_months` | `funds_cover_full_stay: bool`, `coe_date_matches_visa: bool` | + +The graph container: +```python +class SemanticGraph(BaseModel): + identity: IdentityNode + financial: FinancialNode + temporal: TemporalNode + sponsor: Optional[SponsorNode] = None # Not all apps have sponsors + enrollment: Optional[EnrollmentNode] = None # Not all apps are student visas + edges: list[GraphEdge] # Typed relationships + token_count: int # Track compression ratio + source_page_count: int # Original page count +``` + +#### [NEW] [extractor.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/encoding/extractor.py) + +Gemini Flash per-page extraction. Uses `response_schema` with Pydantic models to force structured JSON output. + +**Strategy**: +1. Split PDF into page-level byte segments (PyPDF2) +2. For each page: send to Gemini Flash with `types.Part.from_bytes()` + structured output config +3. Return a `list[PageExtraction]` — raw typed nodes per page + +```python +# Core extraction call (simplified) +response = client.models.generate_content( + model=FLASH_MODEL, + contents=[EXTRACTION_PROMPT, types.Part.from_bytes(data=page_bytes, mime_type="application/pdf")], + config={ + "response_mime_type": "application/json", + "response_schema": PageExtraction, + }, +) +page_node: PageExtraction = response.parsed +``` + +Key design: The extraction prompt instructs the model to extract typed entities, NOT summarize. It explicitly asks for `null` on missing fields (anomaly flags). + +#### [NEW] [graph_builder.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/encoding/graph_builder.py) + +Pure Python merge logic. Takes `list[PageExtraction]` → produces `SemanticGraph`. + +- Deduplicates identity nodes across pages (name matching) +- Aggregates financial entries into time-series +- Builds edges based on field co-reference (e.g., income on payslip → deposit on bank statement) +- Computes `token_count` for the final graph JSON +- Sets explicit `null` flags for missing data (no hallucination surface) + +--- + +### Component 3: Deterministic Rule Engine + +#### [NEW] [engine.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/rules/engine.py) + +Pure math. No LLM calls. Operates directly on the typed graph nodes. + +**Rules implemented**: + +| Rule ID | Check | Formula | +|---------|-------|---------| +| `FIN-001` | Spike ratio | `spike.amount / avg_monthly_income > α` → flag | +| `FIN-002` | Unlabeled deposits | `unlabeled_deposits > 0` → flag | +| `FIN-003` | Income-balance coherence | `abs(declared_income * months - balance_delta) / declared_income > ε` → flag | +| `TMP-001` | Employment gap | `gap_days > δ_warn` → warning, `> δ_crit` → critical | +| `TMP-002` | Chronology | `chronology_valid == False` → critical | +| `IDN-001` | Name mismatch | `cross_doc_match == False` → critical | +| `SPN-001` | Sponsor coverage | `income_supports_coverage == False` → critical | +| `ENR-001` | Funds sufficiency | `funds_cover_full_stay == False` → critical | + +Output: `list[RuleFinding]` with `rule_id`, `severity`, `field_path`, `expected`, `actual`. + +Thresholds (`α`, `ε`, `δ`) are configurable in `config.py` — hardcoded for PoC, RAG-fed later. + +--- + +### Component 4: LangGraph Orchestrator + +#### [NEW] [state.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/orchestrator/state.py) + +LangGraph state schema using `TypedDict` with `Annotated` reducers for parallel agent output merging. + +```python +class UplanState(TypedDict): + # Input + document_bytes: list[bytes] # Raw PDF bytes (purged after encoding) + + # Encoding output + semantic_graph: Optional[dict] # SemanticGraph.model_dump() + encoding_metadata: Optional[dict] # Token counts, page counts, timing + + # Rule engine output + rule_findings: Annotated[list[dict], operator.add] + + # Agent outputs (parallel merge via operator.add) + agent_findings: Annotated[list[dict], operator.add] + completed_agents: Annotated[list[str], operator.add] + + # Synthesis output + verdict: Optional[dict] # Final narrative verdict + risk_score: Optional[float] + + # Privacy gate + raw_purged: bool +``` + +#### [NEW] [graph.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/orchestrator/graph.py) + +LangGraph `StateGraph` definition. Node routing: + +```mermaid +graph TD + START --> ingest + ingest --> encode + encode --> purge_raw["purge_raw
(delete document_bytes)"] + purge_raw --> rule_check + rule_check --> identity_agent & financial_agent & temporal_agent & sponsor_agent & enrollment_agent + identity_agent & financial_agent & temporal_agent & sponsor_agent & enrollment_agent --> narrative_synthesis + narrative_synthesis --> END + + style purge_raw fill:#e94560,color:#fff +``` + +Key design decisions: +- **Privacy purge** happens immediately after encoding, before any agent sees raw bytes +- **Fan-out** after `rule_check` to 5 agents in parallel (LangGraph handles this via multiple edges from one node) +- **Fan-in** at `narrative_synthesis` waits for all 5 agents (BSP superstep model) +- Each agent node receives the full `UplanState` but only reads `semantic_graph` + `rule_findings` + +--- + +### Component 5: Specialist Agents + +#### [NEW] [base_agent.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/agents/base_agent.py) + +Abstract base class. Handles: +- Gemini Pro call via `config.client` +- Structured output with `AgentFinding` Pydantic schema +- Prompt template injection with graph subset +- Error handling + timeout + +```python +class BaseSpecialistAgent(ABC): + agent_id: str + focus_nodes: list[str] # Which graph nodes this agent reads + + def run(self, state: UplanState) -> dict: + graph_subset = self._extract_focus(state["semantic_graph"]) + prompt = self._build_prompt(graph_subset, state["rule_findings"]) + response = client.models.generate_content( + model=PRO_MODEL, + contents=prompt, + config={"response_mime_type": "application/json", "response_schema": AgentFinding}, + ) + return {"agent_findings": [response.parsed.model_dump()], "completed_agents": [self.agent_id]} +``` + +#### [NEW] Specialist agents (5 files) + +Each inherits `BaseSpecialistAgent`, overrides: +- `agent_id` (e.g., `"financial_agent"`) +- `focus_nodes` (e.g., `["financial", "identity"]`) +- `_build_prompt()` with domain-specific reasoning instructions + +| File | Focus | Reasoning Task | +|------|-------|----------------| +| `identity_agent.py` | identity node | Name variant analysis, transliteration check, cross-doc identity match | +| `financial_agent.py` | financial + identity | Spike explanation demand, income-balance narrative, unlabeled deposit probe | +| `temporal_agent.py` | temporal + financial | Employment gap analysis, date coherence, visa window overlap | +| `sponsor_agent.py` | sponsor + identity + financial | Sponsor viability, relationship plausibility, income-to-coverage ratio | +| `enrollment_agent.py` | enrollment + financial + temporal | Program cost vs. funds, CoE date match, study duration feasibility | + +#### [NEW] [narrative.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/agents/narrative.py) + +The synthesis agent. Receives ALL 5 agent findings + rule findings + full graph. +Produces: +- `verdict`: PASS / CONDITIONAL / FAIL +- `risk_score`: 0.0–1.0 +- `anomaly_summary`: Plain-language list of issues +- `citations`: Back-references to graph node paths +- `rejection_narrative`: What an officer would say +- `rebuttal_guidance`: How applicant could address each issue + +--- + +### Component 6: Streamlit UI + +#### [NEW] [app.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/ui/app.py) + +Streamlit entrypoint. Features: +1. **Multi-file upload** — accepts PDF, images +2. **Progress tracking** — shows pipeline stages in real-time +3. **Graph visualization** — renders the semantic graph structure +4. **Findings dashboard** — color-coded severity cards +5. **Narrative report** — full verdict with citations + +#### [NEW] [components.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/ui/components.py) + +Reusable Streamlit components: +- `render_graph_summary()` — token compression stats, node counts +- `render_findings()` — rule + agent findings with severity badges +- `render_verdict()` — final verdict card with risk gauge +- `render_narrative()` — rejection/rebuttal narrative display + +--- + +### Component 7: Security Layer (Phase 2 — Scaffolded Only) + +#### [NEW] [proxy_client.py](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/security/proxy_client.py) + +Scaffolded wrapper that can rewrite the Gemini API base URL to point through Lobster Trap. Not wired in Phase 1. + +#### [NEW] [policy.yaml](file:///c:/Users/ksk76/Downloads/uplan-hackathon-space-amd/refined/new-plan/security/rules/policy.yaml) + +Scaffolded YAML policy rules for Lobster Trap: +- `DENY` passport numbers in plaintext responses +- `LOG` all financial node access +- `QUARANTINE` if PII detected in egress + +--- + +## Execution Order + +The build proceeds bottom-up through the dependency tree: + +| Phase | What | Why First | +|-------|------|-----------| +| **Phase 1** | `config.py` + `.env` + `requirements.txt` | Everything imports from config | +| **Phase 2** | `encoding/schema.py` | The typed contract — all other modules depend on this schema | +| **Phase 3** | `encoding/extractor.py` + `encoding/graph_builder.py` | Core innovation — can be tested standalone | +| **Phase 4** | `rules/engine.py` | Pure math — testable without LLM | +| **Phase 5** | `orchestrator/state.py` + `orchestrator/graph.py` | Wires encoding + rules together | +| **Phase 6** | `agents/base_agent.py` + 5 specialist agents + `narrative.py` | Reasoning layer | +| **Phase 7** | `ui/app.py` + `ui/components.py` | Demo surface | +| **Phase 8** | `security/` scaffolding | Deferred | + +--- + +## Verification Plan + +### Automated Tests + +1. **Schema validation**: Create a synthetic `SemanticGraph` JSON, verify all Pydantic models parse correctly +2. **Rule engine unit tests**: Feed known graph states, verify correct rule firings +3. **Extraction smoke test**: Run a single page through Gemini Flash, verify structured output parses +4. **End-to-end pipeline**: Upload a multi-page test PDF through the LangGraph orchestrator, verify all stages complete + +```bash +# Run the full pipeline +cd new-plan +python -m streamlit run ui/app.py +``` + +### Manual Verification + +1. **Upload test documents** through Streamlit UI +2. **Verify graph compression** — confirm token count drops from raw → graph +3. **Verify parallel agent execution** — all 5 agents complete and findings merge +4. **Verify narrative synthesis** — coherent verdict with citations back to graph nodes +5. **Verify privacy purge** — confirm `document_bytes` is `None` after encoding stage diff --git a/orchestrator/__init__.py b/orchestrator/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..1ba04ec231dbb428233e4285883f76800dc6eca6 --- /dev/null +++ b/orchestrator/__init__.py @@ -0,0 +1 @@ +# LangGraph orchestrator — state schema + graph routing diff --git a/orchestrator/__pycache__/__init__.cpython-314.pyc b/orchestrator/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4539fae4435a68b84b0790f2622c95316f9aef12 Binary files /dev/null and b/orchestrator/__pycache__/__init__.cpython-314.pyc differ diff --git a/orchestrator/__pycache__/graph.cpython-314.pyc b/orchestrator/__pycache__/graph.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b604f939a1ca4642955e37832cbc170d79ea5687 Binary files /dev/null and b/orchestrator/__pycache__/graph.cpython-314.pyc differ diff --git a/orchestrator/__pycache__/state.cpython-314.pyc b/orchestrator/__pycache__/state.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..31fb46ebfeb9af860a51ac1e3463e248149cf86e Binary files /dev/null and b/orchestrator/__pycache__/state.cpython-314.pyc differ diff --git a/orchestrator/graph.py b/orchestrator/graph.py new file mode 100644 index 0000000000000000000000000000000000000000..4e92737dc95481fda71778e60f90fb827c6be544 --- /dev/null +++ b/orchestrator/graph.py @@ -0,0 +1,183 @@ +""" +Uplan LangGraph Orchestrator + +StateGraph with SEQUENTIAL agent execution to respect free-tier rate limits. +Pipeline: ingest -> encode -> purge_raw -> rule_check -> agents_sequential -> narrative -> END + +Design note: The Send API fan-out is architecturally correct but fires 5 concurrent +Gemini Pro calls, which instantly triggers 429 RESOURCE_EXHAUSTED on free tier. +Sequential execution with inter-agent delay keeps us under the RPM ceiling. +""" + +from __future__ import annotations + +import time + +from langgraph.graph import END, START, StateGraph + +from agents.enrollment_agent import EnrollmentAgent +from agents.financial_agent import FinancialAgent +from agents.identity_agent import IdentityAgent +from agents.narrative import NarrativeAgent +from agents.sponsor_agent import SponsorAgent +from agents.temporal_agent import TemporalAgent +from encoding.extractor import extract_pages +from encoding.graph_builder import build_graph +from encoding.schema import SemanticGraph +from orchestrator.state import UplanState +from rules.engine import run_rules +from config import INTER_AGENT_DELAY + + +# -- Node functions ------------------------------------------------------- + + +def ingest(state: UplanState) -> dict: + """Intake gate -- document_bytes already in state from caller.""" + return {} + + +def encode(state: UplanState) -> dict: + """ + Structural encoding: render each page as PNG -> Gemini Flash extraction -> graph merge. + Handles multiple PDFs in document_bytes list. + Wires CP0 + CP1 + CP2 + CP3 debug checkpoints. + """ + import os + from debug.logger import DebugLogger + + debug_enabled = os.environ.get("UPLAN_DEBUG", "1") != "0" + logger = DebugLogger() if debug_enabled else None + + t0 = time.time() + all_pages = [] + + for i, pdf_bytes in enumerate(state["document_bytes"]): + # CP0 -- document ingestion + if logger: + logger.cp0_ingestion(f"document_{i + 1}.pdf", pdf_bytes) + + all_pages.extend(extract_pages(pdf_bytes, logger=logger)) + + graph = build_graph(all_pages) + + # CP3 -- graph builder output + if logger: + logger.cp3_graph(graph.model_dump(), len(all_pages)) + + return { + "semantic_graph": graph.model_dump(), + "encoding_metadata": { + "token_count": graph.token_count, + "page_count": graph.source_page_count, + "estimated_raw_tokens": graph.estimated_raw_tokens, + "duration_ms": int((time.time() - t0) * 1000), + "source_doc_types": graph.source_doc_types, + "source_is_affidavit": graph.financial.source_is_affidavit, + }, + "_debug_logger": logger, # passed through state for agent CP4/CP5 logging + } + + +def purge_raw(state: UplanState) -> dict: + """Privacy gate: destroy raw document bytes. Agents never see them.""" + return {"document_bytes": None, "raw_purged": True} + + +def rule_check(state: UplanState) -> dict: + """Run deterministic rule algebra on the semantic graph with jurisdiction context.""" + graph = SemanticGraph.model_validate(state["semantic_graph"]) + + # Reconstruct VisaContext from state if available + visa_ctx = None + if state.get("visa_context"): + from rules.context_profiles import VisaContext + ctx_dict = state["visa_context"] + visa_ctx = VisaContext(**{k: v for k, v in ctx_dict.items() if k != "jurisdiction_context"}) + visa_ctx.jurisdiction_context = ctx_dict.get("jurisdiction_context", "") + + findings = run_rules(graph, context=visa_ctx) + return {"rule_findings": [f.model_dump() for f in findings]} + + +# -- Sequential agent execution (rate-limit safe) ------------------------- + + +AGENT_CLASSES = [ + ("identity_agent", IdentityAgent), + ("financial_agent", FinancialAgent), + ("temporal_agent", TemporalAgent), + ("sponsor_agent", SponsorAgent), + ("enrollment_agent", EnrollmentAgent), +] + + +def run_agents_sequential(state: UplanState) -> dict: + """ + Run all 5 specialist agents SEQUENTIALLY with inter-agent delay. + + This replaces the Send API parallel fan-out to stay within + Google AI Studio free-tier rate limits (~15 RPM for Pro). + Each agent call takes ~5-15s, plus a configurable delay between calls. + """ + all_findings = [] + completed = [] + + for i, (agent_id, agent_cls) in enumerate(AGENT_CLASSES): + if i > 0: + print(f" [DELAY] Waiting {INTER_AGENT_DELAY:.0f}s before next agent (rate limit)...") + time.sleep(INTER_AGENT_DELAY) + + print(f" [AGENT] Running {agent_id} ({i + 1}/{len(AGENT_CLASSES)})...") + t0 = time.time() + + try: + result = agent_cls().run(state) + all_findings.extend(result.get("agent_findings", [])) + completed.extend(result.get("completed_agents", [])) + elapsed = time.time() - t0 + print(f" [DONE] {agent_id} completed in {elapsed:.1f}s") + except Exception as e: + elapsed = time.time() - t0 + print(f" [FAIL] {agent_id} failed after {elapsed:.1f}s: {e}") + # Don't crash the whole pipeline -- skip this agent + completed.append(agent_id) + + return { + "agent_findings": all_findings, + "completed_agents": completed, + } + + +def narrative_synthesis(state: UplanState) -> dict: + # Brief delay before narrative to avoid back-to-back Pro calls + print(f" [DELAY] Waiting {INTER_AGENT_DELAY:.0f}s before narrative synthesis...") + time.sleep(INTER_AGENT_DELAY) + return NarrativeAgent().run(state) + + +# -- Graph assembly ------------------------------------------------------- + + +def build_uplan_graph(): + g = StateGraph(UplanState) + + g.add_node("ingest", ingest) + g.add_node("encode", encode) + g.add_node("purge_raw", purge_raw) + g.add_node("rule_check", rule_check) + g.add_node("run_agents", run_agents_sequential) + g.add_node("narrative_synthesis", narrative_synthesis) + + g.add_edge(START, "ingest") + g.add_edge("ingest", "encode") + g.add_edge("encode", "purge_raw") + g.add_edge("purge_raw", "rule_check") + g.add_edge("rule_check", "run_agents") + g.add_edge("run_agents", "narrative_synthesis") + g.add_edge("narrative_synthesis", END) + + return g.compile() + + +uplan_graph = build_uplan_graph() diff --git a/orchestrator/state.py b/orchestrator/state.py new file mode 100644 index 0000000000000000000000000000000000000000..7e66e68ffc3e95190cfb119119a4d598f4ce571c --- /dev/null +++ b/orchestrator/state.py @@ -0,0 +1,44 @@ +""" +Uplan LangGraph State Schema + +TypedDict with Annotated reducers for parallel agent output merging. +operator.add ensures lists from parallel Send nodes are concatenated, not overwritten. +""" + +from __future__ import annotations + +import operator +from typing import Annotated, Optional + +from typing_extensions import TypedDict + + +class UplanState(TypedDict): + # Input (purged after encode node) + document_bytes: Optional[list[bytes]] + + # Encoding output + semantic_graph: Optional[dict] # SemanticGraph.model_dump() + encoding_metadata: Optional[dict] # token_count, page_count, duration_ms + + # Rule engine output + rule_findings: Annotated[list[dict], operator.add] + + # Agent outputs -- operator.add merges lists from parallel nodes + agent_findings: Annotated[list[dict], operator.add] + completed_agents: Annotated[list[str], operator.add] + + # Visa context -- jurisdiction-aware thresholds + visa_context: Optional[dict] # VisaContext.to_dict() + document_checklist: list[dict] # [{label, status, validation_result}] + + # Synthesis + verdict: Optional[dict] + risk_score: Optional[float] + + # Privacy gate flag + raw_purged: bool + + # Debug logger -- created in encode(), threaded through for CP4/CP5/CP6 + # Set to None to disable debug logging + _debug_logger: Optional[object] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..aba86d85d7fa6aa501a519535ec7148d557d7fa1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +google-genai>=1.14.0 +langgraph>=0.4.0 +pydantic>=2.10 +streamlit>=1.45.0 +python-dotenv>=1.0.0 +PyMuPDF>=1.24.0 diff --git a/rules/__init__.py b/rules/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..645aa921a867cac4251e07e19605ccd5dfc369f0 --- /dev/null +++ b/rules/__init__.py @@ -0,0 +1 @@ +# Deterministic rule engine — pure math, no LLM diff --git a/rules/__pycache__/__init__.cpython-314.pyc b/rules/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1eafc04b21547aaa48ac1924583f42bf4455ef22 Binary files /dev/null and b/rules/__pycache__/__init__.cpython-314.pyc differ diff --git a/rules/__pycache__/context_profiles.cpython-314.pyc b/rules/__pycache__/context_profiles.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..03f9a2b94465808cc739b8df982382ace95c999c Binary files /dev/null and b/rules/__pycache__/context_profiles.cpython-314.pyc differ diff --git a/rules/__pycache__/engine.cpython-314.pyc b/rules/__pycache__/engine.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b19efdd66e563af0d136c2a1636569665feb6de3 Binary files /dev/null and b/rules/__pycache__/engine.cpython-314.pyc differ diff --git a/rules/context_profiles.py b/rules/context_profiles.py new file mode 100644 index 0000000000000000000000000000000000000000..991ff92c07faed466170c7360c56476941c3aa20 --- /dev/null +++ b/rules/context_profiles.py @@ -0,0 +1,211 @@ +""" +Uplan Visa Context Profiles + +Jurisdiction-aware threshold lookup. Hardcoded for 4 visa categories in the PoC, +designed to be RAG-fed from immigration policy PDFs in production. + +The VisaContext object gets passed into the rule engine and injected into every +agent prompt — same algebra, different α/ε/δ values per visa+country combination. +""" + +from __future__ import annotations + +from dataclasses import dataclass, field +from typing import Optional + + +@dataclass +class VisaContext: + """Threshold set for a specific visa_type + destination combination.""" + visa_type: str + destination: str + applicant_country: Optional[str] = None + + # Financial thresholds + min_balance: Optional[float] = None + balance_currency: str = "USD" + spike_ratio_alpha: float = 3.0 + income_balance_epsilon: float = 0.20 # Tolerance for salary vs deposit mismatch + + # Temporal thresholds + income_months_required: int = 6 + gap_warn_days: int = 30 + gap_crit_days: int = 90 + + # Sponsor thresholds + sponsor_coverage_multiplier: float = 1.2 + + # Required document types for this visa category + required_doc_types: list[str] = field(default_factory=list) + + # Context string for agent prompts + jurisdiction_context: str = "" + + def to_dict(self) -> dict: + """Serialize for state storage and agent prompt injection.""" + return { + "visa_type": self.visa_type, + "destination": self.destination, + "applicant_country": self.applicant_country, + "min_balance": self.min_balance, + "balance_currency": self.balance_currency, + "spike_ratio_alpha": self.spike_ratio_alpha, + "income_balance_epsilon": self.income_balance_epsilon, + "income_months_required": self.income_months_required, + "gap_warn_days": self.gap_warn_days, + "gap_crit_days": self.gap_crit_days, + "sponsor_coverage_multiplier": self.sponsor_coverage_multiplier, + "required_doc_types": self.required_doc_types, + "jurisdiction_context": self.jurisdiction_context, + } + + +# ── Hardcoded profiles for PoC ────────────────────────────────────── + +PROFILES: dict[tuple[str, str], VisaContext] = { + ("student", "japan"): VisaContext( + visa_type="student", + destination="japan", + min_balance=2_000_000, + balance_currency="JPY", + spike_ratio_alpha=3.0, + income_balance_epsilon=0.15, + income_months_required=6, + gap_warn_days=30, + gap_crit_days=90, + sponsor_coverage_multiplier=1.2, + required_doc_types=[ + "passport", + "bank_statement", + "payslip", + "enrollment_letter", + ], + jurisdiction_context=( + "Japanese Student (COE) visa requirements: " + "Minimum bank balance of ¥2,000,000. " + "6 months of consecutive bank statements required. " + "Certificate of Eligibility (COE) must match visa application dates. " + "All large deposits must have documented sources. " + "Sponsor must demonstrate income ≥1.2× total program costs." + ), + ), + ("student", "uk"): VisaContext( + visa_type="student", + destination="uk", + min_balance=12_006, # 9 months × £1,334 + balance_currency="GBP", + spike_ratio_alpha=2.5, + income_balance_epsilon=0.10, + income_months_required=3, + gap_warn_days=14, + gap_crit_days=30, + sponsor_coverage_multiplier=1.0, + required_doc_types=[ + "passport", + "bank_statement", + "enrollment_letter", + ], + jurisdiction_context=( + "UK Student (Tier 4/Student Route) visa requirements: " + "Minimum funds of £1,334/month for up to 9 months (£12,006 total) " + "for courses outside London. " + "Funds must be held for 28 consecutive days. " + "CAS letter required from licensed sponsor institution." + ), + ), + ("student", "us"): VisaContext( + visa_type="student", + destination="us", + min_balance=None, # Full tuition + living — varies by institution + balance_currency="USD", + spike_ratio_alpha=3.0, + income_balance_epsilon=0.20, + income_months_required=6, + gap_warn_days=30, + gap_crit_days=90, + sponsor_coverage_multiplier=1.0, + required_doc_types=[ + "passport", + "bank_statement", + "enrollment_letter", + "sponsor_letter", + ], + jurisdiction_context=( + "US F-1 Student visa requirements: " + "Must demonstrate funding for full tuition + living expenses. " + "I-20 form from SEVP-certified school required. " + "Bank statements must show sufficient funds for first year minimum. " + "Sponsor's I-134 Affidavit of Support needed if not self-funded." + ), + ), + ("work", "japan"): VisaContext( + visa_type="work", + destination="japan", + min_balance=500_000, + balance_currency="JPY", + spike_ratio_alpha=4.0, + income_balance_epsilon=0.20, + income_months_required=3, + gap_warn_days=30, + gap_crit_days=60, + sponsor_coverage_multiplier=1.0, + required_doc_types=[ + "passport", + "employment_letter", + "tax_return", + "bank_statement", + ], + jurisdiction_context=( + "Japanese Work visa (Engineer/Specialist in Humanities) requirements: " + "Employment contract or offer letter from Japanese company required. " + "Tax returns demonstrating income history. " + "Company must be registered as a visa sponsor." + ), + ), +} + +# ── Default profile (generic fallback) ────────────────────────────── + +_DEFAULT = VisaContext( + visa_type="general", + destination="unknown", + min_balance=None, + balance_currency="USD", + spike_ratio_alpha=3.0, + income_balance_epsilon=0.20, + income_months_required=6, + gap_warn_days=30, + gap_crit_days=90, + sponsor_coverage_multiplier=1.2, + required_doc_types=["passport", "bank_statement"], + jurisdiction_context="General visa requirements. No jurisdiction-specific thresholds applied.", +) + + +def get_context(visa_type: str, destination: str) -> VisaContext: + """Look up the threshold set for a visa_type + destination pair.""" + key = (visa_type.lower().strip(), destination.lower().strip()) + return PROFILES.get(key, _DEFAULT) + + +def list_available_profiles() -> list[dict]: + """List all available visa profiles for UI dropdowns.""" + return [ + { + "visa_type": ctx.visa_type, + "destination": ctx.destination, + "label": f"{ctx.visa_type.title()} → {ctx.destination.title()}", + } + for ctx in PROFILES.values() + ] + + +# ── Destination / visa type options for UI ────────────────────────── + +DESTINATIONS = ["Japan", "UK", "US", "Canada", "Australia", "Germany"] +VISA_TYPES = ["Student", "Work", "Tourist", "Business", "Dependent"] +APPLICANT_COUNTRIES = [ + "India", "China", "Philippines", "Vietnam", "Indonesia", + "Bangladesh", "Nepal", "Pakistan", "Sri Lanka", "Nigeria", + "Brazil", "Mexico", "South Korea", "Thailand", "Other", +] diff --git a/rules/engine.py b/rules/engine.py new file mode 100644 index 0000000000000000000000000000000000000000..5a77e602332ee1be877f3cdae234148d154a3205 --- /dev/null +++ b/rules/engine.py @@ -0,0 +1,244 @@ +""" +Uplan Deterministic Rule Engine + +Pure math on SemanticGraph nodes. No LLM calls. +Each rule produces a RuleFinding with severity, field path, and expected vs actual values. +Thresholds come from VisaContext (jurisdiction-aware) when available, +falling back to config.py defaults. +""" + +from __future__ import annotations + +from typing import Optional + +from pydantic import BaseModel, Field + +import config +from encoding.schema import SemanticGraph +from rules.context_profiles import VisaContext + + +def _alpha(ctx: Optional[VisaContext]) -> float: + return ctx.spike_ratio_alpha if ctx else config.ALPHA_SPIKE_RATIO + +def _epsilon(ctx: Optional[VisaContext]) -> float: + return ctx.income_balance_epsilon if ctx else config.EPSILON_INCOME_COHERENCE + +def _gap_warn(ctx: Optional[VisaContext]) -> int: + return ctx.gap_warn_days if ctx else config.DELTA_GAP_WARN_DAYS + +def _gap_crit(ctx: Optional[VisaContext]) -> int: + return ctx.gap_crit_days if ctx else config.DELTA_GAP_CRIT_DAYS + + +class RuleFinding(BaseModel): + """Output of a single rule check.""" + rule_id: str + severity: str = Field(description="'info', 'warning', or 'critical'") + field_path: str = Field(description="Dot-path to the relevant graph field") + message: str + expected: Optional[str] = None + actual: Optional[str] = None + + +def _check_spike_ratio(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """FIN-001: Flag financial spikes exceeding α × average.""" + alpha = _alpha(ctx) + findings = [] + for spike in graph.financial.spikes: + severity = "critical" if spike.label is None else "warning" + findings.append(RuleFinding( + rule_id="FIN-001", + severity=severity, + field_path=f"financial.spikes[date={spike.date}]", + message=( + f"Transaction on {spike.date} is {spike.ratio_to_average}× the average credit" + f"{' — NO SOURCE LABEL (unlabeled deposit)' if spike.label is None else f' — labeled: {spike.label}'}" + ), + expected=f"ratio ≤ {alpha}", + actual=f"ratio = {spike.ratio_to_average}", + )) + return findings + + +def _check_unlabeled_deposits(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """FIN-002: Flag any unlabeled deposits.""" + if graph.financial.unlabeled_deposit_count > 0: + return [RuleFinding( + rule_id="FIN-002", + severity="warning", + field_path="financial.unlabeled_deposit_count", + message=f"{graph.financial.unlabeled_deposit_count} deposit(s) have no source label", + expected="0 unlabeled deposits", + actual=str(graph.financial.unlabeled_deposit_count), + )] + return [] + + +def _check_income_balance_coherence(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """FIN-003: Check if declared income × months ≈ balance delta.""" + epsilon = _epsilon(ctx) + fin = graph.financial + if fin.avg_monthly_income and fin.opening_balance is not None and fin.closing_balance is not None: + balance_delta = fin.closing_balance - fin.opening_balance + # Estimate months from transaction count (rough: ~30 txns/month) + est_months = max(fin.transaction_count / 30, 1) + expected_delta = fin.avg_monthly_income * est_months + if expected_delta > 0: + deviation = abs(balance_delta - expected_delta) / expected_delta + if deviation > epsilon: + return [RuleFinding( + rule_id="FIN-003", + severity="warning" if deviation < 0.5 else "critical", + field_path="financial.closing_balance vs avg_monthly_income", + message=( + f"Balance delta ({balance_delta:,.0f}) deviates {deviation:.0%} " + f"from expected ({expected_delta:,.0f} over ~{est_months:.0f} months)" + ), + expected=f"deviation ≤ {epsilon:.0%}", + actual=f"deviation = {deviation:.0%}", + )] + return [] + + +def _check_min_balance(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """FIN-004: Check if closing balance meets jurisdiction minimum.""" + if ctx and ctx.min_balance is not None and graph.financial.closing_balance is not None: + if graph.financial.closing_balance < ctx.min_balance: + shortfall = ctx.min_balance - graph.financial.closing_balance + return [RuleFinding( + rule_id="FIN-004", + severity="critical", + field_path="financial.closing_balance", + message=( + f"Closing balance ({graph.financial.closing_balance:,.0f} {ctx.balance_currency}) " + f"below minimum requirement ({ctx.min_balance:,.0f} {ctx.balance_currency}). " + f"Shortfall: {shortfall:,.0f} {ctx.balance_currency}" + ), + expected=f"balance ≥ {ctx.min_balance:,.0f} {ctx.balance_currency}", + actual=f"{graph.financial.closing_balance:,.0f} {ctx.balance_currency}", + )] + return [] + + +def _check_name_mismatch(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """IDN-001: Flag cross-document name mismatches.""" + if not graph.identity.cross_doc_name_match: + return [RuleFinding( + rule_id="IDN-001", + severity="critical", + field_path="identity.cross_doc_name_match", + message=( + f"Name mismatch across documents: {graph.identity.name_variants}. " + f"Possible transliteration issues: {graph.identity.transliteration_flags}" + ), + expected="Consistent name across all documents", + actual=f"{len(graph.identity.name_variants)} variants found", + )] + return [] + + +def _check_sponsor_coverage(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """SPN-001: Check if sponsor income supports applicant coverage.""" + if graph.sponsor and not graph.sponsor.income_supports_coverage: + return [RuleFinding( + rule_id="SPN-001", + severity="critical", + field_path="sponsor.income_supports_coverage", + message="Sponsor's declared income is insufficient to cover applicant costs", + expected="income_supports_coverage = True", + actual="income_supports_coverage = False", + )] + return [] + + +def _check_enrollment_funds(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """ENR-001: Check if funds cover full program stay.""" + if graph.enrollment and not graph.enrollment.funds_cover_full_stay: + return [RuleFinding( + rule_id="ENR-001", + severity="critical", + field_path="enrollment.funds_cover_full_stay", + message="Available funds do not cover the full program cost and stay duration", + expected="funds_cover_full_stay = True", + actual="funds_cover_full_stay = False", + )] + return [] + + +def _check_enrollment_dates(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """ENR-002: Check if CoE dates align with visa window.""" + if graph.enrollment and not graph.enrollment.coe_date_matches_visa: + return [RuleFinding( + rule_id="ENR-002", + severity="warning", + field_path="enrollment.coe_date_matches_visa", + message="Enrollment start date does not align with visa application window", + expected="coe_date_matches_visa = True", + actual="coe_date_matches_visa = False", + )] + return [] + + +def _check_chronology(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """TMP-001: Flag chronological inconsistencies.""" + if not graph.temporal.chronology_valid: + return [RuleFinding( + rule_id="TMP-001", + severity="critical", + field_path="temporal.chronology_valid", + message="Document dates contain logically impossible chronology", + expected="chronology_valid = True", + actual="chronology_valid = False", + )] + return [] + + +def _check_employment_gaps(graph: SemanticGraph, ctx: Optional[VisaContext] = None) -> list[RuleFinding]: + """TMP-002: Flag employment gaps.""" + warn_days = _gap_warn(ctx) + findings = [] + for gap in graph.temporal.gap_flags: + findings.append(RuleFinding( + rule_id="TMP-002", + severity=gap.severity, + field_path=f"temporal.gap_flags[{gap.period_start}–{gap.period_end}]", + message=f"Employment gap of {gap.gap_days} days ({gap.period_start} to {gap.period_end})", + expected=f"gap ≤ {warn_days} days", + actual=f"{gap.gap_days} days", + )) + return findings + + +# ── Public API ─────────────────────────────────────────────────────── + +ALL_RULES = [ + _check_spike_ratio, + _check_unlabeled_deposits, + _check_income_balance_coherence, + _check_min_balance, + _check_name_mismatch, + _check_sponsor_coverage, + _check_enrollment_funds, + _check_enrollment_dates, + _check_chronology, + _check_employment_gaps, +] + + +def run_rules( + graph: SemanticGraph, + context: Optional[VisaContext] = None, +) -> list[RuleFinding]: + """ + Execute all deterministic rules against the semantic graph. + Uses VisaContext for jurisdiction-aware thresholds when available. + Returns a list of findings sorted by severity (critical first). + """ + findings: list[RuleFinding] = [] + for rule_fn in ALL_RULES: + findings.extend(rule_fn(graph, context)) + + severity_order = {"critical": 0, "warning": 1, "info": 2} + findings.sort(key=lambda f: severity_order.get(f.severity, 3)) + return findings diff --git a/run.ps1 b/run.ps1 new file mode 100644 index 0000000000000000000000000000000000000000..e46e2630485a950999ab5fc330812bdea0353e34 --- /dev/null +++ b/run.ps1 @@ -0,0 +1 @@ +uvicorn server:app --reload --port 8000 diff --git a/security/__init__.py b/security/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..2be0138f46ab467fb30e055a92934bc2422401ec --- /dev/null +++ b/security/__init__.py @@ -0,0 +1 @@ +# Security layer — Lobster Trap integration (Phase 2) diff --git a/security/proxy_client.py b/security/proxy_client.py new file mode 100644 index 0000000000000000000000000000000000000000..f7c750f331ded76c1edfe2c79eeb560f952b7b1e --- /dev/null +++ b/security/proxy_client.py @@ -0,0 +1,45 @@ +""" +Uplan — Lobster Trap Proxy Client (Phase 2 — Scaffolded) + +When wired, this rewrites the Gemini API base URL to route through +Lobster Trap's DPI layer for prompt injection detection, PII exfil +scanning, and YAML policy enforcement. + +Not active in Phase 1 — all Gemini calls go direct to Vertex AI / AI Studio. +""" + +from __future__ import annotations + +import os +from typing import Optional + + +# Lobster Trap proxy URL — set when the proxy is deployed +LOBSTER_TRAP_URL = os.environ.get("LOBSTER_TRAP_URL", None) + + +def get_proxy_base_url() -> Optional[str]: + """ + Returns the Lobster Trap proxy URL if configured, else None. + When None, the google-genai client uses its default endpoint. + """ + return LOBSTER_TRAP_URL + + +def is_proxy_active() -> bool: + """Check if Lobster Trap proxy is configured and reachable.""" + return LOBSTER_TRAP_URL is not None + + +# ── Future: wrap google-genai client to route through proxy ───────── +# +# The google-genai SDK doesn't natively support custom base URLs. +# When Lobster Trap is wired in, the approach is: +# +# 1. Run Lobster Trap as an OpenAI-compatible proxy +# 2. Use the openai SDK (not google-genai) pointed at Lobster Trap +# 3. Lobster Trap forwards to Gemini after DPI inspection +# +# This requires switching from google-genai to openai SDK for all +# Gemini calls — a straightforward swap since Gemini supports the +# OpenAI-compatible API format. diff --git a/security/rules/policy.yaml b/security/rules/policy.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ac81336fd8f5331a27fe3e4630505c53df8ff119 --- /dev/null +++ b/security/rules/policy.yaml @@ -0,0 +1,68 @@ +# ───────────────────────────────────────────────────────────────────── +# Uplan — Lobster Trap YAML Policy (Phase 2 — Scaffolded) +# ───────────────────────────────────────────────────────────────────── +# First-match-wins policy rules for Lobster Trap DPI proxy. +# These rules inspect BOTH prompts (ingress) and responses (egress). + +version: "1.0" +name: uplan-immigration-policy + +rules: + # ── Egress: Block PII in responses ──────────────────────────────── + + - id: deny-passport-plaintext + direction: egress + description: "Block passport numbers from appearing in plaintext responses" + match: + pattern: '\b[A-Z]{1,2}\d{6,9}\b' + context: "Passport number pattern detected in model response" + action: DENY + severity: critical + + - id: deny-account-numbers + direction: egress + description: "Block bank account numbers in plaintext responses" + match: + pattern: '\b\d{8,18}\b' + context: "Potential account number in model response" + action: DENY + severity: critical + + # ── Ingress: Block prompt injection ─────────────────────────────── + + - id: deny-prompt-injection + direction: ingress + description: "Block common prompt injection patterns" + match: + pattern: '(ignore previous|forget your instructions|you are now|new system prompt)' + flags: case_insensitive + action: DENY + severity: critical + + # ── Logging: Audit all financial data access ────────────────────── + + - id: log-financial-access + direction: ingress + description: "Log all prompts containing financial graph data" + match: + pattern: '"financial":\s*\{' + action: LOG + severity: info + + - id: log-identity-access + direction: ingress + description: "Log all prompts containing identity data" + match: + pattern: '"identity":\s*\{' + action: LOG + severity: info + + # ── Fallback: Allow everything else ─────────────────────────────── + + - id: allow-default + direction: both + description: "Allow all traffic not matched by previous rules" + match: + pattern: '.*' + action: ALLOW + severity: info diff --git a/server.py b/server.py new file mode 100644 index 0000000000000000000000000000000000000000..1c05d63463b4c2f82a30fabdb1fc699d8a7dfc07 --- /dev/null +++ b/server.py @@ -0,0 +1,719 @@ +""" +Uplan FastAPI Server +==================== +Serves the UI and exposes backend API endpoints. + +Routes: + GET / -> serves ui/index.html + POST /api/validate -> quick Flash doc-type check (per upload) + POST /api/analyze -> full pipeline with SSE progress stream (legacy) + POST /api/start -> start async pipeline, returns task_id immediately + GET /api/status/{id} -> poll task progress + result + GET /api/health -> health check +""" + +from __future__ import annotations + +import asyncio +import json +import os +import sys +import time +import traceback +import uuid +from pathlib import Path +from typing import AsyncGenerator + +import fitz +import uvicorn +from dotenv import load_dotenv +from fastapi import FastAPI, File, Form, UploadFile, HTTPException +from fastapi.middleware.cors import CORSMiddleware +from fastapi.responses import FileResponse, StreamingResponse, JSONResponse +from fastapi.staticfiles import StaticFiles +from pydantic import BaseModel + +load_dotenv() + +# -- Path setup so local modules are importable -- +ROOT = Path(__file__).parent +sys.path.insert(0, str(ROOT)) + +from config import client, FLASH_MODEL +from encoding.extractor import extract_pages +from encoding.graph_builder import build_graph +from encoding.schema import PageExtraction, PageType +from agents.base_agent import AgentFinding +from agents.financial_agent import FinancialAgent +from agents.identity_agent import IdentityAgent +from agents.temporal_agent import TemporalAgent +from agents.sponsor_agent import SponsorAgent +from agents.enrollment_agent import EnrollmentAgent +from agents.narrative import NarrativeAgent +from rules.engine import run_rules +from google.genai import types + +app = FastAPI(title="Uplan API", version="1.0.0") + +# CORS for local dev +app.add_middleware( + CORSMiddleware, + allow_origins=["*"], + allow_methods=["*"], + allow_headers=["*"], +) + +# -- Static UI -- +UI_DIR = ROOT / "ui" + + +@app.get("/") +async def serve_ui(): + return FileResponse(UI_DIR / "index.html") + + +@app.get("/api/health") +async def health(): + return {"status": "ok", "model_flash": os.environ.get("FLASH_MODEL", "gemini-3-flash-preview")} + + +# ───────────────────────────────────────────────────────────────── +# In-memory Task Store for async polling +# ───────────────────────────────────────────────────────────────── + +_tasks: dict[str, dict] = {} + +# Auto-purge completed tasks older than 30 minutes +TASK_TTL_SECONDS = 1800 + + +# ───────────────────────────────────────────────────────────────── +# Quick document type validation endpoint +# Called per-upload in Step 2. Returns detected page_type + match. +# ───────────────────────────────────────────────────────────────── + +VALIDATE_PROMPT = """You are a document classifier for immigration visa applications. +Look at this document page and classify it. Return ONLY a JSON object with: +{ + "detected_type": "", + "confidence": <0.0-1.0>, + "reason": "" +}""" + +TYPE_DISPLAY = { + "passport": "Passport", + "bank_statement": "Bank Statement", + "payslip": "Payslip", + "tax_return": "Tax Return", + "sponsor_letter": "Sponsor Letter", + "employment_letter": "Employment Letter", + "enrollment_letter": "Enrollment Letter / COE", + "affidavit": "Affidavit", + "unknown": "Unknown", + "supporting_docs": "Supporting Document", + "cas_letter": "CAS Letter", + "i20_letter": "I-20 Form", + "acceptance_letter": "Acceptance Letter", + "proof_of_funds": "Proof of Funds", + "cos_letter": "Certificate of Sponsorship", + "itinerary": "Travel Itinerary", + "financial_affidavit": "Financial Affidavit", +} + +# Map UI slot types -> acceptable Flash types (some are aliases) +SLOT_TYPE_MAP = { + "bank_statement": ["bank_statement"], + "payslip": ["payslip"], + "passport": ["passport"], + "enrollment_letter": ["enrollment_letter"], + "sponsor_letter": ["sponsor_letter", "affidavit"], + "employment_letter": ["employment_letter"], + "affidavit": ["affidavit", "sponsor_letter"], + "financial_affidavit": ["affidavit", "sponsor_letter"], + "cas_letter": ["enrollment_letter"], + "i20_letter": ["enrollment_letter"], + "acceptance_letter": ["enrollment_letter"], + "cos_letter": ["employment_letter", "sponsor_letter"], + "itinerary": ["unknown"], # No strict validation needed + "supporting_docs": None, # Accept anything + "proof_of_funds": ["bank_statement", "affidavit"], + "tax_return": ["tax_return"], +} + + +@app.post("/api/validate") +async def validate_document( + file: UploadFile = File(...), + expected_type: str = Form(...), +): + """ + Validate a single uploaded document against its expected type. + Returns: {match: bool, detected: str, confidence: float, reason: str} + """ + try: + file_bytes = await file.read() + filename = getattr(file, "filename", "").lower() + + if filename.endswith((".png", ".jpg", ".jpeg")): + img_bytes = file_bytes + mime_type = "image/jpeg" if filename.endswith((".jpg", ".jpeg")) else "image/png" + else: + # Assume PDF and render first page to PNG + doc = fitz.open(stream=file_bytes, filetype="pdf") + page = doc[0] + pix = page.get_pixmap(dpi=100) # Low DPI for quick validation + img_bytes = pix.tobytes("png") + doc.close() + mime_type = "image/png" + + # Call Flash for type classification + loop = asyncio.get_event_loop() + response = await loop.run_in_executor( + None, + lambda: client.models.generate_content( + model=FLASH_MODEL, + contents=[ + VALIDATE_PROMPT, + types.Part.from_bytes(data=img_bytes, mime_type=mime_type), + ], + config={"response_mime_type": "application/json"}, + ) + ) + + try: + result = json.loads(response.text) + detected = result.get("detected_type", "unknown") + confidence = float(result.get("confidence", 0.5)) + reason = result.get("reason", "") + except Exception: + detected = "unknown" + confidence = 0.3 + reason = "Classification parsing failed" + + # Check match + acceptable = SLOT_TYPE_MAP.get(expected_type) + if acceptable is None: + # "supporting_docs" — accept anything + match = True + else: + match = detected in acceptable + + return JSONResponse({ + "match": match, + "detected": detected, + "detected_display": TYPE_DISPLAY.get(detected, detected), + "expected_display": TYPE_DISPLAY.get(expected_type, expected_type), + "confidence": confidence, + "reason": reason, + }) + + except Exception as e: + traceback.print_exc() + raise HTTPException(status_code=500, detail=f"{type(e).__name__}: {str(e)}") + + +# ───────────────────────────────────────────────────────────────── +# Full pipeline analysis with SSE progress streaming +# ───────────────────────────────────────────────────────────────── + +AGENT_CLASSES = [ + ("identity_agent", IdentityAgent), + ("financial_agent", FinancialAgent), + ("temporal_agent", TemporalAgent), + ("sponsor_agent", SponsorAgent), + ("enrollment_agent", EnrollmentAgent), +] + + +def _sse(event_dict: dict) -> str: + """Format a dict as an SSE data line.""" + return f"data: {json.dumps(event_dict, default=str)}\n\n" + + +async def _run_pipeline( + pdf_bytes_list: list[bytes], + context: dict, + debug: bool = False, +) -> AsyncGenerator[str, None]: + """ + Async generator that runs the full Uplan pipeline and yields SSE events. + Each stage yields start + done events. Final event is 'complete' with full result. + """ + loop = asyncio.get_event_loop() + inter_agent_delay = float(os.environ.get("INTER_AGENT_DELAY", "1.0")) + + try: + # ── Stage 1: Structural encoding ────────────────────────────── + yield _sse({"type": "stage_start", "stage": "encode", + "message": "Rendering pages and running Flash extraction..."}) + t0 = time.time() + + all_pages: list[PageExtraction] = [] + for pdf_bytes in pdf_bytes_list: + pages = await loop.run_in_executor(None, extract_pages, pdf_bytes) + all_pages.extend(pages) + + graph = await loop.run_in_executor(None, build_graph, all_pages) + encode_elapsed = time.time() - t0 + + yield _sse({ + "type": "stage_done", "stage": "encode", + "elapsed_s": round(encode_elapsed, 1), + "data": { + "page_count": graph.source_page_count, + "token_count": graph.token_count, + "raw_tokens": graph.estimated_raw_tokens, + "doc_types": graph.source_doc_types, + "compression_pct": round((1 - graph.token_count / max(graph.estimated_raw_tokens, 1)) * 100, 1), + } + }) + + # ── Stage 2: Privacy purge ──────────────────────────────────── + yield _sse({"type": "stage_start", "stage": "purge", + "message": "Purging raw document bytes from memory..."}) + pdf_bytes_list = [] # Purge -- raw bytes no longer referenced + yield _sse({"type": "stage_done", "stage": "purge", "elapsed_s": 0.0}) + + # ── Stage 3: Rule engine ────────────────────────────────────── + yield _sse({"type": "stage_start", "stage": "rules", + "message": "Applying 9 deterministic rules to semantic graph..."}) + t0 = time.time() + + # Build visa context from intake form + visa_context_dict = None + try: + from rules.context_profiles import VisaContext, build_context + dest = context.get("dest", "") + visa_type = context.get("type", "student") + visa_context_dict = build_context(dest, visa_type) + except Exception: + pass + + rule_findings_raw = await loop.run_in_executor( + None, + lambda: run_rules(graph, context=None) + ) + rule_findings = [f.model_dump() for f in rule_findings_raw] + rules_elapsed = time.time() - t0 + + yield _sse({ + "type": "stage_done", "stage": "rules", + "elapsed_s": round(rules_elapsed, 1), + "data": {"finding_count": len(rule_findings)} + }) + + # ── Stages 4-8: Specialist agents ──────────────────────────── + graph_dict = graph.model_dump() + agent_findings: list[dict] = [] + completed_agents: list[str] = [] + + state = { + "semantic_graph": graph_dict, + "rule_findings": rule_findings, + "agent_findings": [], + "completed_agents": [], + "visa_context": visa_context_dict, + "document_checklist": [], + "verdict": None, + "risk_score": None, + "raw_purged": True, + "_debug_logger": None, + } + + for i, (agent_id, agent_cls) in enumerate(AGENT_CLASSES): + if i > 0: + await asyncio.sleep(inter_agent_delay) + + yield _sse({"type": "agent_start", "agent": agent_id}) + t0 = time.time() + + try: + result = await loop.run_in_executor(None, lambda cls=agent_cls, s=state: cls().run(s)) + agent_findings.extend(result.get("agent_findings", [])) + completed_agents.extend(result.get("completed_agents", [])) + state["agent_findings"] = agent_findings + state["completed_agents"] = completed_agents + agent_elapsed = time.time() - t0 + + # Count anomalies at this agent's findings + this_agent_findings = result.get("agent_findings", []) + anomaly_count = sum(len(f.get("anomalies", [])) for f in this_agent_findings) + + yield _sse({ + "type": "agent_done", "agent": agent_id, + "elapsed_s": round(agent_elapsed, 1), + "verdict": this_agent_findings[0].get("agent_verdict") if this_agent_findings else None, + "anomaly_count": anomaly_count, + }) + + except Exception as e: + yield _sse({"type": "agent_error", "agent": agent_id, "message": str(e)}) + completed_agents.append(agent_id) + + # ── Stage 9: Narrative synthesis ────────────────────────────── + await asyncio.sleep(inter_agent_delay) + yield _sse({"type": "stage_start", "stage": "narrative", + "message": "Synthesising cross-document verdict and rebuttal guidance..."}) + t0 = time.time() + + state["agent_findings"] = agent_findings + narrative_result = await loop.run_in_executor(None, lambda: NarrativeAgent().run(state)) + narrative_elapsed = time.time() - t0 + + yield _sse({ + "type": "stage_done", "stage": "narrative", + "elapsed_s": round(narrative_elapsed, 1), + }) + + # ── Final: assemble result ──────────────────────────────────── + verdict = narrative_result.get("verdict", {}) + risk_score = narrative_result.get("risk_score", 1.0) + + final_result = { + "verdict": verdict.get("verdict", "FAIL"), + "risk_score": risk_score, + "missing_documents": verdict.get("missing_documents", []), + "rejection_narrative": verdict.get("rejection_narrative", ""), + "rebuttal_guidance": verdict.get("rebuttal_guidance", []), + "citations": verdict.get("citations", []), + "critical_issues": verdict.get("critical_issues", []), + "warning_issues": verdict.get("warning_issues", []), + "agent_findings": agent_findings, + "rule_findings": rule_findings, + "graph": { + "identity": graph_dict.get("identity", {}), + "financial": graph_dict.get("financial", {}), + "sponsor": graph_dict.get("sponsor"), + "enrollment": graph_dict.get("enrollment"), + "temporal": graph_dict.get("temporal", {}), + "source_doc_types": graph_dict.get("source_doc_types", []), + "token_count": graph_dict.get("token_count", 0), + "page_count": graph_dict.get("source_page_count", 0), + "estimated_raw_tokens": graph_dict.get("estimated_raw_tokens", 0), + }, + "purged_at": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()), + } + + yield _sse({"type": "complete", "result": final_result}) + + except Exception as e: + tb = traceback.format_exc() + yield _sse({"type": "error", "message": str(e), "traceback": tb[:800]}) + + +async def _run_pipeline_to_store( + task_id: str, + pdf_bytes_list: list[bytes], + context: dict, +) -> None: + """ + Runs the full pipeline and writes progress events into _tasks[task_id]. + This is the background coroutine launched by POST /api/start. + """ + task = _tasks[task_id] + + def emit(event_dict: dict): + """Append an event to the task's progress log.""" + event_dict["_ts"] = time.time() + task["progress"].append(event_dict) + task["current_stage"] = event_dict.get("stage", event_dict.get("agent", task["current_stage"])) + + loop = asyncio.get_event_loop() + inter_agent_delay = float(os.environ.get("INTER_AGENT_DELAY", "1.0")) + + try: + # ── Stage 1: Structural encoding + emit({"type": "stage_start", "stage": "encode", "message": "Rendering pages and running Flash extraction..."}) + t0 = time.time() + + all_pages: list[PageExtraction] = [] + for pdf_bytes in pdf_bytes_list: + pages = await loop.run_in_executor(None, extract_pages, pdf_bytes) + all_pages.extend(pages) + + graph = await loop.run_in_executor(None, build_graph, all_pages) + encode_elapsed = time.time() - t0 + + emit({ + "type": "stage_done", "stage": "encode", + "elapsed_s": round(encode_elapsed, 1), + "data": { + "page_count": graph.source_page_count, + "token_count": graph.token_count, + "raw_tokens": graph.estimated_raw_tokens, + "doc_types": graph.source_doc_types, + "compression_pct": round((1 - graph.token_count / max(graph.estimated_raw_tokens, 1)) * 100, 1), + } + }) + + # ── Stage 2: Privacy purge + emit({"type": "stage_start", "stage": "purge", "message": "Purging raw document bytes from memory..."}) + pdf_bytes_list = [] + emit({"type": "stage_done", "stage": "purge", "elapsed_s": 0.0}) + + # ── Stage 3: Rule engine + emit({"type": "stage_start", "stage": "rules", "message": "Applying 9 deterministic rules to semantic graph..."}) + t0 = time.time() + + visa_context_dict = None + try: + from rules.context_profiles import VisaContext, build_context + dest = context.get("dest", "") + visa_type = context.get("type", "student") + visa_context_dict = build_context(dest, visa_type) + except Exception: + pass + + rule_findings_raw = await loop.run_in_executor( + None, lambda: run_rules(graph, context=None) + ) + rule_findings = [f.model_dump() for f in rule_findings_raw] + rules_elapsed = time.time() - t0 + + emit({ + "type": "stage_done", "stage": "rules", + "elapsed_s": round(rules_elapsed, 1), + "data": {"finding_count": len(rule_findings)} + }) + + # ── Stages 4-8: Specialist agents + graph_dict = graph.model_dump() + agent_findings: list[dict] = [] + completed_agents: list[str] = [] + + state = { + "semantic_graph": graph_dict, + "rule_findings": rule_findings, + "agent_findings": [], + "completed_agents": [], + "visa_context": visa_context_dict, + "document_checklist": [], + "verdict": None, + "risk_score": None, + "raw_purged": True, + "_debug_logger": None, + } + + for i, (agent_id, agent_cls) in enumerate(AGENT_CLASSES): + if i > 0: + await asyncio.sleep(inter_agent_delay) + + emit({"type": "agent_start", "agent": agent_id}) + t0 = time.time() + + try: + result = await loop.run_in_executor(None, lambda cls=agent_cls, s=state: cls().run(s)) + agent_findings.extend(result.get("agent_findings", [])) + completed_agents.extend(result.get("completed_agents", [])) + state["agent_findings"] = agent_findings + state["completed_agents"] = completed_agents + agent_elapsed = time.time() - t0 + + this_agent_findings = result.get("agent_findings", []) + anomaly_count = sum(len(f.get("anomalies", [])) for f in this_agent_findings) + + emit({ + "type": "agent_done", "agent": agent_id, + "elapsed_s": round(agent_elapsed, 1), + "verdict": this_agent_findings[0].get("agent_verdict") if this_agent_findings else None, + "anomaly_count": anomaly_count, + }) + except Exception as e: + emit({"type": "agent_error", "agent": agent_id, "message": str(e)}) + completed_agents.append(agent_id) + + # ── Stage 9: Narrative synthesis + await asyncio.sleep(inter_agent_delay) + emit({"type": "stage_start", "stage": "narrative", "message": "Synthesising cross-document verdict and rebuttal guidance..."}) + t0 = time.time() + + state["agent_findings"] = agent_findings + narrative_result = await loop.run_in_executor(None, lambda: NarrativeAgent().run(state)) + narrative_elapsed = time.time() - t0 + + emit({"type": "stage_done", "stage": "narrative", "elapsed_s": round(narrative_elapsed, 1)}) + + # ── Final: assemble result + verdict = narrative_result.get("verdict", {}) + risk_score = narrative_result.get("risk_score", 1.0) + + final_result = { + "verdict": verdict.get("verdict", "FAIL"), + "risk_score": risk_score, + "missing_documents": verdict.get("missing_documents", []), + "rejection_narrative": verdict.get("rejection_narrative", ""), + "rebuttal_guidance": verdict.get("rebuttal_guidance", []), + "citations": verdict.get("citations", []), + "critical_issues": verdict.get("critical_issues", []), + "warning_issues": verdict.get("warning_issues", []), + "agent_findings": agent_findings, + "rule_findings": rule_findings, + "graph": { + "identity": graph_dict.get("identity", {}), + "financial": graph_dict.get("financial", {}), + "sponsor": graph_dict.get("sponsor"), + "enrollment": graph_dict.get("enrollment"), + "temporal": graph_dict.get("temporal", {}), + "source_doc_types": graph_dict.get("source_doc_types", []), + "token_count": graph_dict.get("token_count", 0), + "page_count": graph_dict.get("source_page_count", 0), + "estimated_raw_tokens": graph_dict.get("estimated_raw_tokens", 0), + }, + "purged_at": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()), + } + + emit({"type": "complete", "result": final_result}) + task["status"] = "complete" + task["result"] = final_result + task["completed_at"] = time.time() + + except Exception as e: + tb = traceback.format_exc() + emit({"type": "error", "message": str(e), "traceback": tb[:800]}) + task["status"] = "error" + task["error"] = str(e) + task["completed_at"] = time.time() + + +@app.post("/api/analyze") +async def analyze( + files: list[UploadFile] = File(...), + context: str = Form(default="{}"), +): + """ + Full pipeline analysis with SSE progress streaming. + Accepts multipart form: + - files: one or more PDF uploads + - context: JSON string with {from, dest, type} + """ + try: + ctx = json.loads(context) + except Exception: + ctx = {} + + pdf_bytes_list = [] + for f in files: + data = await f.read() + pdf_bytes_list.append(data) + + if not pdf_bytes_list: + raise HTTPException(400, "No files uploaded") + + async def generate(): + async for chunk in _run_pipeline(pdf_bytes_list, ctx): + yield chunk + + return StreamingResponse( + generate(), + media_type="text/event-stream", + headers={ + "Cache-Control": "no-cache", + "X-Accel-Buffering": "no", + "Access-Control-Allow-Origin": "*", + } + ) + + +# ───────────────────────────────────────────────────────────────── +# Async Polling Endpoints (Task 2) +# ───────────────────────────────────────────────────────────────── + +def _purge_stale_tasks(): + """Remove completed/errored tasks older than TTL.""" + now = time.time() + stale = [tid for tid, t in _tasks.items() + if t.get("completed_at") and (now - t["completed_at"]) > TASK_TTL_SECONDS] + for tid in stale: + del _tasks[tid] + + +@app.post("/api/start") +async def start_analysis( + files: list[UploadFile] = File(...), + context: str = Form(default="{}"), +): + """ + Start async pipeline. Returns task_id immediately (HTTP 202). + The pipeline runs in the background. Poll GET /api/status/{task_id} for progress. + """ + _purge_stale_tasks() + + try: + ctx = json.loads(context) + except Exception: + ctx = {} + + pdf_bytes_list = [] + for f in files: + data = await f.read() + pdf_bytes_list.append(data) + + if not pdf_bytes_list: + raise HTTPException(400, "No files uploaded") + + task_id = str(uuid.uuid4()) + _tasks[task_id] = { + "status": "running", + "progress": [], + "current_stage": None, + "result": None, + "error": None, + "started_at": time.time(), + "completed_at": None, + } + + # Launch the pipeline as a background coroutine + asyncio.create_task(_run_pipeline_to_store(task_id, pdf_bytes_list, ctx)) + + return JSONResponse( + status_code=202, + content={"task_id": task_id, "status": "running"}, + ) + + +@app.get("/api/status/{task_id}") +async def get_task_status( + task_id: str, + since: int = 0, +): + """ + Poll task progress. Returns current status + new progress events since index `since`. + Query param `since` is the index of the last event the client has seen. + This avoids sending the entire progress array on every poll. + """ + if task_id not in _tasks: + raise HTTPException(404, f"Task {task_id} not found") + + task = _tasks[task_id] + elapsed = time.time() - task["started_at"] + + return { + "task_id": task_id, + "status": task["status"], + "current_stage": task["current_stage"], + "elapsed_s": round(elapsed, 1), + "progress": task["progress"][since:], + "progress_total": len(task["progress"]), + "result": task["result"], + "error": task["error"], + } + + +# ───────────────────────────────────────────────────────────────── +# Entry point +# ───────────────────────────────────────────────────────────────── + +if __name__ == "__main__": + port = int(os.environ.get("PORT", 8000)) + print(f"\n Uplan server starting on http://0.0.0.0:{port}") + print(f" Flash model : {os.environ.get('FLASH_MODEL', 'gemini-3-flash-preview')}") + print(f" Pro model : {os.environ.get('PRO_MODEL', 'gemini-3.1-pro-preview')}") + print(f" Debug mode : {os.environ.get('UPLAN_DEBUG', '1')}\n") + + uvicorn.run( + "server:app", + host="0.0.0.0", + port=port, + reload=os.environ.get("DEV", "0") == "1", + log_level="info", + ) diff --git a/test_encoding.py b/test_encoding.py new file mode 100644 index 0000000000000000000000000000000000000000..191f72ce7be2b8a728919e51a101f79a27ad1315 --- /dev/null +++ b/test_encoding.py @@ -0,0 +1,103 @@ +""" +Uplan — Standalone Encoding Test + +Usage: + python test_encoding.py + +Runs the full encoding pipeline (extract pages → build graph → run rules) +on a single PDF and prints the SemanticGraph JSON + compression stats. + +This validates the core innovation before wiring LangGraph. +""" + +from __future__ import annotations + +import json +import sys +import time + + +def main(): + if len(sys.argv) < 2: + print("Usage: python test_encoding.py ") + print(" e.g. python test_encoding.py ./test_files/bank_statement.pdf") + sys.exit(1) + + pdf_path = sys.argv[1] + + print(f"\n{'═' * 60}") + print(f" UPLAN STRUCTURAL ENCODING TEST") + print(f" Input: {pdf_path}") + print(f"{'═' * 60}\n") + + # Read PDF bytes + with open(pdf_path, "rb") as f: + pdf_bytes = f.read() + print(f" PDF size: {len(pdf_bytes):,} bytes\n") + + # ── Stage 1: Per-page extraction ───────────────────────────────── + print("─── STAGE 1: Per-page entity extraction (Gemini Flash) ───") + from encoding.extractor import extract_pages + + t0 = time.time() + pages = extract_pages(pdf_bytes) + extraction_time = time.time() - t0 + + print(f"\n Extracted {len(pages)} pages in {extraction_time:.1f}s") + for p in pages: + print(f" Page {p.page_number}: {p.page_type.value}" + f" | txns={len(p.transactions)}" + f" | flags={p.anomaly_flags}") + + # ── Stage 2: Graph building ────────────────────────────────────── + print(f"\n─── STAGE 2: Graph merge ───") + from encoding.graph_builder import build_graph + + t1 = time.time() + graph = build_graph(pages) + build_time = time.time() - t1 + + print(f"\n Graph built in {build_time:.1f}s") + + # ── Stage 3: Rule engine ───────────────────────────────────────── + print(f"\n─── STAGE 3: Deterministic rule engine ───") + from rules.engine import run_rules + + findings = run_rules(graph) + print(f" {len(findings)} rule finding(s):") + for f in findings: + icon = "🔴" if f.severity == "critical" else "🟡" if f.severity == "warning" else "🔵" + print(f" {icon} [{f.rule_id}] {f.message}") + + # ── Compression stats (your strongest demo moment) ─────────────── + print(f"\n{'═' * 60}") + print(f" COMPRESSION STATS") + print(f"{'═' * 60}") + print(f" Source pages: {graph.source_page_count}") + print(f" Est. raw tokens: {graph.estimated_raw_tokens:,}") + print(f" Graph tokens: {graph.token_count:,}") + if graph.estimated_raw_tokens > 0: + reduction = (1 - graph.token_count / graph.estimated_raw_tokens) * 100 + ratio = graph.estimated_raw_tokens / max(graph.token_count, 1) + print(f" Token reduction: {reduction:.1f}%") + print(f" Compression ratio: {ratio:.0f}:1") + print(f" Extraction time: {extraction_time:.1f}s") + print(f" Build time: {build_time:.1f}s") + print(f" Total pipeline: {extraction_time + build_time:.1f}s") + + # ── Output graph JSON ──────────────────────────────────────────── + graph_json = graph.model_dump(mode="json") + print(f"\n{'═' * 60}") + print(f" SEMANTIC GRAPH JSON") + print(f"{'═' * 60}") + print(json.dumps(graph_json, indent=2, default=str)) + + # Also save to file + output_path = pdf_path.rsplit(".", 1)[0] + "_graph.json" + with open(output_path, "w") as f: + json.dump(graph_json, f, indent=2, default=str) + print(f"\n ✓ Graph saved to: {output_path}") + + +if __name__ == "__main__": + main() diff --git a/test_pipeline.py b/test_pipeline.py new file mode 100644 index 0000000000000000000000000000000000000000..6691eaeb404b7a54aa9d9d620be07e8737ee467d --- /dev/null +++ b/test_pipeline.py @@ -0,0 +1,138 @@ +""" +Uplan -- End-to-End Pipeline Test + +Usage: + python test_pipeline.py + +Runs the full LangGraph pipeline: + ingest -> encode -> purge -> rules -> agents (sequential) -> narrative + +Validates: + - Privacy purge (raw_purged == True) + - All 5 agents complete (completed_agents has 5 entries) + - Verdict and risk score produced +""" + +from __future__ import annotations + +import json +import sys +import time + + +def _safe(text: str) -> str: + """Strip non-ASCII from model output to avoid Windows cp1252 crashes.""" + return text.encode("ascii", errors="replace").decode("ascii") + + +def main(): + if len(sys.argv) < 2: + print("Usage: python test_pipeline.py ") + sys.exit(1) + + pdf_path = sys.argv[1] + + print(f"\n{'=' * 60}") + print(f" UPLAN END-TO-END PIPELINE TEST") + print(f" Input: {pdf_path}") + print(f"{'=' * 60}\n") + + with open(pdf_path, "rb") as f: + pdf_bytes = f.read() + + from orchestrator.graph import uplan_graph + from rules.context_profiles import get_context + + # Default test context: Student visa to Japan + context = get_context("student", "japan") + + t0 = time.time() + result = uplan_graph.invoke({ + "document_bytes": [pdf_bytes], + "rule_findings": [], + "agent_findings": [], + "completed_agents": [], + "raw_purged": False, + "semantic_graph": None, + "encoding_metadata": None, + "verdict": None, + "risk_score": None, + "visa_context": context.to_dict(), + "document_checklist": [{"label": "bank_statement", "status": "uploaded"}], + }) + total_time = time.time() - t0 + + # -- Validation -------------------------------------------------------- + print(f"\n{'-' * 60}") + print(f" VALIDATION") + print(f"{'-' * 60}") + + purged = result["raw_purged"] + agents_done = result["completed_agents"] + verdict = result.get("verdict") + risk = result.get("risk_score") + meta = result.get("encoding_metadata", {}) + + print(f" [OK] Privacy purge: {'PASS' if purged else 'FAIL'} (raw_purged={purged})") + print(f" [OK] Agents completed: {len(agents_done)}/5 -- {agents_done}") + print(f" [OK] Verdict: {verdict.get('verdict') if verdict else 'MISSING'}") + print(f" [OK] Risk score: {risk}") + print(f" [OK] Total time: {total_time:.1f}s") + + # -- Compression stats ------------------------------------------------- + if meta: + print(f"\n{'-' * 60}") + print(f" COMPRESSION") + print(f"{'-' * 60}") + print(f" Pages: {meta.get('page_count')}") + print(f" Est. raw tokens: {meta.get('estimated_raw_tokens', 0):,}") + print(f" Graph tokens: {meta.get('token_count', 0):,}") + raw = meta.get("estimated_raw_tokens", 0) + graph = meta.get("token_count", 1) + if raw > 0: + print(f" Reduction: {(1 - graph / raw) * 100:.1f}%") + + # -- Rule findings ----------------------------------------------------- + rules = result.get("rule_findings", []) + print(f"\n{'-' * 60}") + print(f" RULE FINDINGS ({len(rules)})") + print(f"{'-' * 60}") + for r in rules: + icon = "[CRIT]" if r["severity"] == "critical" else "[WARN]" + print(f" {icon} [{r['rule_id']}] {_safe(r['message'])}") + + # -- Agent findings ---------------------------------------------------- + agent_findings = result.get("agent_findings", []) + print(f"\n{'-' * 60}") + print(f" AGENT FINDINGS ({len(agent_findings)})") + print(f"{'-' * 60}") + for af in agent_findings: + print(f"\n -- {af['agent_id']} ({af['agent_verdict']}, confidence={af['confidence']}) --") + print(f" {_safe(af['summary'])}") + for anomaly in af.get("anomalies", []): + icon = "[CRIT]" if anomaly["severity"] == "critical" else "[WARN]" if anomaly["severity"] == "warning" else "[INFO]" + print(f" {icon} {anomaly['field_path']}: {_safe(anomaly['explanation'])}") + + # -- Verdict ----------------------------------------------------------- + if verdict: + print(f"\n{'=' * 60}") + print(f" FINAL VERDICT: {verdict['verdict']} (risk={risk})") + print(f"{'=' * 60}") + if verdict.get("rejection_narrative"): + print(f"\n Rejection Narrative:") + print(f" {_safe(verdict['rejection_narrative'])}") + if verdict.get("rebuttal_guidance"): + print(f"\n Rebuttal Guidance:") + for i, r in enumerate(verdict["rebuttal_guidance"], 1): + print(f" {i}. {_safe(r)}") + + # -- Save full result -------------------------------------------------- + output_path = pdf_path.rsplit(".", 1)[0] + "_result.json" + serializable = {k: v for k, v in result.items() if k != "document_bytes"} + with open(output_path, "w", encoding="utf-8") as f: + json.dump(serializable, f, indent=2, default=str, ensure_ascii=False) + print(f"\n [OK] Full result saved to: {output_path}") + + +if __name__ == "__main__": + main() diff --git a/ui/__init__.py b/ui/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..76e2cb85f90ac563b5eb89f13fb039883a74b7b9 --- /dev/null +++ b/ui/__init__.py @@ -0,0 +1 @@ +# Streamlit UI layer diff --git a/ui/app.py b/ui/app.py new file mode 100644 index 0000000000000000000000000000000000000000..5cf5914e765b7457cc8bcab96fb721292bd5d740 --- /dev/null +++ b/ui/app.py @@ -0,0 +1,312 @@ +""" +Uplan — Streamlit Entrypoint + +Step 0: Context collection (country, visa type) + document upload with validation +Pipeline: validate → encode → rules → agents → narrative → report + +Run: streamlit run ui/app.py +""" + +from __future__ import annotations + +import json +import sys +import time +from pathlib import Path + +import streamlit as st + +# Ensure project root is on path (when run from ui/ directory) +_root = str(Path(__file__).resolve().parent.parent) +if _root not in sys.path: + sys.path.insert(0, _root) + +from ui.components import ( + render_agent_findings, + render_compression_stats, + render_graph_summary, + render_narrative, + render_rule_findings, + render_verdict, +) +from ui.intake import run_intake + +# ── Page Config ───────────────────────────────────────────────────── + +st.set_page_config( + page_title="Uplan — Immigration Document Intelligence", + page_icon="🔬", + layout="wide", + initial_sidebar_state="expanded", +) + +# ── Custom CSS ────────────────────────────────────────────────────── + +st.markdown( + """ + + """, + unsafe_allow_html=True, +) + +# ── Header ────────────────────────────────────────────────────────── + +st.markdown('

🔬 Uplan

', unsafe_allow_html=True) +st.markdown( + '

' + "Adversarial Immigration Document Intelligence — " + "Structural Encoding · Semantic Graph · Multi-Agent Reasoning" + "

", + unsafe_allow_html=True, +) +st.markdown("---") + +# ── Sidebar Info ──────────────────────────────────────────────────── + +with st.sidebar: + st.markdown("## ⚙️ Pipeline Stages") + st.markdown( + """ + **0** — Context + document intake + **1** — Document validation gate + **2** — Page segmentation (PyMuPDF) + **3** — Entity extraction (Gemini Flash, async) + **4** — Graph merge (Python) + **5** — Rule engine (deterministic, context-aware) + **6** — 5 specialist agents (Gemini Pro, parallel) + **7** — Narrative synthesis (Gemini Pro) + """ + ) + st.markdown("---") + st.caption( + "Privacy: raw documents are purged after encoding. " + "Agents see only the semantic graph (~1,200 tokens)." + ) + +# ── Step 0: Intake Flow ──────────────────────────────────────────── + +intake_result = run_intake() + +if not intake_result: + st.markdown("---") + st.markdown("## How It Works") + + col1, col2, col3 = st.columns(3) + with col1: + st.markdown( + """ + ### 📄 → 🧬 + **Structural Encoding** + + Raw documents (~60k tokens) → typed semantic graph + (~1,200 tokens) — **98% reduction**. + """ + ) + with col2: + st.markdown( + """ + ### ⚖️ → 🕵️ + **Adversarial Analysis** + + Deterministic rules + 5 specialist AI agents + interrogate the graph for inconsistencies. + """ + ) + with col3: + st.markdown( + """ + ### 📋 → 🛡️ + **Actionable Verdict** + + Officer-grade rejection narrative + specific + rebuttal guidance for each issue. + """ + ) + + st.info("☝️ Select your visa context and upload documents above to begin.") + +else: + context, uploads = intake_result + + st.markdown("---") + st.success( + f"✅ {len(uploads)} document(s) ready | " + f"Context: **{context.visa_type.title()} → {context.destination.title()}** | " + f"Applicant: **{context.applicant_country}**" + ) + + # ── Validate + Run Pipeline ───────────────────────────────────── + run_button = st.button("🚀 Run Uplan Analysis", type="primary", use_container_width=True) + + if run_button: + progress = st.progress(0, text="Initializing...") + status = st.status("Running Uplan pipeline...", expanded=True) + + with status: + # Step 1: Document validation gate + st.write("🔍 Validating uploads against expected labels...") + progress.progress(5, text="Validating documents...") + + from validation.doc_validator import validate_all_uploads + + validations = validate_all_uploads(uploads) + rejected = [v for v in validations if not v["accepted"]] + + if rejected: + for v in rejected: + st.error( + f"❌ **{v['label']}**: Detected as " + f"'{v['validation'].actual_type}' — " + f"{v['validation'].reason}" + ) + st.warning("Some documents failed validation. Re-upload the correct files.") + status.update(label="Validation failed", state="error") + st.stop() + + for v in validations: + st.write( + f" ✓ {v['label']}: confirmed as " + f"{v['validation'].actual_type} " + f"(confidence: {v['validation'].confidence:.0%})" + ) + + # Step 2: Run full pipeline + st.write("🧬 Running structural encoding + agent reasoning...") + progress.progress(15, text="Running pipeline...") + + from orchestrator.graph import uplan_graph + + all_bytes = [u["pdf_bytes"] for u in uploads] + checklist = [ + {"label": u["label"], "filename": u.get("filename", ""), "status": "validated"} + for u in uploads + ] + + t0 = time.time() + try: + result = uplan_graph.invoke({ + "document_bytes": all_bytes, + "rule_findings": [], + "agent_findings": [], + "completed_agents": [], + "raw_purged": False, + "semantic_graph": None, + "encoding_metadata": None, + "verdict": None, + "risk_score": None, + "visa_context": context.to_dict(), + "document_checklist": checklist, + }) + total_time = time.time() - t0 + progress.progress(100, text="Pipeline complete!") + st.write(f"✅ Complete in {total_time:.1f}s") + status.update(label="Pipeline complete!", state="complete") + + except Exception as e: + progress.progress(100, text="Pipeline failed!") + st.error(f"Pipeline error: {e}") + status.update(label="Pipeline failed!", state="error") + st.stop() + + st.session_state["result"] = result + st.session_state["total_time"] = total_time + st.session_state["context"] = context.to_dict() + + # ── Display Results ───────────────────────────────────────────── + if "result" in st.session_state: + result = st.session_state["result"] + total_time = st.session_state.get("total_time", 0) + + st.markdown("---") + + tab_overview, tab_rules, tab_agents, tab_narrative, tab_graph = st.tabs( + ["📊 Overview", "⚖️ Rules", "🕵️ Agents", "📝 Narrative", "🧬 Graph"] + ) + + with tab_overview: + meta = result.get("encoding_metadata", {}) + if meta: + render_compression_stats(meta) + + st.markdown("---") + + verdict = result.get("verdict", {}) + risk = result.get("risk_score", 0) + if verdict: + render_verdict(verdict, risk) + + st.markdown("---") + col1, col2, col3, col4 = st.columns(4) + col1.metric("⏱️ Total Time", f"{total_time:.1f}s") + col2.metric("🕵️ Agents", f"{len(result.get('completed_agents', []))}/5") + col3.metric( + "🔍 Findings", + f"{len(result.get('rule_findings', [])) + len(result.get('agent_findings', []))}", + ) + ctx = st.session_state.get("context", {}) + col4.metric("🌍 Context", f"{ctx.get('visa_type', '?')} → {ctx.get('destination', '?')}") + + with tab_rules: + render_rule_findings(result.get("rule_findings", [])) + + with tab_agents: + render_agent_findings(result.get("agent_findings", [])) + + with tab_narrative: + if result.get("verdict"): + render_narrative(result["verdict"]) + else: + st.info("No narrative verdict available.") + + with tab_graph: + if result.get("semantic_graph"): + render_graph_summary(result["semantic_graph"]) + else: + st.info("No semantic graph available.") + + st.markdown("---") + st.download_button( + "📥 Download Full Result JSON", + data=json.dumps( + {k: v for k, v in result.items() if k != "document_bytes"}, + indent=2, + default=str, + ), + file_name="uplan_result.json", + mime="application/json", + ) diff --git a/ui/components.py b/ui/components.py new file mode 100644 index 0000000000000000000000000000000000000000..4c23682648eaff0512230865e26a0c7dd5b53c29 --- /dev/null +++ b/ui/components.py @@ -0,0 +1,220 @@ +""" +Uplan UI — Reusable Streamlit Components + +Renders: compression stats, findings dashboard, verdict card, narrative report. +""" + +from __future__ import annotations + +import streamlit as st + + +# ── Compression Stats (strongest demo moment) ─────────────────────── + + +def render_compression_stats(metadata: dict) -> None: + """Hero metric: the 60k → 1,200 token reduction.""" + raw = metadata.get("estimated_raw_tokens", 0) + graph = metadata.get("token_count", 1) + pages = metadata.get("page_count", 0) + duration = metadata.get("duration_ms", 0) + + reduction = (1 - graph / max(raw, 1)) * 100 + ratio = raw / max(graph, 1) + + st.markdown("### 🔬 Structural Encoding — Token Compression") + + cols = st.columns(4) + cols[0].metric("📄 Pages Processed", f"{pages}") + cols[1].metric("📝 Raw Tokens (est.)", f"{raw:,}") + cols[2].metric("🧬 Graph Tokens", f"{graph:,}") + cols[3].metric("📉 Reduction", f"{reduction:.1f}%") + + # Progress bar visualizing the compression + st.progress(min(reduction / 100, 1.0)) + st.caption( + f"**{ratio:.0f}:1 compression** — {pages} pages of raw documents condensed " + f"into a {graph:,}-token semantic graph in {duration / 1000:.1f}s. " + f"Fits any 4k+ context window." + ) + + +# ── Rule Findings ─────────────────────────────────────────────────── + + +def render_rule_findings(findings: list[dict]) -> None: + """Display deterministic rule engine results with severity badges.""" + st.markdown("### ⚖️ Deterministic Rule Engine") + + if not findings: + st.success("✅ No rule violations detected.") + return + + critical = [f for f in findings if f["severity"] == "critical"] + warnings = [f for f in findings if f["severity"] == "warning"] + info = [f for f in findings if f["severity"] == "info"] + + if critical: + st.error(f"🔴 {len(critical)} critical finding(s)") + if warnings: + st.warning(f"🟡 {len(warnings)} warning(s)") + if info: + st.info(f"🔵 {len(info)} informational finding(s)") + + for f in findings: + icon = {"critical": "🔴", "warning": "🟡", "info": "🔵"}.get(f["severity"], "⚪") + with st.expander(f"{icon} [{f['rule_id']}] {f['message']}", expanded=f["severity"] == "critical"): + col1, col2 = st.columns(2) + col1.markdown(f"**Expected:** `{f.get('expected', 'N/A')}`") + col2.markdown(f"**Actual:** `{f.get('actual', 'N/A')}`") + st.caption(f"Field: `{f['field_path']}`") + + +# ── Agent Findings ────────────────────────────────────────────────── + + +def render_agent_findings(findings: list[dict]) -> None: + """Display specialist agent reasoning results.""" + st.markdown("### 🕵️ Specialist Agent Analysis") + + if not findings: + st.info("No agent findings available.") + return + + for af in findings: + verdict_color = { + "pass": "🟢", + "flag": "🟡", + "critical": "🔴", + }.get(af.get("agent_verdict", ""), "⚪") + + agent_label = af["agent_id"].replace("_", " ").title() + confidence = af.get("confidence", 0) + + with st.expander( + f"{verdict_color} {agent_label} — {af['agent_verdict'].upper()} " + f"(confidence: {confidence:.0%})", + expanded=af.get("agent_verdict") == "critical", + ): + st.markdown(f"**Summary:** {af.get('summary', 'N/A')}") + + anomalies = af.get("anomalies", []) + if anomalies: + for anomaly in anomalies: + sev_icon = {"critical": "🔴", "warning": "🟡", "info": "🔵"}.get( + anomaly["severity"], "⚪" + ) + st.markdown( + f"- {sev_icon} **`{anomaly['field_path']}`**: {anomaly['explanation']}" + ) + if anomaly.get("rule_id"): + st.caption(f" Linked rule: `{anomaly['rule_id']}`") + else: + st.success("No anomalies detected by this agent.") + + +# ── Verdict Card ──────────────────────────────────────────────────── + + +def render_verdict(verdict: dict, risk_score: float) -> None: + """Hero card: final verdict with risk gauge.""" + st.markdown("---") + st.markdown("## 📋 Final Assessment") + + verdict_text = verdict.get("verdict", "UNKNOWN") + verdict_styles = { + "PASS": ("success", "✅"), + "CONDITIONAL": ("warning", "⚠️"), + "FAIL": ("error", "❌"), + } + style, icon = verdict_styles.get(verdict_text, ("info", "❓")) + + # Verdict + Risk score side by side + col1, col2 = st.columns([2, 1]) + with col1: + getattr(st, style)(f"{icon} Verdict: **{verdict_text}**") + with col2: + risk_color = "🔴" if risk_score > 0.7 else "🟡" if risk_score > 0.3 else "🟢" + st.metric(f"{risk_color} Risk Score", f"{risk_score:.2f}") + + # Risk progress bar + st.progress(min(risk_score, 1.0)) + + # Issues summary + critical = verdict.get("critical_issues", []) + warnings = verdict.get("warning_issues", []) + + if critical: + st.markdown("#### 🔴 Critical Issues") + for issue in critical: + st.markdown(f"- {issue}") + + if warnings: + st.markdown("#### 🟡 Warnings") + for issue in warnings: + st.markdown(f"- {issue}") + + +# ── Narrative Report ──────────────────────────────────────────────── + + +def render_narrative(verdict: dict) -> None: + """Full rejection narrative and rebuttal guidance.""" + rejection = verdict.get("rejection_narrative", "") + rebuttals = verdict.get("rebuttal_guidance", []) + citations = verdict.get("citations", []) + + if rejection: + st.markdown("### 📝 Officer's Assessment") + st.markdown( + f'
{rejection}
', + unsafe_allow_html=True, + ) + + if rebuttals: + st.markdown("### 🛡️ Rebuttal Guidance") + st.caption("How the applicant can address each issue:") + for i, r in enumerate(rebuttals, 1): + st.markdown(f"**{i}.** {r}") + + if citations: + st.markdown("### 🔗 Evidence Citations") + st.caption("Graph node paths supporting the verdict:") + for c in citations: + st.code(c, language=None) + + +# ── Semantic Graph Summary ────────────────────────────────────────── + + +def render_graph_summary(graph: dict) -> None: + """Quick overview of what the semantic graph contains.""" + st.markdown("### 🧬 Semantic Graph Structure") + + identity = graph.get("identity", {}) + financial = graph.get("financial", {}) + temporal = graph.get("temporal", {}) + sponsor = graph.get("sponsor") + enrollment = graph.get("enrollment") + edges = graph.get("edges", []) + + cols = st.columns(5) + cols[0].metric("👤 Identity", f"{len(identity.get('name_variants', []))} names") + cols[1].metric("💰 Financial", f"{financial.get('transaction_count', 0)} txns") + cols[2].metric("📅 Temporal", f"{len(temporal.get('doc_date_ranges', []))} ranges") + cols[3].metric("🤝 Sponsor", "Present" if sponsor else "None") + cols[4].metric("🎓 Enrollment", "Present" if enrollment else "None") + + # Edge coherence + coherent = sum(1 for e in edges if e.get("coherent")) + incoherent = len(edges) - coherent + if incoherent > 0: + st.warning(f"⚠️ {incoherent}/{len(edges)} cross-document edges are **incoherent**") + elif edges: + st.success(f"✅ All {len(edges)} cross-document relationships are coherent") + + # Raw graph JSON in expander + with st.expander("🔍 View Raw Graph JSON"): + st.json(graph) diff --git a/ui/index.html b/ui/index.html new file mode 100644 index 0000000000000000000000000000000000000000..9d8c02228006fe1bb14da435a179849623ad96d3 --- /dev/null +++ b/ui/index.html @@ -0,0 +1,3116 @@ + + + + + + + Uplan — Immigration Document Intelligence + + + + + + + +
+
+ + +
+ + + + +
+
+
Adversarial Document Intelligence
+

+ Immigration documents.
+ Interrogated,
not checked. +

+

+ Uplan applies five cooperating specialist agents and a structural encoding pipeline to find the + logical inconsistencies that cause visa rejections — before an officer does. +

+
+ + +
+
+ +
+
+ + +
+
+
+ + +
+
+ 0% + Token reduction +
+
+ 0 + Specialist agents +
+
+ 0 + Deterministic rules +
+
+ 0px + PII retained post-analysis +
+
+ + +
+
01 / Method
+

Why most document checks fail

+

Visa rejections rarely stem from missing documents. They stem from logical + inconsistencies across documents that automated systems miss and consultants overlook.

+
+
+ Rule 01 +
Adversarial interrogation
+

Every application is treated as if it needs to withstand an officer who is + actively looking for inconsistency — not one who is rubber-stamping completeness.

+
+
+ Rule 02 +
Cross-document reasoning
+

The income on a payslip must match the deposit on a bank statement. The + sponsor's declared income must cover program cost × 1.2. No agent sees documents in isolation. +

+
+
+ Rule 03 +
Context-aware thresholds
+

A ¥2M minimum balance means nothing in GBP. Rules are resolved against the + exact visa type, destination country, and applicant context — not hardcoded constants.

+
+
+
+ + +
+
02 / Architecture
+

The structural encoding pipeline

+

A 30-page bank statement is 30,000 tokens. A 72B reasoning model has a 32k context + window. The structural encoder converts raw documents to a typed semantic graph — 98% smaller, zero + information loss.

+ +
+
+
Raw documents — ~60,000 tokens
+
+
≈ 60,000 tokens
+
+
+ 7B encoder +
+ → +
+ semantic graph +
+
+
Semantic graph — ~1,200 tokens
+
+
≈ 1,200 tokens
+
+
+
+ + +
+
03 / Agents
+

Five specialist agents, one verdict

+

Each agent receives only its relevant graph nodes — never raw documents. All five run + in parallel, then a narrative synthesis agent reasons across all findings simultaneously.

+
+
+ 🪪 +
Identity
+

Name variants, transliteration mismatches, cross-document identity coherence +

+
+
+ 💰 +
Financial
+

Spike detection, unlabeled deposits, income-balance trajectory

+
+
+ 📅 +
Temporal
+

Employment gaps, date coherence, visa window alignment

+
+
+ 🤝 +
Sponsor
+

Income viability, relationship plausibility, coverage multiplier

+
+
+ 🎓 +
Enrollment
+

Program cost vs. funds, CoE date matching, duration feasibility

+
+
+
+ + +
+ + +
+
+ + + +
+ +
+ + +
+
+
Step 01 / 05 — Application context
+

Tell us about your application

+

Three fields. This determines which rules apply, what documents are required, + and how thresholds are calculated for your specific visa and jurisdiction.

+
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ + + + +
+ +
+
+ + +
+
+
Step 02 / 05 — Document checklist
+

How do you want to proceed?

+

We'll generate the exact documents needed for your application, or you can + provide your own checklist.

+
+ +
+
+ ⚡ +
Generate for me
+

We look up the exact required documents for your visa type and + destination. Takes 10 seconds.

+
+
+ 📋 +
I have a checklist
+

Paste or upload your embassy checklist. We parse it and create upload + slots for each item.

+
+
+ 🎯 +
Expert mode
+

Skip the checklist. Upload freely and label each document yourself. + For experienced applicants.

+
+
+ + + + + + + +
+ + +
+
+ + +
+
+
Step 03 / 05 — Document upload
+

Upload your documents

+

Each slot is pre-labelled. We validate every upload to confirm it matches the + expected document type before analysis begins.

+
+ +
+ + + + +
+ + +
+
+ + +
+
+
Step 04 / 05 — Analysis in progress
+

Running pipeline

+

Raw documents are being processed. Pages will be purged from memory immediately + after structural encoding completes.

+ +
+ +
+ + +
+ + +
+
+
Step 05 / 05 — Adversarial dossier
+

Analysis complete

+

All source documents have been purged. What follows is derived intelligence + only.

+
+ + +
+
OVERALL VERDICT
+
FAIL
+
+
+
+
+ 100% +
+
+ RISK SCORE — higher = greater rejection probability +
+
+ +
+ +
+
+
Agent findings
+
+
+ +
+
Rejection narrative
+
+
+
+ +
+
Rebuttal guidance — how to address each issue
+
+
+
+ + +
+
+
Identity
+
+
+ +
+
Financial summary
+
+
+ +
+
Privacy certificate
+
+
+
+
+ +
+ + +
+
+ + + + +
+
+ + + + + + \ No newline at end of file diff --git a/ui/intake.py b/ui/intake.py new file mode 100644 index 0000000000000000000000000000000000000000..65818a8f97651ca83e70fcb2341e62faa48e42ef --- /dev/null +++ b/ui/intake.py @@ -0,0 +1,196 @@ +""" +Uplan UI — Intake Flow (Step 0) + +Three-path document intake: + Path A: Auto-generated checklist from visa context (BYOG RAG in production) + Path B: User pastes their own checklist + Path C: Free upload with document type label required + +Returns (VisaContext, list[UploadedDoc]) when ready, None if still collecting. +""" + +from __future__ import annotations + +from typing import Optional + +import streamlit as st + +from rules.context_profiles import ( + APPLICANT_COUNTRIES, + DESTINATIONS, + VISA_TYPES, + VisaContext, + get_context, +) + + +def _render_context_collection() -> Optional[VisaContext]: + """Step 0: Collect applicant country, destination, visa type.""" + st.markdown("### 🌍 Application Context") + st.caption("Tell us about the visa application — this determines which rules and thresholds apply.") + + col1, col2, col3 = st.columns(3) + with col1: + applicant_country = st.selectbox( + "Applicant Country", + options=APPLICANT_COUNTRIES, + index=0, + help="Country of citizenship/residence of the applicant", + ) + with col2: + destination = st.selectbox( + "Destination Country", + options=DESTINATIONS, + index=0, + help="Country the applicant is applying to", + ) + with col3: + visa_type = st.selectbox( + "Visa Type", + options=VISA_TYPES, + index=0, + help="Type of visa being applied for", + ) + + context = get_context(visa_type, destination) + context.applicant_country = applicant_country + + # Show resolved thresholds + with st.expander("📋 Resolved Thresholds for This Context", expanded=False): + st.json(context.to_dict()) + + return context + + +def _render_checklist_upload(context: VisaContext) -> Optional[list[dict]]: + """ + Three-path upload flow. + Returns list of {"label": str, "pdf_bytes": bytes} when files are ready. + """ + st.markdown("### 📁 Document Upload") + + path = st.radio( + "Choose your upload method:", + options=[ + "📋 Use auto-generated checklist", + "📝 Paste my own checklist", + "📤 Free upload (I know what I'm uploading)", + ], + index=0, + horizontal=True, + ) + + uploads: list[dict] = [] + + if path.startswith("📋"): + # ── Path A: Auto-generated checklist from context profile ─── + required = context.required_doc_types + if not required: + st.warning("No required documents defined for this visa profile.") + required = ["passport", "bank_statement"] + + st.markdown( + f"**Required documents for {context.visa_type.title()} → " + f"{context.destination.title()}:**" + ) + + for doc_type in required: + label = doc_type.replace("_", " ").title() + file = st.file_uploader( + f"📄 {label}", + type=["pdf"], + key=f"checklist_{doc_type}", + help=f"Upload your {label}", + ) + if file: + uploads.append({ + "label": doc_type, + "pdf_bytes": file.read(), + "filename": file.name, + }) + + # Show progress + uploaded_count = len(uploads) + total_required = len(required) + st.progress( + uploaded_count / max(total_required, 1), + text=f"{uploaded_count}/{total_required} required documents uploaded", + ) + + elif path.startswith("📝"): + # ── Path B: User pastes their own checklist ───────────────── + checklist_text = st.text_area( + "Paste your document checklist (one item per line):", + placeholder="Bank Statement\nPassport\nEmployment Letter\nSponsor Letter", + height=150, + ) + + if checklist_text.strip(): + items = [line.strip() for line in checklist_text.strip().split("\n") if line.strip()] + for item in items: + # Normalize to snake_case for internal use + normalized = item.lower().replace(" ", "_") + file = st.file_uploader( + f"📄 {item}", + type=["pdf"], + key=f"custom_{normalized}", + ) + if file: + uploads.append({ + "label": normalized, + "pdf_bytes": file.read(), + "filename": file.name, + }) + + else: + # ── Path C: Free upload with label dropdown ───────────────── + st.caption("Upload files and label each one with its document type.") + free_files = st.file_uploader( + "Upload documents", + type=["pdf"], + accept_multiple_files=True, + key="free_upload", + ) + + if free_files: + doc_type_options = [ + "bank_statement", "payslip", "tax_return", "passport", + "sponsor_letter", "employment_letter", "enrollment_letter", + "affidavit", "other", + ] + for i, file in enumerate(free_files): + col1, col2 = st.columns([3, 1]) + with col1: + st.text(f"📄 {file.name}") + with col2: + label = st.selectbox( + "Type", + options=doc_type_options, + key=f"label_{i}", + label_visibility="collapsed", + ) + uploads.append({ + "label": label, + "pdf_bytes": file.read(), + "filename": file.name, + }) + + return uploads if uploads else None + + +def run_intake() -> Optional[tuple[VisaContext, list[dict]]]: + """ + Complete intake flow: context collection + document upload. + + Returns: + (VisaContext, list[{"label": str, "pdf_bytes": bytes, "filename": str}]) + when the user has provided context and uploaded files. + None if still collecting. + """ + context = _render_context_collection() + st.markdown("---") + uploads = _render_checklist_upload(context) + + if uploads: + return context, uploads + return None diff --git a/validation/__init__.py b/validation/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..693dd5f813c58ac5e437c4205fbe12f28e3dc87b --- /dev/null +++ b/validation/__init__.py @@ -0,0 +1 @@ +# Document validation gate diff --git a/validation/doc_validator.py b/validation/doc_validator.py new file mode 100644 index 0000000000000000000000000000000000000000..a5e4ae6eef6e25a8e74b405dfa232e2c7670b12e --- /dev/null +++ b/validation/doc_validator.py @@ -0,0 +1,141 @@ +""" +Uplan Document Validation Gate + +Flash-based upload validation: checks declared label vs. detected content +before any page enters the extraction pipeline. +Surfaces mismatch errors to UI immediately. +Includes exponential backoff retry for rate limits. +""" + +from __future__ import annotations + +import random +import time +from typing import Optional + +import fitz # PyMuPDF +from pydantic import BaseModel, Field + +from config import ( + FLASH_MODEL, + PAGE_DPI, + API_RETRY_ATTEMPTS, + API_RETRY_BASE_DELAY, + API_RETRY_MAX_DELAY, + client, +) +from google.genai import types + + +class ValidationResult(BaseModel): + """Structured output from the document validation check.""" + actual_type: str = Field(description="What type of document this actually is") + matches_expected: bool = Field(description="True if it matches the expected label") + confidence: float = Field(description="0.0-1.0 confidence in classification") + reason: str = Field(description="Why it matches or doesn't match") + + +VALIDATION_PROMPT = """You are a document classification expert for immigration visa applications. + +This document was uploaded as: "{expected_label}" + +Examine this page and determine: +1. What type of document is this actually? Use one of these categories: + bank_statement, payslip, tax_return, passport, sponsor_letter, + employment_letter, enrollment_letter, affidavit, unknown +2. Does it match the expected label "{expected_label}"? +3. How confident are you (0.0-1.0)? +4. Brief reason for your classification. + +Be strict: a bank statement is NOT a payslip, a passport is NOT an employment letter. +But allow reasonable equivalences: "bank statement" matches "bank_statement", +"salary slip" matches "payslip", "admission letter" matches "enrollment_letter".""" + + +def validate_upload( + pdf_bytes: bytes, + expected_label: str, +) -> ValidationResult: + """ + Validate a single uploaded PDF against its expected document type. + Uses only the first page for speed -- classification is visible on page 1. + Retries with exponential backoff on rate limit errors. + + Args: + pdf_bytes: Raw PDF file bytes. + expected_label: What the user (or checklist) says this document is. + + Returns: + ValidationResult with match status and reason. + """ + doc = fitz.open(stream=pdf_bytes, filetype="pdf") + # Only need first page for type classification + page = doc[0] + pix = page.get_pixmap(dpi=PAGE_DPI) + png_bytes = pix.tobytes("png") + doc.close() + + last_err = None + for attempt in range(API_RETRY_ATTEMPTS): + try: + response = client.models.generate_content( + model=FLASH_MODEL, + contents=[ + VALIDATION_PROMPT.format(expected_label=expected_label), + types.Part.from_bytes(data=png_bytes, mime_type="image/png"), + ], + config={ + "response_mime_type": "application/json", + "response_schema": ValidationResult, + }, + ) + return response.parsed + except Exception as e: + last_err = e + err_str = str(e) + is_rate_limit = "429" in err_str or "RESOURCE_EXHAUSTED" in err_str + + if is_rate_limit and attempt < API_RETRY_ATTEMPTS - 1: + delay = min( + API_RETRY_BASE_DELAY * (2 ** attempt) + random.uniform(0, 1), + API_RETRY_MAX_DELAY, + ) + print(f" [WAIT] Validation: rate limited, retry in {delay:.0f}s (attempt {attempt + 1}/{API_RETRY_ATTEMPTS})") + time.sleep(delay) + elif not is_rate_limit: + break + + # Fail open for validation -- don't block the pipeline on classification errors + return ValidationResult( + actual_type="unknown", + matches_expected=True, # Fail open + confidence=0.0, + reason=f"Validation failed: {last_err}", + ) + + +def validate_all_uploads( + uploads: list[dict], +) -> list[dict]: + """ + Validate a batch of uploads against their expected labels. + Runs sequentially to respect rate limits. + + Args: + uploads: List of {"label": str, "pdf_bytes": bytes} + + Returns: + List of {"label": str, "validation": ValidationResult, "accepted": bool} + """ + results = [] + for i, upload in enumerate(uploads): + if i > 0: + # Small delay between validation calls + time.sleep(2.0) + result = validate_upload(upload["pdf_bytes"], upload["label"]) + results.append({ + "label": upload["label"], + "validation": result, + "accepted": result.matches_expected or result.confidence < 0.5, + }) + return results