In Accounting, there are two types. There is Cash Basis
Accounting and Accrual Basis Accounting. With Cash Basis,
transactions are considered to have happened when cash is
exchanged, ie. a cash sale or cash payment. In the Accrual Basis,
transactions are considered when the event happens. For example, a
sale happens when an invoice is given. A debt happens when a bill
is received.