[
  {
    "task_id": "36dc6242-7a47-468b-84b5-436268cd9eeb",
    "original_file": "north-grove-september-2026-statement.pdf",
    "total_documents_extracted": 1,
    "documents": [
      {
        "document_id": "36dc6242-7a47-468b-84b5-436268cd9eeb",
        "file_name": "north-grove-september-2026-statement.pdf",
        "page_start": 1,
        "page_end": 1,
        "template_id": "8272a3e0-418e-4ded-aa8e-d24512269115",
        "credits_used": 1,
        "extracted_data": {
          "table_part": [
            {
              "balance": "1185.72",
              "description": "City Market",
              "transaction_date": "2026-09-03",
              "transaction_amount": "-64.28",
              "transaction_category": "Groceries",
              "transaction_counterparty": "City Market"
            },
            {
              "balance": "4025.72",
              "description": "Northstar Payroll",
              "transaction_date": "2026-09-07",
              "transaction_amount": "2840.00",
              "transaction_category": "Income",
              "transaction_counterparty": "Northstar Payroll"
            },
            {
              "balance": "3993.72",
              "description": "Metro Transit",
              "transaction_date": "2026-09-12",
              "transaction_amount": "-32.00",
              "transaction_category": "Transportation",
              "transaction_counterparty": "Metro Transit"
            }
          ],
          "general_part": {
            "locale": "en-US",
            "currency": "USD",
            "doc_type": "Bank statement",
            "date_order": "YMD",
            "date_format": "YYYY-MM-DD",
            "account_type": "Checking",
            "account_holder": "Alex Rowan",
            "account_number": "\u2022\u2022\u2022\u2022 5629",
            "routing_number": null,
            "table_page_end": 1,
            "closing_balance": "3993.72",
            "opening_balance": "1250.00",
            "table_page_start": 1,
            "split_row_positions": [],
            "statement_period_end": "2026-09-30",
            "statement_period_start": "2026-09-01"
          },
          "validation_output": {
            "rules_results": [
              {
                "status": "passed",
                "details": {
                  "tolerance": "0.01",
                  "difference": "0.0",
                  "set_1_paths": ["general_part.closing_balance"],
                  "set_2_paths": ["general_part.opening_balance", "table_part.transaction_amount"],
                  "calculated_sum_1": "3993.72",
                  "calculated_sum_2": "3993.72",
                  "attempted_comparisons": [
                    {
                      "label": "primary",
                      "passed": true,
                      "tolerance": "0.01",
                      "difference": "0.0",
                      "set_1_paths": ["general_part.closing_balance"],
                      "set_2_paths": [
                        "general_part.opening_balance",
                        "table_part.transaction_amount"
                      ],
                      "calculated_sum_1": "3993.72",
                      "calculated_sum_2": "3993.72"
                    }
                  ]
                },
                "failures": [],
                "rule_name": "Verify Account Balance Calculation"
              }
            ],
            "overall_status": "passed"
          }
        }
      }
    ]
  }
]
