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

X12 850 Purchase Order

X12 Release 4010
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://portal.stedi.com/app/guides/view/sap-business-network/purchase-order/01JTKK5B22G88RH9YNH607BGCV
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
010
Transaction Set Header
Max use 1
Required
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
CUR
040
Currency
Max use 1
Required
REF
050
Reference Identification
Max use 1
Optional
PER
060
Administrative Communications Contact
Max use 3
Optional
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
CSH
110
Sales Requirements
Max use 5
Optional
SAC Loop Allowance
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
150
Date/Time Reference Effective
Max use 1
Optional
DTM
150
Date/Time Reference Expiration
Max use 1
Optional
DTM
150
Date/Time Reference Purchase Order
Max use 10
Optional
TXI
285
Tax Information
Max use 1
Optional
detail
PO1 Loop
PO1
010
Baseline Item Data
Max use 1
Required
CUR
020
Currency
Max use 1
Optional
PO3
030
Additional Item Detail
Max use 25
Optional
REF
100
Reference Identification Fine Line Classification
Max use 1
Optional
REF
100
Reference Identification Purchase Requisition Number
Max use 1
Optional
REF
100
Reference Identification Referenced By
Max use 1
Optional
REF
100
Reference Identification Supplier
Max use 1
Optional
PER
110
Administrative Communications Contact
Max use 3
Optional
FOB
180
F.O.B. Related Instructions
Max use 1
Optional
DTM
210
Date/Time Reference
Max use 10
Optional
TXI
291
Tax Information
Max use 1
Optional
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
I10
Interchange Control Standards Identifier
Required
Identifier (ID)
U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)
00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
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 Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
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)
004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
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
020
Heading > BEG

Beginning Segment for Purchase Order

RequiredMax use 1
Usage notes
Example
BEG-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
Usage notes
00
Original
03
Delete
05
Replace
BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)
Usage notes
BK
Blanket Order (Quantity Firm)
DS
Dropship
IN
Information Copy
KN
Purchase Order
NE
New Order
RL
Release or Delivery Order
RO
Rush Order
BEG-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
BEG-04
328
Release Number
Optional
String (AN)
Min 1Max 30
Required
Date (DT)
CCYYMMDD format
Usage notes
CUR
040
Heading > CUR

Currency

RequiredMax use 1
Usage notes
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
GBP
Pound Sterling
USD
US Dollar
XEU
European Monetary Coop Fund
REF
050
Heading > REF

Reference Identification

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)
0L
Referenced By
AH
Agreement Number
EZ
Electronic Data Interchange Agreement Number
PO
Purchase Order Number
PP
Purchase Order Revision Number
PW
Prior purchase order number
RQ
Purchase Requisition Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
Usage notes
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
PER
060
Heading > PER

Administrative Communications Contact

OptionalMax use 3
Usage notes
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)
AE
Corporate Purchasing Agent
AM
Administrator
BD
Buyer Name or Department
BL
Technical Department
CN
General Contact
CR
Customer Relations
EB
Entered By
SH
Shipper Contact
SR
Sales Representative or Department
SU
Supplier Contact
Required
String (AN)
Min 1Max 60
Usage notes
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
FOB
080
Heading > FOB

F.O.B. Related Instructions

OptionalMax use >1
Usage notes
Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
If Transportation Terms Qualifier Code (FOB-04) is present, then Transportation Terms Code (FOB-05) is required
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
If Risk of Loss Code (FOB-08) is present, then Description (FOB-09) is required
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
11
Rule 11 Shipment
BP
Paid by Buyer
CA
Advance Collect
CC
Collect
CD
Collect on Delivery
CF
Collect, Freight Credited Back to Customer
DE
Per Contract
DF
Defined By Buyer And Seller
FO
FOB Port of Call
HP
Half Prepaid
MX
Mixed
NC
Service Freight, No Charge
NR
Non Revenue
PA
Advance Prepaid
PB
Customer Pick-up/Backhaul
PC
Prepaid but Charged to Customer
PD
Prepaid by Processor
PE
Prepaid and Summary Bill
PL
Prepaid Local, Collect Outstate
PO
Prepaid Only
PP
Prepaid (by Seller)
PS
Paid by Supplier or Seller
PU
Pickup
RC
Return Container Freight Paid by Customer
RF
Return Container Freight Free
RS
Return Container Freight Paid by Supplier
TP
Third Party Pay
WC
Weight Condition
FOB-02
309
Location Qualifier
Optional
Identifier (ID)
OF
Other Unlisted Free On Board (FOB) Point
ZZ
Mutually Defined
FOB-03
352
Description
Optional
String (AN)
Min 1Max 80
FOB-04
334
Transportation Terms Qualifier Code
Optional
Identifier (ID)
ZZ
Mutually Defined
FOB-05
335
Transportation Terms Code
Optional
Identifier (ID)
CAF
Cost and Freight
CIF
Cost, Insurance, and Freight
CIP
Carriage and Insurance Paid To
CPT
Carriage Paid To
DAF
Delivered at Frontier
DDP
Delivered Duty Paid
DDU
Deliver Duty Unpaid
DEQ
Delivered Ex Quay
DES
Delivered Ex Ship
EXW
Ex Works
FAS
Free Alongside Ship
FCA
Free Carrier
FOB
Free on Board
ZZZ
Mutually Defined
FOB-06
309
Location Qualifier
Optional
Identifier (ID)
ZZ
Mutually Defined
FOB-07
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
FOB-08
54
Risk of Loss Code
Optional
Identifier (ID)
ZZ
Mutually Defined
FOB-09
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
CSH
110
Heading > CSH

