Bitrix24 Integration with E-Signature Services

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.webp
    B2B ADVANCE company website development
    1356
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    943
  • 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
    693
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    828
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    731
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    1073

Installing CryptoPro CSP on every laptop, distributing tokens, chasing browser plug-in bugs after updates—every manager knows this pain. On average, a company spends 2-3 days signing a single document via courier, while cloud signing reduces it to 3-5 minutes. A typical company processes 50 to 200 documents per month—each requiring 2 to 4 hours of manual work. By switching to cloud signing, you can save $3,000 to $12,000 per month in labor costs alone. We offer a different path: cloud electronic signature services. They remove the dependency on a specific workplace and allow flexible signing flows with multiple participants, including counterparties. Savings on a single document reach 95%—from $2.50 per document traditionally to $0.10 with cloud signing. Order a turnkey integration in 2–3 weeks—contact us for a consultation.

Which e-signature service to choose for Bitrix24?

Service Signature Type API Best For
Kontur.Diadoc QES, UNS REST Legally binding EDI with Russian counterparties, roaming between operators
SBIS QES, UNS REST EDI + accounting, convenient for companies already in the Tensor ecosystem
CryptoPro DSS QES REST Cloud signing without local CSP—key stored on server
DocuSign AES, QES (eIDAS) REST International document flow, working with foreign partners

For formalized documents (UPI, invoices) with Russian counterparties—Diadoc or SBIS. For internal signing without tokens—CryptoPro DSS. For international contracts—DocuSign. Cloud signing via API is 3 times faster than traditional—no need to wait for a courier or scan papers.

How is Bitrix24 integration with e-signature services structured?

The overall scheme is the same for all services; only the API differs:

  1. The document is generated in Bitrix24 via the document generator (crm.documentgenerator).
  2. A handler extracts the file via Bitrix24 REST API and passes it to the e-signature service.
  3. The service starts the signing flow—notifies signers.
  4. Signers work in the e-signature service interface (or mobile app).
  5. A webhook from the service reports completion.
  6. The signed document + signature file are uploaded back to Bitrix24.

The connecting link is a server-side handler (webhook receiver). In a simple case—a PHP script on a hosting. For reliable operation under high load—a task queue via Redis or RabbitMQ with guaranteed delivery and retries on errors. According to our data, implementing integration reduces the overall deal closing cycle by 30–40%.

Integration with Kontur.Diadoc: full cycle

Diadoc is the largest EDI operator in Russia, and it's the one most often linked with Bitrix24. REST API is available at https://api.kontur.ru/diadoc/v1/. Let's examine the implementation in detail.

Authentication

Two-stage: first POST /Authenticate with login/password or certificate, then the obtained token is passed in the Authorization: DiadocAuth ddauth_api_client_id={client_id}, ddauth_token={token} header. The token lives for 1 hour. In middleware, we cache it and refresh automatically 5 minutes before expiration—otherwise requests will start failing with 401 in the middle of the workday.

Sending a document for signature

  1. Get the file from Bitrix24: crm.documentgenerator.document.get.
  2. Identify the organization box: GET /GetMyOrganizations.
  3. Find the counterparty in Diadoc: GET /GetCounteragent?myOrgId={id}&counteragentOrgId={id}.
  4. For formalized documents (UPI, act, invoice)—POST /GenerateTitleXml, Diadoc requires XML in Federal Tax Service format.
  5. Send: POST /PostMessage with the attached document and type.

For non-formalized documents (contracts, supplementary agreements) XML is not needed—the file is passed as is.

Tracking status

Diadoc supports two mechanisms:

  • Polling—GET /GetDocflowEvents?afterEventId={id}—get events after a given ID.
  • Webhook subscriptions—notifications when status changes via partner access.

In practice, Diadoc webhooks can be delayed by minutes under peak loads. A reliable scheme: webhook as a trigger for immediate check, polling every 5 minutes as a fallback. This way events are not lost and the API is not overloaded with unnecessary requests.

Retrieving the signed document

GET /GetMessage?boxId={boxId}&messageId={msgId}&entityId={entityId}

The response contains all versions of the document, signatures of each party, and timestamps. We extract the signed version and signature file (.sig), upload to Bitrix24 via disk.file.upload, and attach to the deal.

Rejection of signature

The counterparty can request clarification or reject the document. Diadoc forwards the event with a comment. The handler creates a task for the manager in Bitrix24 (tasks.task.add) with the rejection text and moves the deal back to the revision stage via crm.deal.update.

Signing flows with multiple participants

Real document flow is not a single signature. Typical scenarios:

