The definition of the field that shows the balance owed is the key to finding the problem.
OS ver? FMP ver? When did it last work? What changed?
Repeating fields are often a poor design decision. Related tables with portals is the common solution to invoices and other processes.
LINKS ABOUT REPEATING FIELDS on the internets
Google for "repeating fields site:forums.filemaker.com" on these forums