DSCO
/
Drop Ship Purchase Order v5010
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from DSCO. Contact DSCO for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
DSCO logo

X12 850 Drop Ship Purchase Order v5010

X12 Release 5010
Delimiters
  • ~ Segment
  • * Element
  • > Component
  • ^ Repetition
EDI samples
  • Sample 1
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/dsco/drop-ship-purchase-order-v5010/01HBGR5JE6V7KXKSFXQA6CKPFD
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
0100
Transaction Set Header
Max use 1
Required
BEG
0200
Beginning Segment for Purchase Order
Max use 1
Required
CUR
0400
Buying Party Currency
Max use 1
Optional
CUR
0400
Consumer Currency Code
Max use 1
Optional
CUR
0400
Currency Code
Max use 1
Optional
REF
0500
Account Number
Max use 1
Optional
REF
0500
Authorization for Expense (AFE) Number
Max use 1
Optional
REF
0500
Customer Order Number
Max use 1
Optional
REF
0500
Internal Customer Number
Max use 1
Optional
REF
0500
Internal Vendor Number
Max use 1
Optional
REF
0500
Mutually Defined
Max use 1
Optional
REF
0500
Packing Slip Template
Max use 1
Optional
REF
0500
Release Number
Max use 1
Optional
REF
0500
Secondary Consumer Number
Max use 1
Optional
REF
0500
Secondary Receipt ID
Max use 1
Optional
REF
0500
Special Processing Code
Max use 1
Optional
REF
0500
Supplemental Account Number
Max use 1
Optional
PER
0600
Administrative Communications Contact
Max use 3
Optional
SAC Loop
DTM
1500
Date/Time Reference
Max use 10
Optional
TD5
2400
Carrier Details (Routing Sequence/Transit Time)
Max use 1
Required
TD4
2600
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max use 5
Optional
CTB
2800
Restrictions/Conditions
Max use 5
Optional
TXI
2850
Tax Information
Max use 1
Optional
detail
PO1 Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1
Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)
00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10
ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)
00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10
ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15
ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15
ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format
ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format
ISA-11
I65
Repetition Separator
Required
String (AN)
Min 1Max 1
^
Repetition Separator
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00501
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1
0
No Interchange Acknowledgment Requested
1
Interchange Acknowledgment Requested (TA1)
ISA-15
I14
Interchange Usage Indicator
Required
Identifier (ID)
Min 1Max 1
I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1
>
Component Element Separator

Functional Group Header

RequiredMax use 1
Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)
PO
Purchase Order (850)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15
GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15
Required
Date (DT)
CCYYMMDD format
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9
GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2
T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)
005010
Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003

Heading

ST
0100
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
850
Purchase Order
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BEG
0200
Heading > BEG

Beginning Segment for Purchase Order

RequiredMax use 1
Example
BEG-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)
SA
Stand-alone Order
BEG-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Required
Date (DT)
CCYYMMDD format
BEG-06
367
Contract Number
Optional
String (AN)
Min 1Max 30
CUR
0400
Heading > CUR

Buying Party Currency

OptionalMax use 1
Example
Variants (all may be used)
CURConsumer Currency CodeCURCurrency Code
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
USD
US Dollar
CUR
0400
Heading > CUR

Consumer Currency Code

OptionalMax use 1
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
LW
Customer
CUR-02
100
Currency Code
Required
Identifier (ID)
USD
US Dollar
CUR
0400
Heading > CUR

Currency Code

OptionalMax use 1
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
X6
International Organization
CUR-02
100
Currency Code
Required
Identifier (ID)
USD
US Dollar
REF
0500
Heading > REF

Account Number

OptionalMax use 1
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
11
Account Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
retailer_accounts_payable_id
REF
0500
Heading > REF

Authorization for Expense (AFE) Number

OptionalMax use 1
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
AE
Authorization for Expense (AFE) Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
authorization_for_expense_number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
Usage notes
CO
Customer Order Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
consumer_order_number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
IT
Internal Customer Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
customer_membership_id
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
IA
Internal Vendor Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
PK
Packing Slip Template
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
packing_slip_template
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
RE
Release Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
release_number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
7U
Secondary Consumer Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
secondary_consumer_order_number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CS
Secondary Receipt ID
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
secondary_receipt_id
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
SU
Special Processing Code
REF-02
127
Reference Identification
Optional
String (AN)
Usage notes
NOPACK
No Packing slip will be created
PACK
Packing slip will be created
REF-03
352
Description
Optional
String (AN)
business_rule_code
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
5B
Supplemental Account Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
shipping_account_number
PER
0600
Heading > PER

Administrative Communications Contact

OptionalMax use 3
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
OD
Packing Slip Contact Details
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
SAC Loop
OptionalMax >1
SAC
1200
Heading > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)
B800
Consumer credit amount total
D230
Freight Surcharge
D340
Taxable Amount of Sale
D360
Sales Tax
ZZZZ
Order Total Amount
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
SAC Loop end
DTM
1500
Heading > DTM

Date/Time Reference

OptionalMax use 10
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
003
Invoice
004
Purchase Order
006
Consumer Order Date
038
Ship No Later
074
Requested for Delivery (Prior to and Including)
175
Cancel if not shipped by
996
Required Delivery
ACK
Acknowledgment
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
TD5
2400
Heading > TD5

Carrier Details (Routing Sequence/Transit Time)

RequiredMax use >1
Example
TD5-01
133
Routing Sequence Code
Required
Identifier (ID)
Z
Mutually Defined
TD5-02
66
Identification Code Qualifier
Required
Identifier (ID)
Usage notes
ZZ
Mutually Defined
TD5-03
67
Identification Code
Required
String (AN)
Min 2Max 80
Usage notes
TD5-04
91
Transportation Method/Type Code
Required
Identifier (ID)
Usage notes
ZZ
Mutually defined
TD5-05
387
Routing
Required
String (AN)
Min 1Max 35
Usage notes
TD5-07
309
Location Qualifier
Required
Identifier (ID)
Usage notes
ZZ
Mutually Defined
TD5-08
310
Location Identifier
Required
String (AN)
Usage notes
AECO
Allied Express Courier
APEP
Aus. Post eParcel
APEX
Aus. Post Express Post eParcel
CEVC
CEVA Curbside Service
CEVR
CEVA Room of Choice Service
CEVT
CEVA Threshold Service
CEVW
CEVA White Glove Service
CPDO
Couriers Please Domestic
CPIN
Couriers Please International
F2DA
FedEx 2Day A.M.
FAST
Fastway Australia Standard
FE2D
FedEx 2Day
FECG
FedEx Ground
FEDT
FedEx Territory
FEES
FedEx Express Saver
FEFO
FedEx First Overnight
FEHD
FedEx Home Delivery
FEIE
FedEx International Economy
FEIP
FedEx International Priority
FEPO
FedEx Priority Overnight
FESD
FedEx SameDay
FESO
FedEx Standard Overnight
FESP
FedEx SmartPost
FSDC
FedEx SameDay City
G3D
Generic Three Day
GCG
Generic Ground
GCX
Generic Express Saver
GIX
Generic International
GND
Generic Next Day
GNM
Generic Priority
GON
Generic 1st Overnight
GSA
Generic Same Day
GSD
Generic Saturday
GSE
Generic Second Day
HEAE
Hunter Express Air Express
HEER
Hunter Express Economy Road
HERE
Hunter Express Road Express
HESD
Hunter Express Same Day Courier
LTLC
LTL Curbside Service
LTLD
LTL Vendor Delivered
LTLF
LTL Freight
LTLR
LTL Room of Choice Service
LTLS
LTL Vendor Specialty
LTLT
LTL Threshold Service
LTLW
LTL White Glove Service
MXDC
MXD Group Curbside Service
MXDR
MXD Group Room of Choice Service
MXDT
MXD Group Threshold Service
MXDW
MXD Group White Glove Service
PIL1
Pilot Threshold 1 Man
PIL2
Pilot Threshold 2 Man
PILR
Pilot Room of Choice
PILW
Pilot White Glove 1 Man
PIW2
Pilot White Glove 2 Man
SI
STIC
STI Curbside Service
STIR
STI Room of Choice Service
STIT
STI Threshold Service
STIW
STI White Glove Service
STND
Star Track Next-Day
STRE
Star Track Regular
STSD
Star Track Same-Day Metro
SUN2
Sun Delivery Threshold 2 Man
SUNW
Sun Delivery White Glove 2 Man
TEC2
Tech Trans Threshold 2 Man
TECT
Tech Trans Threshold 1 Man
TECW
Tech Trans White Glove 1 Man
TEW2
Tech Trans White Glove 2 Man
TNOE
TNT Overnight Express
TNRE
TNT Road Express
TOIP
Toll IPEC
TOPR
Toll Priority
U2AA
UPS 2nd Day Air A.M.
U2DA
UPS 2nd Day Air
U3DS
UPS 3 Day Select
UMID
UPS Mail Innovations Domestic
UNAE
UPS Next Day Air Early
UNAS
UPS Next Day Air Saver
UNDA
UPS Next Day Air
UPCG
UPS Ground
UPSF
UPS Freight
UPSP
UPS Surepost
UPSS
UPS Standard
USCG
USPS Ground
USFC
USPS First-Class Mail
USPE
USPS Priority Mail Express
USPL
UPS Surepost Lightweight
USPM
USPS Priority Mail
TD4
2600
Heading > TD4

Carrier Details (Special Handling, or Hazardous Materials, or Both)

OptionalMax use 5
Example
TD4-01
152
Special Handling Code
Optional
Identifier (ID)
OTD
Time of Delivery and Signature Required
TD4-04
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
TD4-05
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
N
No
Y
Yes
CTB
2800
Heading > CTB

Restrictions/Conditions

OptionalMax use 5
Example
CTB-01
688
Restrictions/Conditions Qualifier
Required
Identifier (ID)
OR
Ordering
CTB-02
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
TXI
2850
Heading > TXI

Tax Information

OptionalMax use >1
Example
If either Tax Jurisdiction Code Qualifier (TXI-04) or Tax Jurisdiction Code (TXI-05) is present, then the other is required
TXI-01
963
Tax Type Code
Required
Identifier (ID)
Min 2Max 2
TXI-02
782
Monetary Amount
Optional
Decimal number (R)
Min 1Max 15
TXI-03
954
Percentage as Decimal
Optional
Decimal number (R)
Min 1Max 10
TXI-04
955
Tax Jurisdiction Code Qualifier
Optional
Identifier (ID)
Min 2Max 2
TXI-05
956
Tax Jurisdiction Code
Optional
String (AN)
Min 1Max 10
TXI-09
325
Tax Identification Number
Optional
String (AN)
Min 1Max 20
TXI-10
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
N9 Loop
OptionalMax >1
N9
2950
Heading > N9 Loop > N9

Extended Reference Information

RequiredMax use 1
Usage notes
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
L1
Letters or Notes
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
N9-03
369
Free-form Description
Optional
String (AN)
Additional Order Messages and Instructions
MTX
3000
Heading > N9 Loop > MTX

Text

OptionalMax use >1
Example
If Note Reference Code (MTX-01) is present, then Textual Data (MTX-02) is required
MTX-01
363
Note Reference Code
Optional
Identifier (ID)
EAJ
Gift
GPL
General Policy
INT
General Order Instructions
LAB
Labeling Instructions
MKN
Marketing Notes
OTH
Other Instructions
PKG
Packaging Instructions
WRP
Wrapping Instructions
MTX-02
1551
Textual Data
Optional
String (AN)
Min 1Max 4096
N9 Loop end
N1 Bill-to Name
OptionalMax 1
N1
3100
Heading > Bill-to Name > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BT
Bill-to-Party
Optional
String (AN)
Min 1Max 60
Usage notes
N2
3200
Heading > Bill-to Name > N2

Additional Name Information

OptionalMax use 2
Example
Optional
String (AN)
Min 1Max 60
Usage notes
Optional
String (AN)
Min 1Max 60
Usage notes
N3
3300
Heading > Bill-to Name > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
3400
Heading > Bill-to Name > N4

Geographic Location

OptionalMax use >1
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
N4-05
309
Location Qualifier
Optional
Identifier (ID)
CY
County/Parish
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
REF
3500
Heading > Bill-to Name > REF

Bill to address type

OptionalMax use 12
Example
Variants (all may be used)
REFTax Description
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
REF-02
127
Reference Identification
Optional
String (AN)
Usage notes
Commercial
Commercial
Residential
Residential
REF-03
352
Description
Optional
String (AN)
bill_to_address_type
Bill to address type
REF
3500
Heading > Bill-to Name > REF

Tax Description

OptionalMax use 1
Example
Variants (all may be used)
REFBill to address type
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
TX
Tax Exempt Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
PER
3600
Heading > Bill-to Name > PER

Administrative Communications Contact

OptionalMax use >1
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
IC
Information Contact
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
N1 Bill-to Name end
N1 Gift Recipient
OptionalMax >1
N1
3100
Heading > Gift Recipient > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
GIR
Gift Recipient
Optional
String (AN)
Min 1Max 60
Usage notes
N1 Gift Recipient end
N1 Gift-From Name
OptionalMax >1
N1
3100
Heading > Gift-From Name > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
Optional
String (AN)
Min 1Max 60
Usage notes
N1 Gift-From Name end
N1 Invoice To
OptionalMax >1
N1
3100
Heading > Invoice To > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
PO
Party to Receive Invoice for Goods or Services
Optional
String (AN)
Min 1Max 60
Usage notes
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
93
Code assigned by the organization originating the transaction set
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N2
3200
Heading > Invoice To > N2

Additional Name Information

OptionalMax use 2
Example
Optional
String (AN)
Min 1Max 60
Usage notes
Optional
String (AN)
Min 1Max 60
Usage notes
N3
3300
Heading > Invoice To > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
3400
Heading > Invoice To > N4

Geographic Location

OptionalMax use >1
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
N4-05
309
Location Qualifier
Optional
Identifier (ID)
CY
County/Parish
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
PER
3600
Heading > Invoice To > PER

Administrative Communications Contact

OptionalMax use >1
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
BD
Buyer Name or Department
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
NP
Night Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
N1 Invoice To end
N1 Ship To
OptionalMax >1
N1
3100
Heading > Ship To > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ST
Ship To
Optional
String (AN)
Min 1Max 60
Usage notes
N2
3200
Heading > Ship To > N2

Additional Name Information

OptionalMax use 2
Example
Required
String (AN)
Min 1Max 60
Usage notes
Optional
String (AN)
Min 1Max 60
Usage notes
N3
3300
Heading > Ship To > N3

Party Location

RequiredMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
3400
Heading > Ship To > N4

Geographic Location

RequiredMax use >1
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
Usage notes
N4-05
309
Location Qualifier
Optional
Identifier (ID)
CY
County/Parish
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
REF
3500
Heading > Ship To > REF

Reference Information

OptionalMax use 12
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
REF-03
352
Description
Optional
String (AN)
ship_address_type
The address type of the ship-to address. Is it ‘Residential’ or ‘Commercial’?
ship_store_number
The ship-to-store-number provided by the retailer.
PER
3600
Heading > Ship To > PER

Administrative Communications Contact

OptionalMax use >1
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
OC
Order Contact
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
N1 Ship To end
N1 Sold-To
OptionalMax >1
N1
3100
Heading > Sold-To > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
SO
Sold To If Different From Bill To
Optional
String (AN)
Min 1Max 60
Usage notes
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
93
Code assigned by the organization originating the transaction set
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N2
3200
Heading > Sold-To > N2

Additional Name Information

OptionalMax use 2
Example
Optional
String (AN)
Min 1Max 60
Usage notes
Optional
String (AN)
Min 1Max 60
Usage notes
N3
3300
Heading > Sold-To > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
Usage notes
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
Usage notes
N4
3400
Heading > Sold-To > N4

Geographic Location

OptionalMax use >1
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
Usage notes
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
Usage notes
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
N4-05
309
Location Qualifier
Optional
Identifier (ID)
CY
County/Parish
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
PER
3600
Heading > Sold-To > PER

Administrative Communications Contact

OptionalMax use >1
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
BD
Buyer Name or Department
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
NP
Night Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
N1 Sold-To end
Heading end

Detail

PO1 Loop
RequiredMax >1
PO1
0100
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1
Example
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-14) or Product/Service ID (PO1-15) is present, then the other is required
If either Product/Service ID Qualifier (PO1-16) or Product/Service ID (PO1-17) is present, then the other is required
If either Product/Service ID Qualifier (PO1-18) or Product/Service ID (PO1-19) is present, then the other is required
If either Product/Service ID Qualifier (PO1-20) or Product/Service ID (PO1-21) is present, then the other is required
PO1-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20
Usage notes
PO1-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
Usage notes
PO1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
EA
Each
PO1-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15
Usage notes
PO1-06
235
Product/Service ID Qualifier
Required
Identifier (ID)
SK
Stock Keeping Unit (SKU)
PO1-07
234
Product/Service ID
Required
String (AN)
Min 1Max 70
Usage notes
PO1-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
PO1-20
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
CB
Buyer's Catalog Number
DV
Warehouse Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
MG
Manufacturer's Part Number
PD
Part Number Description
UK
GTIN 14-digit Data Structure
UP
UCC - 12
PO1-21
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN
0150
Detail > PO1 Loop > LIN

Item Identification

