Linking Company Details to CRM Objects: Methods Overview

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.

Links maintain the correspondence between a CRM object and the Company details used in the context of that object.

For example, there is an invoice. To print it, the Company details of the selling company (my company) and the buying company (the customer) are required. Since a company may have multiple sets of Company details, it is unclear which ones to use for printing the invoice. This is where a link is needed to specify the required Company details.

The fields REQUISITE_ID and BANK_DETAIL_ID store the identifiers of the Company details and banking details, respectively, used for the buying company. The fields MC_REQUISITE_ID and MC_BANK_DETAIL_ID store similar identifiers for the selling company.

If any identifier has a value of 0, it is considered unselected. The Company details of the selling company or the banking details may not be selected.

Quick navigation: All Methods

User documentation: How to use your company's Company details

Getting Started

  1. Determine the CRM object type ENTITY_TYPE_ID
  2. Retrieve the object identifier ENTITY_ID
  3. Find the customer's Company details using the crm.requisite.list method
  4. Find the banking details using the crm.requisite.bankdetail.list method
  5. Register a link using the crm.requisite.link.register method
  6. Verify the link using the crm.requisite.link.get or crm.requisite.link.list method
  • ENTITY_TYPE_ID — the CRM object type for which Company details are being selected. Values can be retrieved using the crm.enum.ownertype method
  • ENTITY_ID — the CRM object identifier. For deals, this is returned by crm.deal.list; for estimates, by crm.quote.list; and for new invoices and dynamic objects, by crm.item.list
  • REQUISITE_ID and MC_REQUISITE_ID — the identifiers of the customer's Company details and my company's Company details. These can be retrieved using the crm.requisite.list method
  • BANK_DETAIL_ID and MC_BANK_DETAIL_ID — the identifiers of the customer's banking details and my company's banking details. These can be retrieved using the crm.requisite.bankdetail.list method

Required fields are marked with *.

Name
type

Description

ENTITY_TYPE_ID*
integer

Identifier of the object type to which the link belongs.

The following types can be used:

  • deal (value 2)
  • old invoice (value 5)
  • estimate (value 7)
  • new invoice (value 31)
  • other dynamic objects (to get possible values, see the method crm.type.list).

Object type identifiers can be obtained using the method crm.enum.ownertype

ENTITY_ID*
integer

Identifier of the object to which the link refers.

Object identifiers can be obtained using the following methods: crm.deal.list, crm.quote.list, crm.item.list

REQUISITE_ID*
integer

Identifier of the client's details selected for the object.

Details identifiers can be obtained using the crm.requisite.list method

BANK_DETAIL_ID*
integer

Identifier of the client's bank requisite selected for the object.

Bank requisite identifiers can be obtained using the method crm.requisite.bankdetail.list

MC_REQUISITE_ID*
integer

Identifier of my company's details selected for the object.

Details identifiers can be obtained using the crm.requisite.list method

MC_BANK_DETAIL_ID*
integer

Identifier of my company's bank details selected for the object.

Bank details identifiers can be obtained using the crm.requisite.bankdetail.list method

Overview of Methods

Scope: crm

Who can execute the methods: depending on the method — access permissions are checked against the CRM object the requisites are linked to

Method

Description

crm.requisite.link.register

Registers the connection of requisites with an entity

crm.requisite.link.get

Returns the connection of requisites with an entity

crm.requisite.link.list

Returns a list of requisites connections by filter

crm.requisite.link.unregister

Deletes the connection of requisites with an entity

crm.requisite.link.fields

Returns the formal description of fields for requisites connections