Setting up autofill of details by TIN in Bitrix24 CRM

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1175
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    811
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    747
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    655
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

Setup of Auto-Fill of Requisites by INN in CRM Bitrix24

Manager receives INN from client and manually searches for full name, KPP, OGRN, legal address — copies from EGRUL, pastes into CRM card. Four minutes per company, plus risk of typo in KPP or address that resurfaces at invoice issuance. Auto-fill solves both problems: enter INN — rest of requisites are pulled from official registry.

How It Works Technically

Bitrix24 uses DaData service for requisite suggestions. Mechanism: when entering value in INN field (or company name beginning) CRM frontend sends request to suggestions API. DaData returns JSON with full set of requisites from EGRUL/EGRIP:

  • Full and short name of legal entity
  • INN, KPP, OGRN (OGRNIP for self-employed)
  • Legal address (structured: postal code, region, city, street, building)
  • Manager name and position
  • Registration date
  • Taxation system (if available)
  • OKVED codes

To CRM card data goes to "Requisites" block — this is standard B24 entity with its own table (b_crm_requisite on-premise). Each requisite bound to company or contact. Address stored separately in b_crm_addr.

Configuration in Cloud B24

In cloud tiers auto-fill works out of the box. Setup is minimal:

  1. CRM → Settings → Requisites of My Company — ensure requisite template contains needed fields (INN, KPP, OGRN, address). Standard "Organization" template includes them.
  2. Company Card → Requisites → Add — when entering INN or name suggestions appear. Select needed — all fields fill automatically.
  3. Own DaData API-key — if built-in limit isn't enough (depends on B24 plan), connect own DaData account in integration settings.

Configuration in On-Premise Version

In on-premise auto-fill requires installing current version of crm module and setting up connection with DaData:

  • Config file: .settings.php or admin panel Settings → Product Settings → Module Settings → CRM
  • Parameter ~dadata_api_key — API key
  • Parameter ~dadata_secret — secret key (for standardization)

What's Auto-Filled

Field in CRM Source in DaData Note
Company name value, data.name.full_with_opf Full with Legal Form
INN data.inn
KPP data.kpp Entities only
OGRN / OGRNIP data.ogrn
Legal address data.address.value One line
Postal code data.address.data.postal_code
Manager data.management.name Full name

What We Configure

  • Activation of INN suggestions in company and contact card
  • Connection of own DaData API-key (if needed)
  • Verification of field mapping: DaData fields to CRM requisite fields
  • Configuration of requisite template with needed field set
  • Testing: auto-fill for legal entity, self-employed, non-existent INN