X12
Inbound

Canadian National Railway X12 410 Rail Carrier Freight Details and Invoice

Canadian National Railway
The EDI 410 (Rail Carrier Freight Details and Invoice) document is used by Canadian National Railway for electronic data interchange. It enables automated processing and compliance with Canadian National Railway's trading partner requirements.
22segments
4loops
14mandatory

Schema Reference

22 segments · X12 410 Rail Carrier Freight Details and Invoice

ISA ISA Interchange Control Header
Mandatory Max: 1
ISA01 Authorization Information Qualifier
M ID 2-2
ISA02 Authorization Information
M AN 10-10
ISA03 Security Information Qualifier
M ID 2-2
ISA04 Security Information
M AN 10-10
ISA05 Interchange ID Qualifier
M ID 2-2
ISA06 Interchange Sender ID
M AN 15-15
ISA07 Interchange ID Qualifier
M ID 2-2
ISA08 Interchange Receiver ID
M AN 15-15
ISA09 Interchange Date
M DT 6-6
ISA10 Interchange Time
M TM 4-4
ISA11 Interchange Control Standards Identifier
M ID 1-1
ISA12 Interchange Control Version Number
M ID 5-5
ISA13 Interchange Control Number
M N0 9-9
ISA14 Acknowledgment Requested
M ID 1-1
ISA15 Usage Indicator
M ID 1-1
GS GS Functional Group Header
Mandatory Max: 1
GS01 Functional Identifier Code
M ID 2-2
GS02 Application Sender's Code
M AN 2-15
GS03 Application Receiver's Code
M AN 2-15
GS04 Date
M DT 8-8
GS05 Time
M TM 4-8
GS06 Group Control Number
M N0 1-9
GS07 Responsible Agency Code
M ID 1-2
GS08 Version / Release / Industry Identifier Code
M AN 1-12
ST Transaction Set Header
Mandatory Max: 1
ST01 Transaction Set Identifier Code
M ID 3-3
ST02 Transaction Set Control Number
M AN 4-9
B3B Beginning Segment for Carrier's Invoice
Mandatory Max: 1
B3B01 Invoice Number
M AN 1-22
B3B02 Shipment Method of Payment
M ID 2-2
B3B03 Date
M DT 8-8
B3B04 Net Amount Due
M N2 1-12
B3B05 Date
O DT 8-8
B3B06 Standard Carrier Alpha Code
M ID 2-4
B3B07 Transportation Method/Type Code
M ID 1-2
B3B11 Currency Code
O ID 3-3
C4 Alternate Amount Due
Optional Max: 1
C401 Currency Code
M ID 3-3
C402 Net Amount Due
M N2 1-12
N9 Reference Identification
Optional Max: 30
N901 Reference Identification Qualifier
M ID 2-3
N902 Reference Identification
C AN 1-30
N903 Free-form Description
C AN 1-45
N7 Loop Repeat: 500
N7 Equipment Details
Mandatory Max: 1
N701 Equipment Initial
O AN 1-4
N702 Equipment Number
M AN 1-10
N703 Weight
C R 1-10
N704 Weight Qualifier
C ID 1-2
N705 Tare Weight
C N0 3-8
N708 Volume
C R 1-8
N709 Volume Unit Qualifier
C ID 1-1
N711 Equipment Description Code
O ID 2-2
N712 Standard Carrier Alpha Code
O ID 2-4
N715 Equipment Length
O N0 4-5
N716 Tare Qualifier Code
C ID 1-1
N720 Height
O R 1-8
N722 Equipment Type
O ID 4-4
M7 Seal Numbers
Optional Max: 5
M701 Seal Number
M AN 2-15
N8 Waybill Reference
Mandatory Max: 499
N801 Waybill Number
M N0 1-6
N802 Date
M DT 8-8
F9 Origin Station
Mandatory Max: 1
F901 Freight Station Accounting Code
O ID 1-5
F902 City Name
M AN 2-30
F903 State or Province Code
M ID 2-2
F908 Standard Point Location Code
O ID 6-9
D9 Destination Station
Mandatory Max: 1
D901 Freight Station Accounting Code
O ID 1-5
D902 City Name
M AN 2-30
D903 State or Province Code
M ID 2-2
D908 Standard Point Location Code
O ID 6-9
N1 Loop Repeat: 10
N1 Name
Optional Max: 1
N101 Entity Identifier Code
M ID 2-3
N102 Name
C AN 1-60
N103 Identification Code Qualifier
C ID 1-2
N104 Identification Code
C AN 2-80
N3 Address Information
Optional Max: 2
N301 Address Information
M AN 1-55
N4 Geographic Location
Optional Max: 1
N401 City Name
O AN 2-30
N402 State or Province Code
O ID 2-2
N403 Postal Code
O ID 3-15
R2 Route Information
Optional Max: 13
R201 Standard Carrier Alpha Code
M ID 2-4
R202 Routing Sequence Code
M ID 1-2
LX Loop Repeat: 25
LX Assigned Number
Mandatory Max: 1
LX01 Assigned Number
M N0 1-6
L5 Description, Marks and Numbers
Mandatory Max: 15
L501 Lading Line Item Number
O N0 1-3
L502 Lading Description
O AN 1-50
L503 Commodity Code
C AN 1-30
L504 Commodity Code Qualifier
C ID 1-1
L0 Loop Repeat: 25
L0 Line Item - Quantity and Weight
Mandatory Max: 1
L001 Lading Line Item Number
O N0 1-3
L004 Weight
C R 1-10
L005 Weight Qualifier
C ID 1-2
L008 Lading Quantity
C N0 1-7
L009 Packaging Form Code
C ID 3-3
L1 Rate and Charges
Mandatory Max: 10
L101 Lading Line Item Number
O N0 1-3
L102 Freight Rate
C R 1-9
L103 Rate/Value Qualifier
C ID 2-2
L104 Charge
C N2 1-12
L105 Advances
C N2 1-9
L106 Prepaid Amount
C N2 1-9
L108 Special Charge or Allowance Code
O ID 3-3
L117 Billed/Rated-as Quantity
C R 1-11
L118 Billed/Rated-as Qualifier
C ID 2-2
PI Price Authority Identification
Optional Max: 30
PI01 Reference Identification Qualifier
M ID 2-3
PI02 Reference Identification
M AN 1-30
PI05 Tariff Agency Code
O ID 1-4
PI08 Tariff Item Number
O AN 1-16
L3 Total Weight and Charges
Mandatory Max: 1
L301 Weight
C R 1-10
L302 Weight Qualifier
C ID 1-2
L303 Freight Rate
C R 1-9
L304 Rate/Value Qualifier
C ID 2-2
L305 Charge
O N2 1-12
L306 Advances
O N2 1-9
L308 Special Charge or Allowance Code
O ID 3-3
SE Transaction Set Trailer
Mandatory Max: 1
SE01 Number of Included Segments
M N0 1-10
SE02 Transaction Set Control Number
M AN 4-9
How It Works

