CStoreOffice® Support & Learning

Lottery Purchases (Invoice) Conexxus Data Mapping

Data in this section is described in accordance with the Conexxus Standard: https://www.conexxus.org/.

In this section, the following information about the lottery purchases invoices data is presented:

This information becomes accessible through the Business Documents API after accepting pending invoices through CStoreOffice®.

Entering lottery purchases in CStoreOffice®

Invoice XML contains data submitted in Lottery Purchases (Invoices) (Data Entry > Lottery > Purchases).

A separate file is created for each operation:

  • Creating a new invoice.
  • Editing the invoice.
  • Deleting the invoice.

Lottery purchases (invoice) data mapping table

Data set uses Conexxus 1.5.23 NAXML-BusDocInvoice XSD schema of Retail Merchandise Interface.

Mapping between CStoreOffice® Invoices Report for particular and resulting XML is shown below:

Sample XML

The XML example below contains only one item. Other items are omitted to save space.

Lottery purchases (invoice) data export via the Business Documents API

To export the XML files with the lottery purchases (invoice) data via the Business Documents API:

  1. Prepare the location (station) or company identifier as the input data.
  2. Start calling the API from the /business-unit-level-resources endpoint.
  3. Use lottery-purchase as the Document type identifier value.

For more information, see Calling the Business Documents API at the Business Unit Level.