US Foods
/
Price/Sales Catalog
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from US Foods. Contact US Foods for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
US Foods logo

X12 832 Price/Sales Catalog

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Price/Sales Catalog Transaction Set (832) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to furnishing or requesting the price of goods or services in the form of a catalog.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample 1
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/us-foods/pricesales-catalog/01HMW5ZFKWS9JAKQ6KKYRC248N
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 Identification
Max use 1
Optional
DTM
070
Date/Time Reference
Max use 10
Optional
N1 Loop Buying Party (Purchaser)
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

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

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

SC
Price/Sales Catalog (832)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

GS-04
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

GS-05
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code used in conjunction with Data Element 480 to identify the issuer of the standard

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

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

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
832
Price/Sales Catalog
ST-02
329
Transaction Set Control Number
Required
Numeric (N0)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BCT
020
Heading > BCT

Beginning Segment for Price/Sales Catalog

RequiredMax use 1

To indicate the beginning of the Price/Sales Catalog Transaction Set and specify catalog purpose and number information

Example
BCT-01
683
Catalog Purpose Code
Required
Identifier (ID)

Code indicating purpose of catalog

PC
Price Catalog
BCT-02
684
Catalog Number
Optional
String (AN)
Min 1Max 15

Identifying number for catalog or superseded catalog

Usage notes

USF Assigned Order Guide Number

REF
050
Heading > REF

Reference Identification

OptionalMax use >1

To specify identifying information

Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

3L
Branch Identifier
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

USF Branch Location Identifier
Example:
Branch 3Y = Chicago

DTM
070
Heading > DTM

Date/Time Reference

OptionalMax use 10

To specify pertinent dates and times

Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

009
Process
DTM-02
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Usage notes

Generation Date for Order Guide Data

N1 Loop Buying Party (Purchaser)
OptionalMax 1
Usage notes

Buying Party N1 loop - Identifes the Customer as the Buying Party

Variants (all may be used)
N1 Loop Selling Party
N1
150
Heading > N1 Loop Buying Party (Purchaser) > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

BY
Buying Party (Purchaser)
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

Qualifer BY: Customer Name in the USF System

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code designating the system/method of code structure used for Identification Code (67)

Usage notes

Qualifer 91: Used when N101 is 'BY' for Buying Party

N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

Qualifier BY: USF Assigned Customer Account Number

N3
170
Heading > N1 Loop Buying Party (Purchaser) > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

Usage notes

Customer Address Line 1

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

Usage notes

Customer Address Line 2

N4
180
Heading > N1 Loop Buying Party (Purchaser) > N4

Geographic Location

OptionalMax use >1

To specify the geographic place of the named party

Example
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Usage notes

Customer City

N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
Usage notes

Customer State

N4-03
116
Postal Code
Optional
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

Usage notes

Customer Zip

N1 Loop Buying Party (Purchaser) end
N1 Loop Selling Party
OptionalMax >1
Usage notes

Selling Party N1 loop - Identiifes US Foodservice Inc. as the Selling Party

Variants (all may be used)
N1 Loop Buying Party (Purchaser)
N1
150
Heading > N1 Loop Selling Party > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

SE
Selling Party
N1-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

Qualifer SE: Static value "US FOODSERVICE INC" will be sent.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code designating the system/method of code structure used for Identification Code (67)

Usage notes

Qualifer 9: Used when N101 is 'SE' for Buying Party

N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

Qualifier SE: US FOODSERVICE INC. ID # = DUNS +4 (621418185 XXXX)

N1 Loop Selling Party end
Heading end

Detail

LIN Loop
OptionalMax >1
LIN
010
Detail > LIN Loop > LIN

Item Identification

RequiredMax use 1

To specify basic item identification data

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-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-06) or Product/Service ID (LIN-07) is present, then the other is required
LIN-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • LIN01 is the line item identification
Usage notes

USF Order Guide Line Number

LIN-02
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
VN
Vendor's (Seller's) Item Number
LIN-03
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

USF Product Number

LIN-04
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
MG
Manufacturer's Part Number
LIN-05
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Manufacturer's Item Number

LIN-06
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

IN
Buyer's Item Number
LIN-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Customer Defined Product Number

LIN-08
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
BL
Brand/Label
LIN-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

Item Brand

LIN-10
235
Product/Service ID Qualifier
Optional
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
Usage notes

GTIN Qualifier

UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)
LIN-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

GTIN Number

PO1
012
Detail > LIN Loop > PO1

Baseline Item Data

OptionalMax use 1

To specify basic and most frequently used line item data

Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity Ordered (PO1-02) is required
PO1-01
350
Assigned Identification
Optional
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • PO101 is the line item identification.
Usage notes

