CRM Field Length Limits
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
Length limits are important when creating and updating CRM objects. If a value is longer than allowed, the method can return a validation error or retain a value truncated to the limit. The behavior depends on the specific field and the validation level: validator, ORM, or database constraint.
The tables show the maximum length of standard fields for main CRM objects: leads, deals, contacts, companies, estimates, invoices, Smart Processes, activities, addresses, requisites, bank details, product items, UTM fields, and multiple fields. Maximum length is measured in characters unless another unit is specified.
How to Read the Tables
Tables and field settings can contain different types of limits:
- for string fields, the value in the table means the maximum number of characters
- for fields of type
file, user text length does not apply: the field receives a file or a file identifier - for fields of type
text,mediumText, andlongText, a separate character limit is not returned. The actual volume is limited by the storage type and general request limits - for fields of type
integer,double,date,datetime,crm_status,crm,boolean, the limit is checked as value correctness, not as string length: a number, date, object identifier, status code, or flag - for custom fields, the limit depends on the field type and the settings of the specific field
To find the required limit:
- for custom fields, see How to Get CRM Custom Field Limits
- for lead, deal, contact, company, estimate, invoice, and Smart Process fields, see Universal CRM Method Field Limits
- for UTM fields, multiple fields, product items, activities, addresses, requisites, and bank details, see Related CRM Data Limits
How to Get CRM Custom Field Limits
Custom fields do not have a single common limit. The limit depends on the field type and its settings.
|
Custom Field Type |
Where to Find the Limit |
|
|
The |
|
|
The |
|
|
The |
|
|
The limit is checked as value correctness, not as string length: list option, flag, date, object identifier, or status code |
You can retrieve custom field settings using these methods:
- userfieldconfig.list — for custom fields of universal CRM objects
crm.*.userfield.list— for custom fields of specific CRM objects, for example crm.lead.userfield.list, crm.deal.userfield.list, crm.contact.userfield.list, crm.company.userfield.list- crm.userfield.settings.fields — to find out which settings are supported by the custom field type
Universal CRM Method Field Limits
The crm.item.* methods manage CRM objects: leads, deals, contacts, companies, invoices, estimates, and Smart Process items. To select the object type, pass the entityTypeId identifier.
Lead
Lead fields are returned by the crm.item.fields method with entityTypeId = 1.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
128 |
|
|
50 |
|
|
3 |
|
|
1 |
Deal
Deal fields are returned by the crm.item.fields method with entityTypeId = 2.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
100 |
|
|
50 |
|
|
3 |
|
|
1 |
Contact
Contact fields are returned by the crm.item.fields method with entityTypeId = 3.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
128 |
|
|
50 |
|
|
10 |
|
|
1 |
The photo field refers to files: the value 10 describes the length of the file identifier in storage, not the number of characters in user text.
Company
Company fields are returned by the crm.item.fields method with entityTypeId = 4.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
50 |
|
|
10 |
|
|
1 |
The logo field refers to files: the value 10 describes the length of the file identifier in storage, not the number of characters in user text.
Estimate
Estimate fields are returned by the crm.item.fields method with entityTypeId = 7.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
100 |
|
|
50 |
|
|
1 |
Invoices
Invoice fields are returned by the crm.item.fields method with entityTypeId = 31.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
100 |
|
|
50 |
|
|
1 |
The comments field has the text type, so a separate character limit is not returned for it.
Smart Processes
Smart Process fields are returned by the crm.item.fields method with the Smart Process entityTypeId. The set of standard fields depends on the type settings.
|
Fields |
Maximum Length, Characters |
|
|
255 |
|
|
50 |
|
|
1 |
Check Smart Process fields created by users through the custom field settings. No separate length limit is set for the xmlId field.
Related CRM Data Limits
UTM Fields
The utmSource, utmMedium, utmCampaign, utmContent, and utmTerm UTM fields are available in leads, deals, contacts, companies, estimates, invoices, and Smart Processes.
|
Fields |
Maximum Length, Characters |
|
Value of each UTM field |
600 |
Multiple Fields
Multiple fields for phones, email addresses, websites, messengers, and links are described by the crm_multifield type.
|
Fields |
Maximum Length, Characters |
|
|
250 |
|
|
100 |
|
|
50 |
|
|
16 |
Product Items
Product items are used in the crm.item.productrow.* methods.
|
Fields |
Maximum Length, Characters |
|
|
256 |
|
|
255 |
|
|
50 |
|
|
20 |
|
|
1 |
Activities
Activity fields are returned by the crm.activity.fields method.
|
Fields |
Maximum Length, Characters |
|
|
512 |
|
|
256 |
|
|
255 |
|
|
100 |
|
|
64 |
|
|
3 |
|
|
1 |
Addresses
Address fields are returned by the crm.address.fields method.
|
Fields |
Maximum Length, Characters |
|
|
1024 |
|
|
128 |
|
|
100 |
|
|
16 |
Requisites
Requisite fields are returned by the crm.requisite.fields method.
|
Fields |
Maximum Length, Characters |
|
|
300 |
|
|
255 |
|
|
150 |
|
|
128 |
|
|
80 |
|
|
50 |
|
|
45 |
|
|
30 |
|
|
25 |
|
|
20 |
|
|
15 |
|
|
13 |
|
|
12 |
|
|
11 |
|
|
10 |
|
|
9 |
|
|
2 |
|
|
1 |
Bank Details
Bank detail fields are returned by the crm.requisite.bankdetail.fields method.
|
Fields |
Maximum Length, Characters |
|
|
500 |
|
|
255 |
|
|
150 |
|
|
100 |
|
|
50 |
|
|
45 |
|
|
34 |
|
|
20 |
|
|
11 |
|
|
9 |
|
|
6 |
|
|
5 |
|
|
2 |
|
|
1 |