To start and identify an interchange of zero or more functional groups and interchange-related control segments
Norfolk Southern X12 998 Set Cancellation
X12 998 (Set Cancellation) is the EDI transaction exchanged between Norfolk Southern (Norfolk Southern) and its trading partners. Stacksync handles full compliance, mapping, and real-time delivery.
- Segments
- 5
- Loops
- 0
- X12 998
- All partners ↗
Transaction context
Where 998 Set Cancellation fits on Norfolk Southern
- Norfolk Southern channels
- 1 of 1
- Trading partners
- 4
- Channels
- 4
1 of Norfolk Southern's 1 channel carries 998
partners across the Stacksync network trade 998
channels network-wide carry 998
The 998 requests deletion of a previously transmitted transaction set and states the reason, such as a diverted shipment or cancelled bill. In practice it is a rail document: shippers use it to void a bill of lading (404) already submitted to the railroad while it is still suspended in the carrier's system. It is a three-segment message (ST, ZD, SE) whose ZD segment identifies the original document by equipment initial and number, bill of lading number, and sender, with a CA qualifier marking the cancellation. Sent by the rail shipper (the railroad's customer) to the rail carrier holding the previously submitted 404 bill of lading.
When it fires: A rail shipment is cancelled or diverted after the bill of lading has been transmitted to the railroad but before the car is waybilled and moves.
- Equipment initial, equipment number, or bill of lading number that do not match the original 404, so the carrier cannot identify which suspended bill to void.
- X12 version mismatch: carriers such as CN require the 998 to be sent in the same version as the 404 it cancels.
- Missing the CA cancellation qualifier in the ZD segment, so the request does not register as a cancellation.
- Cancellation attempted after the bill of lading has left suspended status because the shipment was already waybilled, so no matching suspended bill exists to void.
Specification summary
X12 998 Set Cancellation at the element level
The X12 998 specification defines 5 segments carrying 34 data elements, 30 of which are mandatory.
- Segments
- 5
- Data elements
- 34
- Mandatory elements
- 30
| Segment | Elements | Mandatory |
|---|---|---|
| ZD | 8 | 4 |
- Transaction Set Identifier Code
- Equipment Initial
- Equipment Number
- Correction Indicator Code
Full segment guideline — 5 segments 0 loops · X12 998 Set Cancellation
To indicate the beginning of a functional group and to provide control information
To indicate the start of a transaction set and to assign a control number
This segment is used to specify the transaction set to be canceled
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Trading partners
2+ trading partners.
And every channel covered.
We connect to every major retailer, distributor, and 3PL on the EDI network. Type to search the directory, or browse the full catalogue.
Norfolk Southern Norfolk Southern EDI 998 FAQ
Common questions about 998 Set Cancellation on the Norfolk Southern channel.
What is X12 998 Set Cancellation?
Does Norfolk Southern Norfolk Southern require 998 for trading partners?
How fast can I integrate Norfolk Southern 998 with Stacksync?
Which documents accompany 998 on Norfolk Southern?
Ready to automate your Norfolk Southern EDI?
Most teams go live in days, not months. Talk to our team and we'll walk you through your specific setup.