USF Order Guide Line Number

PO1-02
330
Quantity Ordered
Optional
Decimal number (R)
Min 1Max 15

Quantity ordered

Usage notes

Order Quantity Hardcoded to 1

PO1-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

Usage notes

USF Sales Unit of Measure

CA
Case
EA
Each
LB
Pound
REF
040
Detail > LIN Loop > REF

Reference Identification

OptionalMax use >1

To specify identifying information

Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

Usage notes

REF02 will contain a USF Product Status Code. REF03 will contain
the USF Product Status Description.
Listed below are the 5 possible product status codes and descriptions.
ACT - Active
SPL - Special Order
DWO - Discontinued When Out
DSC - Discontinued
SEA - Seasonal

87
Functional Category
ACC
Status
AS
Acceptable Source Supplier ID
FL
Fine Line Classification
GZ
General Ledger Account
PG
Product Group
ZZ
Mutually Defined
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

REF-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

YNQ
045
Detail > LIN Loop > YNQ

Yes/No Question

OptionalMax use 10

To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition

Example
YNQ-01
1321
Condition Indicator
Optional
Identifier (ID)

Code indicating a condition

JS
Partial
YNQ-02
1073
Yes/No Condition or Response Code
Required
Identifier (ID)

Code indicating a Yes or No condition or response

  • YNQ02 confirms or denies the statement made in YNQ01, YNQ09 or YNQ10. A "Y" indicates the statement is confirmed; an "N" indicates the statement is denied.
Usage notes

Case is breakable/splittable into saleable units.

N
No
Y
Yes
PID
070
Detail > LIN Loop > PID

Product/Item Description

OptionalMax use 200

To describe a product or process in coded or free-form format

Example
PID-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form
PID-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

Product Description

PKG
090
Detail > LIN Loop > PKG

Marking, Packaging, Loading

OptionalMax use 25

To describe marking, packaging, loading, and unloading requirements

Example
If Description (PKG-05) is present, then Item Description Type (PKG-01) is required
PKG-01
349
Item Description Type
Optional
Identifier (ID)

Code indicating the format of a description

  • If PKG01 equals "F", then PKG05 is used. If PKG01 equals "S", then PKG04 is used. If PKG01 equals "X", then both PKG04 and PKG05 are used.
F
Free-form
X
Semi-structured (Code and Text)
PKG-02
753
Packaging Characteristic Code
Optional
Identifier (ID)

Code specifying the marking, packaging, loading and related characteristics being described

UP
Unit Pack
PKG-04
754
Packaging Description Code
Optional
String (AN)
Min 1Max 7

A code from an industry code list which provides specific data about the marking, packaging or loading and unloading of a product

  • PKG04 should be used for industry-specific packaging description codes.
Usage notes

Hardcode 35 when PKG 05= J or N
Hardcode 65 when PKG05 = L
PKGX35J~ JIT Product
PKG
X*
35N~ Presold Product
PKG
X**65L~ Locally Sourced Product

PKG-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

  • Special marking or tagging data can be given in PKG05 (description).
PO4
100
Detail > LIN Loop > PO4

Item Physical Details

OptionalMax use 1

To specify the physical qualities, packaging, weights, and dimensions relating to the item

Example
If either Size (PO4-02) or Unit or Basis for Measurement Code (PO4-03) 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 Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
PO4-02
357
Size
Optional
Decimal number (R)
Min 1Max 8

Size of supplier units in pack

PO4-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • PO403 - The "Unit or Basis for Measure Code" in this segment position is for purposes of defining the pack (PO401) /size (PO402) measure which indicates the quantity in the inner pack unit. For example: If the carton contains 24 12-Ounce packages, it would be described as follows: Data element 356 = "24"; Data element 357 = "12"; Data element 355 = "OZ".
CA
Case
EA
Each
PO4-05
187
Weight Qualifier
Optional
Identifier (ID)

Code defining the type of weight

E
Estimated Net Weight
N
Actual Net Weight
PO4-06
384
Gross Weight per Pack
Optional
Decimal number (R)
Min 1Max 9

Numeric value of gross weight per pack

Usage notes

Net Weight per Pack

PO4-07
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

  • PO403 - The "Unit or Basis for Measure Code" in this segment position is for purposes of defining the pack (PO401) /size (PO402) measure which indicates the quantity in the inner pack unit. For example: If the carton contains 24 12-Ounce packages, it would be described as follows: Data element 356 = "24"; Data element 357 = "12"; Data element 355 = "OZ".
LB
Pound
CTP Loop
OptionalMax 100
CTP
170
Detail > LIN Loop > CTP Loop > CTP

