GSA (General Services Administration)
/
Price/Sales Catalog (GSA ADV)
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from GSA (General Services Administration). Contact GSA (General Services Administration) for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
GSA (General Services Administration) logo

X12 832 Price/Sales Catalog (GSA ADV)

X12 Release 3050
Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/gsa/pricesales-catalog-gsa-adv/01HH10NTCSXXB9NBT1BSA14CHP
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
BCT
020
Beginning Segment for Price/Sales Catalog
Max use 1
Required
REF
050
Reference Numbers
Max use 12
Optional
DTM
070
Date/Time Reference
Max use 10
Optional
CTB
080
Restrictions/ Conditions
Max use 25
Optional
CUR
090
Currency
Max use 5
Optional
ITD
110
Terms of Sale/Deferred Terms of Sale
Max use 2
Optional
LDT
120
Lead Time
Max use 1
Optional
SAC
130
Service, Promotion, Allowance, or Charge Information
Max use 25
Optional
FOB
140
F.O.B. Related Instructions
Max use 1
Optional
N1 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)
Min 5Max 5
00200
Standard Issued as ANSI X12.5-1987
00201
Draft Standard for Trial Use Approved by ASC X12 Through August 1988
00204
Draft Standard for Trial Use Approved by ASC X12 Through May 1989
00300
Standard Issued as ANSI X12.5-1992
00301
Draft Standard for Trial Use Approved for Publication by ASC X12 Procedures Review Board Through October 1990
00302
Draft Standard for Trial Use Approved for Publication by ASC X12 Procedures Review Board Through October 1991
00303
Draft Standard for Trial Use Approved for Publication by ASC X12 Procedures Review Board Through October 1992
00304
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1993
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
Test Indicator
Required
Identifier (ID)
Min 1Max 1
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)
SC
Price/Sales Catalog (832)
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)
YYMMDD 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)
003050
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1994

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1
Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)
832
X12.13 Price/Sales Catalog
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Usage notes
BCT
020
Heading > BCT

Beginning Segment for Price/Sales Catalog

RequiredMax use 1
Example
BCT-01
683
Catalog Purpose Code
Required
Identifier (ID)
Usage notes
CP
Customized Catalog
PC
Price Catalog
SC
Sales Catalog
BCT-02
684
Catalog Number
Required
String (AN)
Min 1Max 15
Usage notes
BCT-04
686
Catalog Revision Number
Optional
String (AN)
Min 1Max 6
Usage notes
BCT-06
684
Catalog Number
Optional
String (AN)
Min 1Max 15
Usage notes
BCT-08
686
Catalog Revision Number
Optional
String (AN)
Min 1Max 6
Usage notes
BCT-09
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
BCT-10
353
Transaction Set Purpose Code
Required
Identifier (ID)
Usage notes
00
Original
02
Add
03
Delete
04
Change
05
Replace
07
Duplicate
42
Temporary Record
REF
050
Heading > REF

Reference Numbers

OptionalMax use 12
Usage notes
Example
At least one of Reference Number (REF-02) or Description (REF-03) is required
REF-01
128
Reference Number Qualifier
Required
Identifier (ID)
92
Change Document Number
GC
Government Contract Number
ME
Message Address or ID
PD
Promotion/Deal Number
TN
Transaction Reference Number
W6
Federal Supply Schedule Number
REF-02
127
Reference Number
Optional
String (AN)
Min 1Max 30
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
DTM
070
Heading > DTM

Date/Time Reference

OptionalMax use 10
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
007
Effective
015
Promotion Start
016
Promotion End
036
Expiration
Required
Date (DT)
YYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
DTM-04
623
Time Code
Optional
Identifier (ID)
CT
Central Time
ET
Eastern Time
GM
Greenwich Mean Time
LT
Local Time
MT
Mountain Time
PT
Pacific Time
DTM-05
624
Century
Optional
Numeric (N0)
Min 2Max 2
CTB
080
Heading > CTB

Restrictions/ Conditions

