Skip to content
CheckcraftDownload
Practical workflow

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.

Checkcraft ·

Get help with your first test →

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.

API call diagram: method and URL, headers, body, status and response body, logs and database

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

MethodWhen it fitsFormat
Data synchronization in standard configsBetween standard configurationsEnterpriseData, XML
Data Conversion rulesCustom rules between different configurationsXML
Distributed infobaseOne configuration in several placesXML
CommerceMLOnline store and 1CXML
HTTP services and ODataSites, apps, external systemsUsually JSON
Web servicesPartners that need SOAP and WSDLXML
Layers of an API call check: status, headers, body, calculations, logs, database

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.

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.

Next step

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 run

No 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.

Ask a person

Get help with your first test

Tell us what you want to test or where you got stuck. We can help you start Checkcraft, choose an example and understand your first run. You can ask before downloading.

The Telegram group is public: do not post passwords, tokens or confidential work data. A description of your task is enough to start.

You can also email us support@checkcraft.ru

No account required. We will reply by email. This is a support request, not a newsletter subscription.