Automating Canadian National Railway EDI 410

Stacksync validates, transforms, and delivers your 410 transactions automatically — so your team can focus on operations, not EDI compliance.

Validate
Transform
Route
Monitor
Stacksync processes Canadian National Railway EDI 410 (Rail Carrier Freight Details and Invoice) documents automatically — syncing data to your system in real time with no manual intervention required.

Canadian National Railway EDI 410 FAQ

Common questions about 410 Rail Carrier Freight Details and Invoice transactions with Canadian National Railway.

How long does it take to set up Canadian National Railway EDI with Stacksync?

Most suppliers are fully connected and processing live Canadian National Railway EDI transactions within 3–5 business days. Stacksync's no-code setup means you don't need developers or EDI consultants — configure your field mappings through our visual interface, run a test cycle, and go live.

Do I need an existing VAN or AS2 connection to trade with Canadian National Railway?

No. Stacksync handles the entire EDI transport layer. We connect directly to Canadian National Railway's trading partner network through our certified connections. You don't need to manage a separate VAN subscription, AS2 certificates, or SFTP configurations.

How does Stacksync help with Canadian National Railway compliance?

Stacksync improves compliance scores by eliminating manual processing delays. Purchase Orders sync to your system in real time, ASNs are generated automatically when you ship, and invoices are validated with three-way matching before submission. Real-time monitoring alerts you to issues before they become chargebacks.

What EDI document types does Stacksync support for Canadian National Railway?

Stacksync supports all EDI document types required by Canadian National Railway — including Purchase Orders (850), Invoices (810), ASNs (856), PO Acknowledgments (855), and more. Our platform handles the full lifecycle from order to payment automatically.

Can I connect Canadian National Railway EDI to my existing ERP or WMS?

Yes. Stacksync integrates with any system that has a database or API — including SAP, Oracle, NetSuite, Microsoft Dynamics, and custom-built ERPs. Data flows bidirectionally between Canadian National Railway's EDI network and your system in real time.

What happens when Canadian National Railway updates their EDI specifications?

Stacksync monitors Canadian National Railway's EDI spec changes and updates our mappings proactively. When a change affects your integration, we notify you and apply updates — so you stay compliant without scrambling to decode new implementation guides.

Ready to automate Canadian National Railway EDI?

a blue checkmark icon
14-day free trial
a blue checkmark icon
No-code EDI setup
a blue checkmark icon
Real-time compliance monitoring
a blue checkmark icon
White-glove onboarding