OptionalMax use 25
Usage notes
Example
If either Quantity Qualifier (CTB-03) or Quantity (CTB-04) is present, then the other is required
If either Amount Qualifier Code (CTB-05) or Amount (CTB-06) is present, then the other is required
At least one of Description (CTB-02), Quantity (CTB-04) or Amount (CTB-06) is required
CTB-01
688
Restrictions/Conditions Qualifier
Required
Identifier (ID)
DW
Direct and Wholesaler
NR
Nonreturnable
OR
Ordering
SR
Shipping
CTB-02
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
CTB-03
673
Quantity Qualifier
Optional
Identifier (ID)
57
Minimum Order Quantity
67
Minimum Ship Quantity
69
Incremental Order Quantity
70
Maximum Order Quantity
MQ
Maximum Ship Quantity
CTB-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
CTB-05
522
Amount Qualifier Code
Optional
Identifier (ID)
KQ
Incremental Order Amount
MA
Maximum Amount
MO
Minimum Order Value
CTB-06
610
Amount
Optional
Numeric (N2)
Min 1Max 15
CUR
090
Heading > CUR

Currency

OptionalMax use 5
Usage notes
Example
CUR-01
98
Entity Identifier Code
Required
Identifier (ID)
SE
Selling Party
CUR-02
100
Currency Code
Required
Identifier (ID)
Min 3Max 3
Usage notes
ITD
110
Heading > ITD

Terms of Sale/Deferred Terms of Sale

OptionalMax use 2
Usage notes
Example
ITD-03
338
Terms Discount Percent
Optional
Decimal number (R)
Min 1Max 6
Usage notes
ITD-05
351
Terms Discount Days Due
Required
Numeric (N0)
Min 1Max 3
ITD-07
386
Terms Net Days
Optional
Numeric (N0)
Min 1Max 3
ITD-14
107
Payment Method Code
Optional
Identifier (ID)
Usage notes
N
Billing Account
LDT
120
Heading > LDT

Lead Time

OptionalMax use >1
Usage notes
Example
LDT-01
345
Lead Time Code
Required
Identifier (ID)
AE
From date of PO receipt to shipment.
AF
From date of PO receipt to delivery.
AX
From Date of Award to Date of Completion
AY
From Date of Award to Date of Delivery
LDT-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
LDT-03
344
Unit of Time Period or Interval
Required
Identifier (ID)
DA
Calendar Days
DW
Work Days
MO
Month
WK
Weeks
SAC
130
Heading > SAC

Service, Promotion, Allowance, or Charge Information

OptionalMax use 25
Usage notes
Example
If either Allowance/ Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
If Quantity (SAC-11) is present, then Quantity (SAC-10) is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
A
Allowance
C
Charge
N
No Allowance or Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Required
Identifier (ID)
Min 4Max 4
Usage notes
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
Usage notes
SAC-06
378
Allowance/ Charge Percent Qualifier
Optional
Identifier (ID)
1
Item List Cost
2
Item Net Cost
5
Base Price per Unit
6
Base Price Amount
Z
Mutually Defined
SAC-07
332
Percent
Optional
Decimal number (R)
Min 1Max 6
Usage notes
Optional
Decimal number (R)
Min 1Max 9
Usage notes
SAC-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
SAC-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SAC-11
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SAC-12
331
Allowance or Charge Method of Handling Code
Optional
Identifier (ID)
CA
Calculate and Add to Invoice
SAC-13
127
Reference Number
Optional
String (AN)
Min 1Max 30
Usage notes
SAC-15
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
FOB
140
Heading > FOB

F.O.B. Related Instructions

OptionalMax use 1
Usage notes
Example
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
BP
Paid by Buyer
PP
Prepaid (by Seller)
PS
Paid by Seller
FOB-02
309
Location Qualifier
Optional
Identifier (ID)
DE
Destination (Shipping)
OR
Origin (Shipping Point)
W
Worldwide Geographic Location Code
ZZ
Mutually Defined
N1 Loop
OptionalMax >1
Usage notes
N1
150
Heading > N1 Loop > N1

Name

RequiredMax use 1
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)
40
Receiver
56
Servicing Dealer
CT
Country of Origin
DL
Dealer
DS
Distributor
DZ
Delivery Zone
KX
Free on Board Point
MF
Manufacturer of Goods
PL
Party to Receive Purchase Order
RI
Remit To
SE
Selling Party
SF
Ship From
SV
Service Performance Site
Optional
String (AN)
Min 1Max 35
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Usage notes
1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
10
Department of Defense Activity Address Code (DODAAC)
21
Health Industry I.D. Number (HIN)
33
Commercial and Government Entity (CAGE)
38
Country Code
ZN
Zone
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 20
Usage notes
N2
160
Heading > N1 Loop > N2

