1. Home
  2. Getting Started
  3. Learn the Basics
  4. Using Client & Matter Auto Numbering

Using Client & Matter Auto Numbering


Matter auto numbering enables you to generate formatted sequence number which can be used to identify Clients or Matter/Cases to keep things organized in your firm.

CosmoLex comes with a couple of predefined auto numbering schemes and new accounts already have an applied default scheme. If you want to generate your own custom formatted sequence follow this article.

Create your own Client # Scheme

In order to have the software automatically assign a number to a Client for tracking purposes, follow these steps. Note that this scheme will only create numbers for clients, not other parties listed in your Address Book.

First, go to Set Up > Firm Settings > Firm Preferences.

Scroll down to the Auto Numbering section. There will be a tools there to create auto generation for both Clients and Matter/Cases.

Check the box next to Auto Generate Client Id (Custom)

The Apply Auto Numbering screen with then open

If the box next to Auto Generate Client Id is already checked, then scroll to the right and click on the View Scheme icon to open the Apply Auto Numbering screen.

There you will see a drop-down menu for Selected Template. That menu gives you three options – Custom, System Default and System Defined. Selecting Custom fill enable the tools to create your own client number sequencing under Select Values > Types.

When to select the drop-down menu next to Types, you will get three choices.

  • Sequence – This is the pattern the numerical scheme will follow. By default, the system will offer to do a four-character sequence, starting with “1” and to be increased in single digit increments. You can keep this sequence or hit the “X” next to the suggested sequence. From there, you can create your own sequencing.
  • Separator – You can choose either a dot or a dash symbol to separate the sequencing order from additional text you may want to include in the scheme.
  • Text (max of 4 characters) – You can enter a set of fixed numbers as part of the scheme, such as the current year.

After you have created your Client ID# scheme, you can choose to apply it to current clients in the software by clicking on the box next to “Apply this scheme to existing Contacts.”

Once you are finished creating your sequencing scheme, click the orange Apply button. This will take you back out to the Firm Preferences screen, where you must click the orange Save button at the top right side of the screen to finalize your scheme.

Create your own Matter File# Scheme

The Key to any Matter is the Client it belongs to. Most of the time when generating a new sequence for a Matter, you may want to include Client Identifier followed by some sequence. 

For the purpose of this article, let’s create a scheme which can generate Matter File# like

[Client number]-[Current Year]-[Matter Sequence]

  • [Client number] is my client sequence number. I would like to start with ‘1’ but would like to be padded by 3 zero’s so that it has minimum of 4 characters

  • [Current Year] is the Year I am creating the matter

  • [Matter Sequence] is the matter sequence, similar to client sequence but I need minimum of 3 characters

For example, using the above format my first Matter File# should look like 0001-2018-001

Define Custom Scheme

In order to define a custom scheme for matter, go to Setup > Firm Settings > Firm Preferences > scroll to auto numbering section


In the auto-numbering section, click the  icon. The following screen will show:

In this screen, select ‘Custom’ from the Selected Template drop-down list.

You will now see a new section to select ‘Types’ to be used in the scheme.


  • Client ID: You can choose to add the client ID#.

  • Sequence: Choose a number to start with. Then choose how many increments you want the number to go by. For example, if you start with 1, and the increments is 1, it will be increments of 1,2,3, etc. The increments go up to 10. The Min Length is how many characters in length. For example, if you choose 4, it will be in the construct of  0000. The min length goes up to 10. Once you have created your sequence, click the icon to add the sequence in the window.

  • Separator: You can choose to either have a dash or . for the separator.

  • Text(max of 4 characters): You can choose to have letters in the auto-numbering scheme you create. Once you have entered the text, click the icon.

  • Year: This is Current Year in [YYYY] format like 2018

  • Month: This is Current Month in [MM] format line 05 for May, 08 for August etc.

In the types field, choose client ID


Choose the dash separator


Choose Year


Choose the dash separator


Create a sequence of 1,1,3. Choose 1 for Start, 1 for Increment, and min length choose 3. When done, Click the  icon to add the sequence to the schema.


Per client based matter sequence Number

Use this option when you want to have unique matter sequence for each distinct client. This is useful for clearly identifying multiple matters for each client. 

An Example of this:

Will Hall – Consultation: GR-04-2018-006

Will Hall – Contact: GR-04-2018-007

Will Hall – Estate Planning: GR-04-2018-008

Global Firm Level Matter Sequence Number:  

Use this option when you want firm wide unique matter sequence and do not want matter sequence to be dependent on the client.

An Example of this:

Jason Anderson – Will: GR-04-2018-001

Ashley Jones – Consultation: GR-04-2018-002

Wilton Gordon – Estate Planning: GR-04-2018-003

  • Once done, your matter file# scheme should look like this:


When ready, click Apply

Updated on August 30, 2019

Was this article helpful?

Related Articles

Contact Our Support Team
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Submit a Ticket