by Mien Trung Software

Auto-generate invoice, quote and customer codes in SuiteCRM using templates with date, sequence and field placeholders, plus yearly or monthly resets.

Includes a 30 day guarantee
Try it Now

MTS Code Generator is a SuiteCRM add-on that automatically assigns formatted codes (such as INV-000001) to invoices, quotes, customers or any module's records, based on rules you configure, so codes are never typed manually or duplicated.

Automatically create various codes consistently and accurately in SuiteCRM

What's New in Version 2.0.0

MTS Code Generator for SuiteCRM – What's New in Version 2.0.0

Smart Format Templates — Generate codes the way your business works

Previous versions only supported a simple Prefix + Number format (e.g. INV-00001).
Version 2.0.0 introduces a Format Template Engine — just type a template string and the add-on fills in the date, sequence number, or even a field value from the record automatically.

Available placeholders:

Placeholder What it inserts Example
{YYYY} Full 4-digit year 2026
{YY} 2-digit year 26
{MM} Month (zero-padded) 05
{DD} Day (zero-padded) 18
{SEQ:N} Auto-incrementing number, padded to N digits 00001
{FIELD:name} Value pulled from any field on the record HN

Real-world examples:

Template Generated code Use case
INV-{YYYY}-{SEQ:5} INV-2026-00001 Yearly invoices
PO-{YYYY}{MM}-{SEQ:4} PO-202605-0001 Monthly purchase orders
TKT-{YYYY}{MM}{DD}-{SEQ:3} TKT-20260518-001 Daily support tickets
{FIELD:branch_code}-{YYYY}-{SEQ:5} HN-2026-00001 Multi-branch businesses

Auto-Reset Counter — Codes that restart when the period changes

Pick when the sequence counter resets — no manual intervention needed:

  • Never — one global counter that never resets (same as before)
  • Yearly — restarts at 1 on the first record of each new year
  • Monthly — restarts at 1 on the first record of each new month
  • Daily — restarts at 1 on the first record of each new day

100% Backward Compatible

Already using this add-on? No action required.
Your existing Prefix + Number configurations continue working exactly as before.
Switch to template mode at any time by editing a configuration record.


Version 2.0.0 — Released May 2026


During your workday, you often see and hear terms such as profile code, customer code, quotation code, invoice code, etc. These codes are not just random numbers; they are usually formatted with a certain naming convention. For example, an invoice code could be set to INV-000001 with all future invoices following the correct formatting in sequential order.

The issue for SuiteCRM users is that 1) you must enter these types of codes manually, and 2) there is not a duplicate checker to ensure the codes are accurate. MTS Code Generator was created to help you create codes automatically according to the rules you set, so you do not have to worry about mistakes or causing any confusion.

How it Works

After installation, be sure to validate your license key in the admin page of your SuiteCRM. Then, in MTS Code Generator, configure the add-on by entering your preferred prefix code and initial code number as shown in the screenshot below.

MTS Code Generator for SuiteCRM – How it Works

Next, go to the module that has been configured and try to create a new record to verify your set up. In case you have pre-existing records and you want to generate codes for them too, you can use the'Force re-generate code feature to generate code for old records.

MTS Code Generator for SuiteCRM – How it Works (2)

Here is the result:

MTS Code Generator for SuiteCRM – How it Works (3)

FAQ

What does MTS Code Generator do?

It generates a code automatically when a record is created in a configured module, following your format, for example INV-000001 for invoices.

Can codes include dates or field values?

Yes. Since version 2.0.0, a format template can combine the date, a sequence number and field values from the record.

Can the counter restart each year or month?

Yes. The sequence can reset never, yearly, monthly or daily.

Can I generate codes for existing records?

Yes. Use the Force re-generate code feature to create codes for records that existed before installation.

Do existing configurations still work after upgrading to 2.0.0?

Yes. Version 2.0.0 is fully backward compatible; existing Prefix + Number configurations keep working.

Watch Demo Video

Our SuiteCRM Plugins Now Support SuiteCRM 8

All plugins developed by our team are now fully compatible with SuiteCRM 8.
If you are upgrading to SuiteCRM 8, you can continue using these extensions without any compatibility issues.

Productivity and Visualization

Developer and Admin Tools

Business and Finance

Automation and Integrations

AI and Collaboration

Utilities

Checkout more maybe necessary SuiteCRM Addon for you

View Pricing
Backed by our Tried & Tested, 30-Day Money Back Guarantee.