Additional Name Information

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

Address Information

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

Geographic Location

OptionalMax use 1
Usage notes
Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2
N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 11
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
N4-05
309
Location Qualifier
Optional
Identifier (ID)
Usage notes
DE
Destination (Shipping)
OA
Origin (After Loading on Equipment)
OR
Origin (Shipping Point)
ZN
Zone Code
ZZ
Mutually Defined
N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30
Usage notes
REF
190
Heading > N1 Loop > REF

Reference Numbers

OptionalMax use 12
Usage notes
Example
REF-01
128
Reference Number Qualifier
Required
Identifier (ID)
4A
Personal Identification Number (PIN)
REF-02
127
Reference Number
Required
String (AN)
Min 1Max 30
PER
200
Heading > N1 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)
1A
Review/Repricing Contact
AC
Administrative Contracting Officer
CR
Customer Relations
EA
EDI Coordinator
OD
Order Department
SE
Service Organization
TR
Technical Marketing Representative
Optional
String (AN)
Min 1Max 35
Usage notes
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
EM
Electronic Mail
FX
Facsimile
IT
International Telephone
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
Usage notes
EM
Electronic Mail
EX
Telephone Extension
FX
Facsimile
IT
International Telephone
TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
Usage notes
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
Usage notes
EM
Electronic Mail
EX
Telephone Extension
FX
Facsimile
IT
International Telephone
TE
Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
Usage notes
PER-09
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20
Usage notes
N1 Loop end
Heading end

Detail

LIN Loop
OptionalMax >1
Usage notes
LIN
010
Detail > LIN Loop > LIN

Item Identification

RequiredMax use 1
Usage notes
Example
If either Product/Service ID Qualifier (LIN-04) or Product/Service ID (LIN-05) is present, then the other is required
If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
If either Product/Service ID Qualifier (LIN-08) or Product/Service ID (LIN-09) is present, then the other is required
If either Product/Service ID Qualifier (LIN-10) or Product/Service ID (LIN-11) is present, then the other is required
If either Product/Service ID Qualifier (LIN-12) or Product/Service ID (LIN-13) is present, then the other is required
If either Product/Service ID Qualifier (LIN-14) or Product/Service ID (LIN-15) is present, then the other is required
If either Product/Service ID Qualifier (LIN-16) or Product/Service ID (LIN-17) is present, then the other is required
If either Product/Service ID Qualifier (LIN-18) or Product/Service ID (LIN-19) is present, then the other is required
If either Product/Service ID Qualifier (LIN-20) or Product/Service ID (LIN-21) is present, then the other is required
If either Product/Service ID Qualifier (LIN-22) or Product/Service ID (LIN-23) is present, then the other is required
If either Product/Service ID Qualifier (LIN-24) or Product/Service ID (LIN-25) is present, then the other is required
If either Product/Service ID Qualifier (LIN-26) or Product/Service ID (LIN-27) is present, then the other is required
If either Product/Service ID Qualifier (LIN-28) or Product/Service ID (LIN-29) is present, then the other is required
If either Product/Service ID Qualifier (LIN-30) or Product/Service ID (LIN-31) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 11
LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)
Min 2Max 2
Usage notes
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 40
LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-12
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-14
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-15
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-16
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-17
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-18
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-19
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-20
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-21
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-22
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-23
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-24
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-25
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-26
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-27
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-28
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-29
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
LIN-30
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
LIN-31
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
G53
015
Detail > LIN Loop > G53

Maintenance Type

OptionalMax use 1
Usage notes
Example
G53-01
875
Maintenance Type Code
Required
Identifier (ID)
001
Change
002
Delete
021
Addition
SLN
020
Detail > LIN Loop > SLN

Subline Item Detail

