Accounting and Bookkeeping: Dealing with contracts