Pricing Information

RequiredMax use 1

To specify pricing information

Example
If either Quantity (CTP-04) or Composite Unit of Measure (CTP-05) is present, then the other is required
CTP-02
236
Price Identifier Code
Optional
Identifier (ID)

Code identifying pricing specification

CON
Contract Price
CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

  • See Figures Appendix for an example detailing the use of CTP03 and CTP04.
  • See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
Usage notes

Unit Price per Pricing Unit of Measure

CTP-04
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

Usage notes

Hardcode: 1

CTP-05
C001
Composite Unit of Measure
OptionalMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
Usage notes

Pricing Unit of Measure

C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CA
Case
EA
Each
LB
Pound
DTM
180
Detail > LIN Loop > CTP Loop > DTM

Date/Time Reference

OptionalMax use 10

To specify pertinent dates and times

Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

007
Effective
DTM-02
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

CTP Loop end
N1 Loop
OptionalMax 1
N1
230
Detail > LIN Loop > N1 Loop > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)
Min 2Max 3

Code identifying an organizational entity, a physical location, property or an individual

REF
270
Detail > LIN Loop > N1 Loop > REF

Reference Identification

OptionalMax use 12

To specify identifying information

Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

VR
Vendor ID Number
REF-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

Vendor Number

REF-03
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

Usage notes

Vendor Name

N1 Loop end
G39 Loop
OptionalMax >1
G39
283
Detail > LIN Loop > G39 Loop > G39

Item Characteristics - Vendor's Selling Unit

RequiredMax use 1

To identify a vendor's selling unit or to provide physical characteristics relative to a vendor's selling unit

Example
If either Unit Weight (G39-05), Weight Qualifier (G39-06) or Weight Unit Code (G39-07) are present, then the others are required
If either Weight Qualifier (G39-06) or Weight Unit Code (G39-07) is present, then the other is required
G39-05
395
Unit Weight
Optional
Decimal number (R)
Min 1Max 8

Numeric value of weight per unit

Usage notes

Item Gross Weight

G39-06
187
Weight Qualifier
Optional
Identifier (ID)

Code defining the type of weight

G
Gross Weight
G39-07
188
Weight Unit Code
Optional
Identifier (ID)

Code specifying the weight unit

L
Pounds
G39 Loop end
LIN Loop end
Detail end

Summary

CTT
010
Summary > CTT

Transaction Totals

OptionalMax use 1

To transmit a hash total for a specific element in the transaction set

  • Number of line items (CTT01) is the accumulation of the number of LIN segments.
    Hash total (CTT02) is not used in this transaction.
Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6

Total number of line items in the transaction set

Usage notes

Line Count of LIN Segment

SE
020
Summary > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N0)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