OptionalMax use 100
Usage notes
Example
If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
If either Product/Service ID Qualifier (SLN-11) or Product/Service ID (SLN-12) is present, then the other is required
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
If either Product/Service ID Qualifier (SLN-15) or Product/Service ID (SLN-16) is present, then the other is required
If either Product/Service ID Qualifier (SLN-17) or Product/Service ID (SLN-18) is present, then the other is required
If either Product/Service ID Qualifier (SLN-19) or Product/Service ID (SLN-20) is present, then the other is required
If either Product/Service ID Qualifier (SLN-21) or Product/Service ID (SLN-22) is present, then the other is required
If either Product/Service ID Qualifier (SLN-23) or Product/Service ID (SLN-24) is present, then the other is required
If either Product/Service ID Qualifier (SLN-25) or Product/Service ID (SLN-26) is present, then the other is required
If either Product/Service ID Qualifier (SLN-27) or Product/Service ID (SLN-28) is present, then the other is required
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 11
Usage notes
SLN-03
662
Relationship Code
Required
Identifier (ID)
A
Add
I
Included
O
Information Only
S
Substituted
SLN-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15
Usage notes
SLN-05
355
Unit or Basis for Measurement Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
SLN-06
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SLN-08
662
Relationship Code
Optional
Identifier (ID)
D
Delete
SLN-09
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
Usage notes
SLN-10
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-11
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-12
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-13
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-14
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-15
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-16
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-17
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-18
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-19
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-20
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-21
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-22
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-23
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-24
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-25
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-26
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
SLN-27
235
Product/Service ID Qualifier
Optional
Identifier (ID)
Min 2Max 2
SLN-28
234
Product/Service ID
Optional
String (AN)
Min 1Max 40
DTM
030
Detail > LIN Loop > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
007
Effective
Required
Date (DT)
YYMMDD format
Usage notes
DTM-05
624
Century
Optional
Numeric (N0)
Min 2Max 2
REF
040
Detail > LIN Loop > REF

Reference Numbers

OptionalMax use 12
Usage notes
Example
At least one of Reference Number (REF-02) or Description (REF-03) is required
REF-01
128
Reference Number Qualifier
Required
Identifier (ID)
2S
Catalog
GC
Government Contract Number
ME
Message Address or ID
PD
Promotion/Deal Number
QX
Old Part Number
TN
Transaction Reference Number
W6
Federal Supply Schedule Number
REF-02
127
Reference Number
Optional
String (AN)
Min 1Max 30
REF-03
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
CTB
060
Detail > LIN Loop > CTB

Restrictions/ Conditions

OptionalMax use 25
Usage notes
Example
If either Quantity Qualifier (CTB-03) or Quantity (CTB-04) is present, then the other is required
If either Amount Qualifier Code (CTB-05) or Amount (CTB-06) is present, then the other is required
At least one of Description (CTB-02), Quantity (CTB-04) or Amount (CTB-06) is required
CTB-01
688
Restrictions/Conditions Qualifier
Required
Identifier (ID)
DW
Direct and Wholesaler
NR
Nonreturnable
OR
Ordering
SR
Shipping
CTB-02
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
CTB-03
673
Quantity Qualifier
Optional
Identifier (ID)
57
Minimum Order Quantity
67
Minimum Ship Quantity
69
Incremental Order Quantity
70
Maximum Order Quantity
MQ
Maximum Ship Quantity
CTB-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
CTB-05
522
Amount Qualifier Code
Optional
Identifier (ID)
KQ
Incremental Order Amount
MA
Maximum Amount
MO
Minimum Order Value
CTB-06
610
Amount
Optional
Numeric (N2)
Min 1Max 15
PID
070
Detail > LIN Loop > PID

Product/Item Description

OptionalMax use 200
Usage notes
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
PID-01
349
Item Description Type
Required
Identifier (ID)
F
Free-form
S
Structured (From Industry Code List)
X
Semi-structured (Code and Text)
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)
Min 2Max 3
Usage notes
PID-03
559
Agency Qualifier Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
PID-04
751
Product Description Code
Optional
String (AN)
Min 1Max 12
Usage notes
PID-05
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
MEA
080
Detail > LIN Loop > MEA

Measurements

