SAP Business Network
/
Purchase Order Acknowledgment
  • 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 855 Purchase Order Acknowledgment

X12 Release 4010Revised
May 10, 2:46 AM
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample Based on Segment Samples
View the latest version of this implementation guide as an interactive webpage
https://portal.stedi.com/app/guides/view/sap-business-network/purchase-order-acknowledgment/01JTKK5PFM5ARF3H8DTCY8QH82
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
BAK
020
Beginning Segment for Purchase Order Acknowledgment
Max use 1
Required
CUR
040
Currency
Max use 1
Optional
REF
050
Reference Identification Internal Order Number
Max use 1
Optional
REF
050
Reference Identification Original Reference Number
Max use 1
Optional
REF
050
Reference Identification Seller's Invoice Number
Max use 1
Optional
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
SAC Loop Allowance
DTM
150
Date/Time Reference Acknowledgment
Max use 1
Optional
DTM
150
Date/Time Reference Date of Last Update
Max use 1
Optional
DTM
150
Date/Time Reference Purchase Order
Max use 10
Optional
TXI
275
Tax Information
Max use 1
Optional
detail
PO1 Loop
PO1
010
Baseline Item Data
Max use 1
Required
CTP
040
Pricing Information
Max use 1
Optional
REF
100
Reference Identification
Max use 1
Optional
ACK 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
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)
PR
Purchase Order Acknowledgement (855)
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)
855
Purchase Order Acknowledgment
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
BAK
020
Heading > BAK

Beginning Segment for Purchase Order Acknowledgment

RequiredMax use 1
Usage notes
Example
BAK-01
353
Transaction Set Purpose Code
Required
Identifier (ID)
00
Original
05
Replace
BAK-02
587
Acknowledgment Type
Required
Identifier (ID)
AC
Acknowledge - With Detail and Change
AE
Acknowledge - With Exception Detail Only
AT
Accepted
RJ
Rejected - No Detail
BAK-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22
Usage notes
Required
Date (DT)
CCYYMMDD format
Usage notes
BAK-08
127
Reference Identification
Required
String (AN)
Min 1Max 30
Usage notes
Optional
Date (DT)
CCYYMMDD format
Usage notes
CUR
040
Heading > 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
REF
050
Heading > REF

Reference Identification Internal Order Number

OptionalMax use >1
Usage notes
Example
Variants (all may be used)
REFReference Identification Original Reference NumberREFReference Identification Seller's Invoice Number
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
IL
Internal Order Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
050
Heading > REF

Reference Identification Original Reference Number

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
F8
Original Reference Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
REF
050
Heading > REF

Reference Identification Seller's Invoice Number

OptionalMax use 1
Usage notes
Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)
IV
Seller's Invoice Number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30
FOB
080
Heading > FOB

F.O.B. Related Instructions

OptionalMax use >1
Usage notes
Example
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
DE
Per Contract
FOB-04
334
Transportation Terms Qualifier Code
Required
Identifier (ID)
01
Incoterms
FOB-05
335
Transportation Terms Code
Required
Identifier (ID)
Usage notes
CFR
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
SAC Loop Allowance
OptionalMax 1
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
If Option Number (SAC-14) is present, then Reference Identification (SAC-13) 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)
Usage notes
G830
Shipping and Handling
H850
Tax
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
SAC-13
127
Reference Identification
Optional
String (AN)
Min 1Max 30
SAC-14
770
Option Number
Optional
String (AN)
Usage notes
Airborne Express
Airborne Express
CF
CF
DHL
DHL
EmeryWorldwide
Emery Worldwide
FedEx
FedEx
Purolator
Purolator
Roadway Express
Roadway Express
UPS
UPS
US Postal Service
US Postal Service
Viking Freight
Viking Freight
SAC-15
352
Description
Required
String (AN)
Min 1Max 80
SAC-16
819
Language Code
Required
Identifier (ID)
Min 2Max 3
SAC Loop Charge end
DTM
150
Heading > DTM

Date/Time Reference Acknowledgment

