The requirement is not just that the totals match but that any general-ledger balance can be drilled back to the transaction lines that produced it. That drill-back is what makes an audit routine instead of an investigation.
It is also what makes restatement survivable: if the accrual knows which lines created it, a correction to those lines flows through automatically rather than requiring a manual unwind.