EDI 858 Shipment Information, Step by Step

How to build and send an EDI 858 shipment information transaction set, including BX/BNX segments, so your carrier or OEM accepts it on the first try.

Share

If you've only ever mapped an 856 or built a 204 load tender, the EDI 858 Shipment Information transaction set will feel oddly shaped the first time you open a sample. It's not a pre-shipment tender and it's not a post-pack ASN. The EDI 858 shipment information transaction exists to carry detailed bill-of-lading, rating, and scheduling data for a shipment that's already moving or about to move, and it shows up most often in places this blog hasn't covered yet: rail, intermodal, government freight, and automotive OEM routing. This walkthrough builds one from scratch, segment by segment, and covers the one mistake that causes the most silent rejections in production.

What the EDI 858 Actually Carries, and Who Sends It

The 858 is the X12 transaction set built to provide the sender with the capability to transmit detailed bill-of-lading, rating, and/or scheduling information pertinent to a shipment. That's the whole job. It doesn't announce a shipment the way an 856 does, and it doesn't tender freight to a carrier the way a 204 does. It documents the shipment as a formal, auditable record.

In practice, it's sent by a shipper, government shipping office or carrier, and received by a carrier, payment office or other shipment party. That sender/receiver flexibility is why the 858 shows up in such different contexts. One EDI dictionary frames it bluntly: the transaction is audit-facing, and it is the structured shipment record a payer or auditor uses to verify that the freight they are being charged for is the freight that was actually tendered. Two concrete production examples are worth knowing by name. FCA US uses the 858 for its AETC program, and upon the creation of an AETC record designating a shipment to be expedited, FCA US will send the 858 to notify carriers of the expedite. Separately, the Department of Defense built its freight conventions around the same transaction set: Defense (DoD) will use to send freight Government bill of lading (GBL) shipment information using the ASC X12.18 Transaction Set 858 Shipment Information (003010).

Before You Start: What You Need

Confirm with your trading partner, in writing, that they actually want an 858. This sounds obvious, but a surprising number of partner intake forms conflate "shipment information" with "advance ship notice," and you don't want to build a full X12 858 transaction set only to find out they meant an 856.

  • The functional group ID code, which is SI for Shipment Information, set in GS01. Teams copying an 856 envelope template often leave the old GS01 value in place, which fails envelope-level validation before the transaction even gets parsed.
  • Your shipment identification number, unique from origin to destination, and the carrier's SCAC code issued by the NMFTA.
  • Mode of transport (motor, rail, air, or multimodal) and the shipment qualifier code you intend to send in BX07.
  • Party names and addresses for shipper, consignee, and carrier.
  • Commodity description, weight, and if the move is rail, the origin and destination station codes plus any rail-specific weighing or billing information.
  • Access to a test AS2 or VAN connection, plus a mapping tool such as Cleo, SPS Commerce, or TrueCommerce, or your TMS's native EDI module.

Building the 858, Step by Step

The core 858 structure is lean compared to an 856: ST, ZC1, BX, BNX, M3, N9, and CM form the heading, with R2 and R3 carrying route information further down before you reach the L3 summary segment. Here's the build sequence in order.

  1. Open the envelope. ISA/GS with GS01 set to SI, since the 858 travels in functional group SI, the GS01 value, then ST01 = 858.
  2. Populate the BX segment. This is the 858's header, and it's mandatory. BX sets the mode (motor), payment (prepaid), the shipper's shipment ID and the carrier SCAC. Include the transaction set purpose code (00 for original) and the shipment qualifier in BX07. Note that BX05 contains the SCAC of the original roadhaul carrier receiving the shipment, which trips people up on multi-leg moves where the SCAC changes partway through.
  3. Add BNX only for rail moves. The BNX segment carries rail-specific shipment data and is optional on every version of the spec. If your shipment is motor or air, skip it entirely. This is the segment partners most often forget to drop when a rail template gets reused for a truckload move, or forget to add when it genuinely is rail.
  4. Build the N1 loops. Shipper, consignee, and carrier each get their own N1/N3/N4 address loop.
  5. Add G62 and L3. G62 carries pickup and delivery dates; L3 carries total weight, volume, and charge information for the shipment summary.
  6. Close the transaction. SE trailer with a segment count that matches what you actually sent, then GE and IEA to close the functional group and interchange.
  7. Transmit. Send through your AS2 or VAN connection to the trading partner and wait for acknowledgment.

A real-world BX segment for a motor shipment looks close to BX*00*J*PP*LKS3011804*HWLX**B, which maps to an original transaction, motor mode, prepaid, a shipper-assigned ID, the carrier SCAC, and a shipment qualifier of B. That last code matters more than it looks, and we'll come back to it.

How You Know It Worked

A clean 858 transmission gets you three confirmations, not one. First, EDI 997 Functional Acknowledgment is sent back from the trading partner in response to an EDI 858 that the EDI 858 transaction set is successfully received, or a 999 if your partner runs the newer acknowledgment standard. That only confirms the envelope parsed. Second, confirm with your partner that the shipment record actually populated their TMS or warehouse system correctly, not just that the file was accepted. Third, if your workflow expects a downstream transaction, cross-check it: in government freight contexts the 858 is usually followed by an 859 freight invoice, and the payment office audits the invoice against the original 858 bill of lading data.

Failure Mode: Shipment Qualifier Mismatches

Here's the one that eats hours. BX07 is the shipment qualifier, and B means bill of lading for an individual shipment. Other codes exist for master or consolidated bills. If your system sends B for what the carrier's TMS expects to be a consolidated master bill, you get a 999 that passes syntax validation but a downstream shipment record that doesn't reconcile, because the carrier's system is looking for child shipments nested under a parent BOL that your data never described. This is a silent failure by design. The envelope is syntactically valid, so your 997/999 comes back clean, and the problem only surfaces when billing or routing breaks days later. The fix: pull the partner's implementation guide and confirm BX07 against their expected qualifier codes before you go live, not after the first rejected invoice. Re-test in the ISA15 test environment flag, confirm the partner's TMS reflects the shipment correctly, then flip to production. Automotive partners running AETC-style notifications are especially unforgiving here, because routing and expedite decisions downstream depend on reading that qualifier correctly the first time.

EDI 858 vs. EDI 856 vs. EDI 211: Picking the Right Transaction

These three get confused constantly because they all touch "shipment." They're not interchangeable.

TransactionWhat it actually isTypical senderWhere it's used
EDI 856Ship Notice/ASN, announces the shipment after it's packed, listing what's in which cartonShipper/vendorRetail and distribution receiving
EDI 211Motor carrier bill of lading, confirming freight details for a truckload moveCarrier or shipperStandard LTL/truckload motor freight
EDI 858Detailed bill-of-lading, rating and scheduling data, any modeShipper (usually)Rail, intermodal, government GBL/CBL, automotive OEM routing

The practical distinction: an 856 tells the receiver what's coming. An 858 documents, in audit-grade detail, what actually moved and under what billing terms. If your partner is asking for rating or scheduling data tied to a specific mode like rail, you're building an 858, not an 856 with extra fields bolted on.

This complexity is exactly why multi-carrier shipping platforms exist. Tools like MercuryGate, Descartes, Transporeon, Alpega, Uber Freight, and Cargoson sit on top of carrier connectivity and can generate or translate 858, 856, and 211 data behind a single interface, so your team isn't hand-mapping a separate X12 858 transaction set for every rail and intermodal partner on the network.

Keeping 858 Maintenance Manageable Long Term

Version drift is the quiet cost here. FCA US's CENTS implementation runs on version 003010, while other partners sit on 004010 or 005010, and the segment layouts shift enough between releases that a map built for one version won't parse cleanly against another. Document your BX and BNX mapping decisions per partner, including exactly which shipment qualifier code you agreed on and why, because the next person onboarding a new OEM relationship or rail partner will thank you for not having to reverse-engineer it from a rejected 999.

If rail and intermodal partners make up a small slice of your EDI footprint, maintaining raw X12 maps in-house for a handful of 858 relationships may not be worth the overhead. Platforms like Cargoson, FreightPOP, and 3Gtms exist specifically to absorb that complexity for shippers who don't want a dedicated EDI specialist babysitting BNX segments for three rail lanes a quarter. For everyone else, the build above gets you a working, compliant 858. Test it against your partner's actual implementation guide before go-live, not their generic spec sheet, and verify the BX07 qualifier twice.