OptionalMax use 40
Usage notes
Example
If Range Minimum (MEA-05) is present, then Composite Unit of Measure (MEA-04) is required
If Range Maximum (MEA-06) is present, then Composite Unit of Measure (MEA-04) is required
MEA-01
737
Measurement Reference ID Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
MEA-02
738
Measurement Qualifier
Optional
Identifier (ID)
Min 1Max 3
Usage notes
MEA-03
739
Measurement Value
Required
Decimal number (R)
Min 1Max 15
MEA-04
C001
Composite Unit of Measure
OptionalMax 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
Usage notes
C001-02
1018
Exponent
Optional
Decimal number (R)
Min 1Max 15
C001-03
649
Multiplier
Optional
Decimal number (R)
Min 1Max 10
C001-04
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
C001-05
1018
Exponent
Optional
Decimal number (R)
Min 1Max 15
C001-06
649
Multiplier
Optional
Decimal number (R)
Min 1Max 10
MEA-05
740
Range Minimum
Optional
Decimal number (R)
Min 1Max 15
Usage notes
MEA-06
741
Range Maximum
Optional
Decimal number (R)
Min 1Max 15
Usage notes
PO4
100
Detail > LIN Loop > PO4

Item Physical Details

OptionalMax use 1
Usage notes
Example
If either Size (PO4-02) or Unit or Basis for Measurement Code (PO4-03) is present, then the other is required
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If Weight Qualifier (PO4-05) is present, then Gross Weight per Pack (PO4-06) is required
If either Gross Volume per Pack (PO4-08) or Unit or Basis for Measurement Code (PO4-09) is present, then the other is required
If Unit or Basis for Measurement Code (PO4-13) is present, then at least one of Length (PO4-10), Width (PO4-11) or Height (PO4-12) is required
If Length (PO4-10) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Width (PO4-11) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Height (PO4-12) is present, then Unit or Basis for Measurement Code (PO4-13) is required
Optional
Numeric (N0)
Min 1Max 6
Usage notes
Optional
Decimal number (R)
Min 1Max 8
Usage notes
PO4-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
PO4-04
103
Packaging Code
Optional
String (AN)
Min 3Max 5
Usage notes
PO4-05
187
Weight Qualifier
Optional
Identifier (ID)
Min 1Max 2
Usage notes
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9
Usage notes
PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
PO4-08
385
Gross Volume per Pack
Optional
Decimal number (R)
Min 1Max 9
Usage notes
PO4-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
PO4-10
82
Length
Optional
Decimal number (R)
Min 1Max 8
Optional
Decimal number (R)
Min 1Max 8
PO4-12
65
Height
Optional
Decimal number (R)
Min 1Max 8
Usage notes
PO4-13
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6
Usage notes
TD4
110
Detail > LIN Loop > TD4

Carrier Details (Special Handling or Hazardous Materials or Both)

OptionalMax use 10
Usage notes
Example
If Hazardous Material Code Qualifier (TD4-02) is present, then Hazardous Material Class Code (TD4-03) is required
At least one of Special Handling Code (TD4-01), Hazardous Material Code Qualifier (TD4-02) or Description (TD4-04) is required
TD4-01
152
Special Handling Code
Optional
Identifier (ID)
DA
Dangerous
FL
Flammable
HM
Endorsed as Hazardous Material
RM
Radioactive Material
TD4-02
208
Hazardous Material Code Qualifier
Optional
Identifier (ID)
Min 1Max 1
Usage notes
TD4-03
209
Hazardous Material Class Code
Optional
String (AN)
Min 2Max 4
TD4-04
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
LDT
140
Detail > LIN Loop > LDT

Lead Time

OptionalMax use 1
Usage notes
Example
LDT-01
345
Lead Time Code
Required
Identifier (ID)
AE
From date of PO receipt to shipment.
AF
From date of PO receipt to delivery.
AX
From Date of Award to Date of Completion
AY
From Date of Award to Date of Delivery
LDT-02
380
Quantity
Required
Decimal number (R)
Min 1Max 15
LDT-03
344
Unit of Time Period or Interval
Required
Identifier (ID)
DA
Calendar Days
DW
Work Days
MO
Month
WK
Weeks
SAC
150
Detail > LIN Loop > SAC

Service, Promotion, Allowance, or Charge Information

OptionalMax use 25
Usage notes
Example
If either Allowance/ Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
If Quantity (SAC-11) is present, then Quantity (SAC-10) is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
A
Allowance
C
Charge
N
No Allowance or Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Required
Identifier (ID)
Min 4Max 4
Usage notes
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
Usage notes
SAC-06
378
Allowance/ Charge Percent Qualifier
Optional
Identifier (ID)
1
Item List Cost
5
Base Price per Unit
6
Base Price Amount
SAC-07
332
Percent
Optional
Decimal number (R)
Min 1Max 6
Usage notes
Optional
Decimal number (R)
Min 1Max 9
Usage notes
SAC-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
SAC-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SAC-11
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SAC-13
127
Reference Number
Optional
String (AN)
Min 1Max 30
Usage notes
SAC-15
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
FOB
160
Detail > LIN Loop > FOB

