When cash is received, the cash account is debited. When cash is paid out, the cash account is credited. Cash, an asset, increased so it would be debited. Fixed assets would be credited because they decreased.