
Walmart 816 Organizational Relationships
Walmart · X12 005010
The Walmart 816 is the organizational relationships message listing a retailer’s stores and distribution centres.
Walmart’s published 816 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
26 of 26 segments
HEADING
ST
Transaction Set Header ST
pos 0100
Optional
max —
BHT
Beginning Of Hierarchical Transaction BHT
pos 0200
Required
max —
N1 Looprequired
N1
Party Identification N1
There must be at least one occurrence of the N1 segment in the header area to identify the sender of the transaction in text or coded format.
pos 0400
Required
max —
DETAIL
SE
Transaction Set Trailer SE
pos 1100
Optional
max —
HL Looprequired
HL
Hierarchical Level
The FULL file for the 816 will have an iteration of the HL loop for every WALMART and SAMS location.
pos 0100
Required
max —
N1 Looprequired
N1
Party Identification N1
This segment is used to specify the corporate office name or place of business for locations specified in the associated detail loops.
pos 0200
Required
max —
N3
Party Location N3
pos 0400
Optional
max 2
N4
Geographic Location N4
pos 0500
Optional
max —
REF
Reference Information REF
pos 0700
Optional
max 12
HL Looprequired
HL
Hierarchical Level
The FULL file for the 816 will have an iteration of the HL loop for every WALMART and SAMS location.
pos 0100
Required
max —
N1 LoopN1 Loop Storevariant 1 of 2
N1
Party Identification N1
This segment is used to specify the corporate office name or place of business for locations specified in the associated detail loops.
pos 0200
Required
max —
N3
Party Location N3
pos 0400
Optional
max 2
N4
Geographic Location N4
pos 0500
Optional
max —
PER
Administrative Communications Contact PER
pos 0600
Optional
max —
REF
Reference Information Dunsvariant 1 of 2
This segment is sent in the weekly change file only.
pos 0700
Optional
max 12
REF
Reference Information Storevariant 2 of 2
pos 0700
Optional
max 12
DTM
Date Time Reference DTM
This segment is present in the weekly changes file to denote future effective dates.
pos 0900
Optional
max 10
ASI
Action Or Status Indicator ASI
When BHT01 contains code 0065 and BHT02 contains code 04, this segment is required to specify the maintenance action for the location specified in the associated N1 segment.
When ASI02 contains code 001, all data about a location is to be replaced. That is, the sender should replace the entire location address record rather than just the data which changed, e.g., telephone number.
This segment is sent in the weekly change file only.
pos 1000
Optional
max —
N1 LoopN1 Loop Warehousevariant 2 of 2
N1
Party Identification N1
This segment is used to specify the corporate office name or place of business for locations specified in the associated detail loops.
pos 0200
Required
max —
N3
Party Location N3
pos 0400
Optional
max 2
N4
Geographic Location N4
pos 0500
Optional
max —
PER
Administrative Communications Contact PER
pos 0600
Optional
max —
REF
Reference Information Dunsvariant 1 of 2
This segment is sent in the weekly change file only.
pos 0700
Optional
max 12
REF
Reference Information Storevariant 2 of 2
pos 0700
Optional
max 12
DTM
Date Time Reference DTM
This segment is present in the weekly changes file to denote future effective dates.
pos 0900
Optional
max 10
ASI
Action Or Status Indicator ASI
When BHT01 contains code 0065 and BHT02 contains code 04, this segment is required to specify the maintenance action for the location specified in the associated N1 segment.
When ASI02 contains code 001, all data about a location is to be replaced. That is, the sender should replace the entire location address record rather than just the data which changed, e.g., telephone number.
This segment is sent in the weekly change file only.
pos 1000
Optional
max —
Validate your 816
Paste or upload a document and check it against Walmart’s published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Walmart’s 816 in days, not months
Connect this guide to your accounting system and test with Walmart yourself, or leave the mapping and the test cycle to us, at no extra charge.