OptionalMax use 1
Usage notes
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
ACK
Acknowledgment
Required
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Usage notes
01
Equivalent to ISO P01
02
Equivalent to ISO P02
03
Equivalent to ISO P03
04
Equivalent to ISO P04
05
Equivalent to ISO P05
06
Equivalent to ISO P06
07
Equivalent to ISO P07
08
Equivalent to ISO P08
09
Equivalent to ISO P09
10
Equivalent to ISO P10
11
Equivalent to ISO P11
12
Equivalent to ISO P12
13
Equivalent to ISO M12
14
Equivalent to ISO M11
15
Equivalent to ISO M10
16
Equivalent to ISO M09
17
Equivalent to ISO M08
18
Equivalent to ISO M07
19
Equivalent to ISO M06
20
Equivalent to ISO M05
21
Equivalent to ISO M04
22
Equivalent to ISO M03
23
Equivalent to ISO M02
24
Equivalent to ISO M01
AD
Alaska Daylight Time
AS
Alaska Standard Time
AT
Alaska Time
CD
Central Daylight Time
CS
Central Standard Time
CT
Central Time
ED
Eastern Daylight Time
ES
Eastern Standard Time
ET
Eastern Time
GM
Greenwich Mean Time
HD
Hawaii-Aleutian Daylight Time
HS
Hawaii-Aleutian Standard Time
HT
Hawaii-Aleutian Time
MD
Mountain Daylight Time
MS
Mountain Standard Time
MT
Mountain Time
ND
Newfoundland Daylight Time
NS
Newfoundland Standard Time
NT
Newfoundland Time
PD
Pacific Daylight Time
PS
Pacific Standard Time
PT
Pacific Time
TD
Atlantic Daylight Time
TS
Atlantic Standard Time
TT
Atlantic Time
UT
Universal Time Coordinate
DTM
150
Heading > DTM

Date/Time Reference Date of Last Update

OptionalMax use 1
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
636
Date of Last Update
Required
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Usage notes
01
Equivalent to ISO P01
02
Equivalent to ISO P02
03
Equivalent to ISO P03
04
Equivalent to ISO P04
05
Equivalent to ISO P05
06
Equivalent to ISO P06
07
Equivalent to ISO P07
08
Equivalent to ISO P08
09
Equivalent to ISO P09
10
Equivalent to ISO P10
11
Equivalent to ISO P11
12
Equivalent to ISO P12
13
Equivalent to ISO M12
14
Equivalent to ISO M11
15
Equivalent to ISO M10
16
Equivalent to ISO M09
17
Equivalent to ISO M08
18
Equivalent to ISO M07
19
Equivalent to ISO M06
20
Equivalent to ISO M05
21
Equivalent to ISO M04
22
Equivalent to ISO M03
23
Equivalent to ISO M02
24
Equivalent to ISO M01
AD
Alaska Daylight Time
AS
Alaska Standard Time
AT
Alaska Time
CD
Central Daylight Time
CS
Central Standard Time
CT
Central Time
ED
Eastern Daylight Time
ES
Eastern Standard Time
ET
Eastern Time
GM
Greenwich Mean Time
HD
Hawaii-Aleutian Daylight Time
HS
Hawaii-Aleutian Standard Time
HT
Hawaii-Aleutian Time
MD
Mountain Daylight Time
MS
Mountain Standard Time
MT
Mountain Time
ND
Newfoundland Daylight Time
NS
Newfoundland Standard Time
NT
Newfoundland Time
PD
Pacific Daylight Time
PS
Pacific Standard Time
PT
Pacific Time
TD
Atlantic Daylight Time
TS
Atlantic Standard Time
TT
Atlantic Time
UT
Universal Time Coordinate
DTM
150
Heading > DTM

Date/Time Reference Purchase Order