Sequential signing: your side signs first, then the counterparty. Order is strictly fixed.

Parallel signing: both sides sign a reconciliation statement independently.

Signing with internal approval: before the manager signs, the document is approved by a lawyer and CFO. Approval uses UNS (Unqualified Electronic Signature), final signature uses QES. In a typical project, up to 5–7 approval stages are defined.

In service APIs, a flow is described by a set of steps with participants, action type, and order:

{
  "document_id": "doc-456",
  "workflow": [
    {"step": 1, "action": "approve", "participants": ["[email protected]"], "type": "sequential"},
    {"step": 2, "action": "sign", "participants": ["[email protected]"], "type": "sequential"},
    {"step": 3, "action": "sign", "participants": ["[email protected]"], "type": "sequential"}
  ]
}

What is stored in Bitrix24 after signing?

After the cycle ends, the CRM should contain:

  • Original document (PDF)
  • Detached signature file (.sig)—CAdES or XAdES
  • Signing protocol—who, when, with which certificate

Files are uploaded to Bitrix24.Disk in the structure Signed documents / [Year] / [Month] / [Deal number]. Custom fields of the deal record the signing date, document number in the EDI system, and status.

Why is cloud signing more profitable than traditional?

Cloud signing via API reduces signing time from 2–3 days to 3–5 minutes, cuts labor costs by 80%, and does not require installing CryptoPro CSP on every computer. With typical monthly volumes of 50–200 documents, the cost savings range from $2,500 to $10,000 per month.

Notifications and pipeline automation

Each document status change in the e-signature service is reflected in Bitrix24:

  • Notification in chat (im.notify.system.add)—to the responsible manager
  • Deal stage movement (crm.deal.update)—automatically when both sides sign
  • Comment in timeline (crm.timeline.comment.add)—with event details
  • Task on rejection (tasks.task.add)—to the manager for document revision

The manager does not track statuses manually—the system itself notifies and moves the deal through the pipeline.

What is included in the work when ordering integration?

  • Requirement analysis and service selection
  • API key setup and test environment configuration
  • Development of handlers for sending and receiving webhooks
  • Integration of the "Send for signature" button in the deal card
  • Creation of scripts for multi-user flows
  • Full testing with real documents and counterparties
  • Documentation preparation and user training
  • Technical support for 30 days after launch

Implementation stages

Stage What we do Timeline
Requirement analysis Service selection, API comparison, legal aspects 2–3 days
Service setup Obtain API keys, register boxes, test environment 1–2 days
Handler development Document sending, webhook reception, status mapping, task queue 5–7 days
CRM integration "Send for signature" button in deal card, pipeline automation 3–4 days
Signing flows Approval chains, parallel and sequential branches 2–3 days
Testing Full cycle with test counterparty, rejections, re-sends, edge cases 3–5 days

Cloud electronic signature through an external service removes dependency on a specific computer. A manager sends a document from the deal card, the counterparty signs in the EDI operator interface, and the signed version automatically returns to CRM. No tokens on each workstation, no scanner, no waiting for a courier. Get a consultation for your project—we will assess the scope of work in one day.

Why is 1C-Bitrix the flagship of e-commerce?

A faceted index on a catalog of 200,000 SKUs is not built — bitrix:catalog.smart.filter takes 4 seconds instead of 200 ms, and the customer leaves. Our online store development on 1C-Bitrix eliminates such scenarios: from infoblock architecture and price types to cluster balancing under peak loads. With over 12 years of experience and 200+ completed e-commerce projects, we have solved every performance bottleneck.

