ORDRSP - EDIFACT Purchase order response

Business Transaction Intelligence supports document type ORDRSP, or purchase order response, which is used by sellers to confirm they have received a purchase order.

Segment: BGM - Beginning of message

Reference Element name Requirement Usage
BGM0201 poNumber Mandatory Must use
BGM03

transactionPurpose

ackType

Mandatory Must use

Segment: CUX - Currencies

Reference Element name Requirement Usage
CUX0101 qualifier Optional Used
CUX0102

currency if CUX0103 = 9 or CUX0101 = 2

lineCurrency if CUX0103 = 9 or CUX0101 =2

Optional Used

Segment: DTM - Date time, and period

Reference Element name Requirement Usage
DTM0101 date or time qualifier Mandatory Must use
DTM0102
  • poDate if DTM0101 = 4, 137
  • ackDate if DTM0101 = 137
  • poEstimatedShipDate if DTM0101 = 17, 10, 11, 110, 133, 136
  • deliveryDate if DTM0101 = 2, 61, 63, 117, 128, 191
  • requiredByDeliveryDate, requiredByDeliveryTime, or requiredByDeliveryTimeCd if DTM0101 = 61
  • requestedShipDate, requestedShipTime, or requestedShipTimeCd if DTM0101= 10
  • requestedDeliveryDate, requestedDeliveryTime, or requestedDeliveryTimeCd if DTM0101 = 2
  • estimatedDeliveryDate, estimatedDeliveryTime, or estimatedDeliveryTimeCd if DTM0101 = 17
  • lineSchRequestedShipDate, lineSchRequestedShipTime, or lineSchRequestedShipTimeCd if DTM0101 = 10
  • lineSchRequestedDeliveryDate, lineSchRequestedDeliveryTime, lineSchRequestedDeliveryTimeCd if DTM0101 = 2
  • lineSchEstimatedDeliveryDate, lineSchEstimatedDeliveryTime, lineSchEstimatedDeliveryTimeCd if DTM0101 = 17
  • lineRequestedShipDate, lineRequestedShipTime, or lineRequestedShipTimeCd if DTM0101 = 10
  • lineEstimatedDeliveryDate, lineEstimatedDeliveryTime, or lineEstimatedDeliveryTimeCd if DTM0101 = 17
  • lineRequestedDeliveryDate. lineRequestedDeliveryTime, or lineRequestedDeliveryTimeCd if DTM0101 = 2
Optional Used

Segment: IMD - Item description

Reference Element name Requirement Usage
IMD0304 lineDescription Optional Used
IMD0305 lineDescription Optional Used

Segment: LIN - Line item

Reference Element name Requirement Usage
LIN01 poLines Optional Used
LIN02
lineChangeStatus
Note:

LIN02 is only captured in the ORDRSP when it contains a value of 6 (Accepted with amendment) or 24 (Accepted with amendment, no confirmation required). These are the only two supplier side codes that are recognized as a change. The lineChangeStatus represents a description field that is linked to an internal code list. It is not configurable in Document Configuration.

Optional Used
LIN03 lineAckStatus or lineChangeStatus
LIN0301

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, BQ, SRV, UN

lineIdentifier if LIN0302 = BP, GB, SA, IN, VN, VP, AU, AV, BH, BI, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VS, VX, or ZZZ

Optional Used
LIN04

lineAckType

Optional Used

Segment: LOC - Place and location identification

Reference Element name Requirement Usage
LOC0204 taxName, lineTaxName Optional Must use

Segment: MOA - Monetary amount

Reference Element name Requirement Usage
MOA0101 qualifier Optional Used
MOA0102

totalAmount if MOA0101 = 86

lineAmount if MOA0101 = 203

lineUnitPrice if MOA0103 = 146 or MOA0101 = 2

lineCurrency if MOA0101 = 146, 203

Optional Used
MOA0103 currency or lineCurrency if MOA0101 = 146 or 203 Optional Used

Segment: NAD - Name and address

Reference Element name Requirement Usage
NAD01 qualifier Optional Used
NAD0201 vendorId if NAD01 = VN Optional Used
NAD0301

receiverName if NAD01 = ST

billingName if NAD01 = BT

shipperName if NAD01 = SF

vendorName if NAD01 = VN

Optional Used
NAD0303

receiverAddress if NAD01 = ST

billingAddress if NAD01 = BT

shipperAddress if NAD01 = SF

vendorAddress if NAD01 = VN

Optional Used
NAD0304

receiverSubEntity if NAD01 = ST

billingSubEntity if NAD01 = BT

shipperSubEntity if NAD01 = SF

vendorSubEntity if NAD01 = VN

Optional Used
NAD0305