Sales Requirements

OptionalMax use 5
Usage notes
Example
CSH-01
563
Sales Requirement Code
Optional
Identifier (ID)
SC
Ship Complete
SAC Loop Allowance
OptionalMax 11
Variants (all may be used)
SAC Loop Charge
SAC
120
Heading > SAC Loop Allowance > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Usage notes
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
A
Allowance
N
No Allowance or Charge
SAC-03
559
Agency Qualifier Code
Required
Identifier (ID)
ZZ
Mutually Defined
SAC-04
1301
Agency Service, Promotion, Allowance, or Charge Code
Required
String (AN)
A040
Access Charge
A050
Account Number Correction Charge
A060
Acid Battery
A170
Adjustment
A520
Charge
A960
Carrier
B660
Contract Allowance
C300
Discount - Special
C310
Discount
D180
Freight Based on Dollar Minimum
D240
Freight
D500
Handling
D980
Insurance
F050
Other
G580
Royalties
G821
Shipping
G830
Shipping and Handling
H970
Allowance
I530
Volume Discount
SAC-05
610
Amount
Required
Numeric (N2)
Min 1Max 15
Usage notes
SAC-06
378
Allowance/Charge Percent Qualifier
Optional
Identifier (ID)
6
Base Price Amount
SAC-07
332
Percent
Optional
Decimal number (R)
Min 1Max 6
SAC-14
770
Option Number
Optional
String (AN)
1
Used if SAC05 value is amount
2
Used if SAC05 value is price
SAC-15
352
Description
Required
String (AN)
Min 1Max 80
SAC-16
819
Language Code
Required
Identifier (ID)
Min 2Max 3
CUR
125
Heading > SAC Loop Allowance > CUR

Currency

OptionalMax use 1
Usage notes
Example
If Date (CUR-08) is present, then Date/Time Qualifier (CUR-07) is required
If Time (CUR-09) is present, then Date/Time Qualifier (CUR-07) is required
If Date (CUR-11) is present, then Date/Time Qualifier (CUR-10) is required
If Time (CUR-12) is present, then Date/Time Qualifier (CUR-10) is required
If Date/Time Qualifier (CUR-10) is present, then at least one of Date (CUR-11) or Time (CUR-12) is required
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
GBP
Pound Sterling
USD
US Dollar
XEU
European Monetary Coop Fund
CUR-07
374
Date/Time Qualifier
Optional
Identifier (ID)
196
Start
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
CUR-10
374
Date/Time Qualifier
Optional
Identifier (ID)
197
End
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
SAC Loop Allowance end
SAC Loop Charge
OptionalMax >1
Variants (all may be used)
SAC Loop Allowance
SAC
120
Heading > SAC Loop Charge > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Usage notes
Example
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Required
Identifier (ID)
G830
Shipping and Handling
SAC-05
610
Amount
Required
Numeric (N2)
Min 1Max 15
SAC-13
127
Reference Identification
Optional
String (AN)
Min 1Max 30
SAC-15
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
SAC-16
819
Language Code
Required
Identifier (ID)
Min 2Max 3
CUR
125
Heading > SAC Loop Charge > CUR

Currency

OptionalMax use 1
Usage notes
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
GBP
Pound Sterling
USD
US Dollar
XEU
European Monetary Coop Fund
SAC Loop Charge end
ITD
130
Heading > ITD

Terms of Sale/Deferred Terms of Sale

OptionalMax use >1
Usage notes
Example
If Terms Discount Percent (ITD-03) is present, then at least one of Terms Discount Due Date (ITD-04) or Terms Discount Days Due (ITD-05) is required
If Terms Discount Amount (ITD-08) is present, then at least one of Terms Discount Due Date (ITD-04) or Terms Discount Days Due (ITD-05) is required
ITD-01
336
Terms Type Code
Optional
Identifier (ID)
05
Discount Not Applicable
52
Discount with Prompt Pay
ITD-02
333
Terms Basis Date Code
Optional
Identifier (ID)
3
Invoice Date
ITD-03
338
Terms Discount Percent
Optional
Decimal number (R)
Min 1Max 6
ITD-04
370
Terms Discount Due Date
Optional
Date (DT)
CCYYMMDD format
ITD-05
351
Terms Discount Days Due
Optional
Numeric (N0)
Min 1Max 3
ITD-07
386
Terms Net Days
Optional
Numeric (N0)
Min 1Max 3
ITD-08
362
Terms Discount Amount
Optional
Numeric (N2)
Min 1Max 10
ITD-15
954
Percent
Optional
Decimal number (R)
Min 1Max 10
DTM
150
Heading > DTM

Date/Time Reference Effective

OptionalMax use 1
Usage notes
Example
At least one of Date (DTM-02) or Time (DTM-03) is required
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
007
Effective
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
DTM
150
Heading > DTM

Date/Time Reference Expiration

OptionalMax use 1
Usage notes
Example
At least one of Date (DTM-02) or Time (DTM-03) is required
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
DTM
150
Heading > DTM

Date/Time Reference Purchase Order

OptionalMax use 10
Example
At least one of Date (DTM-02) or Time (DTM-03) is required
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
004
Purchase Order
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Min 2Max 2
TXI
285
Heading > TXI

Tax Information

OptionalMax use >1
Usage notes
Example
TXI-01
963
Tax Type Code
Required
Identifier (ID)
TX
All Taxes
TXI-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
N9 Loop Credit Card
OptionalMax >1
N9
295
Heading > N9 Loop Credit Card > N9

Reference Identification

RequiredMax use 1
Usage notes
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
PSM
Credit Card
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
DTM
297
Heading > N9 Loop Credit Card > DTM

Date/Time Reference

RequiredMax use >1
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
036
Expiration
DTM-05
1250
Date Time Period Format Qualifier
Required
Identifier (ID)
Usage notes
UN
Unstructured
YM
Year and Month Expressed in Format YYMM
DTM-06
1251
Date Time Period
Required
String (AN)
Min 1Max 35
Usage notes
N9 Loop Credit Card end
N9 Loop Letters or Notes
OptionalMax 1
N9
295
Heading > N9 Loop Letters or Notes > N9

Reference Identification

RequiredMax use 1
Usage notes
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
L1
Letters or Notes
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Usage notes
MSG
300
Heading > N9 Loop Letters or Notes > MSG

Message Text

RequiredMax use 1000
Usage notes
Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264
MSG-02
934
Printer Carriage Control Code
Optional
Identifier (ID)
Usage notes
LC
Line Continuation
N9 Loop Letters or Notes end
N9 Loop Mutually Defined
OptionalMax 1
N9
295
Heading > N9 Loop Mutually Defined > N9

Reference Identification

RequiredMax use 1
Usage notes
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45
Usage notes
MSG
300
Heading > N9 Loop Mutually Defined > MSG

Message Text

OptionalMax use 1000
Usage notes
Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264
Usage notes
MSG-02
934
Printer Carriage Control Code
Optional
Identifier (ID)
Usage notes
LC
Line Continuation
N9 Loop Mutually Defined end
N1 Loop Bill-to-Party
OptionalMax >1
N1
310
Heading > N1 Loop Bill-to-Party > N1

Name

RequiredMax use 1
Usage notes
Example
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)
BT
Bill-to-Party
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N2
320
Heading > N1 Loop Bill-to-Party > N2

Additional Name Information

OptionalMax use 2
Usage notes
Example
Required
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
330
Heading > N1 Loop Bill-to-Party > N3

Address Information

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

Geographic Location

OptionalMax use >1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
Required
Identifier (ID)
Min 2Max 3
Usage notes
PER
360
Heading > N1 Loop Bill-to-Party > PER

