EDIFACT LOC segment: place/location identification.

The LOC segment identifies a specific place. Qualifier 1=place of despatch, 7=place of delivery, 11=place of loading, 83=freight and charges paid to. Used in DESADV for despatch and delivery locations, and in ORDERS for line-level delivery locations in multi-site orders.

Tag
LOC
Full name
Place/location
Part of the message
Parties
Data elements
2

A LOC segment, explained

Hover any part of the segment to see what it is. Open What your system receives to see the JSON or XML CleanEDI delivers.

  1. LOC+7+SYD-DC::92'
    LOCPlace/location

    Place of delivery: SYD-DC.

    LOC
    Place/location
    7
    Place of delivery (location type)
    92
    Assigned by buyer (location agency)

LOC structure

Elements are separated by + and their parts by :. Positions match the explainer, so 2.3 is the third part of the second element.

PositionElementParts
1Location type1.1 Code
2Location2.1 ID, 2.2 Code list, 2.3 Agency

Location type (1.1)

CodeMeaning
7Place of delivery
9Place of loading
11Place of discharge
18Warehouse
20Final destination

Location: Agency (2.3)

CodeMeaning
9GS1
16DUNS
91Assigned by supplier
92Assigned by buyer

Common EANCOM and UN/EDIFACT values. Your trading partner's implementation guide is the final word on which codes they send.

LOC segment FAQ

Have a real message with LOC in it? The explainer breaks down every segment and runs in your browser.

Explain my message

What is the LOC segment in EDIFACT?

LOC is the Place/Location Identification segment. The LOC segment identifies a specific place. Qualifier 1=place of despatch, 7=place of delivery, 11=place of loading, 83=freight and charges paid to. Used in DESADV for despatch and delivery locations, and in ORDERS for line-level delivery locations in multi-site orders.

What are the common LOC location type codes?

7 means place of delivery; 9 means place of loading; 11 means place of discharge; 18 means warehouse; 20 means final destination.

Where does LOC appear in an EDIFACT message?

LOC belongs to the parties part of a message, alongside NAD, CTA, COM.

How do I read a LOC segment in my own message?

Paste the message into the free CleanEDI explainer. It breaks every LOC segment into its elements, translates the codes and shows the JSON and XML your system would receive. Nothing you paste leaves your browser.

Related segments in parties