Sample 1

ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *240124*1811*U*00401*000000001*0*T*>~
GS*SC*SENDERGS*RECEIVERGS*20240124*181151*000000001*X*004010~
ST*832*0008~
BCT*PC*247037~
REF*3L*8E~
REF*3L*M~
DTM*009*20111031~
N1*SE*US FOODS GREENSBURG*9*6214181852185~
N1*BY*CUSTOMER 8E EDI OG*91*10935347~
N3*100 STREET ADDRESS~
N4*CITY*PA*152110000~
LIN*3350*VN*0005926*MG*129***BL*LIGHT&FIT*UK*20036632001294~
PO1*3350*1*CA~
REF*ZZ*W~
REF*FL*21*DAIRY~
REF*87*157*DAIRY, CULTURED~
REF*PG*3150*YOGURT, SINGLE SERVICE~
REF*AS*6441*DANNON COMPANY INC~
REF*ACC*ACT*Active~
YNQ*JS*N~
PID*F****YOGURT, ASST BLNDED FT/FR SS~
PKG*F****18/6 OZ~
PO4**1*CA**N*6.75*LB~
CTP**CON*14.04*1*CA~
DTM*007*20111101~
G39*****7.5*G*L~
LIN*670*VN*0010959*MG*002100061095***BL*PHILDLPHIA*UK*10021000610959~
PO1*670*1*CA~
REF*ZZ*W~
REF*FL*21*DAIRY~
REF*87*157*DAIRY, CULTURED~
REF*PG*1550*CHEESE, CREAM, SINGLE SERVICE~
REF*AS*401*KRAFT FOODS INC~
REF*ACC*ACT*Active~
YNQ*JS*N~
PID*F****CHEESE, CRM LIGHT CUP PLST REF~
PKG*F****100/1 OZ~
PO4**100*CA**N*6.25*LB~
CTP**CON*23.21*1*CA~
DTM*007*20111101~
G39*****7*G*L~
LIN*680*VN*0011197*MG*002100061119***BL*PHILDLPHIA*UK*10021000611192~
PO1*680*1*CA~
REF*ZZ*W~
REF*FL*21*DAIRY~
REF*87*157*DAIRY, CULTURED~
REF*PG*1550*CHEESE, CREAM, SINGLE SERVICE~
REF*AS*401*KRAFT FOODS INC~
REF*ACC*ACT*Active~
YNQ*JS*N~
PID*F****CHEESE, CRM PHILY CUP SS~
PKG*F****100/1 OZ~
PO4**1*CA**N*6.25*LB~
CTP**CON*21.87*1*CA~
DTM*007*20111101~
G39*****7*G*L~
LIN*690*VN*0016006*MG*002100061600***BL*PHILDLPHIA*UK*10021000616005~
PO1*690*1*CA~
REF*ZZ*W~
REF*FL*21*DAIRY~
REF*87*157*DAIRY, CULTURED~
REF*PG*1549*CHEESE, CREAM, LOAVES & TUBS~
REF*AS*401*KRAFT FOODS INC~
REF*ACC*ACT*Active~
YNQ*JS*Y~
PID*F****CHEESE, CRM PLN LOAF BAG REF~
PKG*F****6/3 LB~
PO4**6*EA**N*18*LB~
CTP**CON*47.13*1*CA~
DTM*007*20111101~
G39*****20*G*L~
LIN*690*VN*0016006*MG*002100061600***BL*PHILDLPHIA*UK*10021000616005~
PO1*690*1*EA~
REF*ZZ*W~
REF*FL*21*DAIRY~
REF*87*157*DAIRY, CULTURED~
REF*PG*1549*CHEESE, CREAM, LOAVES & TUBS~
REF*AS*401*KRAFT FOODS INC~
REF*ACC*ACT*Active~
PID*F****CHEESE, CRM PLN LOAF BAG REF~
PKG*F*UP***3 LB~
CTP**CON*9.61*1*EA~
DTM*007*20111101~
LIN*550*VN*0032920*MG*071929***BL*GLNVW FRMS*UK*50758108116752~
PO1*550*1*CA~
REF*ZZ*W~
REF*FL*18*CHEESE~
REF*87*293*CHEESE, SPECIALTY~
REF*PG*1538*CHEESE, BLUE~
REF*AS*0~
REF*ACC*ACT*Active~
YNQ*JS*Y~
PID*F****CHEESE, BLU CRBL REF~
PKG*F****3/5 LB~
PO4**3*EA**N*15*LB~
CTP**CON*45.19*1*CA~
DTM*007*20111101~
G39*****16*G*L~
LIN*550*VN*0032920*MG*071929***BL*GLNVW FRMS*UK*50758108116752~
PO1*550*1*EA~
REF*ZZ*W~
REF*FL*18*CHEESE~
REF*87*293*CHEESE, SPECIALTY~
REF*PG*1538*CHEESE, BLUE~
REF*AS*0~
REF*ACC*ACT*Active~
PID*F****CHEESE, BLU CRBL REF~
PKG*F*UP***5 LB~
CTP**CON*15.06*1*EA~
DTM*007*20111101~
LIN*1800*VN*0061168*MG*6006996611600***BL*KRAFT*UK*10600699661161~
PO1*1800*1*CA~
REF*ZZ*M~
REF*FL*22*GROCERY, DRY~
REF*87*163*BAKERY MIXES & INGREDIENTS, SHELF STABLE~
REF*PG*1726*MARSHMALLOWS~
REF*AS*401*KRAFT FOODS INC~
REF*ACC*ACT*Active~
YNQ*JS*N~
PID*F****MARSHMALLOW, WHT STD~
PKG*F****12/16 OZ~
PO4**12*EA**N*12*LB~
CTP**CON*16.77*1*CA~
DTM*007*20111101~
G39*****13.66*G*L~
LIN*1590*VN*0083022*MG*690VS-HTE***BL*HOME TASTE*UK*10739478083020~
PO1*1590*1*CA~
REF*ZZ*M~
REF*FL*22*GROCERY, DRY~
REF*87*223*ENTREES, MEAT & SEAFOOD, CANNED~
REF*PG*2433*HASH, CANNED~
REF*AS*20*VANEE FOODS~
REF*ACC*ACT*Active~
YNQ*JS*N~
PID*F****HASH, CRND BEEF~
PKG*F****6/#10 CN~
PO4**6*EA**N*40.5*LB~
CTP**CON*72.26*1*CA~
DTM*007*20111101~
G39*****47*G*L~
CTT*9~
SE*140*0008~
GE*1*000000001~
IEA*1*000000001~

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.