F.O.B. Related Instructions

OptionalMax use 1
Usage notes
Example
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)
BP
Paid by Buyer
PP
Prepaid (by Seller)
PS
Paid by Seller
FOB-02
309
Location Qualifier
Optional
Identifier (ID)
DE
Destination (Shipping)
OR
Origin (Shipping Point)
W
Worldwide Geographic Location Code
ZZ
Mutually Defined
TXI
166
Detail > LIN Loop > TXI

Tax Information

OptionalMax use 1
Usage notes
Example
At least one of Monetary Amount (TXI-02) or Percent (TXI-03) is required
TXI-01
963
Tax Type Code
Required
Identifier (ID)
Min 2Max 2
Usage notes
TXI-02
782
Monetary Amount
Optional
Decimal number (R)
Min 1Max 15
TXI-03
954
Percent
Optional
Decimal number (R)
Min 1Max 10
Usage notes
TXI-07
662
Relationship Code
Optional
Identifier (ID)
A
Add
I
Included
CTP Loop
OptionalMax >1
Usage notes
CTP
170
Detail > LIN Loop > CTP Loop > CTP

Pricing Information

RequiredMax use 1
Example
If either Quantity (CTP-04) or Unit or Basis for Measurement Code (CTP-05) is present, then the other is required
If Price Multiplier Qualifier (CTP-06) is present, then Multiplier (CTP-07) is required
If Condition Value (CTP-10) is present, then Price Identifier Code (CTP-02) is required
CTP-02
236
Price Identifier Code
Optional
Identifier (ID)
Usage notes
ALT
Alternate Price
CAT
Catalog Price
D01
Federal Supply Schedule (FSS) Price
DPR
Discount Price
GOV
Government Price
GTP
Temporary Price Reduction Price
ICL
Unit Price Through Quantity
LAR
Labor Rate
MAX
Maximum Order Quantity Price
MSR
Manufacturer's Suggested Retail
PAQ
Price Break Quantity(s)
PBQ
Unit Price Beginning Quantity
PRP
Promotional price
RPA
Rental Price, Annual
RPM
Rental Price, Monthly
ZNP
Zone Price
CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15
CTP-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
CTP-05
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
CTP-06
648
Price Multiplier Qualifier
Optional
Identifier (ID)
Usage notes
SEL
Selling Multiplier
CTP-07
649
Multiplier
Optional
Decimal number (R)
Min 1Max 10
CTP-08
782
Monetary Amount
Optional
Decimal number (R)
Min 1Max 15
Usage notes
CTP-10
499
Condition Value
Optional
String (AN)
Min 1Max 10
Usage notes
DTM
180
Detail > LIN Loop > CTP Loop > DTM

Date/Time Reference

OptionalMax use 10
Usage notes
Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)
015
Promotion Start
016
Promotion End
Required
Date (DT)
YYMMDD format
Optional
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format
Usage notes
DTM-04
623
Time Code
Optional
Identifier (ID)
CT
Central Time
ET
Eastern Time
GM
Greenwich Mean Time
LT
Local Time
MT
Mountain Time
PT
Pacific Time
DTM-05
624
Century
Optional
Numeric (N0)
Min 2Max 2
SAC
228
Detail > LIN Loop > CTP Loop > SAC

Service, Promotion, Allowance, or Charge Information

OptionalMax use 5
Usage notes
Example
If either Allowance/ Charge Percent Qualifier (SAC-06) or Percent (SAC-07) is present, then the other is required
If either Unit or Basis for Measurement Code (SAC-09) or Quantity (SAC-10) is present, then the other is required
If Quantity (SAC-11) is present, then Quantity (SAC-10) is required
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)
A
Allowance
C
Charge
N
No Allowance or Charge
SAC-02
1300
Service, Promotion, Allowance, or Charge Code
Required
Identifier (ID)
Min 4Max 4
Usage notes
SAC-05
610
Amount
Optional
Numeric (N2)
Min 1Max 15
Usage notes
SAC-06
378
Allowance/ Charge Percent Qualifier
Optional
Identifier (ID)
1
Item List Cost
5
Base Price per Unit
6
Base Price Amount
SAC-07
332
Percent
Optional
Decimal number (R)
Min 1Max 6
Usage notes
Optional
Decimal number (R)
Min 1Max 9
Usage notes
SAC-09
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)
Min 2Max 2
Usage notes
SAC-10
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SAC-11
380
Quantity
Optional
Decimal number (R)
Min 1Max 15
Usage notes
SAC-15
352
Description
Optional
String (AN)
Min 1Max 80
Usage notes
CTP Loop end
N1 Loop
OptionalMax 1
Usage notes
N1
230
Detail > LIN Loop > N1 Loop > N1

