Skip to main content

Transform Help Center

How can I automatically assign a contract number to contracts?

billwerk offers the possibility to add an own contract number in the form of an external ID to contracts continuously and automatically. This means that the contract reference number does not necessarily have to be used as the contract number.

Enter a name for the sequence. Then select the type "Contract" under "Type" and, if desired, activate the checkbox "Apply for new contracts" to activate the automatic assignment of IDs for new contracts.


Via Prefix you can freely define what is to be output as ID before the counter position. In addition, you have the option to configure the year and/or month as prefix via the specified placeholders.

Via Digit Count you configure how many numbers at least the external ID consists of apart from the prefix and suffix. For example, if this is 4 and the counter is 123, the number will be formatted as '0123'. If the counter is greater than the number of digits specified here, the number will still be output in full.

Use Suffix to specify whether another alphanumeric value is to be appended to the ID after the counter digit. Here, too, you have the option of configuring the year and/or month as prefixes via the specified placeholders.

The IDs are added as External IDs and start with the next value you entered in the "Counter value" field. For example, if the counter value is "0", the next contract will have the ID "1", as shown in the screenshot:


The automatic assignment can be deactivated manually at any time. To do this, deactivate the "Apply for new contracts" checkbox.

Only one "Contract" number range can be active at a time.