OptionalMax use 10
Usage notes
Example
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
Required
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Usage notes
01
Equivalent to ISO P01
02
Equivalent to ISO P02
03
Equivalent to ISO P03
04
Equivalent to ISO P04
05
Equivalent to ISO P05
06
Equivalent to ISO P06
07
Equivalent to ISO P07
08
Equivalent to ISO P08
09
Equivalent to ISO P09
10
Equivalent to ISO P10
11
Equivalent to ISO P11
12
Equivalent to ISO P12
13
Equivalent to ISO M12
14
Equivalent to ISO M11
15
Equivalent to ISO M10
16
Equivalent to ISO M09
17
Equivalent to ISO M08
18
Equivalent to ISO M07
19
Equivalent to ISO M06
20
Equivalent to ISO M05
21
Equivalent to ISO M04
22
Equivalent to ISO M03
23
Equivalent to ISO M02
24
Equivalent to ISO M01
AD
Alaska Daylight Time
AS
Alaska Standard Time
AT
Alaska Time
CD
Central Daylight Time
CS
Central Standard Time
CT
Central Time
ED
Eastern Daylight Time
ES
Eastern Standard Time
ET
Eastern Time
GM
Greenwich Mean Time
HD
Hawaii-Aleutian Daylight Time
HS
Hawaii-Aleutian Standard Time
HT
Hawaii-Aleutian Time
MD
Mountain Daylight Time
MS
Mountain Standard Time
MT
Mountain Time
ND
Newfoundland Daylight Time
NS
Newfoundland Standard Time
NT
Newfoundland Time
PD
Pacific Daylight Time
PS
Pacific Standard Time
PT
Pacific Time
TD
Atlantic Daylight Time
TS
Atlantic Standard Time
TT
Atlantic Time
UT
Universal Time Coordinate
TXI
275
Heading > 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
If Dollar Basis For Percent (TXI-08) is present, then Percent (TXI-03) is required
TXI-01
963
Tax Type Code
Required
Identifier (ID)
AA
Stadium Tax
AB
Surtax
AT
Assessment
BP
Business Privilege Tax
CA
City Tax
CB
Threshold Tax
CG
Federal Value-added Tax (GST) on Goods
CI
City Rental Tax
CP
County/Parish Sales Tax
CR
County Rental Tax
CS
City Sales Tax
CT
County Tax
CV
Federal Value-added Tax (GST) on Services
DL
Default Labor Tax
EQ
Equipment Tax
ET
Energy Tax
EV
Environmental Tax
F1
FICA Tax
F2
FICA Medicare Tax
F3
FICA Social Security Tax
FD
Federal Tax
FF
Fuel Super Fund Tax
FI
Federal Income Tax Withholding
FL
Fuel L.U.S.T. Tax (Leaking Underground Storage Tank)
FR
Franchise Tax
FS
Fuel Spill Tax
FT
Federal Excise Tax
GR
Gross Receipts Tax
GS
Goods and Services Tax
HS
Public Health and Education Tax
HT
Handicap Tax
HZ
Hazardous Waste Tax
LB
Labor By Trade Tax
LO
Local Tax (Not Sales Tax)
LS
State and Local Sales Tax
LT
Local Sales Tax
LU
Leaky Underground Storage Tank (LUST) Tax (federal)
LV
Leaky Underground Storage Tank (LUST) Tax (state)
MA
Material Tax
MN
Minimum Tax
MP
Municipal Tax
MS
Miscellaneous State Tax
MT
Metropolitan Transit Tax
OH
Other Taxes
OT
Occupational Tax
PG
State or Provincial Tax on Goods
PS
State or Provincial Tax on Services
SA
State or Provincial Fuel Tax
SB
Secondary Percentage Tax
SC
School Tax
SE
State Excise Tax
SF
Superfund Tax
SL
State and Local Tax
SP
State/Provincial Tax
SR
State Rental Tax
SS
State Tax on Specific Labor
ST
State Sales Tax
SU
Sales and Use Tax
SX
Enhanced 911 - State Excise Tax
T1
Pre-threshold Tax
T2
Post Threshold Tax
TD
Telecommunications Device for the Deaf (TDD) Service Excise Tax
TT
Telecommunications Tax
TX
All Taxes
UL
License Tax
UT
Utility Users' Tax
VA
Value Added Tax
WS
Well Service
ZA
911-City Tax
ZB
911-County Tax
ZC
911-Excise Tax
ZD
911-State Tax
ZE
911-Tax
ZZ
Mutually Defined Let me know if this works for you or if you need any further refinements! 🚀
TXI-02
782
Monetary Amount
Required
Decimal number (R)
Min 1Max 15
TXI-03
954
Percent
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-08
828
Dollar Basis For Percent
Optional
Decimal number (R)
Min 1Max 9
N9 Loop Letters or Notes
OptionalMax >1
Variants (all may be used)
N9 Loop Mutually Defined
N9
280
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
Optional
String (AN)
Min 1Max 30
Usage notes
N9-03
369
Free-form Description
Required
String (AN)
Usage notes
Comments
Comments
MSG
290
Heading > 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
Variants (all may be used)
N9 Loop Letters or Notes
N9
280
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-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30
Usage notes
N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45
Usage notes
MSG
290
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
MSG-02
934
Printer Carriage Control Code
Optional
Identifier (ID)
LC
Line Continuation
N9 Loop Mutually Defined end
N1 Loop
OptionalMax >1
N1
300
Heading > N1 Loop > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
60
Salesperson
A9
Sales Office
BT
Bill-to-Party
BY
Buying Party (Purchaser)
KY
Technical Office
RI
Remit To
SF
Ship From
ST
Ship To
SU
Supplier/Manufacturer
Required
String (AN)
Min 1Max 60
Usage notes
N2
310
Heading > N1 Loop > N2

Additional Name Information

OptionalMax use 2
Usage notes
Example
Required
String (AN)
Min 1Max 60
Optional
String (AN)
Min 1Max 60
N3
320
Heading > N1 Loop > 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
330
Heading > N1 Loop > 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)
Usage notes
AB
Alberta
AK
Alaska
AL
Alabama
AR
Arkansas
AS
American Samoa
AZ
Arizona
BC
British Columbia
CA
California
CO
Colorado
CT
Connecticut
DC
District of Columbia
DE
Delaware
FL
Florida
FM
Federated States of Micronesia
GA
Georgia
GU
Guam
HI
Hawaii
IA
Iowa
ID
Idaho
IL
Illinois
IN
Indiana
KS
Kansas
KY
Kentucky
LA
Louisiana
MA
Massachusetts
MB
Manitoba
MD
Maryland
ME
Maine
MH
Marshall Islands
MI
Michigan
MN
Minnesota
MO
Missouri
MP
Northern Mariana Islands
MS
Mississippi
MT
Montana
NB
New Brunswick
NC
North Carolina
ND
North Dakota
NE
Nebraska
NF
Newfoundland
NH
New Hampshire
NJ
New Jersey
NM
New Mexico
NS
Nova Scotia
NT
Northwest Territories
NU
Nunavut
NV
Nevada
NY
New York
OH
Ohio
OK
Oklahoma
ON
Ontario
OR
Oregon
PA
Pennsylvania
PE
Prince Edward Island
PR
Puerto Rico
PW
Palau
QC
Quebec
RI
Rhode Island
SC
South Carolina
SD
South Dakota
SK
Saskatchewan
TN
Tennessee
TX
Texas
UT
Utah
VA
Virginia
VI
Virgin Islands
VT
Vermont
WA
Washington
WI
Wisconsin
WV
West Virginia
WY
Wyoming
YT
Yukon
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
350
Heading > N1 Loop > 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)
CN
General 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 end
Heading end

Detail

PO1 Loop
OptionalMax >1
PO1
010
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1
Usage notes
Example
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
PO1-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20
Usage notes
PO1-02
330
Quantity Ordered
Required
Decimal number (R)
Min 1Max 15
Usage notes
PO1-03
355
Unit or Basis for Measurement Code
Required
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
PO1-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
PO1-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
PO1-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
C3
Classification
MF
Manufacturer
MG
Manufacturer's Part Number
VP
Vendor's (Seller's) Part Number
PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
CTP
040
Detail > PO1 Loop > CTP

Pricing Information

OptionalMax use >1
Usage notes
Example
CTP-01
687
Class of Trade Code
Required
Identifier (ID)
AS
Seller
CTP-02
236
Price Identifier Code
Required
Identifier (ID)
CHG
Changed Price
CUP
Confirmed Unit Price
CTP-03
212
Unit Price
Required
Decimal number (R)
Min 1Max 15
PID Loop
OptionalMax >1
PID
050
Detail > PO1 Loop > PID Loop > 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)
Min 2Max 3
PID-05
352
Description
Required
String (AN)
Min 1Max 80
PID-09
819
Language Code
Optional
Identifier (ID)
Min 2Max 3
PID Loop end
REF
100
Detail > PO1 Loop > REF

Reference Identification

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
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > 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
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
C
Charge
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-13
127
Reference Identification
Optional
String (AN)
Usage notes
IA
Item Accepted
IB
Item Backordered
IC
Item Accepted - Changes Made
IR
Item Rejected
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
135
Detail > PO1 Loop > SAC Loop > 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 end
ACK Loop
RequiredMax >1
ACK
270
Detail > PO1 Loop > ACK Loop > ACK

Line Item Acknowledgment

RequiredMax use 1
Usage notes
Example
If either Quantity (ACK-02) or Unit or Basis for Measurement Code (ACK-03) is present, then the other is required
If Date/Time Qualifier (ACK-04) is present, then Date (ACK-05) is required
If either Product/Service ID Qualifier (ACK-07) or Product/Service ID (ACK-08) is present, then the other is required
If either Product/Service ID Qualifier (ACK-09) or Product/Service ID (ACK-10) is present, then the other is required
If either Product/Service ID Qualifier (ACK-11) or Product/Service ID (ACK-12) is present, then the other is required
If either Product/Service ID Qualifier (ACK-13) or Product/Service ID (ACK-14) is present, then the other is required
If either Product/Service ID Qualifier (ACK-15) or Product/Service ID (ACK-16) is present, then the other is required
If either Product/Service ID Qualifier (ACK-17) or Product/Service ID (ACK-18) is present, then the other is required
If either Product/Service ID Qualifier (ACK-19) or Product/Service ID (ACK-20) is present, then the other is required
If either Product/Service ID Qualifier (ACK-21) or Product/Service ID (ACK-22) is present, then the other is required
ACK-01
668
Line Item Status Code
Required
Identifier (ID)
IA
Item Accepted
IB
Item Backordered
IC
Item Accepted - Changes Made
IR
Item Rejected
ACK-02
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
ACK-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
ACK-04
374
Date/Time Qualifier
Optional
Identifier (ID)
068
Current Schedule Ship
Optional
Date (DT)
CCYYMMDD format
Usage notes
ACK-07
235
Product/Service ID Qualifier
Optional
Identifier (ID)
VP
Vendor's (Seller's) Part Number
ACK-08
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-09
235
Product/Service ID Qualifier
Optional
Identifier (ID)
VS
Vendor's Supplemental Item Number
ACK-10
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-11
235
Product/Service ID Qualifier
Optional
Identifier (ID)
MG
Manufacturer's Part Number
ACK-12
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-13
235
Product/Service ID Qualifier
Optional
Identifier (ID)
MF
Manufacturer
ACK-14
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-15
235
Product/Service ID Qualifier
Optional
Identifier (ID)
PD
Part Number Description
ACK-16
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-17
235
Product/Service ID Qualifier
Optional
Identifier (ID)
C3
Classification
ACK-18
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-19
235
Product/Service ID Qualifier
Optional
Identifier (ID)
BP
Buyer's Part Number
ACK-20
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
ACK-21
235
Product/Service ID Qualifier
Optional
Identifier (ID)
UP
U.P.C. Consumer Package Code (1-5-5-1)
ACK-22
234
Product/Service ID
Optional
String (AN)
Min 1Max 48
DTM
280
Detail > PO1 Loop > ACK Loop > DTM