OptionalMax use >1
Example
If either Product/Service ID Qualifier (LIN-30) or Product/Service ID (LIN-31) is present, then the other is required
If either Product/Service ID Qualifier (LIN-28) or Product/Service ID (LIN-29) is present, then the other is required
If either Product/Service ID Qualifier (LIN-26) or Product/Service ID (LIN-27) is present, then the other is required
If either Product/Service ID Qualifier (LIN-24) or Product/Service ID (LIN-25) is present, then the other is required
If either Product/Service ID Qualifier (LIN-22) or Product/Service ID (LIN-23) is present, then the other is required
If either Product/Service ID Qualifier (LIN-20) or Product/Service ID (LIN-21) is present, then the other is required
If either Product/Service ID Qualifier (LIN-18) or Product/Service ID (LIN-19) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
If either Product/Service ID Qualifier (LIN-08) or Product/Service ID (LIN-09) is present, then the other is required
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
SK
Stock Keeping Unit (SKU)
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48
Usage notes
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-20
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-21
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-22
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-23
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-24
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-25
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-26
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-27
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-28
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-29
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
LIN-30
235
Product/Service ID Qualifier
Optional
Identifier (ID)
B8
Line-Item Gift Receipt ID
BP
Buyer's Part Number
CB
Buyer's Catalog Number
CL
Color
CR
Line-Item Receipt ID
DV
Location Code
EM
Dsco Item ID
EN
EAN/UCC - 13
FC
Line-Item BOGO Flag
IB
International Standard Book Number (ISBN)
IZ
Buyer's Size Code
JA
Line-Item Gift Flag
MG
Manufacturer's Part Number
PD
Part Number Description
TW
Line-Item BOGO Instructions
UK
GTIN 14-digit Data Structure
UP
UCC - 12
LIN-31
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
Usage notes
CTP Consumer Pricing Information
OptionalMax 1
Variants (all may be used)
Retail Pricing Information
CTP
0400
Detail > PO1 Loop > Consumer Pricing Information > CTP

Pricing Information

RequiredMax use 1
Example
CTP-01
687
Class of Trade Code
Optional
Identifier (ID)
GR
General Retail
CTP-02
236
Price Identifier Code
Required
Identifier (ID)
PUR
Purchase
CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
Usage notes
CTP Consumer Pricing Information end
CTP Retail Pricing Information
OptionalMax 1
Variants (all may be used)
Consumer Pricing Information
CTP
0400
Detail > PO1 Loop > Retail Pricing Information > CTP

Pricing Information

RequiredMax use 1
Example
CTP-01
687
Class of Trade Code
Optional
Identifier (ID)
GR
General Retail
CTP-02
236
Price Identifier Code
Required
Identifier (ID)
RTL
Retail
CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
Usage notes
CTP Retail Pricing Information end
PID Loop
OptionalMax >1
PID
0500
Detail > PO1 Loop > PID Loop > PID

Product/Item Description

RequiredMax use 1
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)
08
Product Group
73
Vendor color description
74
Vendor size description
83
CID (Commercial Item Description)
GEN
Supplier Title
PID-05
352
Description
Optional
String (AN)
Min 1Max 80
PID Loop end
PO4
0900
Detail > PO1 Loop > PO4

Item Physical Details

OptionalMax use >1
Example
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9
Usage notes
PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
REF
1000
Detail > PO1 Loop > REF

Consumer Line Number

OptionalMax use 1
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CO
Consumer Line Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
line_item_consumer_line_number
REF
1000
Detail > PO1 Loop > REF

Mutually Defined

OptionalMax use >1
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
REF
1000
Detail > PO1 Loop > REF

Secondary Receipt ID

OptionalMax use 1
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
CS
Secondary Receipt ID
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
REF-03
352
Description
Optional
String (AN)
line_item_secondary_receipt_id
SAC Charges
OptionalMax 1
Variants (all may be used)
Packing Slip Message
SAC
1300
Detail > PO1 Loop > Charges > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)
B800
Credit
D230
Freight Surcharge
D340
Extended Expected Cost Total
D360
Goods and Services Tax Charge
D500
Handling
I132
Consumer Balance Due
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
SAC Charges end
SAC Packing Slip Message
OptionalMax 1
Variants (all may be used)
Charges
SAC
1300
Detail > PO1 Loop > Packing Slip Message > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
S
Service
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)
F050
Other (See related description)
SAC-15
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
SAC Packing Slip Message end
DTM
2100
Detail > PO1 Loop > DTM

Date/Time Reference

OptionalMax use 10
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
003
Invoice
010
Requested Ship
038
Ship No Later
074
Expected Delivery Date
175
Cancel if not shipped by
996
Required Delivery
ACK
Acknowledgment
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
TXI
2910
Detail > PO1 Loop > TXI

Tax Information

OptionalMax use >1
Usage notes
Example
If either Tax Jurisdiction Code Qualifier (TXI-04) or Tax Jurisdiction Code (TXI-05) is present, then the other is required
TXI-01
963
Tax Type Code
Required
Identifier (ID)
Min 2Max 2
TXI-02
782
Monetary Amount
Optional
Decimal number (R)
Min 1Max 15
TXI-04
955
Tax Jurisdiction Code Qualifier
Optional
Identifier (ID)
Min 2Max 2
TXI-05
956
Tax Jurisdiction Code
Optional
String (AN)
Min 1Max 10
TXI-06
441
Tax Exempt Code
Optional
Identifier (ID)
Min 1Max 1
TXI-09
325
Tax Identification Number
Optional
String (AN)
Min 1Max 20
N9 Loop
OptionalMax >1
N9
3300
Detail > PO1 Loop > N9 Loop > N9

Extended Reference Information

RequiredMax use 1
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
L1
Letters or Notes
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 50
Usage notes
MTX
3400
Detail > PO1 Loop > N9 Loop > MTX

Text

OptionalMax use >1
Example
If Note Reference Code (MTX-01) is present, then Textual Data (MTX-02) is required
MTX-01
363
Note Reference Code
Optional
Identifier (ID)
EAJ
Gift
GPL
General Policy
INT
General Order Instructions
LIN
General Line Item Message
PKG
Packaging Instructions
WRP
Gift Wrap Message
MTX-02
1551
Textual Data
Optional
String (AN)
Min 1Max 4096
N9 Loop end
N1 Cross Dock Location Company/Attention
OptionalMax 1
N1
3500
Detail > PO1 Loop > Cross Dock Location Company/Attention > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
45
Cross Dock Location
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
93
Code assigned by the organization originating the transaction set
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N2
3600
Detail > PO1 Loop > Cross Dock Location Company/Attention > N2

Additional Name Information