Administrative Communications Contact

OptionalMax use >1
Usage notes
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)
AP
Accounts Payable Department
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
N1 Loop Bill-to-Party end
N1 Loop Delivery Address
OptionalMax 1
N1
310
Heading > N1 Loop Delivery Address > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
DA
Delivery Address
Required
String (AN)
Min 1Max 60
N3
330
Heading > N1 Loop Delivery Address > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N4
340
Heading > N1 Loop Delivery Address > N4

Geographic Location

OptionalMax use >1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
Usage notes
N1 Loop Delivery Address end
N1 Loop Receiver
OptionalMax 1
N1
310
Heading > N1 Loop Receiver > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
40
Receiver
60
Salesperson
A9
Sales Office
BY
Buying Party (Purchaser)
CA
Carrier
EN
End User
KY
Technical Office
L5
Contact
NG
Administrator
PD
Purchaser's Department Buyer
RI
Remit To
SE
Selling Party
SF
Ship From
SO
Sold To If Different From Bill To
SU
Supplier/Manufacturer
Required
String (AN)
Min 1Max 60
N2
320
Heading > N1 Loop Receiver > N2

Additional Name Information

OptionalMax use 2
Usage notes
Example
Required
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
330
Heading > N1 Loop Receiver > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
340
Heading > N1 Loop Receiver > N4

Geographic Location

OptionalMax use >1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
Usage notes
PER
360
Heading > N1 Loop Receiver > PER

Administrative Communications Contact

OptionalMax use >1
Usage notes
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)
Usage notes
AE
Corporate Purchasing Agent
AM
Administrator
BD
Buyer Name or Department
BL
Technical Department
CN
General Contact
CR
Customer Relations
EB
Entered By
SH
Shipper Contact
SR
Sales Representative or Department
SU
Supplier Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
N1 Loop Receiver end
N1 Loop Ship To
OptionalMax 1
N1
310
Heading > N1 Loop Ship To > N1

Name

RequiredMax use 1
Usage notes
Example
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)
ST
Ship To
Required
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N2
320
Heading > N1 Loop Ship To > N2

Additional Name Information

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

Address Information

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

Geographic Location

OptionalMax use >1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
Required
Identifier (ID)
Min 2Max 3
Usage notes
PER
360
Heading > N1 Loop Ship To > PER

Administrative Communications Contact

OptionalMax use >1
Usage notes
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)
RE
Receiving Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
TD5
390
Heading > N1 Loop Ship To > TD5

Carrier Details (Routing Sequence/Transit Time)

OptionalMax use 12
Usage notes
Example
At least one of Identification Code Qualifier (TD5-02) or Transportation Method/Type Code (TD5-04) is required
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
If Location Qualifier (TD5-07) is present, then Location Identifier (TD5-08) is required
TD5-02
66
Identification Code Qualifier
Optional
Identifier (ID)
ZZ
Mutually Defined
TD5-03
67
Identification Code
Optional
String (AN)
Min 2Max 80
TD5-04
91
Transportation Method/Type Code
Optional
Identifier (ID)
A
Air
J
Motor
R
Rail
S
Ocean
TD5-07
309
Location Qualifier
Optional
Identifier (ID)
ZZ
Mutually Defined
TD5-08
310
Location Identifier
Optional
String (AN)
Min 1Max 30
TD4
410
Heading > N1 Loop Ship To > TD4

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

OptionalMax use 5
Usage notes
Example
At least one of Special Handling Code (TD4-01) or Description (TD4-04) is required
TD4-01
152
Special Handling Code
Optional
Identifier (ID)
ZZZ
Mutually Defined
TD4-04
352
Description
Optional
String (AN)
Min 1Max 80
N1 Loop Ship To end
Heading end

Detail

PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1
Usage notes
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity Ordered (PO1-02) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
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-12) or Product/Service ID (PO1-13) 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
PO1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20
Usage notes
PO1-02
330
Quantity Ordered
Optional
Decimal number (R)
Min 1Max 15
PO1-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
PO1-04
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
Usage notes
PO1-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
VS
Supplier Part Auxiliary ID
PO1-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
VS
Supplier Part Auxiliary ID
PO1-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
VS
Vendor's Supplemental Item Number
PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
VS
Vendor's Supplemental Item Number
PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Usage notes
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
VS
Vendor's Supplemental Item Number
PO1-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
CUR
020
Detail > PO1 Loop > CUR

Currency

