Now that we have covered the basic ideas behind the various transactions you must make to successfully track your credit card in GnuCash, let's go through an example. In this example, we will make credit card purchases, make a partial payment to the credit card, get charged interest on the unpaid balance, and finally make a complete payoff of the credit card.
Start with an account layout similar to that described earlier in this chapter, shown here as it would appear in GnuCash. Notice that we are starting with $10000 in the bank and a balance of $1000 on the credit card.
Let's make some purchases. Start by buying $25 worth of food from the Greasy Spoon Cafe, $100 worth of clothing from Faux Pas Fashions, $25 worth of gasoline from Premium Gasoline, $125 worth of groceries and household items from Groceries R Us (split between $85 in groceries and $40 in household items) and finally, $60 worth of household items from CheapMart. The register window for the credit card liability should look like this:
Now suppose that on February 27th you return the clothes you bought on February 3rd from Faux Pas Fashions and they give you credit back on your credit card. Enter a transaction for the credit card refund for the full $100 amount. Remember to use the same transfer account you used for the original purchase, and enter the amount under the Payment column. GnuCash will automatically complete the name and transfer account for you, but it will also automatically enter the $100 in the Charge column. You will need to reenter the amount in the Payment column. The transaction looks like this:
After the month of spending, unfortunately, the credit card bill arrives in the mail or you access it on-line through the internet. You have been charged $20 in interest on the last day of February because of the balance you carried from the previous month. This gets entered into the credit card account as an expense.
When your credit card bill arrives you should reconcile your credit card account to this document. This is done using GnuCash's built-in reconciliation application. Highlight the credit card account and click on Actions -> Reconcile.... This reconciliation procedure is described in detail in the "Transactions" chapter, but we will step through the process here as well. For this example, let's assume that the credit card statement is dated February 1st, with a final balance of $955. Enter these values in to the initial Reconcile window as shown here.
During the reconciliation process, you check off each transaction in the account as you confirm that the transaction appears in both your GnuCash account and the credit card statement. For this example, as shown in the figure below, there is a $300 difference between your GnuCash accounts and the credit card statement.
Some investigation uncovers that you forgot to record a payment you made to the credit card company for $300 received on February 5th, you must enter this payment transaction from your bank account to the credit card. Now the credit card statement and your GnuCash account are reconciled, with a balance of $955.
Assuming you have completed reconciliation of your credit card account, you need to make a payment to the credit card company. In this example, we owe $955 but will make a partial payment of $300 again this month. To do so, enter a transaction from your bank account to the credit card account for $300, which should reduce your credit card balance to $655. Your credit card account register should now appear like this:
Your main GnuCash main window should now appear like this: