I had something similar a couple of weeks ago. The AP aging had 5 invoices that didn't appear on the AP trial balance. the issue was some strange control characters in the invoice number in the immediately preceding records to those missing in AR_TransactionPaymentHistory.
------------------------------
Doug Higgs
Midwest Commerce Solutions, Inc
(312) 315-0960
Chauffeur, Chef, and Personal Assistant to Sprinkles
------------------------------