OptionalMax use 2
Example
Optional
String (AN)
Min 1Max 60
Usage notes
Optional
String (AN)
Min 1Max 60
Usage notes
N3
3700
Detail > PO1 Loop > Cross Dock Location Company/Attention > N3

Party Location

OptionalMax use 2
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
3800
Detail > PO1 Loop > Cross Dock Location Company/Attention > N4

Geographic Location

OptionalMax use 1
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
N4-05
309
Location Qualifier
Optional
Identifier (ID)
CY
County/Parish
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
PER
4000
Detail > PO1 Loop > Cross Dock Location Company/Attention > PER

Administrative Communications Contact

OptionalMax use 3
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)
BD
Buyer Name or Department
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 256
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
NP
Night Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 256
Usage notes
N1 Cross Dock Location Company/Attention end
N1
3500
Detail > PO1 Loop > Department > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
OH
Other Departments
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N1 Department end
N1 Gift Recipient
OptionalMax >1
N1
3500
Detail > PO1 Loop > Gift Recipient > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
GIR
Gift Recipient
Optional
String (AN)
Min 1Max 60
N1 Gift Recipient end
N1 Gift-From Name
OptionalMax >1
N1
3500
Detail > PO1 Loop > Gift-From Name > N1

Party Identification

RequiredMax use 1
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party/Purchaser (Gift-From Name)
Optional
String (AN)
Min 1Max 60
N1 Gift-From Name end
N1 Merchandising Account
OptionalMax >1
N1
3500
Detail > PO1 Loop > Merchandising Account > N1

Party Identification

RequiredMax use 1
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
JF
General Merchandise Department
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
Usage notes
N1 Merchandising Account end
PO1 Loop end
Detail end

Summary

CTT Loop
RequiredMax >1
CTT
0100
Summary > CTT Loop > CTT

Transaction Totals

RequiredMax use 1
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
CTT Loop end
SE
0300
Summary > SE

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Summary end

Functional Group Trailer

RequiredMax use 1
Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6
GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Interchange Control Trailer

RequiredMax use 1
Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5
IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9
EDI Samples

Sample 1

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231120*0410*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231120*041008*000000001*X*005010~
ST*850*0008~
BEG*00*SA*11150439**20200310*123456789~
CUR*BY*USD~
REF*IA*3286495~
REF*ZZ*CHANNEL*channel~
REF*ZZ*0*test_flag~
REF*ZZ*0*gift_wrap_flag~
REF*ZZ*123456*gift_receipt_id~
REF*ZZ*62743363*dsco_order_id~
REF*ZZ*sending*dsco_order_status~
REF*ZZ*created*dsco_lifecycle~
REF*ZZ*1121113660*dsco_retailer_id~
REF*ZZ*Name*dsco_retailer_name~
REF*ZZ*1111111277*dsco_supplier_id~
REF*ZZ*Karin Test*dsco_supplier_name~
REF*ZZ*123*dsco_trading_partner_id~
REF*ZZ*Karin Test*dsco_trading_partner_name~
REF*ZZ*456*dsco_trading_partner_parent_id~
REF*ZZ*2020-03-10T21:04:40+00:00*dsco_create_date~
REF*ZZ*2020-03-16T20:49:10+00:00*dsco_last_update_date~
REF*ZZ*VISA*payment_card_type_1~
REF*ZZ*1234*payment_card_last_four_1~
REF*ZZ*6*tax_percentage_1~
REF*ZZ*T1*tax_type_code_1~
REF*ZZ*5*coupon_amount_1~
REF*ZZ*15*coupon_percentage_1~
REF*ZZ*Generic*dsco_ship_carrier~
REF*ZZ*Ground*dsco_ship_method~
REF*ZZ*GCG*dsco_shipping_service_level_code~
REF*ZZ*Generic*retailer_ship_carrier~
REF*ZZ*Ground*retailer_ship_method~
REF*ZZ*GCG*retailer_shipping_service_level_code~
REF*ZZ*ABC*requested_warehouse_retailer_code~
REF*ZZ*Greensboro*requested_warehouse_dsco_id~
REF*ZZ*Greensboro*dsco_warehouse_code~
REF*ZZ*w5d9384bbc51f0131591956*dsco_warehouse_retailer_code~
REF*ZZ*w5d9384bbc51f0131591956*dsco_warehouse_dsco_id~
REF*ZZ*Greensboro*ship_warehouse_dsco_id~
REF*11*123*retailer_accounts_payable_id~
REF*AE*123*authorization_for_expense_number~
REF*IT*123*customer_membership_id~
REF*RE*123*release_number~
REF*5B*123*shipping_account_number~
REF*7U*123456*secondary_consumer_order_number~
REF*CO*5340845*consumer_order_number~
REF*SU*NOPACK*business_rule_code~
SAC*C*D230***1000~
SAC*C*ZZZZ***9999~
DTM*ACK*20200311*2104~
DTM*175*20200312*2104~
DTM*038*20200314*2104~
DTM*003*20200315*2104~
DTM*004*20200310*2104~
DTM*074*20200317*2104~
DTM*996*20200317*2104~
DTM*006*20200317*2104~
TD5*Z*ZZ*UPS*ZZ*Ground**ZZ*UPCG~
TD4*OTD***Is a signature required for delivery?*N~
CTB*OR*MESSAGE~
TXI*CG*10.16*12.33*VE*QST****123455*TAX DESCRIPTION~
N9*L1*001*Additional Order Messages and Instructions~
MTX*MKN*MARKETING MESSAGE~
MTX*LAB*SHIP INSTRUCTIONS~
MTX*PKG*PACKING INSTRUCTIONS~
MTX*OTH*PACKING SLIP MESSAGE~
MTX*GPL*RETURNS MESSAGE~
MTX*INT*MESSAGE~
MTX*EAJ*GIFT MESSAGE~
N1*GIR*Gift Recipient Name~
N1*BY*Gift From Name~
N1*ST*SHIP_TO_FIRST_NAME SHIP_TO_LAST_NAME~
N2*SHIP TO ATTENTION*SHIP TO COMPANY~
N3*712 Eoiraigzs Etdcff St.*Apt. 767~
N4*Aljngce*HI*92027*US~
REF*ZZ*SHIP STORE NUMBER*ship_store_number~
REF*ZZ*Residential*ship_address_type~
PER*OC**TE*888-555-6666*EM*test@dsco.io~
N1*BT*BILL_TO_FIRST_NAME BILL_TO_LAST_NAME~
N2*BILL TO ATTENTION*BILL TO COMPANY~
N3*612 Zgqquako St.~
N4*Muqfe Cerqkaar*IN*04179*US~
REF*ZZ*Residential*bill_to_address_type~
PER*IC**TE*111-111-1111*EM*test@dsco.io~
PO1*0001*1*EA*5.5**SK*999999*PD*Pumpkin Spice Three Wick*EM*1044330358~
LIN*1044330358*SK*999999*UP*123456789012*EN*1234567890123*UK*12345678901234*IB*12345678901234*MG*123*BP*123456*CL*LINE ITEM COLOR*IZ*LINE ITEM SIZE*JA*0*B8*123456*CR*111-1111-1111-1111-1111-1111-1111*FC*1*TW*LINE ITEM BOGO INSTRUCTIONS~
CTP*GR*PUR*6.05~
CTP*GR*RTL*11~
PID*F*08***STYLE123~
PID*F*GEN***Sample Item Description~
PID*F*73***Red~
PID*F*74***Small~
PO4******20*LB~
REF*ZZ*RETAILER ITEM ID 1*line_item_retailer_item_id_1~
REF*ZZ*RETAILER ITEM ID 2*line_item_retailer_item_id_2~
REF*ZZ*RETAILER ITEM ID 3*line_item_retailer_item_id_3~
REF*ZZ*LINE ITEM PERSONALIZATION*line_item_personalization~
REF*ZZ*6*line_item_tax_percentage_1~
REF*ZZ*T1*line_item_tax_type_code_1~
REF*ZZ*3*line_item_tax_percentage_2~
REF*ZZ*T2*line_item_tax_type_code_2~
REF*ZZ*123456*line_item_warehouse_retailer_code~
REF*ZZ*123456*line_item_warehouse_dsco_id~
REF*CO*2*line_item_consumer_line_number~
REF*CS*123456*line_item_secondary_receipt_id~
SAC*C*D230***500~
SAC*S*F050*************LINE ITEM PACKING SLIP MESSAGE~
DTM*010*20200314*2104~
DTM*074*20200317*2104~
DTM*996*20200317*2104~
DTM*ACK*20200311*2104~
DTM*175*20200312*2104~
DTM*038*20200314*2104~
DTM*003*20200315*2104~
N9*L1*002~
MTX*INT*LINE ITEM SHIP INSTRUCTIONS~
MTX*PKG*LINE ITEM PACKING INSTRUCTIONS~
MTX*GPL*LINE ITEM RETURNS MESSAGE~
MTX*LIN*LINE ITEM MESSAGE~
MTX*EAJ*LINE ITEM GIFT MESSAGE~
N1*GIR*LINE ITEM GIFT RECIPIENT NAME~
N1*BY*LINE ITEM GIFT-FROM NAME~
N1*OH*LINE ITEM DEPARTMENT NAME*ZZ*123456~
N1*JF*LINE ITEM MERCHANDISING NAME*ZZ*345678~
CTT*1~
SE*125*0008~
GE*1*000000001~
IEA*1*000000001~

