Data exchange in 1C: methods, formats, setup and checks
Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →
Data exchange in 1C is solved with different mechanisms, and mixing them up is a common reason setups drag on. Between standard configurations synchronization via the universal format usually works; between your own databases, conversion rules or a distributed infobase; with sites and external services, HTTP, web services and OData. Below is a map of the methods, errors and checking the result.
Exchange between 1C databases
Standard configurations support data synchronization out of the box: set up in administration, EnterpriseData format, transport via a shared folder, FTP, email or the internet. Custom rules use the Data Conversion configuration and the Universal XML data exchange processor. A distributed infobase is for the same configuration in several places.
Exchange with sites and external systems
Online stores usually exchange with 1C via the CommerceML standard: catalog, prices and stock go to the site, orders come back. For other systems 1C exposes data through HTTP services, web services or OData and pulls data itself through HTTPConnection. The format is usually JSON, XML for older partners.

How to check the exchange went right
An "exchange completed" message does not mean the data is correct. Compare object counts in source and target, open several documents with amounts and references, read the event log for errors and warnings. For HTTP exchanges save requests with field checks and run them after rule or configuration changes.
Data exchange methods in 1C
| Method | When it fits | Format |
|---|---|---|
| Data synchronization in standard configs | Between standard configurations | EnterpriseData, XML |
| Data Conversion rules | Custom rules between different configurations | XML |
| Distributed infobase | One configuration in several places | XML |
| CommerceML | Online store and 1C | XML |
| HTTP services and OData | Sites, apps, external systems | Usually JSON |
| Web services | Partners that need SOAP and WSDL | XML |

Common exchange errors
- An object did not load. No rule for it or a required attribute is empty in the target.
- Duplicates. Objects were not matched by key and the target created new ones.
- Exchange hangs or does not start. A lock, no access to the folder or service, wrong credentials.
- Different format versions. Databases were updated at different times.
Look for details in the event log of both databases, not only in the exchange window.
Checking an HTTP exchange
If the exchange runs through an HTTP service or OData, save a request that fetches the loaded document and check key fields: amount, counterparty, line count. It is the same idea as verifying an API against the database, on the 1C side.
More on 1C
Section overview and all guides: 1C integration via API: options, architecture and examples.
- Integrating 1C with a website and online store: options and pitfalls
- Automated testing in 1C: Vanessa Automation, YAxUnit and integration checks
- REST API in 1C: HTTP services, OData and calling external APIs
- 1C HTTP services: create, publish, test and debug with examples
- HTTP requests from 1C: GET, POST, headers, auth and timeouts with examples
Frequently asked questions
What data exchange methods does 1C have?
Standard data synchronization via EnterpriseData, Data Conversion rules, distributed infobases, CommerceML for sites, HTTP services, OData and web services.
How do a site and 1C exchange data?
Online stores usually use CommerceML; custom sites and apps are easier with a 1C HTTP service and JSON.
Where do I see exchange errors?
In the exchange log and the event log of both databases.
Repeat this on your own API
Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.
Download FreeDownload and first runNo sign-up or email needed, the archive is ready in a couple of minutes. See the edition limits.
Start with the linked example and compare its result with your own test requirement.