EDI

API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Transaction Set
in
X12 Release 004010

840 Request for Quotation

Functional Group RQ

This Draft Standard for Trial Use contains the format and establishes the data contents of the Request for Quotation Transaction Set (840) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide potential buyers with the ability to solicit price, delivery schedule, and other items from potential sellers of goods and services.

Heading

Sequence
Segment
Name
Max use
010
Transaction Set HeaderMandatory
Max 1
To indicate the start of a transaction set and to assign a control number
020
Beginning Segment for Request for QuotationMandatory
Max 1
To indicate the beginning of a Request for Quotation Transaction Set and transmit identifying numbers and dates
040
Currency
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
050
Reference Identification
Max >1
To specify identifying information
060
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed
070
Tax Reference
Max 3
To provide data required for proper notification/determination of applicable taxes applying to the transaction or business described in the transaction
080
F.O.B. Related Instructions
Max >1
To specify transportation instructions relating to shipment
090
Pricing Information
Max >1
To specify pricing information
095
Period Amount
Max 10
To indicate a quantity, and/or amount for an identified period
110
Sales Requirements
Max 25
To specify general conditions or requirements of the sale
120
Service, Promotion, Allowance, or Charge Information
Max 25
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
140
Discount Detail
Max 20
To specify the exact type and terms of various discount information
150
Date/Time Reference
Max 10
To specify pertinent dates and times
160
Lead Time
Max 12
To specify lead time for availability of products and services
180
Item Identification
Max 5
To specify basic item identification data
If segment LIN is used, do not use LIN01.
190
Product/Item Description
Max 200
To describe a product or process in coded or free-form format
200
Measurements
Max 40
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
210
Paperwork
Max 25
To identify the type or transmission or both of paperwork or supporting information
220
Marking, Packaging, Loading
Max 200
To describe marking, packaging, loading, and unloading requirements
230
Carrier Details (Quantity and Weight)
Max 2
To specify the transportation details relative to commodity, weight, and quantity
240
Carrier Details (Routing Sequence/Transit Time)
Max 12
To specify the carrier and sequence of routing and provide transit time information
250
Carrier Details (Equipment)
Max 12
To specify transportation details relating to the equipment used by the carrier
260
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max 5
To specify transportation special handling requirements, or hazardous materials information, or both
270
Marks and Numbers
Max 10
To indicate identifying marks and numbers for shipping containers
280
Required Response
Max 100
To indicate information that is required to be included in the response
285
Restrictions/Conditions
Max >1
To specify restrictions/conditions (such as shipping, ordering)
N9 Loop
Repeat 1000
290
Reference Identification
Max 1
To transmit identifying information as specified by the Reference Identification Qualifier
295
Date/Time Reference
Max >1
To specify pertinent dates and times
300
Message Text
Max 1000
To provide a free-form format that allows the transmission of text information
N1 Loop
Repeat 10000
310
Name
Max 1
To identify a party by type of organization, name, and code
320
Additional Name Information
Max 2
To specify additional names or those longer than 35 characters in length
330
Address Information
Max 2
To specify the location of the named party
340
Geographic Location
Max >1
To specify the geographic place of the named party
350
Reference Identification
Max 12
To specify identifying information
360
Administrative Communications Contact
Max >1
To identify a person or office to whom administrative communications should be directed
365
Service Characteristic Identification
Max >1
To specify service characteristic data
370
F.O.B. Related Instructions
Max 1
To specify transportation instructions relating to shipment
380
Carrier Details (Quantity and Weight)
Max 2
To specify the transportation details relative to commodity, weight, and quantity
390
Carrier Details (Routing Sequence/Transit Time)
Max 12
To specify the carrier and sequence of routing and provide transit time information
400
Carrier Details (Equipment)
Max 12
To specify transportation details relating to the equipment used by the carrier
410
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max 5
To specify transportation special handling requirements, or hazardous materials information, or both
420
Marking, Packaging, Loading
Max 200
To describe marking, packaging, loading, and unloading requirements
430
Required Response
Max 25
To indicate information that is required to be included in the response
SPI Loop
Repeat 1
440
Specification Identifier
Max 1
To provide a description of the included specification or technical data items
450
Reference Identification
Max 5
To specify identifying information
460
Date/Time Reference
Max 5
To specify pertinent dates and times
470
Message Text
Max 50
To provide a free-form format that allows the transmission of text information
N1 Loop
Repeat 20
490
Name
Max 1
To identify a party by type of organization, name, and code
500
Additional Name Information
Max 2
To specify additional names or those longer than 35 characters in length
510
Address Information
Max 2
To specify the location of the named party
520
Geographic Location
Max 1
To specify the geographic place of the named party
530
Reference Identification
Max 20
To specify identifying information
540
Contact
Max 1
To identify a person or office to whom communications should be directed
550
Message Text
Max 50
To provide a free-form format that allows the transmission of text information
CB1 Loop
Repeat >1
560
Contract and Cost Accounting Standards Data
Max 1
To specify contract and cost accounting standards data
570
Reference Identification
Max 20
To specify identifying information
580
Date/Time Reference
Max 5
To specify pertinent dates and times
590
Lead Time
Max 1
To specify lead time for availability of products and services
600
Message Text
Max 50
To provide a free-form format that allows the transmission of text information
PCT Loop
Repeat >1
610
Percent Amounts
Max 1
To qualify percent amounts and supply percent amounts
620
Monetary Amount
Max >1
To indicate the total monetary amount
ADV Loop
Repeat >1
630
Advertising Demographic Information
Max 1
To convey advertising demographic information
640
Date/Time Reference
Max >1
To specify pertinent dates and times
650
Text
Max >1
To specify textual data

Detail

Sequence
Segment
Name
Max use
PO1 Loop
Repeat 100000
010
Baseline Item DataMandatory
Max 1
To specify basic and most frequently used line item data
015
Item Identification
Max >1
To specify basic item identification data
017
Maintenance Type
Max 1
To identify the specific type of item maintenance
020
Currency
Max 1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
025
Contract Information
Max 1
To specify basic data about the contract or contract line item
030
Additional Item Detail
Max 25
To specify additional item-related data involving variations in normal price/quantity structure
040
Pricing Information
Max >1
To specify pricing information
045
Period Amount
Max 10
To indicate a quantity, and/or amount for an identified period
047
Restrictions/Conditions
Max >1
To specify restrictions/conditions (such as shipping, ordering)
049
Measurements
Max 40
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
PID Loop
Repeat 1000
050
Product/Item Description
Max 1
To describe a product or process in coded or free-form format
060
Measurements
Max 10
To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)
070
Paperwork
Max 25
To identify the type or transmission or both of paperwork or supporting information
080
Marking, Packaging, Loading
Max 200
To describe marking, packaging, loading, and unloading requirements
090
Item Physical Details
Max >1
To specify the physical qualities, packaging, weights, and dimensions relating to the item
100
Reference Identification
Max >1
To specify identifying information
110
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed
130
Service, Promotion, Allowance, or Charge Information
Max 25
To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge
140
Conditions of Sale
Max 25
To specify general conditions or requirements and to detail conditions for substitution of alternate products
142
Sales Requirements
Max >1
To specify general conditions or requirements of the sale
160
Discount Detail
Max 20
To specify the exact type and terms of various discount information
170
Tax Reference
Max 3
To provide data required for proper notification/determination of applicable taxes applying to the transaction or business described in the transaction
180
F.O.B. Related Instructions
Max >1
To specify transportation instructions relating to shipment
190
Destination Quantity
Max 50
To specify destination and quantity detail
200
Date/Time Reference
Max 10
To specify pertinent dates and times
230
Forecast Schedule
Max >1
To specify the forecasted dates and quantities
240
Carrier Details (Quantity and Weight)
Max 1
To specify the transportation details relative to commodity, weight, and quantity
250
Carrier Details (Routing Sequence/Transit Time)
Max 12
To specify the carrier and sequence of routing and provide transit time information
260
Carrier Details (Equipment)
Max 12
To specify transportation details relating to the equipment used by the carrier
270
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max 5
To specify transportation special handling requirements, or hazardous materials information, or both
280
Marks and Numbers
Max 10
To indicate identifying marks and numbers for shipping containers
290
Required Response
Max 25
To indicate information that is required to be included in the response
292
Message Text
Max 1000
To provide a free-form format that allows the transmission of text information
293
Specification Identifier
Max >1
To provide a description of the included specification or technical data items
QTY Loop
Repeat >1
294
Quantity
Max 1
To specify quantity information
295
Service Characteristic Identification
Max >1
To specify service characteristic data
SCH Loop
Repeat 104
296
Line Item Schedule
Max 1
To specify the data for scheduling a specific line-item
The SCH segment is used to specify various quantities of items ordered that are to be scheduled. When this segment is used, the unit of measurement code (SCH02) should always be identical to the unit of measurement code in the associated PO1 segment (PO103) and the sum of values of quantity (SCH01) should always equal the quantity ordered (PO102) in the PO1 segment.
297
Carrier Details (Quantity and Weight)
Max 2
To specify the transportation details relative to commodity, weight, and quantity
298
Carrier Details (Routing Sequence/Transit Time)
Max 12
To specify the carrier and sequence of routing and provide transit time information
299
Carrier Details (Equipment)
Max 12
To specify transportation details relating to the equipment used by the carrier
300
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max 5
To specify transportation special handling requirements, or hazardous materials information, or both
301
Reference Identification
Max >1
To specify identifying information
LDT Loop
Repeat >1
302
Lead Time
Max 1
To specify lead time for availability of products and services
303
Quantity
Max >1
To specify quantity information
304
Message Text
Max 1
To provide a free-form format that allows the transmission of text information
LM Loop
Repeat 1
305
Code Source Information
Max 1
To transmit standard code list identification information
306
Industry CodeMandatory
Max 1
Code to transmit standard industry codes
SLN Loop
Repeat 1000
308
Subline Item Detail
Max 1
To specify product subline detail item data
309
Message Text
Max >1
To provide a free-form format that allows the transmission of text information
310
Product/Item Description
Max 1000
To describe a product or process in coded or free-form format
315
Advertising Demographic Information
Max >1
To convey advertising demographic information
QTY Loop
Repeat >1
316
Quantity
Max 1
To specify quantity information
317
Service Characteristic Identification
Max >1
To specify service characteristic data
N9 Loop
Repeat 1000
320
Reference Identification
Max 1
To transmit identifying information as specified by the Reference Identification Qualifier
325
Date/Time Reference
Max >1
To specify pertinent dates and times
330
Message Text
Max 1000
To provide a free-form format that allows the transmission of text information
N1 Loop
Repeat >1
340
Name
Max 1
To identify a party by type of organization, name, and code
350
Additional Name Information
Max 2
To specify additional names or those longer than 35 characters in length
360
Address Information
Max 2
To specify the location of the named party
370
Geographic Location
Max 1
To specify the geographic place of the named party
375
Quantity
Max >1
To specify quantity information
380
Reference Identification
Max 12
To specify identifying information
390
Administrative Communications Contact
Max 3
To identify a person or office to whom administrative communications should be directed
395
Service Characteristic Identification
Max >1
To specify service characteristic data
396
Date/Time Reference
Max 1
To specify pertinent dates and times
400
F.O.B. Related Instructions
Max 1
To specify transportation instructions relating to shipment
405
Line Item Schedule
Max 200
To specify the data for scheduling a specific line-item
410
Carrier Details (Quantity and Weight)
Max 2
To specify the transportation details relative to commodity, weight, and quantity
420
Carrier Details (Routing Sequence/Transit Time)
Max 12
To specify the carrier and sequence of routing and provide transit time information
430
Carrier Details (Equipment)
Max 12
To specify transportation details relating to the equipment used by the carrier
440
Carrier Details (Special Handling, or Hazardous Materials, or Both)
Max 5
To specify transportation special handling requirements, or hazardous materials information, or both
450
Marking, Packaging, Loading
Max 200
To describe marking, packaging, loading, and unloading requirements
460
Required Response
Max 25
To indicate information that is required to be included in the response
465
Pricing Information
Max 1
To specify pricing information
469
Period Amount
Max 10
To indicate a quantity, and/or amount for an identified period
LDT Loop
Repeat >1
470
Lead Time
Max 1
To specify lead time for availability of products and services
480
Marks and Numbers
Max 10
To indicate identifying marks and numbers for shipping containers
490
Quantity
Max 5
To specify quantity information
500
Message Text
Max 1000
To provide a free-form format that allows the transmission of text information
PCT Loop
Repeat >1
510
Percent Amounts
Max 1
To qualify percent amounts and supply percent amounts
520
Monetary Amount
Max >1
To indicate the total monetary amount

Summary

Sequence
Segment
Name
Max use
010
Transaction Totals
Max 1
To transmit a hash total for a specific element in the transaction set
The number of line items (CTT01) is the accumulation of the number of PO1 segments. If used, hash total (CTT02) is the sum of the value of quantities ordered (PO102) for each PO1 segment.
020
Transaction Set TrailerMandatory
Max 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)
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.