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
- Determine the CRM object type
ENTITY_TYPE_ID - Retrieve the object identifier
ENTITY_ID - Find the customer's Company details using the crm.requisite.list method
- Find the banking details using the crm.requisite.bankdetail.list method
- Register a link using the crm.requisite.link.register method
- Verify the link using the crm.requisite.link.get or crm.requisite.link.list method
Link Identifiers
ENTITY_TYPE_ID— the CRM object type for which Company details are being selected. Values can be retrieved using the crm.enum.ownertype methodENTITY_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.listREQUISITE_IDandMC_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 methodBANK_DETAIL_IDandMC_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
Fields of the Link Between Requisite and CRM Object
Required fields are marked with *.
|
Name |
Description |
|
ENTITY_TYPE_ID* |
Identifier of the object type to which the link belongs. The following types can be used:
Object type identifiers can be obtained using the method crm.enum.ownertype |
|
ENTITY_ID* |
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* |
Identifier of the client's details selected for the object. Details identifiers can be obtained using the crm.requisite.list method |
|
BANK_DETAIL_ID* |
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* |
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* |
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:
crmWho can execute the methods: depending on the method — access permissions are checked against the CRM object the requisites are linked to
|
Method |
Description |
|
Registers the connection of requisites with an entity |
|
|
Returns the connection of requisites with an entity |
|
|
Returns a list of requisites connections by filter |
|
|
Deletes the connection of requisites with an entity |
|
|
Returns the formal description of fields for requisites connections |