Introduction

This technology is intended for configurations, where the information about sales should be transmitted online. The data is sent to the external (third-party) system via HTTPS.
The data is transmitted in XML format. The data format should be negotiated with the service client.
The described technology can be used in different external systems. Initially, the service was ordered by the Pulkovo airport — all points of sale, leasing trading facilities on the premises of the airport, should have ensured sales data transmission to a single information system.

Contents of Distribution Package

The distribution package contains the following modules:

The Monlib.dll library requires the Monlib.key software license key — see details under the Licensing section

The distribution package is available on FTP: ftp://ftp.ucs.ru/r-keeper/Tools/ExportXML/

Licensing

r_keeper v7

At the moment of the last article edition, the module does not require licensing to interact with r_keeper v7. However, the lifetime of the main executive file ExportXML_SVC.exe expires on 18.03.2015. After this date, the module will stop functioning. In the future, a general licensing system is planned.

Setup

Main Settings

Relevant parameters for the connection to an external information system should be requested from the service client

To enter the configuration mode, launch ExportXML_SVC and click Settings.
Main parameters are set on the Main tab.

All parameters are stored in the db.db database, which is created automatically at the first application launch.

Payment configuration

For the data to be formed correctly, configure the correspondence of payment types or currencies between r_keeper and the external system:

  1. Launch ExportXML_SVC.exe, go to the settings, and switch to the r_keeper tab
  2. In the Receipt payments section, right-click the menu, and select Add
  3. Fill in the parameters:
  4. In the Payment defaults section, fill in the values of the Currency and Method parameters, which will be used by default for those currencies without a relevant match from the Receipt payment section, or if there is no receipt payments at all
  5. To save the parameters, click OK and restart ExportXML_SVC

r_keeper 7

To configure the interaction between ExportXML_SVC and r_keeper 7, do the following:

  1. At the manager station, add an XML interface to the cash server, define the port, and specify the encryption key (CryptKey), if required
  2. Launch ExportXML_SVC.exe, go to the settings, and switch to the r_keeper tab
  3. In the Cash system section, select r_keeper 7 and fill in the cash server XML interface connection parameters — IP address, port, and encryption key (CryptKey), if it is set on the cash server
  4. Specify the payment match
  5. If necessary, change the Cash desk polling frequency parameter value
  6. Fill in the VendorID (organization ID) and ObjectID (trading facility ID) parameters. The value should be requested from the service client
  7. To save the parameters, click OK and restart ExportXML_SVC.

Application Launch

The application can be launched in the following modes: