4.7. Putting It All Together

In the previous sections of this chapter the concepts and mechanics of working with transactions in GnuCash has been discussed. This section will expand upon the chart of accounts initially built in the previous chapter, by setting some opening balances, adding transactions and a scheduled transaction.

4.7.1. Open GnuCash file

Start with opening the previous datafile we stored, gcashdata_3emptyAccts, and store it as gcashdata_4 directly. The main window should look something like this:

Starting point for Putting It All Together

This image shows the starting point for this section.

4.7.2. Opening Balances

As shown earlier with the Assets:Checking account, the starting balances in an account are typically assigned to a special account called Equity:Opening Balance. To start filling in this chart of account, begin by setting the starting balances for the accounts. Assume that there is $1000 in the savings account and $500 charged on the credit card.

  1. Open the Assets:Savings account register. Select View from the menu and check to make sure you are in Basic Ledger style. You will view your transactions in the other modes later, but for now let's enter a basic transaction using the basic default style.

  2. From the Asset:Savings account register window, enter a basic 2 account transaction to set your starting balance to $1000, transferred from Equity:Opening Balance. Remember, basic transactions transfer money from a source account to a destination account. Record the transaction (press the 'enter' key, or click on the 'enter' icon).

  3. From the Assets:Checking account register window, enter a basic 2 account transaction to set your starting balance to $1000, transferred from Equity:Opening Balance.

  4. From the Liabilities:Visa account register window, enter a basic 2 account transaction to set your starting balance to $500, transferred from Equity:Opening Balance. This is done by entering the $500 as a "charge" in the Visa account (or "decrease" in the Opening Balance account), since it is money you borrowed. Record the transaction (press the 'enter' key, or click on the 'enter' icon).

You should now have 3 accounts with opening balances set. Assets:Checking, Assets:Savings, and Liabilities:Visa.

Chart accounts after setting opening balance

This image shows the opening balances.

4.7.3. Additional Transaction Examples

Now add some more transactions to simulate a month's expenses. During the month, $78 is spent on electricity, $45 on phone, and $350 on rent. All paid by check.We also spend $45.21 on groceries, receive $670 as salary, and paids our Internet bill this month, Finally, let's move $100 from the savings account to the checking account.

  1. Open the Expenses:Electricity account register and enter a simple 2 account transaction to pay the $78 electrical bill at the end of the current month (eg: March 28, 2006). Enter a description (eg: Light Company) and the check number (eg: 102). The Transfer account should be Assets:Checking.

  2. Open the Assets:Checking account register and enter a simple 2 account transaction to pay the $45 phone bill at the end of the current month (eg: March 28, 2006). Enter a description (eg: Phone Company Name) and the check number (eg: 103). The Transfer account should be Expenses:Phone. Notice that you can enter expense transactions from either the credit side (the expense accounts) or the debit side (the asset account).

  3. Open the Expenses:Rent account register and enter a simple 2 account transaction to pay the $350 in rent at the end of the current month (eg: March 28, 2006). Enter a description (eg: April Rent) and the check number (eg: 104). The Transfer account should be Assets:Checking.

  4. Duplicate this transaction using the Duplicate button in the tool bar. Start by clicking on the current rent transaction, and click on the Duplicate icon. Enter the transaction date a month out in the future (eg: April 28, 2006), and notice the blue line separator that GnuCash uses to separate future transactions from current ones. In this way, you can enter transactions before they occur.

    You could also set up a scheduled transaction to pay your rent, since the value of the rent is likely to be constant for the foreseeable future.

    • Start by clicking on the current (April 28) rent transaction, and click on the Schedule icon

    • Change to Monthly, change description if needed and press OK

  5. To transfer money from your savings account to your checking account, open the Assets:Savings account regischildsplay-alphabet-sounds-svter, add a new transaction setting the Transfer to Assets:Checking in the amount of $100 (date 6 March, 2006).

  6. As another example of a simple 2 account transaction, add another transaction to describe the purchase of $45.21 worth of groceries on 5 of March. From within the Assets:Checking account, you would set Transfer to Expenses:Groceries. The account register should now appear:

  7. To add a paycheck transaction from the Assets:Checking account register window, click on a new transaction line, and click on Split. First enter the description of this transaction on the first line (eg: "Employers R Us"), as well as the date (14 March). In the "split" line below this, enter the deposit into Assets:Checking (eg:$670) (This is due to a current bug, that demands the first line in a split is the actual account). Follow this with the various tax deposits (Assets:Checking (eg: $670), Expenses:Taxes:Federal (eg: $180), Expenses:Taxes:Medicare (eg: $90), and Expenses:Taxes:Social Security (eg: $60)) and lastly the gross total of your paycheck (eg: $1000) as a withdrawal transfer from Income:Salary.

  8. You also need to pay for your Internet subscription of 20 USD on the 28th.

Chart accounts after setting all the various
            transactions

This image shows the ending balances after 第4章.

4.7.4. Save file

Before we go to the report section, lets save the GnuCash data file (gcashdata_4).

4.7.5. Reports

But only having data available on the computer screen will not make your accountant happy, therefore GnuCash comes with a large number of highly customizable reports.

注意

More details on the reports will be in the Report chapter

Lets have a look at a Cash Flow, and a Transaction Report.

  1. First lets have a look at the Cash Flow report for the month of March.

    Select the cash flow report from Reports -> Income & Expense -> Cash Flow

    Cash Flow report for the month of March

    This image shows the Cash Flow report after 第4章.

    To get this customized report, right click in the report and choose Report Options. Then set the time period, and specify which accounts you want in the report

  2. Now lets have a look at corresponding transaction report for the Checking account.

    Select the transaction report from Reports -> Transaction Report

    Transaction Report for the Checking account during
                March

    This image shows the Transaction Report for the Checking account during March.

  3. Now lets change the transaction report to only show the various Expenses account.

    Transaction Report for the Expenses accounts during
                March

    This image shows the Transaction Report for the various Expense accounts during March.