Skip to content

Dataset

Lightspeed POS sales and inventory datasets for AI training

A Lightspeed dataset is a merchant's export from one named Lightspeed product: sales with their sale lines and payments, items and item matrices with cost and price, categories, vendors and purchase orders, inventory counts and transfers between shops, and in Retail R-Series the work orders of repair-led stores. SourceX sources it to a buyer's spec from established businesses that run Lightspeed, such as bike shops, jewelers, apparel boutiques and restaurants. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
A merchant's sales, sale lines with cost, items, purchasing, stock movements and work orders from one named Lightspeed product
Typical systems
Lightspeed Retail R-Series, Retail X-Series (formerly Vend), Restaurant K-Series and Lightspeed eCom, each with its own API and report exports
Typical history
Specified by the buyer; depends on when the merchant went live on the series and whether earlier records were migrated in
Modality
Structured sale, item, purchase order, count and transfer tables; work order and line notes as text
Delivery formats
Agreed per order; typically Parquet or JSONL per object keyed by sale and item ID, with the series stated
Preparation
Customer records and employee names replaced with keys; notes redacted; payment card details removed
Licensing
Rights-reviewed per merchant; Lightspeed's terms on API use and exported data and the merchant's right to disclose supplier costs checked by owner and buyer; permitted use set per license
Availability
Sourced to your spec by retail vertical, series and shop count; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
source_seriesenumThe Lightspeed product the record came from: Retail R-Series, Retail X-Series, Restaurant K-Series or eCom.
sale_idstringToken for the saleID of an R-Series Sale, which sale lines and payments cite.
sale_headerobjectFrom the Sale: completed, voided and archived flags, completeTime, shop, register and employee tokens, and the reference number source on web store sales.
customer_keystringPseudonymous key replacing the Customer attached to the sale or work order.
sale_linesarraySaleLine rows: item token, unitQuantity (negative on refunds), unitPrice, normalUnitPrice before price rules, discount, tax and a refund's parent line.
sale_lines[].costobjectavgCost and fifoCost as recorded on the SaleLine.
sale_paymentsarraySalePayment rows with payment type and amount, without card details.
itemobjectThe Item: system, custom and manufacturer SKU, UPC, item type (such as default, non-inventory, serialized or assembly), category, default vendor, default cost, prices and archived flag.
item_matrixobjectThe ItemMatrix an item belongs to: description, attribute set (such as Color/Size) and this item's attribute values. In X-Series, the product family and variant attributes.
stock_by_shoparrayItemShop rows: quantity on hand, reorder point and reorder level per shop at extraction.
purchase_ordersarrayOrder and OrderLine records, the R-Series purchase order: vendor token, ordered, expected and received dates, ship and other costs, and quantity and cost per line.
inventory_countsarrayInventoryCount records per shop with counted items and the reconciliation that adjusted stock.
transfersarrayInventory Transfer records: sending and receiving shop, status (open, sent or received), sent date and quantities sent and received per item.
work_orderobjectThe R-Series Workorder: time in, expected time out, status, warranty flag, hook location, redacted note, parts (WorkorderItems), labor (WorkorderLines) and the paying sale line.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "source_series": "retail_r_series",
  "sale_id": "sale_48213",
  "sale_header": {"completed": true, "voided": false, "complete_time": "2024-05-18T16:42:10Z",
    "shop": "shop_02", "register": "reg_02a", "employee": "emp_14", "subtotal": 175.00, "tax": 13.47, "total": 188.47},
  "customer_key": "cust_7d21",
  "sale_lines": [
    {"line": "sl_1", "item": "itm_3391", "description": "Tube 700x25-32 presta 48mm", "unit_quantity": 2,
      "unit_price": 9.00, "cost": {"avg_cost": 3.85, "fifo_cost": 3.90}, "is_workorder": true},
    {"line": "sl_2", "item": "itm_1207", "description": "Tire folding Black 700x28", "unit_quantity": 1,
      "unit_price": 62.00, "normal_unit_price": 68.00, "cost": {"avg_cost": 34.10, "fifo_cost": 33.75}, "is_workorder": true},
    {"line": "sl_3", "item": "itm_labor_tune", "description": "Labor: standard tune-up", "unit_quantity": 1,
      "unit_price": 95.00, "cost": {"avg_cost": 0, "fifo_cost": 0}, "is_workorder": true}
  ],
  "sale_payments": [{"payment_type": "Credit Card", "amount": 188.47}],
  "item": {"item": "itm_1207", "custom_sku": "TR-70028-F", "item_type": "default", "category": "Tires/Road",
    "default_vendor": "vnd_06", "default_cost": 33.75},
  "item_matrix": {"matrix": "mtx_212", "description": "Tire folding", "attribute_set": "Color/Size",
    "attributes": ["Black", "700x28"]},
  "stock_by_shop": [{"shop": "shop_02", "qoh": 3, "reorder_point": 2, "reorder_level": 6}],
  "purchase_orders": [
    {"order": "po_0912", "vendor": "vnd_06", "ordered": "2024-04-22", "arrival": "2024-05-01", "received": "2024-05-02",
      "ship_cost": 18.00, "lines": [{"item": "itm_1207", "quantity": 6, "price": 33.75, "received": 6}]}
  ],
  "inventory_counts": [{"count": "cnt_31", "shop": "shop_02", "item": "itm_1207",
    "counted": 4, "expected": 5, "reconciled": "2024-04-01"}],
  "transfers": [{"transfer": "trf_77", "from": "shop_01", "to": "shop_02", "status": "received",
    "sent_on": "2024-05-10", "item": "itm_3391", "sent": 10, "received": 10}],
  "work_order": {"workorder": "wo_5521", "time_in": "2024-05-16T10:05:00Z", "eta_out": "2024-05-18T17:00:00Z",
    "status": "Finished", "warranty": false, "hook_in": "H12",
    "note": "Second rear flat this month. Check rim tape and tire for debris. Call [NAME] when ready.",
    "parts": ["sl_1", "sl_2"], "labor": ["sl_3"]}
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Forecast demand with stock context

