A reconciliation has a statement period and an ending balance. Each included statement line must have a supported match or adjustment. Then the opening balance plus included statement movements must equal the statement ending balance. A matching grand total can't compensate for unmatched individual lines.
The local model checks those line relationships and prevents the same bank entry from being matched twice. It keeps reconciliations dated in order and marks their included lines reconciled. It doesn't model outstanding-check timing reports or reconstruct every bank-ledger balance at an old date. Use the explicit statement scope in the task. Excluding an unrelated later line is valid when it belongs to a different statement; excluding a real in-period item merely to force balance isn't.