OptionalMax use 1
Usage notes
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Min 3Max 3
Usage notes
PO3
030
Detail > PO1 Loop > PO3

Additional Item Detail

OptionalMax use 25
Usage notes
Example
PO3-01
371
Change Reason Code
Required
Identifier (ID)
ZZ
Mutually Defined
PO3-05
639
Basis of Unit Price Code
Optional
Identifier (ID)
ST
Standard
PO3-07
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
CTP Loop General Trade
OptionalMax 1
Variants (all may be used)
CTP Loop Private LabelCTP Loop User
CTP
040
Detail > PO1 Loop > CTP Loop General Trade > CTP

Pricing Information

RequiredMax use 1
Usage notes
Example
CTP-01
687
Class of Trade Code
Required
Identifier (ID)
TR
General Trade
CTP-02
236
Price Identifier Code
Optional
Identifier (ID)
MAX
Maximum Order Quantity Price
MIN
Minimum Order Quantity Price
UCP
Unit cost price
CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
CUR
043
Detail > PO1 Loop > CTP Loop General Trade > CUR

Currency

RequiredMax use 1
Usage notes
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
GBP
Pound Sterling
USD
US Dollar
XEU
European Monetary Coop Fund
CTP Loop General Trade end
CTP Loop Private Label
OptionalMax 1
Variants (all may be used)
CTP Loop General TradeCTP Loop User
CTP
040
Detail > PO1 Loop > CTP Loop Private Label > CTP

Pricing Information

RequiredMax use 1
Usage notes
Example
If Price Multiplier Qualifier (CTP-06) is present, then Multiplier (CTP-07) is required
CTP-01
687
Class of Trade Code
Required
Identifier (ID)
PY
Private Label
CTP-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15
CTP-05
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
CTP-06
648
Price Multiplier Qualifier
Optional
Identifier (ID)
CSD
Cost Markup Multiplier - Original Cost
CTP-07
649
Multiplier
Optional
Decimal number (R)
Min 1Max 10
CTP Loop Private Label end
CTP Loop User
OptionalMax >1
CTP
040
Detail > PO1 Loop > CTP Loop User > CTP

Pricing Information

RequiredMax use 1
Usage notes
Example
If Price Multiplier Qualifier (CTP-06) is present, then Multiplier (CTP-07) is required
CTP-01
687
Class of Trade Code
Required
Identifier (ID)
WS
User
CTP-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15
CTP-05
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
CTP-06
648
Price Multiplier Qualifier
Optional
Identifier (ID)
CSD
Cost Markup Multiplier - Original Cost
CTP-07
649
Multiplier
Optional
Decimal number (R)
Min 1Max 10
CTP Loop User end
PID Loop Free-form
OptionalMax >1
PID
050
Detail > PO1 Loop > PID Loop Free-form > PID

Product/Item Description

RequiredMax use 1
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)
Usage notes
GEN
General Description
PID-05
352
Description
Required
String (AN)
Min 1Max 80
Usage notes
PID-09
819
Language Code
Optional
Identifier (ID)
Min 2Max 3
PID Loop Free-form end
PID Loop Structured (From Industry Code List)
OptionalMax 1
Variants (all may be used)
PID Loop Free-form
PID
050
Detail > PO1 Loop > PID Loop Structured (From Industry Code List) > PID

Product/Item Description

RequiredMax use 1
Usage notes
Example
PID-01
349
Item Description Type
Required
Identifier (ID)
S
Structured (From Industry Code List)
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)
MAC
Material Classification
PID-03
559
Agency Qualifier Code
Required
Identifier (ID)
AS
Assigned by Seller
UN
United Nations (UN)
PID-04
751
Product Description Code
Required
String (AN)
Min 1Max 12
Usage notes
PID-07
822
Source Subqualifier
Required
String (AN)
Min 1Max 15
Usage notes
PID Loop Structured (From Industry Code List) end
REF
100
Detail > PO1 Loop > REF

Reference Identification Fine Line Classification

OptionalMax use 1
Usage notes
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
FL
Fine Line Classification
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
Usage notes
REF-03
352
Description
Optional
String (AN)
Usage notes
composite
Composite
item
Item
REF
100
Detail > PO1 Loop > REF

Reference Identification Purchase Requisition Number

OptionalMax use >1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
RQ
Purchase Requisition Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
100
Detail > PO1 Loop > REF

Reference Identification Referenced By

OptionalMax use 1
Usage notes
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
0L
Referenced By
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
Usage notes
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
REF
100
Detail > PO1 Loop > REF