Sales beside on-hand quantities, receipts, transfers and counts let a model tell no demand from no stock.

Train replenishment agents

Reorder points, purchase orders and the gap between ordered and received dates show when and how much a shop buys.

Analyze margin and discounting

Cost, normal price, price paid and discount on each sale line show what a markdown gave up.

Estimate repair jobs

Work order notes paired with the parts, labor and time billed train models that quote service work.

Evaluate back-office agents

Count reconciliations and refunds tied to original lines give test items with a known answer.

Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Series named on every file

Each table states the Lightspeed series and API version it came from.

Archived records included

Archived items, vendors and customers are pulled, so old sale lines resolve.

Cost on sale lines

A low share of zero-cost lines shows stock was received before it was sold.

Receiving on purchase orders

Stock checked in against purchase orders gives dated costs and lead times.

Reconciled counts

Counts with reconciliations anchor any rebuilt stock level.

Work orders tied to sales

Each work order links to the sale line that paid for it.

License terms

Lightspeed dataset

This page covers lightspeed retail and restaurant POS records.Illustrative

Lightspeed is several products, and each series has its own data model

Lightspeed is a family of point of sale and e-commerce products with separate data models: Retail R-Series, Retail X-Series, which was formerly Vend, Restaurant K-Series and its e-commerce platforms. Two merchants who both say they run Lightspeed may share no object names, keys or export tools, so a request has to name the series.

In R-Series a Sale has SaleLines and SalePayments, an Item can belong to an ItemMatrix that defines its color and size attributes, a location is a Shop, and a purchase order is an Order with OrderLines. In X-Series a sale has line items, which its older API version calls register sale products, variants are grouped into product families, and a location is an outlet. Stock movements there are consignments typed supplier, outlet, return or stocktake, so a supplier delivery, a transfer between outlets, a return and a count can share one object. The current reference also lists purchase orders as a resource of their own, so ask which one the export read. K-Series is built on business locations and business days, with receipts, accounting groups, tables and floorplans.