Date/Time Reference

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)
017
Estimated Delivery
Optional
Date (DT)
CCYYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
DTM-04
623
Time Code
Optional
Identifier (ID)
Usage notes
01
Equivalent to ISO P01
02
Equivalent to ISO P02
03
Equivalent to ISO P03
04
Equivalent to ISO P04
05
Equivalent to ISO P05
06
Equivalent to ISO P06
07
Equivalent to ISO P07
08
Equivalent to ISO P08
09
Equivalent to ISO P09
10
Equivalent to ISO P10
11
Equivalent to ISO P11
12
Equivalent to ISO P12
13
Equivalent to ISO M12
14
Equivalent to ISO M11
15
Equivalent to ISO M10
16
Equivalent to ISO M09
17
Equivalent to ISO M08
18
Equivalent to ISO M07
19
Equivalent to ISO M06
20
Equivalent to ISO M05
21
Equivalent to ISO M04
22
Equivalent to ISO M03
23
Equivalent to ISO M02
24
Equivalent to ISO M01
AD
Alaska Daylight Time
AS
Alaska Standard Time
AT
Alaska Time
CD
Central Daylight Time
CS
Central Standard Time
CT
Central Time
ED
Eastern Daylight Time
ES
Eastern Standard Time
ET
Eastern Time
GM
Greenwich Mean Time
HD
Hawaii-Aleutian Daylight Time
HS
Hawaii-Aleutian Standard Time
HT
Hawaii-Aleutian Time
MD
Mountain Daylight Time
MS
Mountain Standard Time
MT
Mountain Time
ND
Newfoundland Daylight Time
NS
Newfoundland Standard Time
NT
Newfoundland Time
PD
Pacific Daylight Time
PS
Pacific Standard Time
PT
Pacific Time
TD
Atlantic Daylight Time
TS
Atlantic Standard Time
TT
Atlantic Time
UT
Universal Time Coordinate
ACK Loop end
N9 Loop
OptionalMax >1
N9
350
Detail > PO1 Loop > N9 Loop > 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
Optional
String (AN)
Min 1Max 30
Usage notes
N9-03
369
Free-form Description
Required
String (AN)
Usage notes
Comments
Comments
MSG
360
Detail > PO1 Loop > N9 Loop > 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 end
N1 Loop
OptionalMax >1
N1
370
Detail > PO1 Loop > N1 Loop > N1

Name

RequiredMax use 1
Usage notes
Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
60
Salesperson
A9
Sales Office
EN
End User
KY
Technical Office
NG
Administrator
PD
Purchaser's Department Buyer
ST
Ship To
Required
String (AN)
Min 1Max 60
N2
380
Detail > PO1 Loop > N1 Loop > N2

Additional Name Information

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

Address Information

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
400
Detail > PO1 Loop > N1 Loop > N4

Geographic Location

OptionalMax use 1
Example
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
PER
420
Detail > PO1 Loop > N1 Loop > 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)
CN
General 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 end
PO1 Loop end
Detail end

Summary

CTT Loop
RequiredMax >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

OptionalMax 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
EDI Samples

Sample Based on Segment Samples

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *250510*0246*U*00401*000000001*0*T*>~
GS*PR*SENDERGS*RECEIVERGS*20250510*024655*1*X*004010~
ST*855*0001~
BAK*00*AC*D-0115-1612h*20010111****ORDSP4125874*20010110~
CUR*BY*USD~
REF*IV*INV34572~
FOB*DE***01*CFR~
SAC*N**ZZ*F050*2200**********Original Price*en~
CUR*BY*CAD~
DTM*ACK*20000415*0830*ED~
TXI*HZ*962*1.75*VD*California***550~
N9*L1*en*Comments~
MSG*Be sure printer ink cartridges are properly sealed to avoid spillage.~
N1*SU*The Supplier~
N2*Andrea Walsh*National Account Manager~
N2*Supplier Corporation~
N3*One Supplier Blvd.~
N4*Portland*OR*97220*US~
PER*CN*Help Desk*EM*helpdesk@thesupplier.org*TE*1-888-555-4321~
PER*CN*Billing Inquiries*TE*1 (800) 5551234 x7890*EM*billing@thesupplier.org~
PO1*5*25*RO*4.19~
CTP*AS*CHG*4.10~
PID*F*GEN***3M Brand Scotch Tape****en~
PID*F****A cellophane strip bearing an adhesive coating on one side and wound tightly****en~
PID*F****onto a roll. A frame surrounds the roll with a tearing edge protruding about one****en~
PID*F****inch from the center of the roll's rotational axis.****en~
REF*FL*2*item~
SAC*N**ZZ*F050*2200**********Original Price*en~
CUR*BY*CAD~
SAC*A**ZZ*I530*2200*6*5******IC**Volume Discount*en~
CUR*BY*CAD*****196*20050504*101500*197*20050701*101500~
ACK*IC*5*RO*068*20000415~
DTM*017*20000416*0800*CT~
N9*L1*en*Comments~
MSG*Be sure printer ink cartridges are properly sealed to avoid spillage.~
CTT*1*25~
AMT*TT*321.68~
SE*36*0001~
GE*1*1~
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.