Reference Identification Supplier

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

Administrative Communications Contact

OptionalMax use 3
Usage notes
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)
AE
Corporate Purchasing Agent
AM
Administrator
BL
Technical Department
CN
General Contact
CR
Customer Relations
EB
Entered By
SR
Sales Representative or Department
Optional
String (AN)
Min 1Max 60
Usage notes
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
SAC Loop Allowance
OptionalMax 1
Variants (all may be used)
SAC Loop Charge
SAC
130
Detail > PO1 Loop > SAC Loop Allowance > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Usage notes
Example
If either Allowance/Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
At least one of Service, Promotion, Allowance, or Charge Code (SAC-02) or Agency Qualifier Code (SAC-03) is required
If either Agency Qualifier Code (SAC-03) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is present, then the other is required
If Reference Identification (SAC-13) is present, then at least one of Service, Promotion, Allowance, or Charge Code (SAC-02) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is required
If Option Number (SAC-14) is present, then Reference Identification (SAC-13) is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
A
Allowance
N
No Allowance or Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Optional
Identifier (ID)
Min 4Max 4
SAC-03
559
Agency Qualifier Code
Optional
Identifier (ID)
ZZ
Mutually Defined
SAC-04
1301
Agency Service, Promotion, Allowance, or Charge Code
Optional
String (AN)
A040
Access Charge
A050
Account Number Correction Charge
A060
Acid Battery
A170
Adjustment
A520
Charge
A960
Carrier
B660
Contract Allowance
C300
Discount-Special
C310
Discount
D180
Freight Based On Dollar Minimum
D240
Freight
D500
Handling
D980
Insurance
F050
Other
G580
Royalties
G821
Shipping
G830
Shipping And Handling
H970
Allowance
I530
Volume Discount
SAC-05
610
Amount
Required
Numeric (N2)
Min 1Max 15
Usage notes
SAC-06
378
Allowance/Charge Percent Qualifier
Optional
Identifier (ID)
6
Base Price Amount
SAC-07
332
Percent
Optional
Decimal number (R)
Min 1Max 6
SAC-13
127
Reference Identification
Optional
String (AN)
Min 1Max 30
SAC-14
770
Option Number
Optional
String (AN)
1
Used if SAC05 value is amount
2
Used if SAC05 value is price
SAC-15
352
Description
Required
String (AN)
Min 1Max 80
SAC-16
819
Language Code
Optional
Identifier (ID)
Min 2Max 3
CUR
135
Detail > PO1 Loop > SAC Loop Allowance > CUR

Currency

OptionalMax use 1
Usage notes
Example
If Date (CUR-08) is present, then Date/Time Qualifier (CUR-07) is required
If Time (CUR-09) is present, then Date/Time Qualifier (CUR-07) is required
If Date (CUR-11) is present, then Date/Time Qualifier (CUR-10) is required
If Time (CUR-12) is present, then Date/Time Qualifier (CUR-10) is required
If Date/Time Qualifier (CUR-10) is present, then at least one of Date (CUR-11) or Time (CUR-12) is required
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
GBP
Pound Sterling
USD
US Dollar
XEU
European Monetary Coop Fund
CUR-07
374
Date/Time Qualifier
Optional
Identifier (ID)
196
Start
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
CUR-10
374
Date/Time Qualifier
Optional
Identifier (ID)
197
End
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
SAC Loop Allowance end
SAC Loop Charge
OptionalMax >1
Variants (all may be used)
SAC Loop Allowance
SAC
130
Detail > PO1 Loop > SAC Loop Charge > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1
Usage notes
Example
If Language Code (SAC-16) is present, then Description (SAC-15) is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
C
Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Required
Identifier (ID)
G830
Shipping and Handling
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
SAC-13
127
Reference Identification
Optional
String (AN)
Min 1Max 30
SAC-15
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
SAC-16
819
Language Code
Optional
Identifier (ID)
Min 2Max 3
CUR
135
Detail > PO1 Loop > SAC Loop Charge > CUR

Currency

RequiredMax use 1
Usage notes
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
BY
Buying Party (Purchaser)
CUR-02
100
Currency Code
Required
Identifier (ID)
Usage notes
CAD
Canadian Dollar
GBP
Pound Sterling
USD
US Dollar
XEU
European Monetary Coop Fund
SAC Loop Charge end
FOB
180
Detail > PO1 Loop > FOB

F.O.B. Related Instructions

OptionalMax use >1
Usage notes
Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
If Transportation Terms Qualifier Code (FOB-04) is present, then Transportation Terms Code (FOB-05) is required
If Description (FOB-07) is present, then Location Qualifier (FOB-06) is required
If Risk of Loss Code (FOB-08) is present, then Description (FOB-09) is required
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
11
Rule 11 Shipment
BP
Paid by Buyer
CA
Advance Collect
CC
Collect
CD
Collect on Delivery
CF
Collect, Freight Credited Back to Customer
DE
Per Contract
DF
Defined by Buyer and Seller
FO
FOB Port of Call
HP
Half Prepaid
MX
Mixed
NC
Service Freight, No Charge
NR
Non Revenue
PA
Advance Prepaid
PB
Customer Pick-up/Backhaul
PC
Prepaid but Charged to Customer
PD
Prepaid by Processor
PE
Prepaid and Summary Bill
PL
Prepaid Local, Collect Outstate
PO
Prepaid Only
PP
Prepaid (by Seller)
PS
Paid by Seller
PU
Pickup
RC
Return Container Freight Paid by Customer
RF
Return Container Freight Free
RS
Return Container Freight Paid by Supplier
TP
Third Party Pay
WC
Weight Condition
FOB-02
309
Location Qualifier
Optional
Identifier (ID)
OF
Other Unlisted Free On Board (FOB) Point
ZZ
Mutually Defined
FOB-03
352
Description
Optional
String (AN)
Min 1Max 80
FOB-04
334
Transportation Terms Qualifier Code
Optional
Identifier (ID)
ZZ
Mutually Defined
FOB-05
335
Transportation Terms Code
Optional
Identifier (ID)
CAF
Cost and Freight
CIF
Cost, Insurance, and Freight
CIP
Carriage and Insurance Paid To
CPT
Carriage Paid To
DAF
Delivered at Frontier
DDP
Delivered Duty Paid
DDU
Deliver Duty Unpaid
DEQ
Delivered Ex Quay
DES
Delivered Ex Ship
EXW
Ex Works
FAS
Free Alongside Ship
FCA
Free Carrier
FOB
Free on Board
ZZZ
Mutually Defined
FOB-06
309
Location Qualifier
Optional
Identifier (ID)
ZZ
Mutually Defined
FOB-07
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
FOB-08
54
Risk of Loss Code
Optional
Identifier (ID)
ZZ
Mutually Defined
FOB-09
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
DTM
210
Detail > PO1 Loop > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
002
Delivery Requested
Required
Date (DT)
CCYYMMDD format
TXI
291
Detail > PO1 Loop > TXI

Tax Information

OptionalMax use >1
Usage notes
Example
TXI-01
963
Tax Type Code
Required
Identifier (ID)
TX
All Taxes
TXI-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
QTY Loop Range Maximum
OptionalMax >1
Variants (all may be used)
QTY Loop Range Minimum
QTY
293
Detail > PO1 Loop > QTY Loop Range Maximum > QTY

Quantity

RequiredMax use 1
Usage notes
Example
QTY-01
673
Quantity Qualifier
Required
Identifier (ID)
7D
Range Maximum
QTY-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
QTY Loop Range Maximum end
QTY Loop Range Minimum
OptionalMax 1
Variants (all may be used)
QTY Loop Range Maximum
QTY
293
Detail > PO1 Loop > QTY Loop Range Minimum > QTY

Quantity

RequiredMax use 1
Usage notes
Example
QTY-01
673
Quantity Qualifier
Required
Identifier (ID)
7E
Range Minimum
QTY-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
QTY Loop Range Minimum end
N9 Loop Letters or Notes
OptionalMax 1
N9
330
Detail > PO1 Loop > N9 Loop Letters or Notes > N9

Reference Identification

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)
Usage notes
Comment
Comment
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Usage notes
MSG
340
Detail > PO1 Loop > N9 Loop Letters or Notes > MSG

Message Text

OptionalMax use 1000
Usage notes
Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264
MSG-02
934
Printer Carriage Control Code
Optional
Identifier (ID)
Usage notes
LC
Line Continuation
N9 Loop Letters or Notes end
N9 Loop Mutually Defined
OptionalMax 1
N9
330
Detail > PO1 Loop > N9 Loop Mutually Defined > N9

Reference Identification

RequiredMax use 1
Usage notes
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
ZZ
Mutually Defined
N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45
Usage notes
MSG
340
Detail > PO1 Loop > N9 Loop Mutually Defined > MSG

