Carriers integration

Canadian National Railway EDI integration

How EDI and API integration with Canadian National Railway typically works: documents, workflows, onboarding and common problems, as typical practice to confirm with Canadian National Railway.

At a glance

Canadian National Railway integration, in three pictures

The industry, the document flow and the outcome for your team. Illustrations only: they show typical practice, not a specific Canadian National Railway program or a customer relationship.

Illustration of a locomotive pulling freight cars, representing the carriers industry that Canadian National Railway operates in.
Industry. Carriers: where Canadian National Railway operates.
Workflow diagram: your TMS, ERP and finance systems exchange documents with Canadian National Railway through ECOM. You send 404; you receive 214, 322; 997 acknowledgments go both ways. Your systems TMS · ERP · finance ECOM integration map · validate · connect · monitor Canadian National Railway 404 404 214 322 214 322 997 both ways
Workflow. Documents in each direction. Orange: you send. Blue: you receive. Typical, not confirmed.
Comparison diagram: without integration, documents are re-keyed, files are emailed and rejections are found late; with ECOM, documents are mapped to your ERP, validated and monitored, and exceptions are visible early. Without integration Tenders and invoices re-keyed Files emailed or uploaded Rejections found late With ECOM Documents mapped to your ERP Every file validated and monitored Exceptions visible early
Outcome. From manual handling to a monitored flow. No figures: results depend on your setup.

Talk to an EDI/API Expert about Canadian National Railway

Tell us which documents you exchange with Canadian National Railway, which ERP you run and when you need to be live. A specialist will outline the connection, mapping and testing plan. This page is a guide based on typical practice; it does not mean ECOM works with Canadian National Railway.

  • Review of Canadian National Railway's requirements with you, once you have them
  • EDI and API integration with your TMS, ERP and finance systems
  • Monitoring and managed service after go-live, if you want it

Prefer to call? Sales 972-836-7750 or email sales@ecom-specialist.com.

Takes about 30 seconds. Phone and note are optional.

Your request is about

Trading partner
Canadian National Railway

When should we talk?

Times are in your time zone. We use this to schedule the conversation.

We use your details only to respond to your request. See our privacy notice. Prefer to talk? Call Sales at 972-836-7750.

Integration and onboarding

How Canadian National Railway integration fits your systems

Your systemsTMS, ERP and accounting
ECOMMapping, validation, connectivity and monitoringAS2, SFTP or VAN · Carrier API · Portal or TMS network
Canadian National RailwayIts program, documents and requirements
  1. ConfirmConfirm your Canadian National Railway program, role and the documents it requires.
  2. MapMap each document to your ERP fields and business rules.
  3. ConnectConfigure the connection and security the program needs.
  4. TestTest against the applicable specifications and acknowledgments.
  5. Go liveGo live with monitoring, alerts and exception handling.
Typical implementation path. Exact requirements are confirmed against the applicable specifications during onboarding.

Overview

Understanding Canadian National Railway integration

Who this is for: Shippers, intermodal marketing companies and logistics providers that move freight by rail with Canadian National Railway, and their transportation and finance teams.

Scope: CN's public page does not describe EDI onboarding steps or testing, and lists no guide for the 858 or 422. Which documents apply depends on your lane and commodity.

Canadian National Railway is a freight railroad. ECOM's directory lists it under rail. Shippers and logistics providers working with railroads typically send shipment information, receive status events and ramp or terminal activity, and settle charges through the railroad's billing process.

With a railroad, the difficulty is keeping tenders, status events and invoices consistent with each other, and noticing a missing message early. Canadian National Railway's own EDI or API specification is not part of this guide and no Canadian National Railway document was read: treat what follows as typical practice for a railroad, and confirm the documents, X12 version, delivery method and testing steps with Canadian National Railway.

ECOM maps the documents to your TMS, ERP and finance systems, tests them with the trading partner, monitors every file after go-live and handles partner changes, as software, as a managed service or both.

Business scenarios

Where Canadian National Railway integration gets complicated

Typical requirements—confirm with your trading partner.

Car and container tracking

Cars and containers move across a network with many events. Identifiers must match between shipper, railroad and logistics provider.

How ECOM helps: ECOM connects tender, response and status messages (214) to your TMS or ERP and shows where each load stands, flagging missing or late status.

What you gain: Planners see current load status, and late or missing messages are noticed early.

Intermodal ramp activity

Ramp events show gate-in, load and release, helping plan drayage.

How ECOM helps: ECOM maps the documents to your systems and monitors every exchange, as software, as a managed service or both, so your team handles exceptions instead of re-keying.

What you gain: Less manual work and fewer surprises after go-live.

Cars, waybills and network events

Rail moves are tracked by car or container and waybill across a network, and charges follow the railroad's billing rules.

How ECOM helps: ECOM maps freight invoice and payment data to your ERP and finance systems and matches each charge to the load it belongs to, with differences listed for review.

What you gain: Faster freight payment and a clear trail for audit.

Appointment and detention

Appointment data and dwell time affect detention charges.

How ECOM helps: ECOM matches freight invoices to the tender and status (214) history and lists charges that differ from the agreed rate or have no supporting event, so they can be reviewed before payment.

What you gain: Fewer overcharges paid, and less manual freight audit work.

Workflows

Typical Canadian National Railway business workflows

Typical requirements—confirm with your trading partner. Typical flows in this industry, not Canadian National Railway's published process.

Shipment to status

  1. 1Send 404 shipment information
  2. 2Railroad moves the car or load
  3. 3Receive 214 status
  4. 4Reconcile charges