Each series also keeps and discards history in its own way. In R-Series an item cannot be deleted, only archived, and a collection read returns active records, so an export that never asked for archived items lacks the discontinued products old sale lines point to. A refund is a sale line with a negative quantity that names its parent line, and a voided sale stays on file with a flag. An item's default cost, prices and quantity on hand are current values.

Cost sits on the sale line, with purchasing and work orders beside it

An R-Series sale line records the unit's cost at the time of sale in two fields, avgCost and fifoCost, next to the price and discount. Margin can therefore be computed per line with no join to a cost table that has since changed. An account setting picks the cost method. Under average cost, Lightspeed keeps one rolling cost per item across all locations and recalculates it when units are received from a vendor. Under first-in, first-out, each receipt is a lot with its own cost, and a sale draws from the oldest lot at the selling location. Either figure is only as good as the receiving behind it.

The purchasing and stock records sit in the same account. A purchase order carries the vendor, the ordered, expected and received dates, shipping and other costs and a discount. Counts are reconciled into stock, transfers pass from open to sent to received, and each item has a quantity on hand, reorder point and reorder level per shop. The item record holds today's quantity, not past positions. Ask whether dated stock reports were saved. Otherwise past levels are rebuilt by rolling movements back from today's quantity and checking the result against a reconciled count.

R-Series adds work orders, which repair-led shops such as bike and jewelry stores run their service desk on. A work order records when the item came in, when it is due out, its status, a warranty flag, the hook where it is stored, parts, labor and the sale line that paid for it. The X-Series reference lists service orders as a different object. To test a sample, check on twenty completed sales that lines and tax sum to the payments and that every line's item resolves, archived ones included.

What to check before licensing

  • Have the data owner and counsel check Lightspeed's terms on API use and exported data before a scope is set.
  • Get the series named in writing. For a merchant that moved between series, ask for both archives and the table mapping old IDs to new ones.
  • Ask whether archived items, vendors and customers and voided sales were pulled. An R-Series collection read returns active records unless archived ones are requested.
  • Ask which cost method the account uses and since when, and count the sale lines with zero cost on a sample.
  • Confirm the supplier cost prices on items and purchase orders are the merchant's to disclose under its vendor agreements, or have them indexed or banded.
  • Review de-identification of Customer records, employee names on sales and work orders, and free-text notes.
  • Ask whether web store orders were synced into the POS as sales and how they are flagged, so they are not counted twice.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Which Lightspeed product does a dataset come from?

It comes from whichever one series the supplying merchant runs, and the request should name it. Lightspeed sells separate products with separate data models: Retail R-Series, Retail X-Series, which was formerly Vend, Restaurant K-Series and its e-commerce platforms. A sale, an item and a shop in R-Series are a sale, a product and an outlet in X-Series, with different keys.

Can margin be worked out per sale line?

Yes in Lightspeed Retail, as far as the merchant's receiving was disciplined. An R-Series sale line records an average cost and a first-in, first-out cost beside its price and discount, and X-Series line items carry a cost as well. The figure is weak for items sold before any stock was received, so ask what cost the account recorded on those lines.

Does a Lightspeed dataset include purchase orders and stock counts?

It can, and that is the main reason to ask for Lightspeed Retail by name. R-Series keeps vendor purchase orders with ordered, expected and received dates, inventory counts with their reconciliation, transfers between shops and a quantity on hand per item and shop. On-hand quantity is a current value, so past stock levels have to be rebuilt from the movements.

What are Lightspeed work orders?

They are R-Series records of repair and service jobs, used by shops such as bike and jewelry stores. A work order has a time in, an expected time out, a status, a warranty flag, a note, parts and labor, and it links to the sale line where the job was paid. Notes name customers and staff, so they are redacted.

How does Lightspeed restaurant data differ from retail data?

Restaurant K-Series is organized around business locations and business days, not shops and registers. Its records are receipts and checks with items, accounting groups, payment methods, tables and floorplans, staff and shifts. Its API index lists no item matrices or work orders, so the margin and stock analysis described here applies to the retail series.

Is SourceX affiliated with Lightspeed Commerce?

Lightspeed is named to identify the system the records come from. That does not imply a partnership with or endorsement by Lightspeed Commerce. The records belong to the business that runs Lightspeed, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies