X12 transaction code
X12 404 Rail Carrier Shipment Information
X12 404 Rail Carrier Shipment Information: explore its business purpose, mapping identifiers, validation tests and 8 partner references across 8 listed channels.
- Standard
- X12
- Code
- 404
- Partner references
- 8
Implementation guide
X12 404 mapping and validation
X12 404 Rail Carrier Shipment Information is used when rail movement instructions are ready for carrier use. Preserve rail shipment reference, equipment and route so the rail shipment in your business system stays connected to the original document.
Use the version and implementation guide agreed with your trading partner to confirm required fields and responses.
| Document or decision | Record and matching IDs | What to test |
|---|---|---|
| Match the business record | rail shipment rail shipment reference, equipment and route |
|
| Update the receiving system | Processing the rail shipment ID assigned by the receiving system and processing result |
|
| Check the processing result | Processing status for the rail shipment Original document reference and matching response |
|
How the related documents differ
Each message represents a different business event. Use shared references to connect the records while tracking each message’s outcome separately.
- X12 417 Rail Carrier Waybill Interchange
rail waybill interchange: rail shipment information passes between carriers.
- X12 410 Rail Carrier Freight Details And Invoice
rail-freight payable: rail transport charges are ready to reconcile.
Implementation steps
-
Choose the starting event and owner
Decide which application acts when rail movement instructions are ready for carrier use. Name the operational owner of the rail shipment and the team that resolves rejected or ambiguous messages.
-
Keep record IDs connected
Map rail shipment reference, equipment and route. Confirm qualifiers, code lists, units and date/time meaning against the agreed X12 version and partner guide. Preserve the source reference alongside any new destination identifier.
-
Test failures before launch
Run the failure cases in the mapping table against realistic rail shipment data. Check how the receiving system reports a rejection and how your team corrects it without creating a duplicate.
-
Track every document to completion
Record transport delivery and document validation separately from successful rail shipment processing. Give unresolved errors an owner and check the receiving system before approving retries.
Go-live checklist
- An approved 404 sample and the agreed version and partner guide are available.
- The mapping tests pass with realistic rail shipment 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 rail shipment without processing it twice.
Document structure
X12 404 Rail Carrier Shipment Information at the element level
The X12 404 reference contains 117 segment entries and 755 data elements; 124 are marked mandatory in this reference. Use the version and partner guide agreed for your account to confirm required fields.
- Segments
- 117
- Data elements
- 755
- Mandatory elements
- 124
| Segment | Elements | Mandatory |
|---|---|---|
| ZC1 | 9 | 6 |
| BX | 12 | 3 |
| M3 | 4 | 1 |
| N9 | 6 | 1 |
| M1 | 12 | 1 |
| DTM | 4 | 1 |
| N7 | 19 | 1 |
| VC | 8 | 1 |
| N1 | 4 | 1 |
| N3 | 2 | 1 |
| M7 | 4 | 1 |
| IC | 9 | 2 |
- Equipment Number
- Transaction Reference Number
- Transaction Reference Date
- Correction Indicator Code
- Standard Carrier Alpha Code
- Transportation Method/Type Code
- Transaction Set Purpose Code
- Shipment Method of Payment Code
Find your trading partner for X12 404
8 partners, 8 channels. Choose a channel to inspect its listed document reference and implementation context.
Catalog breakdown
Where X12 404 Rail Carrier Shipment Information appears in this catalog
The largest groups of classified 404 catalog entries are in logistics & transport.
By industry
- logistics & transport 8 channels
FAQ
X12 404 questions
What is X12 404 Rail Carrier Shipment Information used for?
404 is used when rail movement instructions are ready for carrier use. It carries information for the rail shipment. Match it to your business system using rail shipment reference, equipment and route.
Which partners list X12 404?
The directory on this page links 8 partner entries that list this message. Choose your partner and channel, then confirm which messages and versions your account requires.
What should I map for X12 404?
Start with rail shipment reference, equipment and route and the target rail shipment. 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 404 error handling?
Test a route involving more than one carrier and retain interchange details. Separate repeated equipment numbers across different shipment dates. Also test a lost response after destination processing so that a retry cannot create an unintended duplicate or repeated adjustment.
How does 404 relate to other EDI messages?
X12 417 Rail Carrier Waybill Interchange; X12 410 Rail Carrier Freight Details And Invoice are related documents linked from this page. Match these documents through their order, shipment or invoice references. Agree which response marks each business step as complete.
What is the difference between 404 and 417?
404 is used when rail movement instructions are ready for carrier use. 417 is used when rail shipment information passes between carriers. Each message represents a different business step. Keep their record references connected and track the processing result for each message.
Connect 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.