Intermodal activity

  1. 1Load at the ramp
  2. 2Receive 322 terminal activity
  3. 3Match to the booking
  4. 4Plan the final leg

Documents and APIs

Canadian National Railway documents by program

General guidance. We could not verify Canadian National Railway's EDI requirements from a published source, so these are documents commonly exchanged in this industry, not Canadian National Railway's confirmed requirements. Confirm the list, versions and programs with Canadian National Railway.

DocumentNameDirectionProgramStatusPurpose
404 Rail Carrier Shipment Information To Canadian National Railway Not stated General guidance Typically gives a railroad the shipment details it needs to move and bill a car or load.
214 Transportation Carrier Shipment Status Message From Canadian National Railway Not stated General guidance Typically reports pickup, location updates and delivery.
322 Terminal Operations and Intermodal Ramp Activity From Canadian National Railway Not stated General guidance Typically reports gate, ramp and container activity at terminals.
997 Functional Acknowledgment Both directions Not stated General guidance Typically confirms that each file was received and could be read.

Connectivity

How companies connect

  • AS2, SFTP or VAN

    Carriers and brokers commonly exchange EDI over AS2, SFTP or a value-added network. Confirm what your partner accepts.

    General guidance

  • Carrier API

    Many carriers also expose tracking, rating or tender APIs next to EDI. Confirm which functions use EDI and which use APIs.

    General guidance

  • Portal or TMS network

    Some carriers and brokers work through a customer portal or a transportation management network instead of, or beside, direct EDI.

    General guidance

Challenges

Common integration challenges

  • Identifiers

    Car, container and waybill references must connect.

  • Status gaps

    Events may arrive late or in a different format.

  • Billing

    Charges follow rail tariffs. Ask Canadian National Railway how this applies to your program.

Automation options for Canadian National Railway shippers

Four ways to automate. One foundation.

ECOM helps you automate the exchange, connect it to your systems, and see what needs action. Canadian National Railway sets its own requirements; ECOM confirms which options fit yours.

PRISM Supply Chain Automation Foundation

One platform beneath every option. Use one, or combine them for different partners and documents.

Compliance and actionable visibility

Connect order processing, shipping documentation, trading partner requirements, and performance monitoring through one coordinated workflow. These capabilities help teams improve shipment accuracy, reduce manual work, address compliance risks, and respond to exceptions before they affect customers.

Discuss Your Trading Partner Requirements

General EDI flow

How EDI with Canadian National Railway typically works

The documents, their order and the timing are Canadian National Railway's to set; this is the general sequence most programs of this kind follow.

  1. 404 Rail Carrier Shipment Information

    From you to Canadian National Railway

    Typically gives a railroad the shipment details it needs to move and bill a car or load.

  2. 214 Transportation Carrier Shipment Status Message

    From Canadian National Railway to you

    Typically reports pickup, location updates and delivery.

  3. 322 Terminal Operations and Intermodal Ramp Activity

    From Canadian National Railway to you

    Typically reports gate, ramp and container activity at terminals.

  4. 997 Functional Acknowledgment

    Both directions

    Typically confirms that each file was received and could be read.

Need help with the specification?

Tell ECOM which program you are in and what the partner has given you. We help you read it, confirm the applicable requirements, map them to your systems and test against them. Do not send passwords or EDI identifiers with your request.

Next step

Get help with your Canadian National Railway program

Each request goes to an ECOM EDI specialist with Canadian National Railway's name attached, so the reply starts from your program.

  • Review Canadian National Railway's requirements

    Send us Canadian National Railway's guide or your program details; we explain the documents, rules and options for meeting them.

    Request a requirements review
  • Connect Canadian National Railway to your ERP

    Tenders, status and freight invoices in and out of the TMS, ERP and finance systems you already run.

    Discuss ERP integration
  • Testing and certification

    Build, test and certify each Canadian National Railway document, then go live with monitoring from the first file.

    Plan testing and certification

Canadian National Railway integration FAQs

Does Canadian National Railway use EDI with shippers?

Railroads commonly exchange EDI with shippers and logistics providers. This page does not include Canadian National Railway's requirements; confirm with Canadian National Railway.

Which documents are typical for rail shipments?

Typically shipment information, status messages and, for intermodal, terminal activity. Exact usage varies by railroad and program.

Which EDI documents are typical for carriers?

Typical documents are 404, 214, 322, 997. That is general practice, not Canadian National Railway's published list; confirm the set with Canadian National Railway.

How does onboarding with Canadian National Railway usually work?

Typically you get the specification from the trading partner, agree the connection, map to your systems, test until the partner accepts the documents, then go live with monitoring. Timing depends on Canadian National Railway's requirements, test cycles and your ERP.

Sources and accuracy

This guide summarizes publicly available information as of November 2026. Canadian National Railway sets its own requirements and can change them at any time; your Canadian National Railway implementation guide, supplier portal or account contact is the authoritative source for your program.

  • ASC X12: transaction set reference (standards body) Standards reference
  • Canadian National Railway: company description Background, not checked against a company source The one-sentence description of Canadian National Railway comes from general public knowledge and was not checked against Canadian National Railway's own website for this page.
  • Canadian National Railway: no company document read Background, not checked against a company source No Canadian National Railway supplier, customer or integration document was read for this page. Everything shown is typical practice for this type of company.

Request Canadian National Railway integration assistance

Tell us about your Canadian National Railway program, documents and ERP. We will outline the connection, mapping and testing plan.