Are you sure you posted the invoice batches?
Did you run Data Integrity Check, and if so is it clean?
What versions are you using?
There is absolutely no way a clean set of AR data won't show a posted transaction with an outstanding balance, no matter how many times you perform period end or year end.
Steve Schwartz