ORDERS - EDIFACT Purchase order

Business Transaction Intelligence supports document type ORDERS, or purchase order, which buyers use to place orders for items and services.

Segment: BGM - Beginning of message

Reference Element name Requirement Usage
BGM0201 poNumber Mandatory Must use
BGM03 transactionPurpose Mandatory Must use

Segment: CUX - Currencies

Reference Element name Requirement Usage
CUX0101 qualifier Mandatory Must use
CUX0102

currency if CUX0103 = 9 or CUX0101 = 2

lineCurrency if CUX0103 = 9 or CUX0101 = 2

Mandatory Must use
CUX0103 currency if CUX0101 = 86, 125, 79 Optional Used

Segment: DTM - Date/time reference

Reference Element name Requirement Usage
DTM0101 qualifier Optional Used
DTM0102
  • poDate if DTM0101 = 4 or 137
  • deliveryDate if DTM0101 = 2, 61, 63, 117, 128, 191
  • poEstimatedShipDate if DTM0101 = 17, 10, 11, 110, 133, 136
  • 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 Mandatory Must use
IMD0305 lineDescription Optional Used

Segment: LIN - Line item

Reference Element name Requirement Usage
LIN01 poLines Mandatory Must use
LIN0301

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

lineIdentifier if LIN0302 = BP, GB, SA, SRV, 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

Segment: LOC - Place/location identification

Reference Element name Requirement Usage
LOC0204 taxName or lineTaxName Optional Used

Segment: MOA - Monetary amount

Reference Element name Requirement Usage
MOA0101 qualifier Optional Used
MOA0102

tax if MOA0101 = 124, 125, 176

lineUnitPrice if MOA0101 = 146

lineAmount if MOA0101 = 203

totaAmount if MOA0101 = 86, 125, 79

Optional Used
MOA0103 lineCurrency if MOA0101 = 146, 203, 86, 125, 79 Optional Used

Segment: NAD - Name and address

Reference Element name Requirement Usage
NAD01 qualifier Optional Used
NAD0201 vendorId if NAD01 = VN
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

shipperCountryif 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

shipperCountryif 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

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

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

Optional Used
PIA0301

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

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

Optional Used
PIA0401

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

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

Optional Used
PIA0501

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

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

Optional Used
PIA0601

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

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

Optional Used

Segment: PRI - Price

Reference Element name Requirement Usage
PRI0101 qualifier Optional Used
PRI0102 lineUnitPrice if PRI0101 = AAA, AAB Optional Used
PRI0105 lineUnitPriceCode Optional Used

Segment: QTY - Quantity

Reference Element name Requirement Usage
QTY0102 lineQuantity if QTY0101 = 21 Optional Used
QTY0103 lineUnits if QTY0101 = 21 Optional Used

Segment: RFF - Reference

Reference Element name Requirement Usage
RFF0101

qualifier

Optional Used
RFF0102

department if RFF0101 = AMV

poNumber if RFF0101 = ON, OP, VN

tempVendorId if RFF0101 = VR, IA

Optional

Segment: TAX - Duty/tax/fee details

Reference Element name Requirement Usage
TAX0102 lineTax if TAX0101 = 124, 125, 176 Optional Used
TAX0201 taxType Mandatory Must use
TAX03 taxTypeDescription or lineTaxTypeDescription Optional Used
TAX0504 taxRate or lineTaxRate Optional Used

Segment: TDT - Transport information

Reference Element name Requirement Usage
TDT0501 carrier Optional Used
TDT0504 freightTerms Optional Used

Segment: UNB - Interchange header

Reference Element name Requirement Usage
UNB0401 transactionDate Optional Used