Sample 2

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231120*0410*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231120*041019*000000001*X*005010~
ST*850*0009~
BEG*00*SA*33150441**20200310~
CUR*BY*USD~
REF*IA*6678382~
REF*ZZ*CHANNEL*channel~
REF*ZZ*0*test_flag~
REF*ZZ*0*gift__wrap_flag~
REF*ZZ*62743364*dsco_order_id~
REF*ZZ*sending*dsco_order_status~
REF*ZZ*1000003660*dsco_retailer_id~
REF*ZZ*1000011277*dsco_supplier_id~
REF*ZZ*Karin Test*dsco_supplier_name~
REF*ZZ*2020-03-10T21:04:41+00:00*dsco_create_date~
REF*ZZ*2020-03-16T20:49:10+00:00*dsco_last_update_date~
REF*ZZ*VISA*payment_card_type_1~
REF*ZZ*1234*payment_card_last_four_1~
REF*ZZ*6*tax_percentage_1~
REF*ZZ*T1*tax_type_code_1~
REF*ZZ*5*coupon_amount_1~
REF*ZZ*15*coupon_percentage_1~
REF*ZZ*Generic*dsco_ship_carrier~
REF*ZZ*Ground*dsco_ship_method~
REF*ZZ*UPCG*ship_service_level_code~
REF*ZZ*GCG*dsco_shipping_service_level_code~
REF*ZZ*Greensboro*dsco_warehouse_code~
REF*ZZ*w5d9384bbc51f0131591956*dsco_warehouse_dsco_id~
REF*CO*8708321~
REF*SU*PACK*business_rule_code~
SAC*C*D230***1000~
DTM*ACK*20200311*2104~
DTM*175*20200312*2104~
DTM*038*20200314*2104~
DTM*003*20200315*2104~
DTM*004*20200310*2104~
DTM*074*20200317*2104~
DTM*996*20200317*2104~
TD5*Z*ZZ*UPS*ZZ*Ground**ZZ*UPCG~
TD4*OTD***Is a signature required for delivery?*N~
CTB*OR*MESSAGE~
TXI*CG*10.16*12.33*VE*QST****123455*TAX DESCRIPTION~
N9*L1*001*Additional Order Messages and Instructions~
MTX*MKN*MARKETING MESSAGE~
MTX*LAB*SHIP INSTRUCTIONS~
MTX*PKG*PACKING INSTRUCTIONS~
MTX*OTH*PACKING SLIP MESSAGE~
MTX*GPL*RETURNS MESSAGE~
MTX*INT*MESSAGE~
N1*ST*SHIP TO FIRST NAME SHIP TO LAST NAME~
N2*SHIP TO ATTENTION*SHIP TO COMPANY~
N3*892 Zosdv St.*Apt. 673~
N4*Okehyajwc Oiaoous*WI*57102*US~
REF*ZZ*SHIP STORE NUMBER*ship_store_number~
PER*OC**TE*888-555-6666*EM*test@dsco.io~
N1*BT*BILL TO FIRST NAME BILL TO LAST NAME~
N2*BILL TO ATTENTION*BILL TO COMPANY~
N3*892 Tpqein St.~
N4*Lfmqrjoyh*PA*59007*US~
PER*IC**TE*111-111-1111*EM*test@dsco.io~
PO1*0001*2*EA*5.5**SK*999999*PD*Pumpkin Spice Three Wick*EM*1044330358~
LIN*1044330358*SK*999999*UP*123456789012*EN*1234567890123*UK*12345678901234*IB*12345678901234*MG*123*BP*123456*CL*LINE ITEM COLOR*IZ*LINE ITEM SIZE*JA*0*B8*123456*CR*111-1111-1111-1111-1111-1111-1111*FC*1*TW*LINE ITEM BOGO INSTRUCTIONS~
CTP*GR*PUR*6.05~
CTP*GR*RTL*11~
REF*ZZ*LINE ITEM PERSONALIZATION*line_item_personalization~
REF*ZZ*6*line_item_tax_percentage_1~
REF*ZZ*T1*line_item_tax_type_code_1~
REF*ZZ*3*line_item_tax_percentage_2~
REF*ZZ*T2*line_item_tax_type_code_2~
REF*ZZ*RETAILER ITEM ID 1*line_item_retailer_item_id_1~
REF*ZZ*RETAILER ITEM ID 2*line_item_retailer_item_id_2~
REF*ZZ*RETAILER ITEM ID 3*line_item_retailer_item_id_3~
SAC*C*D230***500~
SAC*S*F050*************LINE ITEM PACKING SLIP MESSAGE~
N9*L1*002~
MTX*INT*LINE ITEM SHIP INSTRUCTIONS~
MTX*PKG*LINE ITEM PACKING INSTRUCTIONS~
MTX*GPL*LINE ITEM RETURNS MESSAGE~
MTX*LIN*LINE ITEM MESSAGE~
N1*OH*LINE ITEM DEPARTMENT NAME*ZZ*123456~
N1*JF*LINE ITEM MERCHANDISING NAME*ZZ*345678~
PO1*0002*3*EA*5.5**SK*98989898*PD*Almond Spice Three Wick Candle*EM*1044330373~
LIN*1044330358*SK*999999*UP*123456789012*EN*1234567890123*UK*12345678901234*IB*12345678901234*MG*123*BP*123456*CL*LINE ITEM COLOR*IZ*LINE ITEM SIZE*JA*0*B8*123456*CR*111-1111-1111-1111-1111-1111-1111*FC*1*TW*LINE ITEM BOGO INSTRUCTIONS~
CTP*GR*PUR*6.05~
CTP*GR*RTL*11~
REF*ZZ*LINE ITEM PERSONALIZATION*line_item_personalization~
REF*ZZ*6*line_item_tax_percentage_1~
REF*ZZ*T1*line_item_tax_type_code_1~
REF*ZZ*3*line_item_tax_percentage_2~
REF*ZZ*T2*line_item_tax_type_code_2~
REF*ZZ*RETAILER ITEM ID 1*line_item_retailer_item_id_1~
REF*ZZ*RETAILER ITEM ID 2*line_item_retailer_item_id_2~
REF*ZZ*RETAILER ITEM ID 3*line_item_retailer_item_id_3~
SAC*C*D230***500~
SAC*S*F050*************LINE ITEM PACKING SLIP MESSAGE~
N9*L1*002~
MTX*INT*LINE ITEM SHIP INSTRUCTIONS~
MTX*PKG*LINE ITEM PACKING INSTRUCTIONS~
MTX*GPL*LINE ITEM RETURNS MESSAGE~
MTX*LIN*LINE ITEM MESSAGE~
N1*OH*LINE ITEM DEPARTMENT NAME*ZZ*123456~
N1*JF*LINE ITEM MERCHANDISING NAME*ZZ*345678~
CTT*2~
SE*102*0009~
GE*1*000000001~
IEA*1*000000001~

