EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 005040

SWD Switching Details

To transmit data relating to the details of the switching service being performed.
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
76
Invoice Number
String (AN)
Optional
1
22
1
Identifying number assigned by issuer
02
Weight
Decimal number (R)
Optional
1
10
1
Numeric value of weight
03
Tariff Application Code
Identifier (ID)
Optional
1
1
1
Code indicating to which traffic a tariff applies
Codes (10)
04
Application Error Condition Code
Identifier (ID)
Optional
1
3
1
Code indicating application error condition
Codes (205)
05
Yes/No Condition or Response Code
Identifier (ID)
Optional
1
1
1
Code indicating a Yes or No condition or response
If SWD05 is �Y�, then this is a direct switch. If �N�, this is an indirect switch.
Codes (4)
06
Yes/No Condition or Response Code
Identifier (ID)
Optional
1
1
1
Code indicating a Yes or No condition or response
If SWD06 is �Y�, then 60 or more cars were interchanged at the same time.
Codes (4)
07
Industry Code
String (AN)
Optional
1
30
1
Code indicating a code from a specific industry code list
SWD07 is the AAR Flag Code.
08
Number
Numeric (N0)
Optional
1
9
1
A generic number
SWD08 is the sheet number.
09
Number
Numeric (N0)
Optional
1
9
1
A generic number
SWD09 is the line number.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.