TRADACOMS ›
General Text › GENHDR
GENHDR: General Communications File Header
The GENHDR message is part of the TRADACOMS General Text file: free-format text messages between trading partners.
The General Text file contains: GENHDR → GENRAL → GENTLR.
Message structure
| Segment | Name | Usage |
|---|---|---|
MHD | Message Header | One message only, at the start of the file |
CPT | Communicating Partners | |
FIL | File Details | |
MTR | Message Trailer |
Segments and data elements
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
MSRF | Message Reference | M | V | 9(12) | Consecutive count of messages within the transmission |
TYPE | Type of Message composite | M | 'GENHDR' '3' for this version | ||
| Type | M | F | X(6) | ||
| Version Number | M | F | 9(1) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEID | Sender's Identity composite | M | EAN Location number identifying sender Sender's identification allocated/used by sender | ||
| Sender's EAN Location Number | C | F | 9(13) | ||
| Sender's Own Identity Code | C | V | X(17) | ||
REID | Recipient's Identity composite | M | Used to direct the message from the transmission reception point EAN Location number identifying recipient Recipient identification as used by sender | ||
| Recipient's EAN Location Number | C | F | 9(13) | ||
| Recipient's Own Identity Code | C | V | X(17) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
FLGN | File Generation Number | M | V | 9(4) | This number is sequential, per file type, per trading partner |
FLVN | File Version Number | M | V | 9(4) | Original (which is always 1) is incremented by 1 for each additional copy created. May be zero-filled in this message if generation number is not needed |
FLDT | File Creation Date | M | F | 9(6) | Date the file is created. Format YYMMDD |
FLID | File (Reel) Identification | C | V | X(6) | Reference on the outside of the reel containing the file |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
NOSG | Number of Segments in Message | M | V | 9(10) | Control count of the number of segments comprising message. The count includes the MHD and MTR segments surrounding the message |
Need to exchange TRADACOMS messages with a UK retailer?
SupplyLens connects your ERP, e-commerce or accounting system to any TRADACOMS or EDIFACT trading partner: orders in, invoices out, fully managed.
Book a demo Learn about retail EDI →