The whole of financial accounting (i.e. recording of transactions) is based on the accounting equation. The following is the accounting equation:

Capital + Liabilities = Assets

Piketty and Rognlie Forgot About Money - The Root Bug : The Root Bug

image source: rootbug.org/ftrb/graph10.jpg

Or, Assets – Liabilities = Capital

Accounting equation shows the sources of funds and its application.

Loss affects both the sides of the accounting equation. It reduces the capital in one side of the accounting equation and in the other side, it reduces assets, i.e., Cash.