INVOIC - EDIFACT invoice message

Business Transaction Intelligence supports document type INVOIC, or invoice message, claiming payment for goods or services supplied under conditions agreed between the seller and the buyer.

Segment: BGM - Beginning of message

Reference Element name Requirement Usage
BGM0201 invoiceNumber Mandatory Must use

Segment: CUX - Currencies

Reference Element name Requirement Usage
CUX0102

currency or lineCurrency if CUX 0103 = 4 or CUX0101 = 2

Mandatory Must use

Segment: DTM - Date/time reference

Reference Element name Requirement Usage
DTM0101 qualifier Optional Used
DTM0102

invoiceDate if DTM0101 = 3, 137

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 line Mandatory Must use
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, VN, VS, VX, or ZZZ

Optional Used
LIN0302 qualifier Optional Used

Segment: MOA - Monetary amount

Reference Element name Requirement Usage
MOA0101 Qualifier Optional Used
MOA0102

lineUnitPrice if MOA0101 = 146

lineAmount if MOA0101 = 203

totalAmount if MOA0101 = 86, 125, 79

Optional Used
MOA0103

lineCurrency if MOA0101 = 146, 203, 86, 125, 79

Currency if MOA0101 = 86, 125, 79

Optional Used

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, VN, VS, VX, or ZZZ

Optional Used
PIA0301

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

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, VN, VS, VX, or ZZZ

Optional Used
PIA0401

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

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, VN, VS, VX, or ZZZ

Optional Used
PIA0501

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

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, VN, VS, VX, or ZZZ

Optional Used
PIA0601

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

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, VN, VS, VX, or ZZZ

Optional Used

Segment: PRI - Price details

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 = 47 Optional Used
QTY0103 lineUnits if QTY0101 = 47 Mandatory Must use

Segment: RFF - Reference

Reference Element name Requirement Usage
RFF0101 department if qualifier = AMV Optional Used
RFF0102

poNumber or linePONumber if RFF0101 = ON, CO, VN

BillOfLadingNumber if RFF0101 = BM

lineBillOfLadingNumber if RFF0101 = BM, MB

proNumber or lineProNumber if RFF0101 = CN, SI

Manifest or lineManifest if RFF0101 = MA

Optional Used

Segment: UNB - Interchange header

Reference Element name Requirement Usage
UNB0401 transactionDate Optional Used