EDIFACT message guide · Planning and inventory

SLSRPT Sales data report

The UN/EDIFACT message used to report product sales activity, such as quantities, prices and locations, for analysis and replenishment.

Sent by
Retailer or distributor
Received by
Supplier or manufacturer
Standard
UN/EDIFACT · Batch message
X12 equivalent
852 Product Activity Data

What is the EDIFACT SLSRPT message?

SLSRPT is the UN/EDIFACT sales data report message. The directory describes it as a message conveying product activity related to the sale of products or services: the activity location, date, time or period, quantities, prices, monetary amounts, market sector and parties. The recipient uses it for statistical and quantitative analysis supporting production, planning, marketing and replenishment.

Retailers send sales reports to suppliers that manage their own replenishment or that need sell-through data to plan production and promotions. Reports are usually weekly or daily, by item and store.

How the EDIFACT SLSRPT message worksDiagram of the UN/EDIFACT SLSRPT Sales data report message. Retailer or distributor sends it to supplier or manufacturer. It usually starts the exchange. Inside the UNB and UNH envelopes, the directory D.21A requires, in the start of message: BGM (Beginning of message) and DTM (Date/time/period), body and segment groups: the required SG2 loop with NAD (Name and address) and end of message: UNS (Section control). 6 conditional segment groups are listed by their trigger segment.How the EDIFACT SLSRPT message worksSales data report: who sends it, where it fits and what the directory marks mandatory1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeSLSRPTSENDERRetailer or distributorRECEIVERSupplier ormanufacturerCONTRL syntax report back, if agreedUSUALLY FOLLOWED BYNo business reply expected2 WHAT DIRECTORY D.21A REQUIRESInterchange: sender and recipient IDsUNB … UNZMessage SLSRPTUNH … UNTSTART OF MESSAGEBGMBeginning of messageDTMDate/time/periodBODY AND SEGMENT GROUPSMandatory group SG2 · repeats upto 5NADName and address+ 6 conditional groups, starting with:RFFCTACUXLOCGEIEND OF MESSAGEUNSSection controlBlue box: mandatory segment group. Conditional groups are listed by the trigger segment that starts them; a group is sent only when its data applies.Conditional segments outside groups are not drawn.Structure: mandatory segments and groups in the UN/EDIFACT directory D.21A listing for SLSRPT. Your trading partner's implementation guide adds itsown requirements.
How the EDIFACT SLSRPT message worksDiagram of the UN/EDIFACT SLSRPT Sales data report message. Retailer or distributor sends it to supplier or manufacturer. It usually starts the exchange. Inside the UNB and UNH envelopes, the directory D.21A requires, in the start of message: BGM (Beginning of message) and DTM (Date/time/period), body and segment groups: the required SG2 loop with NAD (Name and address) and end of message: UNS (Section control). 6 conditional segment groups are listed by their trigger segment.How the EDIFACT SLSRPTmessage worksSales data report: who sends it, where it fitsand what the directory marks mandatory1 WHERE IT FITSUSUALLY FOLLOWSStarts the exchangeSLSRPTSENDERRetailer ordistributorRECEIVERSupplier ormanufacturerCONTRL syntax report back, if agreedUSUALLY FOLLOWED BYNo business reply expected2 WHAT DIRECTORY D.21A REQUIRESInterchange: sender and recipient IDs(UNB … UNZ)Message SLSRPT (UNH … UNT)START OF MESSAGEBGMBeginning of messageDTMDate/time/periodBODY AND SEGMENT GROUPSMandatory group SG2 · repeats upto 5NADName and address+ 6 conditional groups, starting with:RFFCTACUXLOCGEIEND OF MESSAGEUNSSection controlBlue box: mandatory segment group. Conditionalgroups are listed by the trigger segment thatstarts them; a group is sent only when its dataapplies. Conditional segments outside groups arenot drawn.Structure: mandatory segments and groups in theUN/EDIFACT directory D.21A listing for SLSRPT.Your trading partner's implementation guide adds itsown requirements.

How to read this diagram: the top row shows who sends SLSRPT, to whom, and which messages usually come before and after it. The lower part shows what the directory D.21A itself requires: the envelopes around SLSRPT and the segments and segment groups it marks mandatory. Conditional groups are listed by their trigger segment rather than drawn in full. This is the directory's minimum, not a trading partner's requirement: a message implementation guide, such as an industry subset or a partner’s own guide, usually makes some conditional groups mandatory, restricts the codes and may use an older directory.

Expand diagram Download SVG

When it is used

  • Sharing store-level sales with suppliers
  • Supporting vendor-managed replenishment
  • Measuring promotion performance

Where it fits in the message flow

This message SLSRPT Sales data report

No other message routinely comes directly before or after SLSRPT; it is exchanged when the business event occurs. If the partners agree, the receiver confirms each interchange with a CONTRL syntax and service report.

Structure

Mandatory segments in SLSRPT (directory D.21A)

In UN/EDIFACT directory D.21A, the SLSRPT message has 57 segment positions arranged in 14 segment groups. These are the segments and segment groups marked mandatory at message level, in order; a mandatory group is shown with the segment that starts it. Segments inside conditional groups are needed only when the group is used. This is the directory’s requirement, not your trading partner’s: each partner’s message implementation guide names the directory it uses, often an older one such as D.96A or D.01B where the structure can differ, makes some conditional segments mandatory and restricts the codes.

  • UNH
  • BGM
  • DTM
  • SG2 (NAD)
  • UNS
  • UNT

Practical example

SLSRPT in practice

A home and garden retailer sends its key suppliers a SLSRPT each Monday with the previous week's sales by item and store, including units, sales value and returns. A garden tools supplier uses the data to spot slow sellers, adjust its production plan and propose reorders before stores run out.

Implementation

Implementation considerations for SLSRPT

  • Agree the reporting period, locations and level of detail.
  • Separate sales from returns and promotions where the partner needs it.
  • Combine sales with inventory reports for replenishment decisions.
  • Respect any confidentiality limits on sharing the data.

Related messages

Related planning and inventory messages

All 6 planning and inventory messages

Need help with SLSRPT?

ECOM maps, tests and monitors EDIFACT messages for your trading partners and integrates them with your ERP.