Name

RequiredMax use 1
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)
56
Servicing Dealer
DL
Dealer
DS
Distributor
KX
Free on Board Point
MF
Manufacturer of Goods
PL
Party to Receive Purchase Order
RI
Remit To
SF
Ship From
SV
Service Performance Site
Optional
String (AN)
Min 1Max 35
N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Usage notes
1
D-U-N-S Number, Dun & Bradstreet
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
21
Health Industry I.D. Number (HIN)
33
Commercial and Government Entity (CAGE)
LI
Labeler Identification Code (LIC)
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 20
N2
240
Detail > LIN Loop > N1 Loop > N2

Additional Name Information

OptionalMax use 2
Usage notes
Example
Required
String (AN)
Min 1Max 35
Optional
String (AN)
Min 1Max 35
N3
250
Detail > LIN Loop > N1 Loop > N3

Address Information

OptionalMax use 2
Usage notes
Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 35
N3-02
166
Address Information
Optional
String (AN)
Min 1Max 35
N4
260
Detail > LIN Loop > N1 Loop > N4

Geographic Location

OptionalMax use 1
Usage notes
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 11
N4-04
26
Country Code
Optional
Identifier (ID)
Min 2Max 3
PER
280
Detail > LIN Loop > N1 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)
SE
Service Organization
TR
Technical Marketing Representative
Optional
String (AN)
Min 1Max 35
Usage notes
PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)
Usage notes
EM
Electronic Mail
FX
Facsimile
IT
International Telephone
TE
Telephone
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80
Usage notes
PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)
Usage notes
EM
Electronic Mail
EX
Telephone Extension
FX
Facsimile
IT
International Telephone
TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80
Usage notes
PER-07
365
Communication Number Qualifier
Optional
Identifier (ID)
Usage notes
EM
Electronic Mail
EX
Telephone Extension
FX
Facsimile
IT
International Telephone
TE
Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80
Usage notes
PER-09
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20
Usage notes
N1 Loop end
LIN Loop end
Detail end

Summary

CTT
010
Summary > CTT

Transaction Totals

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

Transaction Set Trailer

RequiredMax use 1
Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10
Usage notes
SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9
Usage notes
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

ISA*00* *00* *01*000111119 *ZZ*GSAADV *130605*0715*U*00300*000021606*0*P*:
GS*SC*000111119*GSAADV*130605*0715*14640192*X*003050
ST*832*12345
BCT*CP*GOV56789********00
REF*GC*GS99F2345X
REF*W6*27 III F
DTM*007*951101***19
CTB*OR****MO*25000
CTB*OR*27-500, 27-6***MA*2500000
ITD***2.5**10*********N
LDT*AF*45*DA
FOB*PS*DE
N1*40**1*012966339
N1*SE**1*123456789
N1*DZ**ZN*CONUS
REF*4A*12345
PER*OD**TE*8001234567*FX*8001234568*EM*abc@abc.com
PER*AC*Bob Jones*TE*8002345678*FX*8008765432*EM*abc@abc.com
PER*1A*Mary Smith*TE*8003456789*FX*8009876543*EM*abc@abc.com
N1*RI**1*345678912
LIN**MF*123456789*MG*12AX34*ZZ*ABC Company*PD*A-1 Widget*CH*FR*CL*blue*PI*27-2
PID*S*08*GS*aabbbcbe
PID*F****Widget provides an improved surface for all uses.
MEA*DE*TT*90*DA
PO4*24*10*OZ*UNT**1*LB*1*CF*12*6*24*IN
CTP**D01*12.95*1*EA
CTP**MSR*25.00
CTT*1
SE*27*12345
GE*1*14640192
IEA*1*000021606

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.