EDI 852 Product Activity Data explained. Learn what it includes, its key segments, an example, how it differs from EDI 846, and how suppliers use it.
An EDI 852 is an X12 Product Activity Data transaction that retailers and distributors use to share sales and inventory activity with suppliers. For suppliers, knowing what sells, where it sells, and how much inventory remains can help inform replenishment decisions.Â
The 852 supports that visibility by reporting product activity across stores and distribution centers, often on a recurring schedule. As a key component of modern EDI, this data can flow into business systems to support inventory planning and analysis. This article breaks down the data and segments in EDI 852, walks through an example, and explains how suppliers use it.
What Is an EDI 852 Product Activity Data Document?
The EDI 852 product activity data document tells suppliers how their products perform after they reach a retailer's stores or distribution centers. This electronic document is one of several EDI transactions many trading partners require to exchange operational information throughout the supply chain. Instead of relying solely on purchase orders and shipment records, suppliers can use this information to understand product movement and inventory levels across retail locations.
Retailers typically generate 852 documents from their point-of-sale and inventory management systems. These reports help suppliers make informed decisions about production, distribution, and replenishment based on actual sales and inventory activity.
What Data Does an EDI 852 Contain?
An EDI 852 provides product activity information for a defined reporting period, often broken down by individual stores or distribution centers. Depending on the retailer's requirements, the document may include several types of inventory and sales data, including:
Quantity sold: Units purchased by customers during the reporting period
Quantity on hand: Inventory currently available at a reporting location
Quantity on order: Units ordered but not yet received
Quantity received: Inventory delivered to a location during the reporting period
Returns: Products returned by customers or transferred back through the supply chain
Product and location details: SKU identifiers, store or distribution center information, and reporting dates
Not every retailer includes all these data elements in its 852 transactions. Suppliers should consult each trading partner's implementation guide to understand which activity types, identifiers, and reporting details they can expect to receive.
Who Sends the EDI 852 and How Often?
Retailers and distributors typically send EDI 852 transactions to suppliers, giving them valuable insights into product sales and inventory activity. Many retailers provide these reports weekly. Others may exchange them daily or on agreed-upon schedules.
The reporting frequency often depends on the retailer's operational needs and the supplier relationship. Reports may cover individual stores, distribution centers, or multiple locations, allowing suppliers to monitor activity at different levels.
Not all retailers rely exclusively on EDI 852 for sharing this information. For example, Walmart provides suppliers with sales and inventory reporting through Walmart Retail Link, a proprietary portal that offers access to retail performance data.
What Are The Key Segments in an EDI 852?
The X12 EDI 852 document organizes product activity data into segments that identify the reporting period, products, locations, and associated quantities. Each segment serves a specific purpose, allowing receiving systems to interpret the information accurately.
This table outlines key X12 852 segments:
Segment | Description |
|---|---|
ST | Identifies the transaction set and its control number |
XQ | Specifies the reporting date and action |
XPO | Communicates preassigned purchase order numbers |
N9 | Provides reference identification information |
N1 | Identifies a trading partner or reporting location |
LIN | Identifies products using SKUs or other item codes |
ZA | Reports the type of product activity |
SDQ | Specifies quantities by destination or location |
CTT | Provides transaction totals |
SE | Marks the end of the transaction and includes its segment count |
The ST and SE segments define the transaction boundaries, while the remaining segments provide reporting details. Their use and structure depend on the trading partner's implementation guide.
ZA Activity Codes
The ZA segment plays an important role in the 852 transaction set because it identifies the type of inventory or sales activity being reported. Common ZA activity codes include:
QS: Quantity sold
QA: Quantity available for sale or shipment
QP: Quantity on order but not yet received
QR: Quantity received
These qualifiers help receiving systems distinguish sales activity from inventory levels and other product movements.
EDI 852 Example
The following simplified EDI 852 example, based on the X12 004010 standard, shows how a retailer might report one product's sales and available inventory across two stores for a weekly reporting period.
Sample EDI 852 Transaction
ST*852*0001~
XQ*H*20261001*20261007~
N1*BY*EXAMPLE RETAILER*92*DC01~
LIN**UP*012345678905~
ZA*QS~
SDQ*EA*92*001*12*002*8~
ZA*QA~
SDQ*EA*92*001*40*002*25~
CTT*1~
SE*10*0001~
In this example:
XQ: Establishes the October 1–7 reporting period
LIN: Identifies the product using its UPC
ZA and SDQ: Report 12 units sold and 40 available at Store 001, with 8 sold and 25 available at Store 002
CTT and SE: Confirm one product line and ten transaction segments
EDI 852 Data in JSON Format
EDI integration platforms can translate incoming X12 transactions into JSON, making the data easier for connected business applications to process. Here's how the information from our example might appear after conversion (field names vary by platform):
{
  "reportingPeriod": {"start": "2026-10-01", "end": "2026-10-07"},
  "product": {"upc": "012345678905"},
  "locations": [
    {"storeId": "001", "quantitySold": 12, "quantityAvailable": 40},
    {"storeId": "002", "quantitySold": 8, "quantityAvailable": 25}
  ]
}
This structured format makes EDI data easier to integrate with ERP, inventory management, and reporting systems. EDI integration platforms can also convert outgoing data from JSON into X12 transactions, allowing businesses to exchange information with trading partners using their required EDI formats.
EDI 852 vs. EDI 846: What's The Difference?
The primary difference between EDI 852 vs 846 is the type of inventory information they communicate. While EDI 852 reports product sales and inventory activity, EDI 846 communicates stock availability between trading partners.
The following table highlights their key differences:
Comparison | EDI 852 | EDI 846 |
|---|---|---|
Primary purpose | Product activity reporting | Inventory inquiry and advice |
Typical direction | Retailer to supplier | Supplier to retailer |
Common information | Sales, inventory levels, and product movement | Available stock and inventory status |
Typical frequency | Daily or weekly | Hourly, daily, or as agreed |
Business application | Replenishment and demand planning | Inventory visibility and order planning |
Although the transactions commonly flow in opposite directions, their use depends on the trading partner relationship. Together, they provide a more complete picture of inventory throughout the supply chain, helping businesses coordinate ordering, replenishment, and distribution decisions.
How Do Suppliers Use EDI 852 Data?
Suppliers use EDI 852 data to make better-informed decisions about replenishment, demand forecasting, and inventory distribution. By analyzing sales and inventory activity across retail locations, they can identify trends and respond to changing demand.
Improve Inventory Replenishment
EDI 852 sales and inventory reports help suppliers identify products that need replenishment before inventory runs low. This information is particularly valuable for vendor-managed inventory EDI programs, where suppliers monitor retailer inventory levels and help coordinate replenishment based on actual product movement.
Improve Demand Forecasting
Retailers can share historical point-of-sale EDI data through 852 transactions, helping suppliers recognize seasonal trends, changes in consumer demand, and differences in purchasing patterns across locations. Combining this information with other business data can support more accurate forecasts and better production planning.
Identify Slow-Moving Products
Suppliers can compare sales activity with available inventory to identify products that aren't selling as quickly as expected. These EDI 852 insights can inform decisions about future shipments, inventory allocation, and potential promotional opportunities.
Reduce Out-of-Stock Risk
Regular inventory activity reports generated from EDI 852 data help suppliers spot locations where sales are increasing while available stock is declining. For example, a supplier might notice that a particular SKU sells twice as quickly at one store as at others. That information can help the supplier prioritize replenishment and reduce the likelihood of stockouts.
How Do You Receive And Use EDI 852 Data in Your ERP?
To receive and use EDI 852 data in an ERP, suppliers need an EDI integration solution that receives X12 transactions, validates and translates the data, and maps it to the appropriate fields in their business systems. Once integrated, suppliers can use product activity data alongside other EDI transactions, such as an EDI 850 purchase order, for inventory planning, sales forecasting, and analysis.
The challenge grows when retailers report sales and inventory activity across hundreds of stores and thousands of SKUs. Processing this information efficiently helps suppliers maintain more accurate inventory records and improves supply chain visibility.
Orderful's Mosaic platform simplifies EDI integration through a standardized API connection. Mosaic translates incoming X12 transactions into structured JSON data that connected ERP, inventory management, and business intelligence systems can use. This approach reduces the need for custom transaction mapping and helps suppliers incorporate EDI 852 data into their existing workflows.
See how Orderful turns complex EDI transactions into usable business data with Mosaic.
EDI 852 Frequently Asked Questions
What Is an EDI 852?
An EDI 852 is an X12 Product Activity Data transaction that retailers and distributors use to share sales, inventory levels, and product movement information with suppliers. It helps suppliers plan inventory and decide on replenishment. Retailers usually generate it from point-of-sale and inventory systems and send it weekly or daily.
What Is The Difference Between EDI 852 and EDI 846?
EDI 852 typically flows from retailer to supplier and reports sales and inventory activity at retail locations. The EDI 846 generally moves from supplier to retailer, communicating available inventory and stock status to support ordering decisions. Many suppliers use both: the 852 to plan replenishment and the 846 to tell retailers what they can ship.
How Often Is an EDI 852 Sent?
EDI 852 transactions are commonly exchanged weekly, although some retailers send them daily or on other agreed-upon schedules. The frequency depends on the trading partner's reporting requirements and the supplier relationship. Check each retailer's implementation guide for its schedule and reporting period.
What Is The EDI 852 Used for?
Suppliers use EDI 852 data to improve inventory replenishment, forecast demand, identify slow-moving products, and reduce out-of-stock risks. The information an 852 provides helps them make decisions based on actual product sales and inventory activity across retail locations.
What Segments Are in an EDI 852 Document?
Common EDI 852 segments include XQ for reporting information, N1 for trading partner or location identification, LIN for product identification, ZA for product activity, and SDQ for destination-level quantities. Specific segment requirements vary by trading partner. ST and SE mark the start and end of the transaction, and CTT carries the line item count.
Do All Retailers Send EDI 852 Data?
No. Many retailers send EDI 852 data on a recurring schedule, but some share sales and inventory data through their own portals instead. Walmart, for example, provides supplier sales and inventory reporting through Retail Link. Suppliers should check each trading partner's requirements to see whether the 852 is offered, which activity codes it includes, and how often it arrives.
How Do I Get EDI 852 Data Into My ERP?
Use an EDI integration platform that receives the 852, validates it, and translates it into a format your ERP or planning tools can use. Orderful's Mosaic platform converts incoming X12 transactions into structured JSON through one standardized API connection, so suppliers can bring 852 sales and inventory data into ERP, inventory management, and reporting systems with less custom mapping for each retailer.
- 01What Is an EDI 852 Product Activity Data Document?
- 02What Data Does an EDI 852 Contain?
- 03Who Sends the EDI 852 and How Often?
- 04What Are The Key Segments in an EDI 852?
- 05EDI 852 Example
- 06EDI 852 vs. EDI 846: What's The Difference?
- 07How Do Suppliers Use EDI 852 Data?
- 08How Do You Receive And Use EDI 852 Data in Your ERP?
- 09EDI 852 Frequently Asked Questions
