Editing the Cost Code Structure
Go to Setup > Cost Codes to add to and change your Cost Code structure so that it reflects your organisation’s activities.
All your Parent Codes and Cost Codes are on one page, in a single grid. Each Parent Code is listed with its Cost Codes beneath it. Click the arrow next to a Parent Code to show or hide its Cost Codes, or use Expand All and Collapse All to open or close every Parent Code at once.

Parent Codes are highlighted so they stand out from their Cost Codes. Receipts and Payments are colour-coded, so you can tell at a glance which side of the accounts you are working on.
You can make the following changes:
- Rename Parent Codes and Cost Codes
- Renumber Parent Codes and Cost Codes (this changes the display and report order). When you renumber a Parent Code, its Cost Codes move with it.
- Add new Parent Codes and Cost Codes
- Re-parent Cost Codes (move them to a different Parent Code).
- Reorder or move codes with drag and drop* (see below)
- Mark Receipts Cost Codes for Gift Aid
- Delete Parent Codes* (only if they have no Cost Codes under them)
- Delete Cost Codes* (only if they have no transactions recorded against them)
- Change the effective date range of Cost Codes, so you can have different structures in different financial years


Add New Parent or Cost Codes
Click the New Parent Code or New Cost Code button and complete the form.


Moving codes with drag and drop
To move a code, grab it by the drag handle at the start of its row:
- Drop a Cost Code onto a Parent Code to move it under that Parent. It takes the next free code number in that Parent’s range.
- Drop a Cost Code above or below another Cost Code to put it in that position. You can do this within the same Parent or under a different one.
- Drop a Parent Code above or below another Parent Code of the same type to move the whole group. The Parent takes the next free block of numbers (for example 4300), and all its Cost Codes are renumbered to match (4301, 4302โฆ).
Clubtreasurer asks you to confirm each move before it is saved, and briefly highlights the row that moved.

Changing Codes by Selecting a New Code
You can also change a Code by selecting it from the list of available Codes.

Filtering by usage: All, Used or Unused
Use the Cost Code Usage filter at the top of the table to choose which codes you see:
- All shows every code.
- Used shows codes that have transactions recorded against them, plus Parent Codes that have Cost Codes.
- Unused shows everything else: codes that could be deleted.
When you choose Used or Unused, every Parent Code opens automatically so you can see all the matching codes.

Deleting codes
To delete codes from the grid, select one or more rows and click Delete. Clubtreasurer checks the codes first:
- A Cost Code with transactions recorded against it cannot be deleted.
- A Parent Code cannot be deleted while it still has Cost Codes. Move or delete them first.
Before anything is deleted, a confirmation message reminds you that deleting a Cost Code also removes any links to it from your Membership accounting rules and Budgets. Check those after deleting a code that was in use there.

Gift Aid Cost Codes
Tick the Gift Aid box on any Receipts Cost Code that receives donations eligible for Gift Aid. The change is saved straight away. Receipts posted to these codes appear on the Gift Aid Report.
- A Parent Code’s Gift Aid tick is set automatically. It is ticked when any of its Cost Codes is ticked, and cleared when none are.
- Payments codes can’t be marked for Gift Aid.
For more about Gift Aid declarations and the report, see our Gift Aid guide.

Viewing the Cost Code Hierarchy
Click Hierarchy to see your whole Cost Code structure as a tree, with each code type in its own column. Receipts and Payments are shown by default. Tick Assets or Liabilities to add those columns. (Assets and Liabilities are system codes and cannot be edited).
- The tree opens with each Parent Code closed. Click a Parent Code’s arrow to see its Cost Codes, or use Expand All and Collapse All.
- Click a Receipts or Payments code to open it for editing. When you save, the tree and the grid both update.
- Codes outside the selected date range are shown with a crossed-out icon.

Cost Code Effective Date Range
Cost Codes can have an optional effective Date From and Date To. These control which Cost Codes can be selected when you create new Receipt and Payment transactions.
When you enter a Receipt or Payment, you can only select Cost Codes whose date range covers the Transaction Date. For example, if your Receipt’s Transaction Date is 01-Jan-2019, you will not be able to select Cost Codes whose:
- Date From is 02-Jan-2019 or later, or
- Date To is 31-Dec-2018 or earlier
If you leave Date From and Date To blank, the Cost Code can be selected for any Transaction Date.
๐ This is useful if your organisation needs to change its Cost Code structure when moving into a new financial year without changing prior-year transactions. Remember, to protect your prior-year accounts you cannot delete a Cost Code, and changing a Parent will also adjust prior-year transactions charged to it and so may not be desirable.
So what if you want to move your “Membership Fees” Cost Code to a different Parent Code in your new financial year, say from “Sales” to “Other Income”? Using the Effective Dates you would:
- Set the existing “Membership Fees” Cost Code’s Date To to the last day of your previous financial year, so that it can’t be selected in the new year.
- Create a new “Membership Fees” Cost Code under the “Other Income” Parent Code, and set its Date From to the first day of your new financial year.
On the Cost Codes page, use the date range buttons to view all Cost Codes or only those for a particular financial year.

