Just a quick technicality note: they would have it on their books as both an asset and a liability. The cash they received would be the asset, and the money owed back as a liability.
Have to keep "assets = liabilities + equity" balanced!
Thanks, been a long time since accounting classes.