Sample 3

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231120*0410*^*00501*000000001*0*T*>~
GS*PO*SENDERGS*RECEIVERGS*20231120*041032*000000001*X*005010~
ST*850*0010~
BEG*00*SA*55150441**20200310~
CUR*BY*USD~
REF*IA*4897219~
REF*ZZ*CHANNEL*channel~
REF*ZZ*0*test_flag~
REF*ZZ*1*gift_wrap_flag~
REF*ZZ*62743365*dsco_order_id~
REF*ZZ*sending*dsco_order_status~
REF*ZZ*1000003660*dsco_retailer_id~
REF*ZZ*1000011277*dsco_supplier_id~
REF*ZZ*Karin Test*dsco_supplier_name~
REF*ZZ*2020-03-10T21:04:41+00:00*dsco_create_date~
REF*ZZ*2020-03-16T20:49:10+00:00*dsco_last_update_date~
REF*ZZ*VISA*payment_card_type_1~
REF*ZZ*1234*payment_card_last_four_1~
REF*ZZ*6*tax_percentage_1~
REF*ZZ*T1*tax_type_code_1~
REF*ZZ*5*coupon_amount_1~
REF*ZZ*15*coupon_percentage_1~
REF*ZZ*Generic*dsco_ship_carrier~
REF*ZZ*Ground*dsco_ship_method~
REF*ZZ*U2DA*ship_service_level_code~
REF*ZZ*GCG*dsco_shipping_service_level_code~
REF*ZZ*Greensboro*dsco_warehouse_code~
REF*ZZ*w5d9384bbc51f0131591956*dsco_warehouse_dsco_id~
REF*ZZ*444-4444-4444-4444-4444-4444-4444*gift_receipt_id~
REF*CO*9617398~
SAC*C*D230***1000~
DTM*ACK*20200311*2104~
DTM*175*20200312*2104~
DTM*038*20200311*2104~
DTM*003*20200315*2104~
DTM*004*20200310*2104~
DTM*074*20200312*2104~
DTM*996*20200312*2104~
TD5*Z*ZZ*UPS*ZZ*2nd Day Air**ZZ*U2DA~
TD4*OTD***Is a signature required for delivery?*Y~
CTB*OR*MESSAGE~
TXI*CG*10.16*12.33*VE*QST****123455*TAX DESCRIPTION~
N9*L1*001*Additional Order Messages and Instructions~
MTX*MKN*MARKETING MESSAGE~
MTX*LAB*SHIP INSTRUCTIONS~
MTX*PKG*PACKING INSTRUCTIONS~
MTX*OTH*PACKING SLIP MESSAGE~
MTX*GPL*RETURNS MESSAGE~
MTX*INT*MESSAGE~
MTX*EAJ*GIFT MESSAGE~
N1*GIR*GIFT TO NAME~
N1*BY*GIFT FROM NAME~
N1*ST*SHIP TO FIRST NAME SHIP TO LAST NAME~
N2*SHIP TO ATTENTION*SHIP TO COMPANY~
N3*119 Dgcrdol St.~
N4*Xivcrccut*ND*01759*US~
REF*ZZ*SHIP STORE NUMBER*ship_store_number~
PER*OC**TE*888-555-6666*EM*test@dsco.io~
N1*BT*BILL TO FIRST NAME BILL TO LAST NAME~
N2*BILL TO ATTENTION*BILL TO COMPANY~
N3*978 Iuoxxrjipo Anoie St.*Apt. 861~
N4*Adaqgeraa*MD*33482*US~
PER*IC**TE*111-111-1111*EM*test@dsco.io~
N1*SO*BUYER FIRST NAME BUYER LAST NAME~
N2*BUYER ATTENTION*BUYER COMPANY~
N3*123 mAIN St.*Apt. 4~
N4*Albany*NY*12202*US~
PER*BD**TE*111-111-1111*EM*test@dsco.io~
PO1*0001*3*EA*5.5**SK*999999*PD*Pumpkin Spice Three Wick*EM*1044330358~
LIN*1044330358*SK*999999*UP*123456789012*EN*1234567890123*UK*12345678901234*IB*12345678901234*MG*123*BP*123456*CL*LINE ITEM COLOR*IZ*LINE ITEM SIZE*JA*0*B8*123456*CR*111-1111-1111-1111-1111-1111-1111*FC*1*TW*LINE ITEM BOGO INSTRUCTIONS~
CTP*GR*PUR*6.05~
CTP*GR*RTL*11~
REF*ZZ*LINE ITEM PERSONALIZATION*line_item_personalization~
REF*ZZ*6*line_item_tax_percentage_1~
REF*ZZ*T1*line_item_tax_type_code_1~
REF*ZZ*3*line_item_tax_percentage_2~
REF*ZZ*T2*line_item_tax_type_code_2~
REF*ZZ*RETAILER ITEM ID 1*line_item_retailer_item_id_1~
REF*ZZ*RETAILER ITEM ID 2*line_item_retailer_item_id_2~
REF*ZZ*RETAILER ITEM ID 3*line_item_retailer_item_id_3~
SAC*C*D230***500~
SAC*S*F050*************LINE ITEM PACKING SLIP MESSAGE~
N9*L1*002~
MTX*INT*LINE ITEM SHIP INSTRUCTIONS~
MTX*PKG*LINE ITEM PACKING INSTRUCTIONS~
MTX*GPL*LINE ITEM RETURNS MESSAGE~
MTX*LIN*LINE ITEM MESSAGE~
MTX*EAJ*LINE ITEM GIFT MESSAGE~
N1*GIR*LINE ITEM GIFT TO NAME~
N1*BY*LINE ITEM GIFT FROM NAME~
N1*OH*LINE ITEM DEPARTMENT NAME*ZZ*123456~
N1*JF*LINE ITEM MERCHANDISING NAME*ZZ*345678~
PO1*0002*1*EA*5.5**SK*98989898*PD*Almond Spice Three Wick Candle*EM*1044330373~
LIN*1044330358*SK*999999*UP*123456789012*EN*1234567890123*UK*12345678901234*IB*12345678901234*MG*123*BP*123456*CL*LINE ITEM COLOR*IZ*LINE ITEM SIZE*JA*0*B8*123456*CR*111-1111-1111-1111-1111-1111-1111*FC*1*TW*LINE ITEM BOGO INSTRUCTIONS~
CTP*GR*PUR*6.05~
CTP*GR*RTL*11~
REF*ZZ*LINE ITEM PERSONALIZATION*line_item_personalization~
REF*ZZ*6*line_item_tax_percentage_1~
REF*ZZ*T1*line_item_tax_type_code_1~
REF*ZZ*3*line_item_tax_percentage_2~
REF*ZZ*T2*line_item_tax_type_code_2~
REF*ZZ*RETAILER ITEM ID 1*line_item_retailer_item_id_1~
REF*ZZ*RETAILER ITEM ID 2*line_item_retailer_item_id_2~
REF*ZZ*RETAILER ITEM ID 3*line_item_retailer_item_id_3~
SAC*C*D230***500~
SAC*S*F050*************LINE ITEM PACKING SLIP MESSAGE~
N9*L1*002~
MTX*INT*LINE ITEM SHIP INSTRUCTIONS~
MTX*PKG*LINE ITEM PACKING INSTRUCTIONS~
MTX*GPL*LINE ITEM RETURNS MESSAGE~
MTX*LIN*LINE ITEM MESSAGE~
MTX*EAJ*LINE ITEM GIFT MESSAGE~
N1*GIR*LINE ITEM GIFT TO NAME~
N1*BY*LINE ITEM GIFT FROM NAME~
N1*OH*LINE ITEM DEPARTMENT NAME*ZZ*123456~
N1*JF*LINE ITEM MERCHANDISING NAME*ZZ*345678~
CTT*2~
SE*116*0010~
GE*1*000000001~
IEA*1*000000001~

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page 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. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.