receiverCountry if NAD01 = ST

billingCountry if NAD01 = BT

shipperCountry if NAD01 = SF

vendorCountry if NAD01 = VN

Optional Used
NAD0401

receiverName if NAD01 = ST

billingName if NAD01 = BT

shipperName if NAD01 = SF

vendorName if NAD01 = VN

Optional Used
NAD0501

receiverAddress if NAD01 = ST

billingAddress if NAD01 = BT

shipperAddress if NAD01 = SF

vendorAddress if NAD01 = VN

Optional Used
NAD06

receiverCity if NAD01 = ST

billingCity if NAD01 = BT

shipperCity if NAD01 = SF

vendorCity if NAD01 = VN

Optional Used
NAD0701

receiverSubEntity if NAD01 = ST

billingSubEntity if NAD01 = BT

shipperSubEntity if NAD01 = SF

vendorSubEntity if NAD01 = VN

Optional Used
NAD08

receiverPostal if NAD01 = ST

billingPostal if NAD01 = BT

shipperPostal if NAD01 = SF

vendorPostal if NAD01 = VN

Optional Used
NAD09

receiverCountry if NAD01 = ST

billingCountry if NAD01 = BT

shipperCountry if NAD01 = SF

vendorCountry if NAD01 = VN

Optional Used
Tip: receiverGeoLocation = receiverCity + receiverSubEntity + receiverPostal + receiverCountry
Tip: billingGeoLocation = billingCity + billingSubEntity + billingPostal + billingCountry
Tip: shipperGeoLocation = shipperCity + shipperSubEntity + shipperPostal + shipperCountry
Tip: vendorGeoLocation = vendorCity + vendorSubEntity + vendorPostal + vendorCountry

Segment: PIA - Additional product ID

Reference Element name Requirement Usage
PIA0201

upc_identifiers if PIA0202 = AH, AI, AL, AM, AN, or UP

lineIdentifier if PIA0202 = BP, GB, SA, IN, VN, VP, AU, AV, BH, BI, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VS, VX, or ZZZ

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, BQ, SRV, UN

Optional Used
PIA0301

upc_identifiers if PIA0302 = AH, AI, AL, AM, AN, or UP

lineIdentifier if PIA0302 = BP, GB, SA, IN, VN, VP, AU, AV, BH, BI, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VS, VX, or ZZZ

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, BQ, SRV, UN

Optional Used
PIA0401

upc_identifiers if PIA0402 = AH, AI, AL, AM, AN, or UP

lineIdentifier if PIA0402 = BP, GB, SA, IN, VN, VP, AU, AV, BH, BI, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VS, VX, or ZZZ

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, BQ, SRV, UN

Optional Used
PIA0501

upc_identifiers if PIA0502 = AH, AI, AL, AM, AN, or UP

lineIdentifier if PIA0502 = BP, GB, SA, IN, VN, VP, AU, AV, BH, BI, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VS, VX, or ZZZ

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, BQ, SRV, UN

Optional Used
PIA0601

upc_identifiers if PIA0602 = AH, AI, AL, AM, AN, or UP

lineIdentifier if PIA0602 = BP, GB, SA, IN, VN, VP, AU, AV, BH, BI, CV, GN, GS, IB, IS, MF, MN, MP, SK, SRT, SRU, SS, UA, VS, VX, or ZZZ

lineUPC if LIN0302 = AH, AI, AL, AM, AN, UP, BQ, SRV, UN

Optional Used

Segment: PRI - Price details

Reference Element name Requirement Usage
PRI0102 lineUnitPrice if PRI0101 = AAA or AAB Optional Not used
PRI0105 lineUnitPriceCode Optional Used

Segment: QTY - Quantity

Reference Element name Requirement Usage
QTY0102

lineQuantity if QTY0101 = 21,12, 113, 131, 182, 185

lineSchQuantity

Optional Used
QTY0103

lineUnits

lineSchUnits
Optional Used

Segment: RFF - Reference

Reference Element name Requirement Usage
RFF0101 qualifier Optional Used
RFF0102

tempVendorId if RFF0101 = VR or IA

poNumber if RFF0101 = ON, OP, VN

Optional Used

Segment: TAX - Duty, tax, fee details

Reference Element name Requirement Usage
TAX01 Qualifier Code Optional Used
TAX0102 lineTax if TAX0101 = 124, 125, or 176 Optional Used
TAX0201 taxType, lineTaxGroup Optional Used
TAX03 taxTypeDescription, lineTaxTypeDescription Optional Used
TAX0504 taxRate, lineTaxRate Optional Used

Segment: UNB - Interchange header

Reference Element name Requirement Usage
UNB0401 transactionDate Optional Used