{
  "run_id": "2026-11-02-weekly-bank-rec",
  "routine": "weekly-bank-reconciliation-draft",
  "status": "draft",
  "period": "2026-10",
  "actions_taken": [
    {"type": "read_ledger", "target": "ERP connector (read-only)"},
    {"type": "read_file", "target": "finance-close/inputs/bank/2026-10-31-main-account.csv"},
    {"type": "open_pull_request", "target": "claude/bank-rec-2026-10"}
  ],
  "reconciliations": [
    {
      "account": "572000 Main bank (fictitious)",
      "as_of": "2026-10-31",
      "bank_balance": "48210.55",
      "ledger_balance": "47890.15",
      "reconciling_items": [
        {"description": "Customer receipt on 31/10 not yet in ledger", "amount": "1250.00", "evidence": "statement line 2026-10-31 #118"},
        {"description": "Supplier cheque issued, not yet cleared", "amount": "-894.20", "evidence": "ledger entry 2026-10-29 PAY-2231"},
        {"description": "Bank fee not booked", "amount": "-35.40", "evidence": "statement line 2026-10-30 #112"}
      ],
      "unexplained_difference": "0.00"
    }
  ],
  "journal_entries": [
    {
      "id": "JE-DRAFT-001",
      "preparer": "claude-routine",
      "evidence": ["statement line 2026-10-30 #112"],
      "rationale": "October bank fee shown on the statement and missing in the ledger.",
      "lines": [
        {"account": "626000", "debit": "35.40"},
        {"account": "572000", "credit": "35.40"}
      ]
    },
    {
      "id": "JE-DRAFT-002",
      "preparer": "claude-routine",
      "proposed_approver": "m.lopez",
      "evidence": ["statement line 2026-10-31 #118", "invoice F-2026-0412"],
      "rationale": "Customer receipt for invoice F-2026-0412 received on 31/10.",
      "lines": [
        {"account": "572000", "debit": "1250.00"},
        {"account": "430000", "credit": "1250.00"}
      ]
    }
  ],
  "open_questions": []
}