Message Text

RequiredMax use 1000
Usage notes
Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264
MSG-02
934
Printer Carriage Control Code
Optional
Identifier (ID)
Usage notes
LC
Line Continuation
N9 Loop Mutually Defined end
N9 Loop Uniform Resource Locator
OptionalMax >1
N9
330
Detail > PO1 Loop > N9 Loop Uniform Resource Locator > N9

Reference Identification

RequiredMax use 1
Usage notes
Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)
URL
Uniform Resource Locator
N9-02
127
Reference Identification
Required
String (AN)
Usage notes
URL
N9-03
369
Free-form Description
Optional
String (AN)
Min 1Max 45
Usage notes
MSG
340
Detail > PO1 Loop > N9 Loop Uniform Resource Locator > MSG

Message Text

OptionalMax use 1000
Usage notes
Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264
Usage notes
N9 Loop Uniform Resource Locator end
N1 Loop Delivery Address
OptionalMax 1
Variants (all may be used)
N1 Loop SalespersonN1 Loop Ship To
N1
350
Detail > PO1 Loop > N1 Loop Delivery Address > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
DA
Delivery Address
Required
String (AN)
Min 1Max 60
N3
370
Detail > PO1 Loop > N1 Loop Delivery Address > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N4
380
Detail > PO1 Loop > N1 Loop Delivery Address > N4

Geographic Location

OptionalMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3
Usage notes
N1 Loop Delivery Address end
N1 Loop Salesperson
OptionalMax 1
Variants (all may be used)
N1 Loop Delivery AddressN1 Loop Ship To
N1
350
Detail > PO1 Loop > N1 Loop Salesperson > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
60
Salesperson
A9
Sales Office
BY
Buying Party (Purchaser)
CA
Carrier
EN
End User
KY
Technical Office
L5
Contact
NG
Administrator
PD
Purchaser's Department Buyer
RI
Remit To
SF
Ship From
SO
Sold To If Different From Bill To
SU
Supplier/Manufacturer
Required
String (AN)
Min 1Max 60
N2
360
Detail > PO1 Loop > N1 Loop Salesperson > N2

Additional Name Information

OptionalMax use 2
Usage notes
Example
Required
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
370
Detail > PO1 Loop > N1 Loop Salesperson > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
380
Detail > PO1 Loop > N1 Loop Salesperson > N4

Geographic Location

OptionalMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
Required
Identifier (ID)
Min 2Max 3
PER
400
Detail > PO1 Loop > N1 Loop Salesperson > PER

Administrative Communications Contact

OptionalMax use 3
Usage notes
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)
AE
Corporate Purchasing Agent
AM
Administrator
BL
Technical Department
CN
General Contact
CR
Customer Relations
EB
Entered By
SR
Sales Representative or Department
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
N1 Loop Salesperson end
N1 Loop Ship To
OptionalMax >1
N1
350
Detail > PO1 Loop > N1 Loop Ship To > N1

Name

RequiredMax use 1
Usage notes
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
ST
Ship To
Optional
String (AN)
Min 1Max 60
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80
N2
360
Detail > PO1 Loop > N1 Loop Ship To > N2

Additional Name Information

OptionalMax use 2
Usage notes
Example
Required
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
370
Detail > PO1 Loop > N1 Loop Ship To > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55
N4
380
Detail > PO1 Loop > N1 Loop Ship To > N4

Geographic Location

OptionalMax use 1
Usage notes
Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30
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
Required
Identifier (ID)
Min 2Max 3
Usage notes
PER
400
Detail > PO1 Loop > N1 Loop Ship To > PER

Administrative Communications Contact

OptionalMax use 3
Usage notes
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)
RE
Receiving Contact
Optional
String (AN)
Min 1Max 60
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
TE
Telephone
UR
Uniform Resource Locator (URL)
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
N1 Loop Ship To end
PO1 Loop end
Detail end

Summary

CTT Loop
OptionalMax >1
CTT
010
Summary > CTT Loop > CTT

Transaction Totals

RequiredMax use 1
Usage notes
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6
CTT-02
347
Hash Total
Optional
Decimal number (R)
Min 1Max 10
AMT
020
Summary > CTT Loop > AMT

Monetary Amount

RequiredMax use 1
Usage notes
Example
AMT-01
522
Amount Qualifier Code
Required
Identifier (ID)
TT
Total Transaction Amount
AMT-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
CTT Loop end
SE
030
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

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.