EDIFACT LIN Segment: Line Item

Identifies a line item and product in a message, serving as the anchor for item-level information.

Segment Code: LIN
Mandatory: No
Position: Detail section

LIN Syntax Example

LIN - Line Item
LIN+1++1234567890123:EN'

Data Elements

PositionNameDescription
1082Line item identifierSequential line number
1229Action codeCode indicating action (1=Added, 3=Changed, 5=Accepted)
C212Item number identificationProduct identifier and type code

Common Mistakes

  • Non-sequential line numbers
  • Wrong product code type (EN=EAN, UP=UPC, SA=Supplier)
  • Missing product identifier

Other EDIFACT Segments

Related Resources

Format Your EDIFACT Messages

See the LIN segment in context. Paste any EDIFACT message to format and analyze instantly.

Open EDIFACT Formatter →