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

SW Switching Charges

To transmit codes, descriptions and values for switching performed.
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
257
Tariff Application Code
Identifier (ID)
Mandatory
1
1
-
Code indicating to which traffic a tariff applies.
Codes (10)
02
Condition Segment Logical Connector
String (AN)
Mandatory
2
3
-
Code indicating how a specific segment's statement of a rate restriction is evaluated, and its relationship to rate restrictions stated within other segments of the same segment definition. This is a three-part code constructed as follows: position one valid codes are ``P'' or ``M''; position two valid codes are A, O, or I; position three may be any alphanumeric character for grouping.
03
Condition Code
Identifier (ID)
Mandatory
4
4
-
Code defined in the official railway equipment register which identifies the type of restriction or provision applicable to a rate. When combined with element 499, a specific rate restriction or provision is represented.
04
Condition Value
String (AN)
Mandatory
1
10
-
Identifies rate restrictions or provisions of a type identified with data element 498. When combined with 498, a specific rate restriction or provision is represented.
05
Standard Carrier Alpha Code
Identifier (ID)
Optional
2
4
-
Standard Carrier Alpha Code
06
Rate/Value Qualifier
Identifier (ID)
Optional
2
2
-
Code qualifying how to extend charges or interpret value.
Codes (101)
07
Rate
Decimal number (R)
Optional
1
7
-
Rate at which the special charge is determined expressed in the standard monetary denomination for the currency specified.
08
Rule 260 Junction Code
Identifier (ID)
Optional
1
5
-
Code indicating railroad interchange locations.
09
Assigned Number
Numeric (N0)
Optional
1
6
-
Number assigned for differentiation within a transaction set.
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.