Integrations · Bitrix24 · MoySklad
Bitrix24 ↔ MoySklad integration
Category: Integrations
Stack: Bitrix24, MoySklad API, PHP, queues, logs
Timeline: 1–3 weeks
Problem
Products, stock and orders diverged between the CRM and the warehouse, sync was unstable and duplicates appeared.
Constraints
Different data models, MoySklad API limits, the requirement not to lose or duplicate records.
What I did
- Two-way sync of companies, contacts and deals
- Owner mapping between the systems
- Duplicate search by UUID and key fields
- Correct handling of cents/rounding
- verify / sync / count modes for safe runs
- Logging of incoming and outgoing requests
Architecture
Bitrix24
→ Exchange service layer
→ Queue / retries
→ MoySklad API
→ Exchange logs
Result
An exchange history appeared: it is clear where and why sync fails; data no longer diverges manually.
What can be reused
Mapping layer
Deduplication rules
verify mode before a live run
Exchange log format