Skip to content
X12 EDI

Stater Bros. Markets X12 857 Shipment and Billing Notice

Plan X12 857 Shipment and Billing Notice for Stater Bros. Markets. Connect document identifiers to your business records, test exception handling and track each exchange to completion.

Segments
17
Loops
8
X12 857
Partner references ↗

Implementation guide

Stater Bros. Markets: 857 mapping and validation

X12 857 Shipment and Billing Notice is used when shipment and billing details are transmitted together. Preserve shipment, invoice and order references so the combined shipment and billing record in your business system stays connected to the original document.

This document is listed for Stater Bros. Markets. Confirm the version, required fields and responses that apply to your account.

Map records and test the business result
Document or decisionRecord and matching IDsWhat to test
Match the business record combined shipment and billing record

shipment, invoice and order references

  • Define which combination of shipment, invoice and order references identifies one business record, its lines and any later revision.
Update the receiving system Processing the combined shipment and billing record

ID assigned by the receiving system and processing result

  • Reconcile shipped quantity with invoiced quantity while allowing an agreed partial shipment.
  • Prevent separate shipment and billing processing from creating duplicate downstream records.
Check the processing result Processing status for the combined shipment and billing record

Original document reference and matching response

  • Reconcile the combined shipment and billing record with the source after a timeout before sending it again. A lost response can occur after the destination has already processed the document.

The document reference includes 17 segments. Use the segment reference below to locate the relevant parts of the message. Check required fields and repetition limits in the partner guide.

Implementation steps

  1. Choose the starting event and owner

    Decide which application acts when shipment and billing details are transmitted together. Name the operational owner of the combined shipment and billing record and the team that resolves rejected or ambiguous messages.

  2. Keep record IDs connected

    Map shipment, invoice and order references. Confirm qualifiers, code lists, units and date/time meaning against the agreed X12 version and Stater Bros. Markets guide. Preserve the source reference alongside any new destination identifier.

  3. Test failures before launch

    Run the failure cases in the mapping table against realistic combined shipment and billing record data. Check how the receiving system reports a rejection and how your team corrects it without creating a duplicate.

  4. Track every document to completion

    Record transport delivery and document validation separately from successful combined shipment and billing record processing. Give unresolved errors an owner and check the receiving system before approving retries.

Go-live checklist

  • An approved 857 sample and the agreed version and partner guide are available.
  • The mapping tests pass with realistic combined shipment and billing record data.
  • Each submitted document can be traced through delivery, validation and processing in the receiving system.
  • Your team knows how to investigate and recover a rejected or timed-out combined shipment and billing record without processing it twice.

Transaction context

Where 857 Shipment and Billing Notice fits on Stater Bros. Markets

Stater Bros. Markets channels
1 of 1

1 of Stater Bros. Markets's 1 channel list 857

Trading partners
3

partner references list 857

Channels
3

channel entries list 857

Document structure

X12 857 Shipment and Billing Notice at the element level

The X12 857 reference contains 39 segment entries and 112 data elements; 48 are marked mandatory in this reference. Use the version and partner guide agreed for your account to confirm required fields.

Segments
39
Data elements
112
Mandatory elements
48
Segments with elements marked mandatory in this reference
Segment Elements Mandatory
BHT 6 2
HL 3 2
FOB 4 1
DTM 2 1
N9 3 1
PER 8 1
CUR 2 2
N1 4 1
TDS 1 1
SAC 4 1
Key identifiers in 857
  • Hierarchical Structure Code
  • Transaction Set Purpose Code
  • Hierarchical ID Number
  • Hierarchical Level Code
  • Shipment Method of Payment
  • Date/Time Qualifier
  • Reference Identification Qualifier
  • Contact Function Code
Segment reference — 17 segments 8 loops · X12 857 Shipment and Billing Notice
ISA Interchange Control Header 16 elements

To start and identify an interchange of zero or more functional groups and interchange-related control segments

GS Functional Group Header 8 elements

To indicate the beginning of a functional group and to provide control information

ST Transaction Set Header 2 elements

To indicate the start of a transaction set and to assign a control number

BHT Beginning of Hierarchical Transaction 5 elements

To define the business hierarchical structure of the transaction set and identify the business application purpose and reference data, i.e., number, date, and time

HL Loop Repeat: 1
HL Hierarchical Level 3 elements

To identify dependencies among and the content of hierarchically related groups of data segments

G05 Loop Repeat: 1
G05 Total Shipment Information 2 elements

To provide totals relating to the shipment

DTM Date/Time Reference 2 elements

To specify pertinent dates and times

N1 Loop Repeat: 10
SE Transaction Set Trailer 2 elements

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

N1 Name 4 elements

To identify a party by type of organization, name, and code

TDS Loop Repeat: 1
TDS Total Monetary Value Summary 1 element

To specify the total invoice discounts and amounts

N9 Reference Identification 2 elements

To transmit identifying information as specified by the Reference Identification Qualifier

PAL Loop Repeat: 1
PAL Pallet Information 1 element

To identify the type and physical attributes of the pallet, and, gross weight, gross volume, and height of the load and the pallet

MAN Marks and Numbers 2 elements

To indicate identifying marks and numbers for shipping containers

IT1 Loop Repeat: 1
IT1 Baseline Item Data (Invoice) 6 elements

To specify the basic and most frequently used line item data for the invoice and related transactions

PO4 Item Physical Details 1 element

To specify the physical qualities, packaging, weights, and dimensions relating to the item

PID Loop Repeat: 25
PID Product/Item Description 2 elements

To describe a product or process in coded or free-form format

SAC Loop Repeat: 25
SAC Service, Promotion, Allowance, or Charge Information 3 elements

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

Related references

Other transactions in Stater Bros. Markets

Other EDI documents listed on this channel.

Stater Bros. Markets EDI 857 questions

Common questions about 857 Shipment and Billing Notice on the Stater Bros. Markets channel.

What is X12 857 Shipment and Billing Notice used for?

857 is used when shipment and billing details are transmitted together. It carries information for the combined shipment and billing record. Match it to your business system using shipment, invoice and order references.

Is 857 required for Stater Bros. Markets?

857 is listed for Stater Bros. Markets. Confirm the required version and direction for your business unit and account with the partner.

What should I map for X12 857?

Start with shipment, invoice and order references and the target combined shipment and billing record. Define duplicate detection, allowed updates and response correlation before mapping individual fields. Use the partner guide to check required fields and their formats.

How should I test 857 error handling?

Reconcile shipped quantity with invoiced quantity while allowing an agreed partial shipment. Prevent separate shipment and billing processing from creating duplicate downstream records. Also test a lost response after destination processing so that a retry cannot create an unintended duplicate or repeated adjustment.

How does 857 relate to other EDI messages?

Keep 857 business processing separate from transport receipt and technical validation. Agree which preceding record, response or reconciliation completes the combined shipment and billing record workflow; confirm any required companion messages with your partner.

Connect Stater Bros. Markets EDI to your business systems

See how Stacksync can fit your enterprise EDI workflow. Bring one partner guide and a sample exchange to plan the system mapping, exception handling and production rollout.