How to Query the Month or Date an Invoice was paid in full.

Hi,

Maybe anyone has a good approach for this...

I want to query the Sage 100 AR Tables to list me the Invoice with the month (or date) the Open Balance became "0" or went negative. 

Thanks for your help!

Best,

Bastian