Two-way synchronization with 1C via CommerceML — catalog, prices, balances, orders, and statuses. Configured from the admin panel via the catalog module -> 'Exchange with 1C'. Export to marketplaces via YML feeds (catalog.export) for Yandex.Market, Google Shopping, Ozon, Wildberries. According to Wikipedia, 1C-Bitrix is used by more than 70,000 commercial sites in Russia and the CIS (https://en.wikipedia.org/wiki/1C-Bitrix). Contact us to evaluate your current architecture.

How do we solve key performance problems?

bitrix:catalog.smart.filter without faceted index generates queries that bring down MySQL. Solution: build b_catalog_iblock_index — response time drops from 4 seconds to 100–200 ms. For SEO filters, we use catalog.seo.filter — indexable filter intersection pages with unique meta tags.

Composite cache (bitrix:main.composite) speeds up page loading by 3–5 times compared to regular. Goal — product card TTFB < 200 ms. For sessions we use Redis (SESSION_SAVE_HANDLER = redis in .settings.php). Lazy load images, CDN for static, SQL optimization (especially JOINs on b_iblock_element_property). As noted in the official Bitrix documentation, composite cache delivers a page from HTML, bypassing PHP execution and database requests, giving a speed advantage of up to 5x.

Why is caching critical for an online store?

Each second of page load delay reduces conversion by an average of 7%. At TTFB > 400 ms, 32% of users leave the site. Composite cache delivers a page from HTML, bypassing PHP execution and database requests — this gives a speed advantage of up to 5 times. For product cards with frequent price and stock changes, we use tagged caching: invalidation occurs only for affected entities. In practice, we have reduced TTFB from 1.2 seconds to 180 ms. Time savings on catalog loading — up to 60%.

Store types and their features

Store type Key modules Features
B2C retail catalog.smart.filter, catalog.compare.list, reviews, ratings Faceted index, conversion funnel from card to payment
B2B wholesale dealer prices (b_catalog_group), min. lots, credit limits Personal accounts, quick order by SKU, PDF invoices
Digital goods licenses, subscriptions, files OnSaleOrderPaid -> automatic access granting
Marketplace "Marketplace" module or custom Multiple sellers, separate accounting, commission model
PWA / mobile Progressive Web App, React Native + REST API Offline catalog, push notifications

Integrations: payment systems, delivery, CRM, marketplaces

Payment systems. Handlers in sale.handlers: YooKassa, CloudPayments, Tinkoff, Sberbank, Apple Pay, Google Pay, installment. Callback sale.payment.notify for status confirmation. Delivery. Handlers sale.delivery for CDEK, Boxberry, Russian Post, DPD — real-time cost calculation via API, tracking. Warehouse management. Reservation (RESERVED = Y in b_sale_basket), automatic write-off upon shipment, notifications when stock falls below threshold, pre-order for goods in transit. CRM. Bitrix24 or amoCRM — orders from b_sale_order are sent automatically, client base is synchronized. Triggers: abandoned cart, review request, reactivation. Marketplaces. Export via YML to Ozon, Wildberries, Yandex.Market. Orders flow into a single system. Analytics and marketing. GA4, Yandex.Metrica, email newsletters (Unisender, SendPulse). Logistics. MyWarehouse, Antor — labels, picking lists.

Migration from other CMS

Migration from OpenCart, WooCommerce, Shopify, MODX: transfer of catalog (elements, properties, sections, images, SEO-URLs), migration of client base (b_user) and order history (b_sale_order), 301 redirects via urlrewrite.php. Parallel operation during the transition period — old site sells, new one is accepted. Team experience — 50+ migration projects.

Example migration: from OpenCart with 50,000 products We transferred all data, including custom attributes and review history, in two weeks with zero downtime. The new store was tested in parallel before switching DNS. Result: 25% faster page load and 15% increase in sales.

What is included in the work (deliverables)

Deliverable Description
Technical specification Business requirements, catalog structure, integrations, cart logic
Infoblock architecture Price types, properties, sections, HL-blocks, ORM entities
Components and templates Custom or adapted standard (Component 2.0)
Integrations Payments, delivery, CRM, marketplaces, 1C
Documentation Content filling instructions, REST API, DB schema
Team training Working with admin panel, exports, updates
Warranty Free support 3 months after launch, bug fixes

Stages and timelines

Average project duration — 2 to 4 months:

  1. Analytics (1–2 weeks) — business requirements, catalog structure, integrations, technical specification
  2. Design (2–3 weeks) — prototypes, design system, layouts
  3. Development (4–8 weeks) — components, templates, integrations, content
  4. Testing (1–2 weeks) — functional, load, acceptance
  5. Launch (2–3 days) — deployment, monitoring, operational support

Budget range: from $10,000 for a basic store to $60,000+ for a complex marketplace with multiple integrations. Clients typically see a 20–30% increase in conversion after optimization. Contact us for a precise estimate — we tailor the solution to your specific catalog size and business logic.

Loyalty program and conversion

Bonus system: points for purchases, reviews, recommendations. Accrual rules by categories, points payment limit, expiration period — all in personal account. VIP levels (bronze, silver, gold, platinum) with increased cashback and free shipping. Recommendations 'You may also like', 'Complete your purchase' — built-in Bitrix tools + RetailRocket or Mindbox. Triggers: birthday discount, promo code for return, interest chain. Personalization via catalog.recommended.products and catalog.viewed.products. A/B testing of two card variants on real traffic. Enhanced E-commerce in GA4 and Yandex.Metrica — full path from click to return visit.

Request a free technical audit of your current store. Our engineers will identify performance bottlenecks and migration risks. Order turnkey online store development — get a ready solution with warranty and support.