X12 Release 4010
Delimiters: ~ Segment * Element > Component
Certified March 23, 2023
Grainger

X12 850 Purchase Order

This Draft Standard for Trial Use contains the format and establishes the data contents of the Purchase Order Transaction Set (850) for use within the context of an Electronic Data Interchange (EDI) environment.
ISA
Interchange Control Header
Required
Max Use 1
To start and identify an interchange of zero or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Authorization Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA02
I02
Authorization Information
Required
alphanumeric (AN)
Min 10 Max 10
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA03
I03
Security Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Security Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA04
I04
Security Information
Required
alphanumeric (AN)
Min 10 Max 10
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA05
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA06
I06
Interchange Sender ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA07
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA08
I07
Interchange Receiver ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA09
I08
Interchange Date
Required
date (DT)
Min 6 Max 6
Date of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA10
I09
Interchange Time
Required
time (TM)
Min 4 Max 4
Time of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA11
I10
Interchange Control Standards Identifier
Required
ID
Min 1 Max 1
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
This version number covers the interchange control segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA13
I12
Interchange Control Number
Required
numeric (N0)
Min 9 Max 9
A control number assigned by the interchange sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA14
I13
Acknowledgment Requested
Required
ID
Min 1 Max 1
Code sent by the sender to request an interchange acknowledgment (TA1)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA15
I14
Usage Indicator
Required
ID
Min 1 Max 1
Code to indicate whether data enclosed by this interchange envelope is test, production or information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA16
I15
Component Element Separator
Required
undefined ()
Min 1 Max 1
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS
Functional Group Header
Required
Max Use 1
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Required
ID
Min 2 Max 2
Code identifying a group of application related transaction sets
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS02
142
Application Sender's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission; codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS03
124
Application Receiver's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission. Codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS04
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS05
337
Time
Required
time (TM)
Min 4 Max 8
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS06
28
Group Control Number
Required
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS07
455
Responsible Agency Code
Required
ID
Min 1 Max 2
Code used in conjunction with Data Element 480 to identify the issuer of the standard
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS08
480
Version / Release / Industry Identifier Code
Required
alphanumeric (AN)
Min 1 Max 12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ST
Transaction Set Header
Required
Max Use 1
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
850
Purchase Order
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BEG
Beginning Segment for Purchase Order
Required
Max Use 1
To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates
BEG01
353
Transaction Set Purpose Code
Required
ID
Min 2 Max 2
Code identifying purpose of transaction set
00
Original
BEG02
92
Purchase Order Type Code
Required
ID
Min 2 Max 2
Code specifying the type of Purchase Order
DR
Direct Ship
NE
New Order
BEG03
324
Purchase Order Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BEG04
328
Release Number
Optional
alphanumeric (AN)
Min 1 Max 30
Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BEG05
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF
Reference Identification
Required
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
IA
Grainger Internal Supplier Number
KD
Grainger Brand Organization Code Value
IT
Grainger Customer Purchase Order Number
CR
Grainger Customer Account Number
DI
Grainger Customer Project/Job Number
DP
Grainger Customer Department/Cost Center
RE
Grainger Customer Release Number
REF02
127
Reference Identification
Optional
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER
Administrative Communications Contact
Required
Max Use 3
To identify a person or office to whom administrative communications should be directed
Syntax Notes
If any of PER03 or PER04 are present, then all are required.
If any of PER05 or PER06 are present, then all are required.
If any of PER07 or PER08 are present, then all are required.
PER01
366
Contact Function Code
Required
ID
Min 2 Max 2
Code identifying the major duty or responsibility of the person or group named
BD
Grainger Buyer Name
CN
Grainger Customer Contact
DI
Grainger Customer Delivery Contact
PER02
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER03
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
TE
Telephone
PER04
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 80
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER05
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
FX
Fax number
PER06
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 80
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PER07
365
Communication Number Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type of communication number
EM
Email address
PER08
364
Communication Number
Optional
alphanumeric (AN)
Min 1 Max 80
Complete communications number including country or area code when applicable
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ITD
Terms of Sale/Deferred Terms of Sale
Optional
To specify terms of sale
Syntax Notes
If ITD03 is present, then at least one of ITD04, ITD05 or ITD13 is required.
If ITD08 is present, then at least one of ITD04, ITD05 or ITD13 is required.
If ITD09 is present, then at least one of ITD10 or ITD11 is required.
ITD12
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

N9 loop

Required
Min Items
Max Loop 1000
N9
Reference Identification
Required
Max Use 1
To transmit identifying information as specified by the Reference Identification Qualifier
Syntax Notes
At least one of N902 or N903 is required.
If N906 is present, then and N905 is required.
N901
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
L1
Letters or Notes
N902
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
MSG
Message Text
Required
Max Use 1000
To provide a free-form format that allows the transmission of text information
Syntax Notes
If MSG03 is present, then and MSG02 is required.
MSG01
933
Free-Form Message Text
Required
alphanumeric (AN)
Min 1 Max 264
Free-form message text
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

N1 loop

Required
Min Items
Max Loop 200
N1
Name
Required
Max Use 1
To identify a party by type of organization, name, and code
Syntax Notes
At least one of N102 or N103 is required.
If any of N103 or N104 are present, then all are required.
N101
98
Entity Identifier Code
Required
ID
Min 2 Max 3
Code identifying an organizational entity, a physical location, property or an individual
OB
Ordered by (Grainger)
VN
Vendor
SF
Ship From (Vendor)
ST
Ship To
SO
Sold to (Grainger Customer)
N102
93
Name
Required
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N103
66
Identification Code Qualifier
Required
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
92
N104
67
Identification Code
Required
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N2
Additional Name Information
Optional
Max Use 2
To specify additional names or those longer than 35 characters in length
N201
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N202
93
Name
Optional
alphanumeric (AN)
Min 1 Max 60
Free-form name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N3
Address Information
Required
Max Use 2
To specify the location of the named party
N301
166
Address Information
Required
alphanumeric (AN)
Min 1 Max 55
Address information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N302
166
Address Information
Optional
alphanumeric (AN)
Min 1 Max 55
Address information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N4
Geographic Location
Required
To specify the geographic place of the named party
Syntax Notes
If N406 is present, then and N405 is required.
N401
19
City Name
Required
alphanumeric (AN)
Min 2 Max 30
Free-form text for city name
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N402
156
State or Province Code
Required
ID
Min 2 Max 2
Code (Standard State/Province) as defined by appropriate government agency
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N403
116
Postal Code
Required
ID
Min 3 Max 15
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
N404
26
Country Code
Required
ID
Min 2 Max 3
Code identifying the country
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

PO1 loop

Required
Min Items
Max Loop 100000
PO1
Baseline Item Data
Required
Max Use 1
To specify basic and most frequently used line item data
Syntax Notes
If PO103 is present, then and PO102 is required.
If PO105 is present, then and PO104 is required.
If any of PO106 or PO107 are present, then all are required.
If any of PO108 or PO109 are present, then all are required.
If any of PO110 or PO111 are present, then all are required.
If any of PO112 or PO113 are present, then all are required.
If any of PO114 or PO115 are present, then all are required.
If any of PO116 or PO117 are present, then all are required.
If any of PO118 or PO119 are present, then all are required.
If any of PO120 or PO121 are present, then all are required.
If any of PO122 or PO123 are present, then all are required.
If any of PO124 or PO125 are present, then all are required.
PO101
350
Assigned Identification
Required
alphanumeric (AN)
Min 1 Max 20
Alphanumeric characters assigned for differentiation within a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO102
330
Quantity Ordered
Required
decimal (R)
Min 1 Max 15
Quantity ordered
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO103
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO104
212
Unit Price
Required
decimal (R)
Min 1 Max 17
Price per unit of product, service, commodity, etc.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO106
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
CB
Grainger stock number
CB
Grainger Sourcing (FindMRO) Stock Number
PO107
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO108
235
Product/Service ID Qualifier
Required
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
VN
Vendor item number
PO109
234
Product/Service ID
Required
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO110
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
CP
Grainger customer material number
PO111
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO112
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
PL
Grainger customer PO line number
PO113
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO114
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
MN
Manufacturer model number
PO115
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO116
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
MG
Manufacturer's part number
PO117
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO118
235
Product/Service ID Qualifier
Optional
ID
Min 2 Max 2
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
UD
UPC./EAN consumer package code (2-5-5)
PO119
234
Product/Service ID
Optional
alphanumeric (AN)
Min 1 Max 48
Identifying number for a product or service
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID loop
Required
Max Loop 1000
PID
98
Product/Item Description
Required
Min 1 Max 1
Max Use 1
To describe a product or process in coded or free-form format
Syntax Notes
If PID04 is present, then and PID03 is required.
At least one of PID04 or PID05 is required.
If PID07 is present, then and PID03 is required.
If PID08 is present, then and PID04 is required.
If PID09 is present, then and PID05 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID01
349
Item Description Type
Required
ID
Min 1 Max 1
Code indicating the format of a description
F
Free-form
PID05
352
Description
Required
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
FOB
F.O.B. Related Instructions
Required
To specify transportation instructions relating to shipment
Syntax Notes
If FOB03 is present, then and FOB02 is required.
If FOB04 is present, then and FOB05 is required.
If FOB07 is present, then and FOB06 is required.
If FOB08 is present, then and FOB09 is required.
FOB01
146
Shipment Method of Payment
Required
ID
Min 2 Max 2
Code identifying payment terms for transportation charges
PO
Prepaid
PO
Prepaid with exception
CC
Collect
CC
Collect with exception
CC
Collect and allowed
CC
Consignee collect
PA
Prepaid and add
TP
Third Party Pay
FOB02
309
Location Qualifier
Optional
ID
Min 1 Max 2
Code identifying type of location
DE
Destination
OA
Origin
FOB03
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
FOB04
334
Transportation Terms Qualifier Code
Optional
ID
Min 2 Max 2
Code identifying the source of the transportation terms
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD5
Carrier Details (Routing Sequence/Transit Time)
Optional
Max Use 12
To specify the carrier and sequence of routing and provide transit time information
Syntax Notes
At least one of TD502, TD504, TD505, TD506 or TD512 is required.
If TD502 is present, then and TD503 is required.
If TD507 is present, then and TD508 is required.
If TD510 is present, then and TD511 is required.
If TD513 is present, then and TD512 is required.
If TD514 is present, then and TD513 is required.
If TD515 is present, then and TD512 is required.
TD502
66
Identification Code Qualifier
Optional
ID
Min 1 Max 2
Code designating the system/method of code structure used for Identification Code (67)
ZZ
Carrier code qualifier
TD503
67
Identification Code
Optional
alphanumeric (AN)
Min 2 Max 80
Code identifying a party or other code
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD505
387
Routing
Required
alphanumeric (AN)
Min 1 Max 35
Free-form description of the routing or requested routing for shipment, or the originating carrier's identity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD4
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Optional
Max Use 5
To specify transportation special handling requirements, or hazardous materials information, or both
Syntax Notes
At least one of TD401, TD402 or TD404 is required.
If TD402 is present, then and TD403 is required.
TD401
152
Special Handling Code
Optional
ID
Min 2 Max 3
Code specifying special transportation handling instructions
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD404
352
Description
Optional
alphanumeric (AN)
Min 1 Max 80
A free-form description to clarify the related data elements and their content
ZZZ
Mutually Defined
MSG
Message Text
Optional
To provide a free-form format that allows the transmission of text information
Syntax Notes
If MSG03 is present, then and MSG02 is required.
MSG01
933
Free-Form Message Text
Required
alphanumeric (AN)
Min 1 Max 264
Free-form message text
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SCH loop
Required
Max Loop 200
SCH
98
Line Item Schedule
Required
Min 1 Max 1
Max Use 1
To specify the data for scheduling a specific line-item
Syntax Notes
If SCH03 is present, then and SCH04 is required.
If SCH08 is present, then at least one of SCH09 or SCH10 is required.
If SCH09 is present, then and SCH08 is required.
If SCH10 is present, then and SCH08 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SCH01
380
Quantity
Required
decimal (R)
Min 1 Max 15
Numeric value of quantity
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SCH02
355
Unit or Basis for Measurement Code
Required
ID
Min 2 Max 2
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SCH05
374
Date/Time Qualifier
Required
ID
Min 3 Max 3
Code specifying type of date or time, or both date and time
010
Requested Ship
SCH06
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD5
98
Carrier Details (Routing Sequence/Transit Time)
Optional
Min 1 Max 1
Max Use 12
To specify the carrier and sequence of routing and provide transit time information
Syntax Notes
At least one of TD502, TD504, TD505, TD506 or TD512 is required.
If TD502 is present, then and TD503 is required.
If TD507 is present, then and TD508 is required.
If TD510 is present, then and TD511 is required.
If TD513 is present, then and TD512 is required.
If TD514 is present, then and TD513 is required.
If TD515 is present, then and TD512 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
TD4
98
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Optional
Min 1 Max 1
Max Use 5
To specify transportation special handling requirements, or hazardous materials information, or both
Syntax Notes
At least one of TD401, TD402 or TD404 is required.
If TD402 is present, then and TD403 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

CTT loop

Required
Min Items
Max Loop 1
CTT
Transaction Totals
Required
Max Use 1
To transmit a hash total for a specific element in the transaction set
Syntax Notes
If any of CTT03 or CTT04 are present, then all are required.
If any of CTT05 or CTT06 are present, then all are required.
CTT01
354
Number of Line Items
Required
numeric (N0)
Min 1 Max 6
Total number of line items in the transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
AMT
Monetary Amount
Required
Max Use 1
To indicate the total monetary amount
AMT01
522
Amount Qualifier Code
Required
ID
Min 1 Max 3
Code to qualify amount
TT
Total Transaction Amount
AMT02
782
Monetary Amount
Required
decimal (R)
Min 1 Max 18
Monetary amount
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE
Transaction Set Trailer
Required
Max Use 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
SE01
96
Number of Included Segments
Required
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

Schedule a Demo

Schedule a Demo

BOOK A DEMO