Skip to content

CRM Entity Type Enumerations

These enumerations define the CRM entity types used in Bitrix24.

They help identify various entities in the CRM system (leads, deals, contacts, and others).

EnumCrmEntityType

ts
import { EnumCrmEntityTypeId } from '@bitrix24/b24jssdk'

console.log(EnumCrmEntityTypeId.deal)

EnumCrmEntityType represents string identifiers for CRM entity types:

KeyValueDescription
undefinedUNDEFINEDUndefined type
leadCRM_LEADLead
dealCRM_DEALDeal
contactCRM_CONTACTContact
companyCRM_COMPANYCompany
oldInvoiceCRM_INVOICEOld version of invoice
invoiceCRM_SMART_INVOICEInvoice
quoteCRM_QUOTECommercial proposal
requisiteCRM_REQUISITERequisite

EnumCrmEntityTypeId

ts
import { EnumCrmEntityTypeId } from '@bitrix24/b24jssdk'

console.log(EnumCrmEntityTypeId.deal)

EnumCrmEntityTypeId represents numerical identifiers for CRM entity types:

KeyValueDescription
undefined0Undefined type
lead1Lead
deal2Deal
contact3Contact
company4Company
oldInvoice5Old version of invoice
invoice31Invoice
quote7Commercial proposal
requisite8Requisite

These enumerations can be used to work with different types of entities in Bitrix24 CRM, providing a convenient way to identify and process them.

TIP

You can test working with EnumCrmEntityTypeId in this example.

Released under the MIT License.