Tradacomms Syntax Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 153

DownloadTradacomms Syntax Manual
Open PDF In BrowserView PDF
SYNTAX & DATA DICTIONARY

TRADACOMS MANUAL OF STANDARDS FOR
ELECTRONIC DATA INTERCHANGE

© COPYRIGHT 1995
THE ARTICLE NUMBER ASSOCIATION (UK) LTD
11 KINGSWAY
LONDON WC2B 6AR

April 1995

Page 1

NOTE: Whilst every effort has been made to ensure the advice and information given in this
manual is as accurate as possible, the Article Number Association is not liable
for any loss or damage suffered, or costs incurred, whether or not as a result of
any errors in the manual.

April 1995

Page 2

TRADACOMS
MANUAL OF STANDARDS FOR ELECTRONIC DATA INTERCHANGE

CONTENTS

SYNTAX AND DATA DICTIONARY

HOW TO USE THIS MANUAL

SECTION A:

THE TRADACOMS UN/GTDI SYNTAX RULES

SECTION B:

STANDARD DATA ELEMENT DIRECTORY

SECTION C:

SEGMENT DIRECTORY

SECTION D: STANDARD CODE VALUES

ANNEX 1:

DATA NARRATIVE SEGMENTS

ANNEX 2:

INTEGRITY CHECKING

April 1995

Page 3

HOW TO USE THIS MANUAL
This manual contains the syntax (the grammar) and the data dictionary (the vocabulary) for the
TRADACOMS standard messages for direct computer to computer communications.
Section A contains the UN/GTDI syntax rules which govern how the messages are structured.
Section B lists the directory of standard data elements which make up the messages. Each data
element is identified by a 4-digit alphabetic code and the list is ordered alphabetically, for ease
of use. There is an additional reference number which identifies each element, which is used by
some systems. The data elements are also listed in name order.
Section C is a directory of the segments. These are logical groupings of related data elements.
Each TRADACOMS message is made up of a sequence of segments. The segments are
identified by a 3-digit alphabetic code. The segment directory is listed in alphabetic order of
these identifiers.
Section D contains the standard code values lists. Much of the data which is carried in
TRADACOMS messages can be standardised and coded. The use of codes allows easier
automatic processing of the communicated data. Each list is identified by a number and they are
given in numerical order.
Annex 1 contains information on the use of data narrative segments.
Annex 2 shows how the integrity of a TRADACOMS transmission can be checked without
processing the data content. This function can be performed by a Value Added Network
Service.
See Volume 1 for more detailed information on the ANA and Electronic Data Interchange. This
provides the background to the standards and the benefits which can be obtained by using them.
Volumes 2 and 3 contain the transmission structuring segments for each file format. There are
25 file formats available as this manual is issued, but there are new files under development
which may be added to Volume Three at a later date.

April 1995

Page 4

SECTION A
THE TRADACOMS UNGTDI SYNTAX RULES

CONTENTS

Page No.
1.

2.

INTRODUCTION TO THE SYNTAX RULES

5

1.1

Background

5

1.2

Scope and Purpose

6

1.3

Advantages

6

1.3.1

Media Independence

6

1.3.2

Machine Independence

6

1.3.3

System Independence

6

1.3.4

Flexibility

6

1.3.5

Efficiency

7

1.3.6

Intelligibility

7

1.4

Messages and Documents

7

1.5

Syntax Rules Example

7

THE SYNTAX RULES

11

2.1

Introduction

11

2.2

General Terminology

11

2.2.1

Data Elements and Sub-Elements

11

2.2.2

Data Element Identifiers

11

2.2.3

Segments

12

2.2.4

Data Segments

12

2.2.5

Standard Segments

12

April 1995

Section A Page 5

2.3

2.4

2.5

April 1995

2.2.6

Segment Codes

12

2.2.7

Interchange Messages

12

2.2.8

Message Types

13

2.2.9

Transmission

13

Data Separators and Terminators

13

2.3.1

Segment Terminator (')

13

2.3.2

Data Element Separator (+)

14

2.3.3

Sub-Element Separator (:)

14

2.3.4

Segment Code Separator (=)

14

2.3.5

Allowable Sequences of Data and
Separators/Terminators

14

Character Set and Related Subjects

15

2.4.1

Character Set for Interchange

15

2.4.2

Character Code

15

2.4.3

Release Character

15

2.4.4

Scope of the Character Set

16

2.4.5

Character Representation

16

2.4.6

Decimal Separator (.)

16

2.4.7

Negative Numbers

16

Absence of Data

16

2.5.1

Mandatory and Conditional Data

16

2.5.2

Rules for Indicating the Absence of Data

17

2.5.3

Variable Length Data

19

Section A Page 2

2.6

2.7

2.8

Transmission Structuring Segments

19

2.6.1

A Transmission

19

2.6.2

Start of Transmission Segment (STX)

21

2.6.3

End of Transmission Segment (END)

21

2.6.4

Interchange Messages

21

2.6.5

Message Header Segment (MHD)

22

2.6.6

Message Trailer Segment (MTR)

23

2.6.7

Formats for the Standard Segments

23

Repeated and Nested Data

23

2.7.1

Introduction

23

2.7.2

Repeating Segments

23

2.7.3

Nested Segments

24

2.7.4

Sequence Numbers

24

Batching of Messages
2.8.1

2.9

3.

Batching of Messages within a Transmission
(BAT and EOB)

24

2.8.2

Batch Header Segment (BAT)

25

2.8.3

Batch Trailer Segment (EOB)

25

TRADACOMS Conventions

27

2.9.1

27

Single File Transmissions

THE CONTEXT OF THE SYNTAX RULES
3.1

28

Applicability of the Syntax Rules to Various
Interchange Environments

28

3.1.1

Introduction

28

3.1.2

Computer (or Intelligent Terminal) to
Computer (or Intelligent Terminal)

28

Carriage Return and Line Feed Characters

29

3.1.3

April 1995

24

Section A Page 3

3.1.4

Computer to Unintelligent Terminal
(including Facsimile and Telex)

32

Unintelligent Terminal to Computer

29

Advantages of the Syntax Rules over Conventional
Computer Records for Interchange Systems

29

3.1.5
3.2

3.2.1

Drawbacks of Conventional Layouts for
Interchange Purposes

30

How Syntax Rules Overcome these
Disadvantages

30

3.2.3

Absence of Data

33

3.2.4

Conclusion

33

3.2.2

April 1995

Section A Page 4

SECTION A - THE TRADACOMS UNGTDI SYNTAX RULES

1.

INTRODUCTION TO THE SYNTAX RULES

1.1

Background
The TRADACOMS UNGTDI Syntax Rules are a subset of the full SITPRO Syntax
Rules which were originally developed for international trade applications. The full
name for the Syntax Rules is the United Nations Economic Commission for Europe
(UNECE) Guidelines for Trade Data Interchange (GTDI). The ANA now maintains this
for the benefit of TRADACOMS users in the UK.
The UNGTDI syntax has been used for the exchanged of trade data in several countries,
and was specified by H M Customs and Excise for their Period Entry Exports
interchange scheme. This and other international applications are now based on the later
UN EDIFACT (EDI for Administration, Commerce and Transport) syntax. For further
details of EDIFACT trade messages contact the ANA.

1.2

Scope and Purpose
The Syntax rules provide a method of assembling data elements within messages
interchanged between organisations.
The standards for individual data elements are provided in the Standard Data Element
Directory in Section B. The standards for the contents of interchange messages are
provided in the Message Format Specifications in Volumes 2 and 3. The syntax rules in
this Section specify how the data elements in Section B are structured into the message
formats in Volumes 2 and 3.
A full understanding of the syntax rules is necessary for the correct interpretation and
use, in practice, of the standard message formats.
The syntax rules are independent of machine, media and systems considerations, and
are, therefore, suitable for the interchange of data between computer systems, by a
telecommunications link or by physical media such as magnetic tapes or floppy discs
(diskettes). They are also independent of the structure of data within users' internal
computer systems. They are intended as a bridge between systems, for use at the point
of interchange. The sender converts from his internal record layouts and the recipient
converts into his internal layouts:
Computer A
File Layout

Convert to
Syntax
Layout

Transfer
-----------------
medium

Convert
from
Syntax
Layout

Computer B
File
Layout

Methods for the initial capture of data (in the sender's own system) and the final output
April 1995

Section A Page 5

of data (in the recipient's own system) are, therefore, outside the scope of the syntax
rules, except possibly where the interchange does not involve computer processing at
one end of the exchange, as may happen in certain fall-back situations. These are briefly
discussed in paras. 3.1.1 to 3.1.4 at the end of this Section.
The syntax rules do not dictate the extent to which data should be validated prior to
transmission. The onus is on the sender of a message to provide accurate
information which has been correctly assembled. The recipient of a message should
carry out validation checks, however, to help ensure that invalid data does not corrupt
internal computer records.
The syntax rules only apply to the data interchanged. They do not apply to the
communications protocols and media labels within which the data is transmitted.
Privacy of data is outside the scope of the rules. Where required, encryption or other
techniques can be agreed between interchange partners. Facilities are provided,
however, for the transmission of control totals in the TRADACOMS Standards message
formats, to check the safe transmission of data.
1.3

Advantages
The advantages of using the syntax rules can therefore be summarised as follows:-

1.3.1

Media Independence
Data is structured in the same way whether it is interchanged via magnetic media or a
telecommunications link. The syntax rules help minimise the cost of changing from one
medium to another in inter-organisation exchange, and the cost to a single organisation
sending or receiving data via several types of media.

1.3.2

Machine Independence
Incompatibilities of record size and character representation between different makes of
computer are avoided. No reprogramming costs need be incurred by existing members
of an interchange application when a new member, who has a different make of
computer, joins.

1.3.3

System Independence
The rules are not influenced by the constraints of any particular system design, such as
batch, on-line, file/record design or retrieval techniques, communications techniques,
etc.

1.3.4

Flexibility
The rules allow a great deal of flexibility in the design and structuring of messages.
Changing message specifications should be less costly with data structured using the
syntax rules than with conventional records. Using table-driven programs makes
changes particularly easy to effect.

April 1995

Section A Page 6

1.3.5

Efficiency
The rules allow data to be transmitted in an economical manner (see paragraph 2.9
below). This can be important over telecommunications links.

1.3.6

Intelligibility
By using special character data separators and alpha segment codes, the syntax rules
make messages relatively easy to interpret, and thus aid tasks such as investigating
errors.
A fuller discussion of the advantages of messages designed according to the
TRADACOMS Syntax Rules over conventional computer records, for data exchange,
appears at the end of this Section, in paras. 3.2.1 to 3.2.4.

1.4

Messages and Documents
An interchange message can often be considered as the equivalent of a document, for
example an invoice or an order. However, other forms of interchange messages are not
directly equivalent to conventional documents. Depending on the nature and purpose of
the interchange system, these are then equivalent to several documents or to only part of
a document, or might have no documentary equivalent at all.

1.5

Syntax Rules Example
The syntax rules can be illustrated by comparing part of a typical order document
(Figure A.1) with the equivalent interchange messages assembled according to the rules
(Figure A.2). The example messages are in standard TRADACOMS format.

April 1995

Section A Page 7

Figure A.1

OFFICIAL ORDER
SUPPLIER NAME:
ADDRESS:

XYZ
Manufacturing plc
Leeds

Customer
Order No:

981

Customer
Order Date:

21.3.94

CUSTOMER NAME:
ADDRESS:

Any Shop plc
57 High Street
Newtown

LOCATION CODE:

50 00600 003240

Supplier
Order No:

TELEPHONE NO:

TELEX NO:

Supplier
Order Date:

CUSTOMER ACCOUNT NO: 68322

LOCATION CODE: 50 00100 00101 4

DELIVERY INSTRUCTIONS:
Ring before delivery

SUPPLIER ACCOUNT NO: 7215

EAN Consumer Unit
Code
50 00100

Traded Unit Description

07432 6
06827 1
15406 6

Product A
Product B
Product C

Pack
Size

Customer Traded Unit Code

12
6
4

Conditions - Special Instructions

Delivery Date
Earliest: 28.3.94
Latest:

EAN/In-House Code for
Traded Unit
50 00100
48145 2
35066 6
15407 3

Qty
Ordered
10
10
30

TOTAL QTY

6

Signature:
Name in Capitals:

April 1995

Section A Page 8

Figure A.1 (Cont'd)

OFFICIAL ORDER
SUPPLIER NAME:
ADDRESS:
Leeds

XYZ
Manufacturing plc

Customer
Order No:

982

Customer
Order Date:

21.3.94

CUSTOMER NAME:
ADDRESS:

Any Shop plc
32 Market Street
Oldtown

LOCATION CODE:

50 00600 00328 2

Supplier
Order No:

TELEPHONE NO:

TELEX NO:

Supplier
Order Date:

CUSTOMER ACCOUNT NO: 68347

LOCATION CODE: 50 00100 00101 4

DELIVERY INSTRUCTIONS:

SUPPLIER ACCOUNT NO: 7215

EAN Consumer Unit
Code
50 00100

Traded Unit Description

76967 3
66813 6

Product K
Product L

Pack
Size

Customer Traded Unit Code

6
6

Conditions - Special Instructions

Delivery Date
Earliest:
Latest:

EAN/In-House Code for
Traded Unit
50 00100
76968 0
65846 5

Qty
Ordered
5
8

TOTAL QTY

13

Signature:
Name in Capitals:

April 1995

Section A Page 9

Figure A.2

STX

=

ANA:1+:ANY SHOP PLC+:XYZ MANUFACTURING PLC+940321+REFS+REFR'

MHD

=

1+ORDHDR:9'

TYP

=

0430+NEW-ORDERS'

SDT

=

5000100001014:7215+XYZ MANUFACTURING PLC+LEEDS'

CDT

=

5000600003101:68100+ANY SHOP PLC+HEAD OFFICE:72 KING STREET:
LONDON EC2'

FIL

=

1+1+940321'

MTR

=

6'

MHD

=

2+ORDERS:9'

CLO

=

5000600003240::68322'

ORD

=

981::940321'

DIN

=

940328+++RING BEFORE DELIVERY'

OLD

=

1+5000100481452+5000100074326++12+10++++PRODUCT A'

OLD

=

2+5000100350666+5000100068271++6+10++++PRODUCT B'

OLD

=

3+5000100154073+5000100154066++4+30++++PRODUCT C'

OTR

=

3+6'

MTR

=

9'

MHD

=

3+ORDERS:9'

CLO

=

5000600003282::68347'

ORD

=

982::940321'

OLD

=

1+5000100769680+5000100769673++6+5++++PRODUCT K'

OLD

=

2+5000100658465+5000100668136++6+8++++PRODUCT L'

OTR

=

2+13'

MTR

=

7'

MHD

=

4+ORDTLR:9'

OFT

=

2'

MTR

=

3'

END

=

4'

April 1995

Section A Page 10

2.

THE SYNTAX RULES

2.1

Introduction
In the following paragraphs:
a)

the general terminology used within the specification of the syntax rules is
explained

b)

the character set recommended for interchange is defined

c)

the basic syntax rules are specified.

These basic syntax rules are applicable for the majority of interchange applications,
including the TRADACOMS system.
2.2

General Terminology

2.2.1

Data Elements and Sub-Elements
Different organisations use different terminology to describe or define basic items of
data. In these rules, the following terms are used:-

a)

Data Element
This is an item of data which has been identified separately for interchange by its
inclusion in the TRADACOMS Data Element Directory. It may consist of a
single item of data, eg. Earliest Delivery Date, in which case it is called a simple
data element, or it may consist of several items of data, eg. the data element
Unit of Ordering. This consists of the number of consumer units in a trade unit,
the ordering measure and a measure indicator. In this case it is called a
composite data element. A data element is identified by its position within a
'segment', defined below.

b)

Sub-Element
This is the name given to each item of data within a composite data element. In
the example above, measure indicator is a sub-element. A sub-element is
identified by its position within a data element.

2.2.2

Data Element Identifiers
Data elements are allocated unique 4 character data element identifiers. These are used
to identify data elements in the TRADACOMS Data Element Directory, in message
specifications and in the tables used to construct and translate standard TRADACOMS
messages. They can also be used for system and program documentation. Data element
identifiers are not transmitted.

April 1995

Section A Page 11

2.2.3

Segments
a)

Related data elements are grouped together within the syntax rules to form a
segment. A segment is the basic unit for the transmission of data; individual
data elements can only be transmitted within a segment. A segment can contain
one or more data elements.

b)

There are two types of segment:
-

2.2.4

Data Segments
Standard Segments

Data Segments
These contain the amounts, values, names, places and other data required for
transmission. The contents of data segments are independent of the syntax rules.

2.2.5

Standard Segments
The only category of standard segments that is used in these basic syntax rules, applying
to TRADACOMS transmissions, is that of the Transmission Structuring Segments that
are used to assemble interchange transmission in a standard way. Standard segments are
provided to start and end each interchange, and to start and end each message within an
interchange. They are discussed in para. 2.6 of this Section.

2.2.6

2.2.7

Segment Codes
a)

Segments are uniquely identified by a 3-character segment code which must be
alphabetic.

b)

Segment codes have been reserved for each of the standard segments included in
the syntax rules.

c)

Segment codes are transmitted at the start of the segments they identify.

Interchange Messages
a)

An interchange message consists of a number of segments structured in
accordance with the syntax rules, ie. it must begin with the standard message
header segment and end with the standard message trailer segment.

b)

In the TRADACOMS environment all interchange messages are Data
Messages. These contain the data segments required for the message in addition
to the message header and message trailer segments. The ANA maintains
standard message specifications, which are found in Volumes 2 and 3 of this
manual.

April 1995

Section A Page 12

2.2.8

Message Types
Interchange messages are identified by a message type which is included in the standard
message header segment. A message type consists of two sub-elements:

2.2.9

-

the message type itself. This is a 6-character alphabetic code;

-

a version number. This is a single digit numeric sub-element. It is used in
connection with changes to data message specifications, to distinguish one
version of a message from another.

Interchange Transmission
a)

All the data to be transmitted between two organisations at one time is referred
to as an interchange transmission. An interchange can contain a single message
or many messages. The standard Start of Transmission segment is used to
identify the start of the data being transmitted. The standard End of
Transmission segment is used to denote the end of the data being transmitted.

b)

The only restriction imposed by the syntax rules on the number of messages
included in an interchange transmission is that the message count on the end of
transmission segment cannot exceed 99,999. There are no restrictions on the
number of different types of message which can be included in a transmission.
However see paragraph 2.9 below.

c)

The syntax rules do not themselves specify the order in which messages should
be transmitted within an interchange transmission, but the standard messages are
all grouped within TRADACOMS-designated files and within each file a
message sequence is specified. The sender can forward a number of designated
files, one after another, in an order of his choosing, unless participants in an
exchange application agree otherwise. The conventional format of interchange
transmissions is described in 2.9.

d)

Participants can agree restrictions on the number of files or messages in a
transmission if they so wish. See paragraph 2.9.

2.3

Data Separators and Terminators

2.3.1

Segment Terminator (')
Each segment is terminated by a segment terminator, the apostrophe (or single quote) (')
eg. .......... 123'

April 1995

Section A Page 13

2.3.2

Data Element Separator (+)
a)

Data elements within a segment are separated from each other by a data element
separator, a plus (+)
eg. ..........+ABC+123

b)

2.3.3

The last data element in a segment is terminated by the segment terminator. A
data element separator is not required.

Sub-Element Separator (:)
a)

Sub-elements with a composite data element are separated from each other by a
sub-element separator, the colon (:)
eg. ..........+5530:KG+.....

b)

2.3.4

The last sub-element within a composite data element is terminated by a data
element separator. A sub-element separator is not required.

Segment Code Separator (=)
A segment code is separated from the data within a segment by a segment code
separator, an equals sign (=)
eg. IRF=8728511+810320'

2.3.5

Allowable Sequences of Data and Separators/Terminators
The logic of the syntax rules allows only the sequences of data, separators and
terminators indicated in the following table (Figure A.3).

Figure A.3
Can only be followed by item(s) ticked
Item
Segment
Code
Segment Code

=

Data
Element

+

SubElement

:

/

/

/

/

Data Element

/

+

/

Sub-Element

/

/
/

/

:

April 1995

End of
Transmission

/

=

'

'

/
/

/

/
/

/
/

Section A Page 14

2.4

Character Set and Related Subjects

2.4.1

Character Set for Interchange
In the TRADACOMS environment the character set for data is restricted to:
Blank Space
Open Bracket (
Hyphen
Percent %

Ampersand
Close Bracket )
Full Stop

&
Asterisk
Comma
,
.
Solidus /

*

The numerals zero to 9.
The upper case alphabet A to Z.
The following characters are reserved for control purposes within the syntax rules and
their use in data should be avoided wherever possible:
Apostrophe
Equals =

2.4.2

'
Plus sign
+
Padding Character
^
(Up-arrow/circumflex)

Colon

:

Character Code
The coded representation of each allowable character for the various transmission media
is discussed in Section E of Volume 1.

2.4.3

Release Character
The question mark, ?, is reserved for use within the syntax rules as a release character.
The release character is provided for use where separator or terminator characters
(ie. =:'+) have to be transmitted as part of a data element or sub-element. Where a
question mark is itself included in data it must also use the release character function.
It is strongly recommended that the five characters =:'+? be excluded from data elements
and sub-elements wherever possible. It should be possible to avoid the use of the
release character by replacing these characters in data by another character without any
loss of meaning. For example, an apostrophe could be replaced by a space (O'REILLY
would be transmitted as O REILLY).
The release character must be inserted in a transmission immediately preceding each
occurrence in data of any of the five characters =:'+?. It signifies that the next single
character is not to be interpreted as a data separator, terminator or release character. For
example:
Data required 736 + 834 = 1570
Data transmitted 736? + 834? = 1570
The release character is not counted as part of the length of any data element or sub-

April 1995

Section A Page 15

element within which it is transmitted. Release characters can be inserted by the
computer so that data can be input and output without any special manual requirements,
except where messages are manually structured or interpreted.
2.4.4

Scope of the Character Set
The full recommended character set including the special characters +=:' applies only to
the data content of the transmission. Requirements for telecommunication protocols,
media labels, etc., are outside the scope of this recommendation. They are dealt with in
Section E of Volume 1 of this manual.

2.4.5

Character Representation
Character formats are recommended within these syntax rules. Binary, packed decimal
or other forms of hardware/software-dependent representation must not be used for
interchange as these features are not available, or are not dealt with in the same way, on
all makes of computer.

2.4.6

2.4.7

Decimal Separator (.)
a)

An implied decimal separator or point is used in the TRADACOMS system.

b)

Thousands must not be indicated by any form of separator (such as commas).

Negative Numbers
a)

A negative number is indicated by a leading minus sign.
eg. SEG=..... +-1250+.... is correct.

b)

In many cases the need for negative numbers can be avoided through the use of
data elements such as the Credit Line Indicator used in TRADACOMS invoice
messages.

Notes: Provision should be made in translation tables for negative numbers using
leading minus signs in messages where the totals could become negative
if the credit values exceed the normal debit ones. For example,
statement totals could be negative if credit adjustments exceeded new
invoices.
2.5

Absence of Data

2.5.1

Mandatory and Conditional Data
a)

Within a segment, data elements are specified as mandatory or conditional.

b)

Mandatory data elements are those which must always be transmitted, eg. the
message type on a standard message header segment or the invoice number and
date in an invoice message.

c)

Conditional data elements are those which need to be transmitted only in a

April 1995

Section A Page 16

particular set of circumstances, depending on the nature of the goods, the mode
of transport, etc., eg. a special price indicator in an order message.

2.5.2

d)

Segments must also be designated as mandatory or conditional within each
message type.

e)

A mandatory segment may consist entirely of conditional data elements. At least
one of these must be transmitted for this type of segment.

f)

Within a composite data element, individual sub-elements are also designated as
mandatory or conditional and, similarly, if all are conditional within a mandatory
data element, at least one sub-element must be transmitted.

Rules for Indicating the Absence of Data
a)

Where no data exists for a conditional segment, the segment must not be
transmitted.

b)

Where no data is required for one or more data elements in a segment, which
precede another data element for which data is required, the data element
separator is used to indicate the absence of data:eg.
i)

If there are 5 data elements, AAAA, BBBB, CCCC, DDDD and EEEE
in a segment with the segment code SEG and data is only required for
AAAA, BBBB, CCCC and EEEE:SEG = data for AAAA + data for BBBB + data for CCCC ++ data for
EEEE'

──────────────────────┘

no data for DDDD
ii)

Similarly, if data is only required AAAA, BBBB and EEEE:
SEG = data for AAAA + data for BBBB +++ data for EEEE'

┌──────────────┘
├── no data for CCCC
│
└── no data for DDDD

c)

Where no data is required for one or more data elements at the end of a segment,
two options are available:
i)

April 1995

The preferred option is to use the segment terminator to truncate the
segment following the last data element for which data is required:

Section A Page 17

eg.

Using the example shown in b) above, the following can be transmitted
if data is only required for AAAA and BBBB:
SEG = data for AAAA + data for BBBB'

ii)

Alternatively, data element separators can be used to indicate positively
the absence of data for each data element.

eg.

Using the above example, if data is only required for AAAA and BBBB:

SEG = data for AAAA + data for BBBB +++'
  
│ │ └──── no data for EEEE
│ └────── no data for DDDD
└──────── no data for CCCC

Note: Users' programs should cater for both these techniques, as each is valid.
d)

The absence of data for one or more conditional sub-elements within a
composite data element is indicated using similar principles to those described
above. A data element separator is inserted following the last sub-element for
which data is required. The absence of data for one or more sub-elements which
precede another, for which data is required, is indicated by the sub-element
separator.
eg.
i)

If a data element contains 4 sub-elements, K, L, M and N and only the
first 2 are required:
....+ data for K: data for L +....

ii)

In the same example, if data is only required for K and N:
....+ data for K:::data for N +....

││
│└──────
└───────

e)

April 1995

no data for M
no data for L

A typical use of conditional sub-elements is for data elements defined as
containing both a code and a clear language version, eg. transmission sender.
The rules allow either or both the sub-elements to be transmitted in a consistent
manner:

Section A Page 18

eg.
....+ 123:ABC CO+........................
....+ 123 +...................................
....+ :ABC CO+............................
are valid ways of constructing a data element which can contain a code and/or a
clear language sub-element.
2.5.3

Variable Length Data
a)

Separators allow the omission of leading zeros in numeric items and trailing
spaces in alphanumeric items for those data elements defined as "variable
length" in the Data Directory.
For example:

b)

2.6

RTL
RTL

=
=

ii)

OLD =
OLD =

.............+ ABC LTD'
.............+ YZ MANUFACTURING AND
PROCESSING LTD'
.............+ 930:KG+..............
.............+ 12100:KG+...........

Where variable length data is interchanged, the sender may elect to transmit, in
accordance with the syntax rules and without reference to the recipient, either the
actual number of characters used or any number of characters up to and
including the maximum number of characters. Where the maximum number of
characters is transmitted, the following rules apply:
i)

Numeric data should be right-aligned with leading zeros or spaces to pad
the data to its maximum length, but there must be one zero before the
decimal separator for amounts less than one.

ii)

Alphabetic/alphanumeric data should be left-aligned with trailing spaces
used to pad the data to its maximum length.

Transmission Structuring Segments
NB

2.6.1

i)

The normal rules for indicating the absence of conditional data, specified in
subsection 2.5, apply to these standard segments.

A Transmission
a)

The data transmitted at one time between two organisations is a transmission.
Standard segments are provided to denote the start and the end of the data
within a transmission.

b)

The first segment in all transmissions must be the Start of Transmission
segment which has the segment code STX.

April 1995

Section A Page 19

c)

The last segment in all transmissions must be the End of Transmission segment
which has the segment code END.

d)

A transmission can therefore be depicted as:┌── STX segment
│
<
│
>
│
data
│
<
│
>
└── END segment

Figure A.4 Example STX Segment
STX=ANA:1+123:ABC CO+:XYZ CO+811206:121500+A143+B26+ASYS+A'
where

Note:

April 1995

STX

is the segment code

ANA:1

identifies version 1 of the TRADACOMS Syntax Rules

123:ABC CO

identifies the sender of the message in code and plain language

:XYZ CO

identifies the recipient of the messages in plain language only

811206:121500

811206 is the transmission date
121500 is the time of transmission

A143

is the sender's reference for the transmission

B26

is the recipient's reference for the transmission, if known to the
sender

ASYS

is an application reference

A

is a transmission priority code if required

1.

The data element specifications for this and all other standard segments are
contained in the TRADACOMS Data Element Directory and message
specifications in this manual.

2.

When using STX for transmissions across Value Added Networks, it is
recommended that the user manual is consulted as each has used the elements
in STX to achieve network addressing and control features. These are specific
usages of the elements defined in this segment and will have to be respected if
that service is used

Section A Page 20

2.6.2

Start of Transmission Segment (STX)
a)

Mandatory information included in this segment identifies:
-

b)

c)

2.6.3

Conditional information which can be included in the segment consists of:
-

the time of transmission

-

the recipient's reference for the transmission

-

an application code (this would enable a recipient to identify, at the STX
level, whether the transmission contained data for an import application,
an export application, an accounting application, etc.). The application
reference may also be used to indicate whether a transmission is 'live' or
'test' in status. In this case, the reference abbreviations given in Code
Values List 16 should be used

-

priority code

Figure A.4 contains an example of an STX segment in which all the conditional
data is illustrated.

End of Transmission Segment (END)
a)

This segment contains one data element, in which a count of the number of
messages in a transmission must be provided.

b)

The count includes all data messages in the transmission, to a maximum of
99,999 messages.
eg.

2.6.4

the syntax rules being used
the sender and recipient of the transmission
the date of transmission
the sender's reference for the transmission

END = 1'
END = 25'

indicates a transmission consisting of 1 message
indicates a transmission consisting of 25 messages

Interchange Messages
a)

With the exception of the standard segments STX and END used to delimit a
transmission, all data must be interchanged within a message.

b)

All messages begin with a Standard Message Header segment which has the
segment code MHD. All messages must end with the Standard Message
Trailer segment which has the segment code MTR.

c)

A transmission can consist of one message or any number of messages.

d)

A transmission containing one message can therefore be depicted as:
┌─── STX segment

April 1995

Section A Page 21

│
│
│ ┌── MHD segment
│ │
<
│ │
>
│ │
data
│ │
<
│ │
>
│ └── MTR segment
│
│
└─── END segment

e)

A transmission containing more than one message can be depicted as:
┌─── STX segment
│
│
│ ┌── MHD segment
│ │
<
│ │
>
│ │
data
│ │
<
│ │
>
│ └── MTR segment
│
│
└─── END segment

2.6.5

)
)
)
)
)
)

)

Repeated for each message

Message Header Segment (MHD)
a)

The MHD segment contains two mandatory data elements:
-

A Message Reference
This can be any unique reference allocated by the sender. In
TRADACOMS messages this takes the form of a consecutive count of
messages within a transmission.

-

A Message Type
This consists of two sub-elements, the message type itself and a number
to distinguish the different versions of a message which can arise due to
amendments to the message specification.

b)

An example of an MHD segment is:
MHD = 12 + ORDERS:4'
This identifies a data message of type ORDERS, that contains data relating to
the fourth version of the specification for ORDERS, and that it is the 12th
message in the transmission.

April 1995

Section A Page 22

2.6.6

Message Trailer Segment
a)

This segment contains one mandatory data element, which is a count of the
number of segments comprising the message.

b)

The count includes both the MHD and MTR segments and data segments
included in the message.
eg.

2.6.7

MTR = 7' indicates that a message consists of 7 segments

Formats for the Standard Segments
The standard formats for segments MHD and MTR are illustrated in all the message
formats in Volumes 2 and 3. The segments STX and END do not appear in messages.
Their standard formats are shown in Figure A.5 and at the beginning of Volume 2.

2.7

Repeated and Nested Data

2.7.1

Introduction

2.7.2

a)

A common requirement of many types of message is the need to repeat data
elements, or groups of data elements eg. an invoice could contain a number of
items, each item containing a product number, quantity, price, etc. A particular
data element must not be repeated within a data segment, but a data segment can
be repeated within a message.

b)

Sometimes a data element or group of data elements may repeat within an
already repeating group, for example an invoice can cover goods supplied under
several orders, and there may be many invoice item lines to each order. The data
elements for an invoice line item form what is called a 'nested' repeating group.
The data elements for a line item are grouped together in one repeating data
segment while the details for each order are grouped in another repeating
segment. The repeating segments are numbered and sequenced according to the
following rules:

Repeating Segments
a)

A sequence number data element is specified as part of a repeating data
segment. The sequence number starts at 1 for the first transmitted repeating
segment and is increased by 1 for each subsequent occurrence of this segment
within the message.
eg.

ODD = 1 + .....'
ODD = 2 + .....'
ODD = 3 + .....'

│
etc.
│
┌───────┘
│

order sequence number/count within invoice message
b)
April 1995

The sequence number reverts to one at the start of each message.
Section A Page 23

2.7.3

Nested Segments
a)

The principle of using sequence numbers is extended so that there is one
sequence number for each level of nesting. In this case, however, the sequence
numbers must indicate the hierarchical order of the data segments:eg.

ODD = 1 + .....'
1st level (highest or `parent' level)
ILD = 1 + 1 + .....' 2nd level (first invoice line sequence in first
order)
ILD = 1 + 2 + .....'
etc.
ODD = 2 + .....'
1st level
ILD = 2 + 1 + .....' 2nd level
ILD = 2 + 2 + .....'


└──────────┐
└───────────┐
│
1st level ─┘
└─
Sequence number

b)

Where necessary, the technique can be extended to cover more complicated
nesting situations:eg.

2.7.4

2nd level
Sequence number

AAA
AAB
AAB
AAC
AAC
AAD
AAC
AAB
AAC
AAB
AAA

=
=
=
=
=
=
=
=
=
=
=

1 + ..........'
1 + 1 + ..........'
1 + 2 + ..........'
1 + 2 + 1 + ..........'
1 + 2 + 2 + ..........'
1 + 2 + 2 + 1 + ..........'
1 + 2 + 3 + ..........'
1 + 3 + ..........'
1 + 3 + 1 + ..........'
1 + 4 + ..........'
2 + ..........'

Sequence Numbers
a)

On nested repeated segments the highest level sequence number must come first,
followed by the next highest and so on.

b)

Segments must be transmitted in the hierarchical sequence indicated in the above
examples.

2.8

Batching of Messages

2.8.1

Batching of Messages within a Transmission (BAT and EOB)
a)

April 1995

A transmission can be divided into a number of batches if such a facility is
required in a particular application. Batching is a conditional feature of the
syntax rules as it will not be a requirement of all interchanges.
Section A Page 24

b)

The facility must only be used, therefore, where the participants in an
interchange agree this in advance.

c)

A batch of data within a transmission begins with a Batch Header segment
which has the segment code BAT. A Batch is terminated by a Batch Trailer
segment which has the segment code EOB.

d)

A transmission consisting of a single batch of messages can be depicted as:┌──── STX segment
│
│ ┌─── BAT segment
│ │
│ │ ┌── MHD segment
│ │ │
<
│ │ │
>
│ │ │
data
│ │ │
<
│ │ │
>
│ │ └── MTR segment
│ │
│ └─── EOB segment
│
└──── END segment

e)

)
)
)
)
)
)

Repeated
for each
message
within a
batch

)
)
)
)
)
)
)
)
)
)
)

Repeated
for batch
within a
transmission

Batch Header Segment (BAT)
a)

This contains a reference allocated by the sender to the batch.
eg.

2.8.3

Repeated for each message

A transmission consisting of more than 1 batch of messages can be depicted as:┌──── STX segment
│
│ ┌─── BAT segment
│ │
│ │ ┌── MHD segment
│ │ │
<
│ │ │
>
│ │ │
data
│ │ │
<
│ │ │
>
│ │ └── MTR segment
│ │
│ └─── EOB segment
│
└──── END segment

2.8.2

)
)
)
)
)
)

BAT = 77421'

identifies a batch with the reference 77421

Batch Trailer Segment (EOB)
a)

This contains a count of the number of messages in a batch, including any
control messages.
eg.

April 1995

EOB = 29'

indicates that a batch consists of 29
messages

Section A Page 25

Figure A.5
START OF TRANSMISSION SEGMENT
END OF TRANSMISSION SEGMENT
DATA
ELEMENT

SEGMENT
STX

DATA ELEMENT NAME

=

+

+

END

F/V

PICTURE

REMARKS
(See also General Remarks in Directory)

START OF TRANSMISSION

M

Syntax Rules Identifier
Identifier

M
M

V

X(4)

:

Version

M

F

9

Value = ANA, may be ANAA if reconciliation facility
used
Value = 1

:

Identification of Transmission Sender
Code
Name

M
C
C

V
V

X(14)
X(35)

Code or name transmitted
Codes can be agreed by interchange parties
Mandatory if no code used

:

Identification of Transmission Recipient
Code
Name

M
C
C

V
V

X(14)
X(35)

Code or name transmitted
Codes can be agreed by interchange parties
Mandatory if no code used

:

Date and Time of Transmission
Date
Time

M
M
C

F
F

9(6)
9(6)

Format: YYMMDD
Format: HHMMSS (if required by the particular
application)

STDS

+

M/C

FROM

UNTO

TRDT

+

SNRF

Sender's Transmission Reference

M

V

X(14)

Reference for the transmission

+

RCRF

Recipient's Transmission Reference

C

V

X(14)

If known to sender

+

APRF

Application Reference

C

V

X(14)

Used by networks to validate transmission: does this
sender have authority to send this type of message to this
recipient?

+

PRCD

Transmission Priority Code

C

F

X(1)

Code Values List 1

END OF TRANSMISSION

M

Number of Messages in Transmission

M

V

9(5)

Control count of the number of messages in a tape or
transmission

=
NMST

NOTE: DETAILS OF THE WAY IN WHICH STX IS USED FOR TRANSMISSIONS VIA VALUE ADDED NETWORKS ARE GIVEN IN THE NETWORK USER MANUAL.
ANA recommends the use of EAN Location Numbers to identify sender and recipient.

April 1995

Section A Page 26

2.9

TRADACOMS CONVENTIONS
The UNGTDI syntax rules do not restrict the number and type of messages and files
which may be exchanged. However to simplify processing, particularly for the
recipient, the following TRADACOMS conventions have been established.
When other conventions are to be used in EDI communications, these need to be agreed
with trading partners, to ensure that the combinations of files and messages can be
processed correctly.

2.9.1

Single File Interchanges
A TRADACOMS File normally consists of a Header Message, one or more Detail
Messages, followed by a Trailer Message. This convention is illustrated in the diagram
below. For those messages which contain VAT information there is also a VAT Trailer
Message before the File Trailer Message.
┌─────────┬────────┬────────┬────────┬────────┬─────────┐
│ HEADER │ DETAIL │ DETAIL │ DETAIL │ DETAIL │ TRAILER │
└─────────┴────────┴────────┴────────┴────────┴─────────┘
When several orders are being transmitted in one interchange to a supplier it is the usual
practice to send all the Order Detail Messages within the same Header/Trailer Messages,
rather than repeating the Header and Trailer Messages for each Detail Message. This
improves the efficiency of the transmission.
It is recommended that there is one file for one recipient sent in each interchange
transmission. This permits control of the files transmitted and end to end audit trails
(see Volume 1 Section A Paragraph 8 Controls).
It is also recommended that there is one type of file in each interchange transmission as
this allows recipients to sort and select files for different applications using the
application reference in STX.

April 1995

Section A Page 27

3.

THE CONTEXT OF THE SYNTAX RULES

3.1

Applicability of the Syntax Rules to Various Interchange Environments

3.1.1

Introduction
In the following paragraphs the applicability of the rules to various types of interchange
environments is discussed:-

computer (or intelligent terminal) to computer (or intelligent terminal)

-

computer to unintelligent terminal (including facsimile and telex)

-

unintelligent terminal to computer

For the purpose of this discussion:-

3.1.2

-

a computer is any equipment used to construct messages in accordance with the
syntax rules (whether data is input manually or held on in-house computer
records), or any equipment used to translate messages structured in accordance
with the rules to meet in-house computer record or print layout requirements.
for instance, it can add separators, terminators, segment codes etc., to data at the
sender's end of a transmission and remove them at the recipient's end.

-

an unintelligent terminal is any equipment which cannot be, or is not, used to
construct and translate messages. It includes facsimile, telex and message
switching systems where data has to be manually prepared or interpreted.

Computer (or Intelligent Terminal) to Computer (or Intelligent Terminal)
This includes the interchange of data over telecommunications links and by a physical
medium, such as magnetic tape, where messages have been constructed by the sender's
computer and are translated by the recipient's computer.
The syntax rules are primarily intended for this form of interchange. They act as a
bridge between the internal requirements of the various interchange partners. Methods
of data capture by senders of messages and methods of output of data by recipients are
outside the scope of the syntax rules in this environment.
In this environment, errors caused by missing or wrongly used separators, or by other
incorrect use of the syntax rules, are likely to be minimal once trials have been
completed. It is strongly recommended that interchange partners carry out trials prior to
implementing an interchange system, not only to ensure that data has been correctly
formatted but also to ensure that the computers are compatible as far as the interchange
medium is concerned.
Unless economy of transmission is vital, errors should be corrected by re-transmitting
complete messages. This is the simplest form of correction. This subject is treated in
detail in paragraph 9 of Section C in Volume 1.

April 1995

Section A Page 28

3.1.3

Carriage Return and Line Feed Characters
These will not normally be included in computer-to-computer environments but it may
not be possible to assume that such a transmission will not contain these characters, eg.
the sender of the transmission may receive data which included these characters from
another organisation and pass the data to the recipient without editing the data. In
interchange systems where this could arise, participants could agree that senders of
messages would remove all such characters prior to computer-to-computer interchange.

3.1.4

Computer to Unintelligent Terminal (Including Facsimile and Telex)
The TRADACOMS system is based on computer-computer transfers of data. When an
unintelligent terminal is used to print or display messages the recipient will need a copy
of the message specification.
Intelligibility is aided by the use of segment codes and the graphic separators = + :' but
messages in syntax rules format are not designed primarily for human interpretation.
Carriage Return and Line Feed characters would need to be transmitted on telex. These
are not separator characters and can be used freely to improve the readability of
messages, eg. after each line of a name and address.

3.1.5

Unintelligent Terminal to Computer
The main difference between data prepared by computers and data which is manually
prepared is the likely increase in the incidence of errors, as neither data nor formats are
validated by computer prior to interchange.
Recipients should be tolerant of 'extra' spaces if any data might be manually prepared.
eg. MHD = 12 + ORDHDR :3'
Data input manually to the telex network or a message switching system will contain
fewer errors if input forms specially designed for each message are used.

3.2

Advantages of the Syntax Rules over Conventional Computer Records for
Interchange Systems
The conventional layouts in most in-house systems, in which each data element begins
in a fixed position within the character string comprising a record, have a number of
drawbacks for interchange systems. These paragraphs illustrate how the syntax rules
overcome these drawbacks, using progressive changes to conventional record layouts.

April 1995

Section A Page 29

3.2.1

Drawbacks of Conventional Layouts for Interchange Purposes
Intelligibility
Conventional records are rarely directly intelligible to people without considerable
computer processing experience. There are no segment codes or data element separators
to aid the identification of each data element and, unless special arrangements are made
to include a version number in a message, recipients cannot be certain that the necessary
amendments have been made by senders.
Media Space
Utilisation of media space may be poor, as data elements are usually padded to their
maximum length with leading zeros or trailing spaces. While this may not be critical on
magnetic tape, it could be critical over telecommunication links.
Inflexibility
There is no data independence in conventional layouts. Any change to a data element
length affects the position of all subsequent data elements within a message. A fully
detailed record layout needs to be agreed by all interchange partners even though some
individual participants may not require a particular data element. This makes
maintenance difficult.
Machine Dependence
Different makes of computers may set varying constraints on logical records and block
sizes. Conventions for variable length records on magnetic tape may differ.

3.2.2

How Syntax Rules Overcome these Disadvantages
(a)

Conventional Layout
Figure A.6 illustrates a conventional record layout which might be used for a
message based on part of an order. Each element begins in a fixed position and
is padded to its maximum length. In this example six elements/sub-elements are
not required, leaving spaces in the record layout. Only part of one order line is
shown; a full order could contain over a thousand lines.

April 1995

Section A Page 30

Figure A.6 Conventional Layout for Part of an Order Record
Record Layout

810303
0
6

Elements/Sub-elements

810313
12

1

USE GATE NO.6

Earliest delivery date, Latest delivery
date, Delivery instructions narrative.

5012345678900
56
69

52

Order line sequence no., Supplier's EAN
Trade Unit Code

12345A 5012345101019
77
90

Supplier's item no./code,
Supplier's EAN consumer unit code,
Retailer's own Brand no. (blank)

12
105

125

(b)

113

Retailer's item no. (blank), Consumer
units in trade unit, Ordering measure
(blank)

117

1000
131
136

144

Measure indicator (blank), No. of trade
units ordered, Total measure ordered
(blank), Measure indicator (blank), etc.

150

Segments
(i)

The first improvement that the Syntax Rules make to this conventional
layout is to divide one record for the whole order into shorter sub-records
or, as they are called in the standards, segments.
For example the delivery dates and instructions could be included in a
segment called DIN. The order line details could form part of a segment
called OLD. (Figure A.7.)

Figure A.7
DIN
810303
0
3
9

OLD
0
3

(ii)

April 1995

1
7

810313
15

USE GATE NO.6

5012345678900
20

12345A
28

etc

This technique gives three advantages:-

Better use can be made of media space. If there is no data in an
entire segment, then it can be omitted from the interchange
message.

-

Segment codes make a message more intelligible.

-

It is more flexible, as additional segments can be inserted without
difficulty.
Section A Page 31

(iii)

(c)

However, there are some disadvantages:-

A data element which is blank in a segment containing some
non-blank data elements still takes up media space eg. allowing
for orders by trade unit or measure in the OLD segment.

-

Data elements are identified solely by their position within the
segment. A change in the length of one element would
necessitate changing the position of all subsequent elements in
the segment. Data independence is therefore limited.

-

Another disadvantage is that each segment would need to start on
a computer record boundary, as there is no other easy way of
distinguishing the segment code. To complicate matters, each
type of segment could have a different length and some
computers cannot cope with variable length records: alternatively
all segments would need to be padded out to a common length
which would be wasteful of media space.

Separator Characters
(i)

The above difficulties are overcome in the Syntax Rules by the inclusion
of special characters to separate one data element from another, to
terminate a segment, to separate a segment code from the data and to
split a composite data element, where required, into its component parts.
Figure A.8 contains the same data as shown in the conventional record
layout in Figure A.6 but formatted according to the Syntax Rules.
Figure A.8 Syntax Rules Layout for Part of an Order Record
DIN=810303+810313++USE GATE NO.6'
OLD=1+5012345678900:12345A+5012345101019++12+1000+.....

In Figure A.8:-

(ii)
April 1995

-

A plus (+) is used to terminate each data element.

-

An apostrophe (') - or single quote - is used to terminate a
segment.

-

A colon (:) is used to separate one sub-element from another.

-

An equals sign (=) is used to separate a segment code from the
data.

-

A plus (++) is not used to terminate the last data element of a
segment as the apostrophe fulfils the purpose.

Padding can be omitted by incorporating separator characters. This
Section A Page 32

improves the use of media space. Figure A.8 uses 83 characters against
the 150 used in Figure A.6.

3.2.3

(iii)

Separators help to make the message more intelligible.

(iv)

Data element lengths can be altered without affecting the identification
of subsequent data elements.

(v)

Segments need not begin on a computer record boundary as the use of
separators clearly distinguishes the segment code. Message and segment
lengths, therefore, need not be dictated by such constraints as
input/output block sizes, particular conventions on the use of variable
length records, the physical characteristics of punched cards,
telecommunications, protocols etc. Anyone interchanging data on a
variety of media or between machines using different conventions needs
to be free of such restraints.

Absence of Data
In many messages some of the data will be mandatory (ie. it must always be present) and
some will be conditional (ie. it might or might not be present depending upon the
sender, mode of transport, type of goods etc.). The absence of data can be indicated
efficiently in three ways using the syntax rules:-

Where no data need be transmitted for an entire segment, the segment need not
be transmitted at all (ie. where all the data elements are conditional).

-

Where one or more data elements at the end of a segment are absent, the
segment may be truncated, eg. if there are five data elements in a segment and
data is only required for the first two A and B, this can be represented by:segment code = data for A + data for B'

-

Where no data is required for an element which precedes another element for
which data is required in a segment, the absence of data can be indicated by the
data element separator character. For example, if there is no data for element B
in the sequence of elements A, B, C this can be represented by:segment code = data for A ++ data for C'

3.2.4

Conclusion
One point should be re-emphasised - it is not proposed that conventional, in-house
record layouts or databases as used by application programs should be replaced by ones
structured according to the syntax rules. The rules are used to structure messages at the
point of interchange as a "bridge" between differing systems. The sender converts from
his internal record layouts and the recipient converts into his internal record layouts.
The fact that the sender may have conventional files and the recipient a database will not
affect the success of the syntax rules as a bridge for the transfer of data between the two
systems. The syntax rules are also being used to transfer data between different parts of
the same company.

April 1995

Section A Page 33

SECTION B
STANDARD DATA ELEMENT DIRECTORY

CONTENTS

Page No.
1.

INTRODUCTION

2

2.

THE DATA ELEMENT DIRECTORY COLUMN HEADINGS

3

2.1

Identifier

3

2.2

Data Element Name

3

2.3

Used in Segment(s)

3

2.4

M/C

3

2.5

F/V

3

2.6

Picture

3

2.7

General Remarks

3

3.

DATA ELEMENT DIRECTORY

4

4.

DATA NAME INDEX

April 1995

72

Section B Page 1

SECTION B - THE STANDARD DATA ELEMENT DIRECTORY

1.

INTRODUCTION
All current ANA TRADACOMS data elements which appear (or have appeared) in
published messages are listed here, with their standard names and identifier codes. The
directory contains the full definition of each data element, with sub-elements for
composite data elements. The data segments in which the elements are used is indicated
in the following table. The standard messages and files in which the segments appear
can be found in the Segment Directory in Section C.
To achieve uniformity across all message formats, the definitions given here are
replicated within the segments and messages in which they are included. However there
may be additional specific General Remarks in particular file formats given in Volumes
2 and 3 of the manual.
The Directory is in alphabetical order of the Identifier codes. There is also a list of
elements in Data Element Name order, to aid users wishing to find a particular data type.
The Reference Numbers given in the previous edition of the manual are also listed.
These reference numbers were used to group the data elements into the following
categories:
The Categories of Data Elements
1

Start of Transmission, End of Transmission, Message Header, Message Trailer.

2

File Identification Details.

3

Customer and Supplier Details.

4

Codes, Special Indicators/Identifiers, Counts, Sequence Numbers.

5

References, Dates, Units, Quantities.

6

Cost Details, Discount Amounts/Totals, Percentages.

7

Amounts, Sub-Totals.

8

Totals, Hash Totals.

9

General Descriptive Text/Narrative.

April 1995

Section B Page 2

2.

THE DATA ELEMENT DIRECTORY COLUMN HEADINGS

2.1

Identifier
The unique 4-alpha identifier allocated to the data element. This is used as a data
element name in high level programming.

2.2

Data Element Name
The standard name allocated by the ANA. Names indented indicate the sub-elements of
a composite data element.

2.3

Used in Segments
The segment, or segments, in which the data element is used. Reference to the Segment
Directory in Section C of this manual will indicate the standard messages and files in
which the segments are used. (Any subsequent amendments to the data elements can
thus be traced through to all the documentation and programs affected).

2.4

M/C
Indicates whether the data element is mandatory (M) or conditional (C) in each segment
in which it is used. Also whether the sub-elements are mandatory or conditional within
a composite data element.

2.5

F/V
Indicates whether the data element, or sub-element, is of fixed (F) or variable (V) length.

2.6

Picture
Indicates the number of numeric (9) digits or alphanumeric (X) characters allowed in the
data field. If the field is numeric, this excludes any minus sign or the decimal point.
The decimal point is implied and its position within the data field is indicate by V.

2.7

General Remarks
These are the remarks that are appropriate to the data element, or sub-element, in all
contexts in which it is used. In any particular message format these remarks may be
supplemented by message-specific remarks and/or reformulated to particularise their
meaning in that message.

April 1995

Section B Page 3

4.

DATA NAME INDEX

This lists the data elements in name order

April 1995

Section B Page 4

DATA NAME INDEX

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
ANA Code for Garment Maker

11.004

GMAK

1

ANA Credit Reason Code

4.015

CRRE

1

Accept/Reject Indicator

.000

ACRE

3.205

ACID

Account Identifier
Account Identifier

REFF

Account Name

3.205

ACID

2

Account Number

3.205

ACID

1

Account Reference
Accumulation Rules
Acknowledged Unit Cost Price

MARF
.000

ACCR

6.020

AUCT

Acknowledgement Code

ACDE

Acknowledgement Date

ACDT

Action

ACTN

Action Code

ACTN

Action Comment
Actual Adjustment

ACTN

1
2

.000

AADJ

4.230

APIN

Adjustment Amount

.000

AADJ

Adjustment Factor

.000

ADJF

Adjustment Factor Code

.000

ADJF

1

Adjustment Factor Value

.000

ADJF

2

Adjustment Percentage

.000

AADJ

1

Adjustment Type Indicator

.000

ADJT

Advice Note Date

11.021

ADVN

Advice Note Details

11.021

ADVN

Advice Note Number

11.021

ADVN

Advised Lengths

.000

ADLG

Advised Quantity

.000

AQTY

Advised Units

.000

ADUN

Advised Weights

.000

ADWT

Allowance/Charge Indicator

.000

AOCI

3.080

VATN

Actual/Proposed Status Indicator

Alphanumeric VAT Registration No.

April 1995

2

2

1

2

Section B Page 73

Alphanumeric VAT Registration No.

3.081

VATR

2

Amended Invoice Reference

.000

VDAA

4

Amount Payable

.000

AMPA

Amount Payable

7.140

AMPY

ANMW Multiple Group Member

CUSG

Application Reference

1.070

APRF

Application Text

9.130

RTEX

2

Application Text

9.130

RTEX

4

Application Text

9.130

RTEX

6

Application Text

9.130

RTEX

8

Area of Exception Condition

9.200

AEXC

Area of Exception Condition

9.200

AEXC

1

Area Manager

MAMN

Association Indicator

MUNE

1

Attribute Code

DATT

1

Attribute Code

TIME

1

Authentication Result

8.300

AUTR

Authentication Result 1

8.300

AUTR

1

Authentication Result 2

8.300

AUTR

2

Authentication Result 3

8.300

AUTR

3

Authorisation

.000

AUTT

Authorisation

3.092

LEVC

Authority Reference

5.405

AUTH

Availability Reference/Series No.

5.400

AREF

Back Order Indicator

4.420

DIND

Balance Brought Forward

.000

BABF

Balance Brought Forward

.000

BABF

1

5.650

OUBA

2

Balance Date
Balance of Outstanding Prepayments Received
Bank Identity Code

BKIC

12.000

BKIN

Bank Name

3.220

BNAM

Bank/Branch Identifier

3.210

BBID

Barcode as Printed on Cover

.000

IBCM

Base Price per Unit

.000

BPRI

Batch ID

.000

REPN

April 1995

2

PAYB
4.515

Bank Information

2

1

Section B Page 74

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Batch Number

.000

BATN

Bill File Total Amount before VAT

.000

FASU

Bill File Total Amount before VAT

.000

FASU

Bill File Total Payable inc. VAT

.000

FPSU

Bill File Total Payable inc. VAT

.000

FPSU

Bill File Total VAT Amount

.000

UVAT

Bill File Total VAT Amount

.000

UVAT

Bill Frequency Code

.000

BIFR

Bill Total VAT Amount Payable

.000

UTVA

Bill Total VAT Amount Payable

.000

UTVA

Bill Type Code

.000

BTCD

Blend/Merge Number

.000

BLND

Booking In Necessity

3.015

BINN

Branch Claim Quantity

10.095

BCMQ

Branch Claims File Total

10.025

BCFT

Branch Claims Total

10.140

BCMT

Calorific Value

.000

CLVM

Calorific Value in Specified Units

.000

CLVM

Carrier Details

.000

CARD

Carrier Sortation Data

1

1

1

1

1

CSOR

Carrier's EAN Location Number

.000

CARD

1

Carrier's Identity Allocated by Cus

.000

CARD

2

11.022

CARN

.000

AMPA

4.080

CSDI

Charge End Date

.000

CEDT

Charge Start Date

.000

CSDT

Charge Type Code

.000

CCDE

Chargeable Storage Medium Indicator

.000

CSTI

Claim Note Date

10.045

CLDT

Claim Note Number

10.040

CLNN

Carrier's Name
Cash Back

Amount

Cash Settlement Discount Identifier

Claims End Date
Claims End Date

CEDD
.000

Claims Start Date
Claims Start Date

April 1995

2

ICSE
CSTD

.000

ICSD

Section B Page 75

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Classification System
Closing Stock for the Period

RCAT
5.410

1

CLSK

Code

ACDE

1

Code

.000

AUTT

2

Code

1.020

FROM

1

Code

1.030

UNTO

1

Code Table Number

9.140

DNAC

1

Code Value

9.140

DNAC

2

Code Value

LATT

2

Code Value

LATT

4

Code Value

LATT

6

Code Value

LATT

8

Code for Replaced Item

3.100

CORI

Code for Unit Contained

3.110

UCON

.000

REPN

Collection Note Date

5.046

CNDT

Collection Note Number

5.043

CNNR

Colourway Description

.000

COLW

2

Colourway Number

.000

COLW

1

Colourway References

.000

COLW

Collection Method

2

Comment

ACDE

2

Company Identifier (non-EAN)

COTN

3

Company Trade Name

COTN

Company Trading Name Code

COTN

Company Trading Name Title
Composition

1
COTN

11.011

COMP

Consumer Units in Traded Unit

5.120

UNOR

Consumption (Adjusted Units)

.000

CONA

Consumption (Base Units)

.000

CONB

Consumption (Billing Units)

.000

CONS

Consumption/Charge Indicator

.000

CCDE

2

1

1

Contact Details

CONT

Contact Fax Number

CONT

3

Contact Name

CONT

1

Contact Name

April 1995

3.165

CTNM

Section B Page 76

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Contact Name at Customers

11.007

CCON

Contact Name at Dyers/Suppliers

11.006

DCON

Contact Telephone Number
Contract Number
Contruction/Yarn Type

CONT

2

5.550

SCRF

11.010

CNST

Copies Claimed

COPC

Copies Rejected

CREJ

2

Cost Price

6.010

OUCT

1

Cost Price (before VAT)

6.020

AUCT

1

.000

REPN

5

Country Code
Country of Origin

CUDA

2

Cover ID Format

.000

IDCI

2

Cover Identification

.000

IDCI

1

Cover Identification and Format

.000

IDCI

Cover Price In Pence

.000

IRCP

06.051

CDSV

Credit Indicator

.000

BABF

2

Credit Indicator

.000

CTOT

2

Credit Indicator

.000

FASU

2

Credit Indicator

.000

FBAB

2

Credit Indicator

.000

FPSU

2

Credit Indicator

.000

FTOP

2

Credit Indicator

.000

MVAL

2

Credit Indicator

.000

PTOT

2

Credit Indicator

.000

TBTL

2

Credit Indicator

.000

USDI

2

Credit Indicator

.000

UTVA

2

Credit Indicator

.000

UVLT

2

Credit Indicator

.000

UVTT

2

Credit Indicator

.000

VTVC

2

Credit Line Indicator

4.060

CRLI

Credit Line Indicator

.000

PPAM

2

Credit Line Indicator

.000

UCSI

2

Credit Line Indicator

.000

UPSI

2

Credit Line Indicator

.000

UVAT

2

Credit Discount Value

April 1995

Section B Page 77

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Credit Line Indicator

.000

UVLA

Credit Note Date

5.106

CRDT

Credit Note Number

5.036

CRNR

Credit Reason Description

4.015

CRRE

3

Credit Value (before VAT)

6.026

UCRV

1

Currency

.000

QPER

5

Currency Indicator

.000

CUIN

Current Price Schedule Reference

.000

CPSC

Customer Card Number

.000

PANN

Customer Classification

2

1

RCAT

Customer Group EAN Number

CUSL

Customer Group Location

1
CUSL

Customer Group Name

CUSN

Customer Price After Discount

6.130

ACPR

Customer Price Before Discount

6.120

BCPR

Customer Telephone Number

CTEL

Customer's Address

3.032

CADD

Customer's Address Line 1

3.032

CADD

1

Customer's Address Line 2

3.032

CADD

2

Customer's Address Line 3

3.032

CADD

3

Customer's Address Line 4

3.032

CADD

4

Customer’s Allowance

CALL

Customer's Code for Order Office

3.155

OLOC

2

Customer's Code for Transmission Re

3.024

ITRA

2

Customer's EAN Location Number

3.020

CIDN

1

Customer's EAN Location Number

3.000

CLOC

1

Customer's ID Allocated by Supplier

3.020

CIDN

2

Customer's Identity

3.020

CIDN

Customer's Instruction Number

5.610

INRF

1

Customer's Invoice Location Code

3.022

ILOC

2

Customer's Item Code

3.040

CPRO

2

Customer's Item Code

3.046

CPRS

2

Customer's Item Code

3.110

UCON

5

Customer's Item Code

3.100

CORI

5

Customer's Location

3.000

CLOC

April 1995

Section B Page 78

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Customer's Name

3.030

CNAM

Customer's Order Number

5.010

ORNO

1

Customer's Own Brand EAN Number

3.100

CORI

4

Customer's Own Brand EAN Number

3.040

CPRO

1

Customer's Own Brand EAN Number

3.046

CPRS

1

Customer’s Own Group Code

CUSL

2

Customer's Own Location Code

3.000

CLOC

2

Customer's Own Location Code

3.029

CLOE

2

Customer's Own Location Code

3.028

CLOS

2

Customer's Post Code

3.032

CADD

5

Customer's Product Number

3.040

CPRO

Customer’s Reference

REFF

2

Customer's Region Code

3.009

REGC

Customer's Statement Location Code

3.026

SLOC

Customer's Substituted Product Code

3.046

CPRS

Customer's VAT Registration Number

3.081

VATR

Customers Price List

5.660

PLND

2

Customer's Own Brand EAN Number

3.110

UCON

4

Customs Information

2

CUDA

Customs Form Type Indicator

CUDA

3

DUN-14 Code

3.110

UCON

3

DUN-14 Code for Traded Unit

3.070

SPRO

3

DUN-14 Code for the Traded Unit

3.076

SPRS

3

DUN-14 Code of Replaced Item.

3.100

CORI

3

10.517

STLD

9.140

DNAC

Data Lines
Data Narrative Code
Date Attributes

DATT

Date Goods Delivered to Customer

5.050

PODN

2

Date Goods Uplifted from Customer

5.580

POUN

2

Date Instruction Recv'd by Supplier

5.610

INRF

4

Date Instruction Placed by Customer

5.610

INRF

3

Date Order Received by Supplier

5.010

ORNO

4

Date Order Placed by Customer

5.010

ORNO

3

Date Range

5.116

DARA

Date and Time of Transmission

1.040

TRDT

April 1995

Section B Page 79

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Date at End of Period

10.522

RTRS

4

.000

VDAA

2

Date of Delivery/Uplift Units

5.038

UPLN

2

Date of Document

5.040

DELN

2

10.522

RTRS

1

Date of Invoice

5.100

IVDT

Date of Message

5.310

MEDT

1

Date of Transmission

1.040

TRDT

1

Date of Change

5.113

DACH

Date Relating to Message

5.705

DATE

Date of Bill Withdrawn

Date of First Entry

Daytime Number
Debit Line Indicator

CTEL

1

04.065

DRLI

Debit Note Date

5.103

DNDT

Debit Note Number

5.033

DNNR

10.000

IDEL

3.012

DELT

Delivery Address Line 1

.000

DADD

1

Delivery Address Line 2

.000

DADD

2

Delivery Address Line 3

.000

DADD

3

Delivery Address Line 4

.000

DADD

4

Delivery Condition

4.200

DELC

Delivery Confirmation Action

4.390

DUAC

Delivery Indicators

4.420

DIND

Delivery Instruction Narrative

9.020

DINS

Delivery Instruction Number

5.560

DINN

Delivery Instructn Narrative Line 1

9.020

DINS

1

Delivery Instructn Narrative Line 2

9.020

DINS

2

Delivery Instructn Narrative Line 3

9.020

DINS

3

Delivery Instructn Narrative Line 4

9.020

DINS

4

Delivery Lead time

5.672

DLED

Delivery Note Details

5.040

DELN

Delivery Note Number

5.040

DELN

Delivery Period End Date

5.090

DVED

Delivery Post Code

.000

DADD

Delivery Quantity

5.165

DELQ

Deleted Issue Indicator
Deliver To

April 1995

2

1

5

Section B Page 80

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Delivery Round Code

CSOR

4

Delivery Volume

5.137

DEVL

Delivery Weights

5.135

DEWT

Delivery to Address

.000

DADD

Delivery to Location

.000

ELOC

Delivery to Name

.000

DNAM

4.390

DUAC

.000

DEPT

Delivery/Uplift Action
Department
Depot Code
Depot Code

CSOR
4.330

Depot Name

3

DEPO
CSOR

2

Design Description

.000

DESN

2

Design Number

.000

DESN

1

Design References

.000

DESN

Despatch From

3.017

DESF

Despatch Location

3.150

DLOC

Direct to Customer Indicator

DCUS

Discount Amount for Invoice Quanty.

6.060

QYDA

Discount Amount for Invoice Value

6.070

VLDA

Discount Applicability Dates

5.676

DAPD

Discount Percentage

6.100

DSCP

Discount Reclaimed for Credit Qty

6.066

QYCA

Discount Reclaimed for Credit Value

6.076

VLCA

Discount Type

4.231

DTYP

Discount Value

6.050

DSCV

Discount Value Graduations

5.678

DVGD

Dye Lot/Shade Order Number/Sort No.

.000

LOTN

Dyeing Instructions

.000

DYEI

Dyeing Instructions Line 1

.000

DYEI

1

Dyeing Instructions Line 2

.000

DYEI

2

Dyeing Instructions Line 3

.000

DYEI

3

Dyeing Instructions Line 4

.000

DYEI

4

EAN Article Number

11.003

YAGT

1

EAN Article Number

11.002

YSUP

1

3.120

METO

1

EAN Location No of Dept/Person

April 1995

Section B Page 81

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
EAN Location Number

3.029

CLOE

1

EAN Location Number

3.028

CLOS

1

EAN Location Number

.000

ELOC

1

EAN Location Number

11.005

FCUS

1

EAN Location Number

11.001

GSUP

1

EAN Location Number

3.022

ILOC

1

EAN Location Number

3.024

ITRA

1

EAN Location Number

PARL

1

EAN Location Number

PLOC

1

EAN Location Number

.000

REPN

3

EAN Location Number

3.026

SLOC

1

EAN Location Number

3.152

TLOC

1

11.009

QLTF

3

EAN-13 Article No for Unit of Trade

3.076

SPRS

1

EAN-13 Article No.for Unit of Trade

3.070

SPRO

1

EAN-13 Article Number

.000

CCDE

2

EAN/ISSN Number

.000

IDID

EFTPOS Transaction Type

.000

EFTT

Earliest Delivery Date

5.060

EDAT

Earliest Time

5.075

RATM

EAN-13 Article Number

Earliest Time

RTHD

1
1

Earliest Uplift Date

5.620

EUDT

Electronic Transmission From/To

3.019

ETFT

End Customer's Location Identity

3.029

CLOE

End Date

5.676

DAPD

2

End Date

5.116

DARA

2

End Date

DATT

3

End Date

5.674

PAPD

2

End Date

.000

SUMO

2

End Date

TRDD

3

End of Range

PROD

3

End Time

LUHR

2

End Time

TIME

3

End Use of Fabric/Yarn
EPOS Till Indicator

April 1995

.000

ENDU
EPTI

Section B Page 82

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Evening Number

CTEL

Exception Code

5.715

ECOD

Exception Text

9.205

ETXT

Expected Delivery Date

5.655

XDAT

.000

PANN

Extended Line Cost (before VAT)

6.030

LEXC

Extended Sub-Total Amount (after sd

7.060

ASDA

Extended Sub-Total Amount before sd

7.040

EVLA

Expiry Date

Fax Number

2

FAXN

File (Reel) Identification

2.040

FLID

File Creation Date

2.030

FLDT

File Generation Number

2.010

FLGN

File Sub-Total Amount (after sd)

7.100

VSDI

File Sub-Total Amount (before sd)

7.090

VSDE

File Sub-Total Payable (after sd)

7.130

VPSI

File Sub-Total Payable (before sd)

7.120

VPSE

File Tot No of Picking Instructions

4.350

FTPC

File Total Amount (after sd, no VAT

8.110

FASI

File Total Amount (before VAT & sd

8.100

FASE

File Total Balance Brought Forward

.000

FBAB

File Total Balance Brought Forward

.000

FBAB

File Total No of Report Messages

10.520

FTSR

File Total No. of Invoices/Credit

4.117

FTNI

File Total Number of Acknowlegments

4.400

FTAK

File Total Number of Adjustments

4.380

FTNA

File Total Number of Confirmations

4.320

FTCO

File Total Number of Debit Advices

8.330

FTND

File Total Number of Deliveries

4.112

FTDE

File Total Number of EFT Messages

.000

FTEM

File Total Number of Hot Messages

.000

FTNH

File Total Number of Orders

4.100

FTOR

File Total Number of Payment Msgs

8.305

FTNP

File Total Number of Snapshots

4.310

FTNS

File Total Number of Uplifts

4.370

FTUP

File Total Payable after sett disc

8.140

FPSI

April 1995

2

1

Section B Page 83

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
File Total Payable before sett disc

8.130

FPSE

File Total VAT Amount

8.120

FVAT

File Total VAT for VAT Category

.000

VTVC

File Total VAT for VAT Category

.000

VTVC

File Total for VAT Cat (before VAT)

.000

USDI

File Total for VAT Cat (before VAT)

.000

USDI

File Total for VAT Category (incVAT

.000

UPSI

File Total for VAT Category (incVAT

.000

UPSI

File Total of Availability Reports

4.360

FTAR

File Total of Payment Details

.000

FTOP

File Total of Payment Details

.000

FTOP

File Total of Credit Advice Msgs

8.320

FTNC

File Total of Debit Advice Msgs

8.330

FTND

File Total of Exception Reports

8.310

FTNE

File VAT Sub-Total

7.110

VVAT

File Version Number

2.020

FLVN

11.005

FCUS

.000

MARK

Finished Quality

11.009

QLTF

Finished Quality Code

11.009

QLTF

1

Finished Quality Description

11.009

QLTF

2

Finished Quantity for Shade

.000

TSHD

2

Finished Width in cms.

.000

FWID

Finishing Instructions

.000

FINI

Finishing Instructions Line 1

.000

FINI

1

Finishing Instructions Line 2

.000

FINI

2

Finishing Instructions Line 3

.000

FINI

3

Finishing Instructions Line 4

.000

FINI

4

Final Customer
Finished Markings

1

1

1

1

1

2

First Attribute Code Table

LATT

1

First Class Code/Value

RCAT

2

First Level Sequence Number

4.141

SEQA

First Name

MAMN

2

First Name

MANA

2

First Name

PROP

2

First Registered Application Code

April 1995

9.130

RTEX

1

Section B Page 84

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Fourth Attribute Code Table

LATT

7

Fourth Class Code/Value

RCAT

5

Fourth Level Sequence Number

4.144

SEQD

Fourth Registered Application Code

9.130

RTEX

.000

IDFE

Frequency of Publication
Frequency/Schedule

7

DATT

4

From

5.678

DVGD

1

From

6.685

PVGD

1

Full Title (Publisher)

.000

IDFT

Fully SOR Indicator

.000

IPFS

11.004

GMAK

General Narrative

9.040

GNAR

General Narrative Line 1

9.040

GNAR

1

General Narrative Line 2

9.040

GNAR

2

General Narrative Line 3

9.040

GNAR

3

General Narrative Line 4

9.040

GNAR

4

Garment Maker

Grade

MGRD

Graduated Price

6.160

GRPR

Graduated Scale Price

6.160

GRPR

Graduation Type

4.432

GTYP

.000

MARK

Grey Quality

11.008

QLTG

Grey Quality Code

11.008

QLTG

1

Grey Quality Description

11.008

QLTG

2

Grey Width in cms

11.015

GWID

Grey Supplier

11.001

GSUP

Gross Length

.000

ADLG

1

Gross Weight

.000

ADWT

1

Gross Weight of Storage Medium

.000

UGST

5.230

UGWT

10.065

GRAL

8.170

WTVT

.000

UHST

5.260

UHYT

Grey Markings

Gross Weight of Unit
Growth Allowance
Hash Total of Variable Measures
Height of Storage Medium
Height of Unit
Home Delivery Indicator

April 1995

1

1

HOMD

Section B Page 85

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Hours

5.672

DLED

House Over File Total

10.030

HSFT

House Over Quantity

10.100

HSOQ

House Over Total

10.145

HSOT

ID of Transmission Recipient

1.030

UNTO

ID of Transmission Sender

1.020

FROM

Identifier

1.010

STDS

1

Identity Allocated by Customer

11.003

YAGT

2

Identity Allocated by Customer

11.005

FCUS

2

Identity Allocated by Customer

11.004

GMAK

2

Identity Allocated by Customer

11.001

GSUP

2

Indentity Allocated by Customer

11.002

YSUP

2

Initial Supply File Total

10.001

INFT

Initial Supply Quantity

10.070

INSQ

Initial Supply Total

10.115

INST

.000

INSD

Instruction References

5.610

INRF

Invoice Location

3.022

ILOC

Invoice Number

5.030

INVN

Invoice Period End Date

5.080

IVED

Invoice System EAN Location Number

3.180

INLO

Invoice System Location Details

3.180

INLO

Invoice System Supplier's Own Code

3.180

INLO

Invoice To

3.013

INVT

Invoice To Address

3.175

IADD

Invoice To Address Line 1

3.175

IADD

1

Invoice To Address Line 2

3.175

IADD

2

Invoice To Address Line 3

3.175

IADD

3

Invoice To Address Line 4

3.175

IADD

4

Invoice Transmission Recipient

3.024

ITRA

Issue Number

10.055

ISNO

Issue Number

.000

PANN

Issue Period To

.000

IPTO

Issue Period from

.000

IPFR

4.070

IGPI

Installation Date

Item Group Identifier

April 1995

2

1

2

4

Section B Page 86

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Journey Reference

5.510

JORF

Labels Per Package

LPCK

Last Date for Order

.000

ISOD

Last Issue Indicator

.000

ILST

Latest Delivery Date

5.070

LDAT

Latest Time

5.075

RATM

Latest Time

2

RTHD

2

Latest Uplift Date

5.625

LUDT

Layers Per Pallet

5.220

LPAL

.000

ULST

Length of Unit

5.240

ULTH

Level Code

3.092

LEVC

Level References

3.092

LEVC

Line Document Amount Payable

6.180

LIDA

Line Document Date

5.055

LIDR

Line Document Discount Taken

6.210

LIDD

Line Document Number

5.055

LIDR

Line Document Reference

5.055

LIDR

Line Document Total (Exc. VAT & sd.

6.190

LIDT

Line Document VAT

6.200

LIDV

Lines Acknowledged

4.395

LACK

Lines Confirmed

4.093

LCON

Lines Delivered

4.095

LDEL

Lines Ordered

4.090

LORD

Lines Sub-Total (before sett. disc.

7.030

LVLA

Lines Total Amount (before sett dis

8.010

LVLT

Lines Uplifted

4.097

LUPL

10.525

LOCA

Location Address

3.004

LADD

Location Address Line 1

3.004

LADD

1

Location Address Line 2

3.004

LADD

2

Location Address Line 3

3.004

LADD

3

Location Address Line 4

3.004

LADD

4

Length of Storage Medium

Location Activity Indicator

Location Attributes

LATT

Location Code

LOCO

April 1995

1

2

1

Section B Page 87

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Location Name

3.002

LNAM

Location Post Code

3.004

LADD

Location Telephone Number

3.006

LTEL

Location Telex Number

3.007

LTLX

Location Values/Measurements

5

LVAL

Lot & Shade Details Ordered

.000

NLSD

Lot & Shade Line Details Ordered

.000

NLLD

Lunch Hour

LUHR

Manager/Contact

MANA

Manufacturer's EAN-13 Article Numbr

3.100

CORI

1

Manufacturer's EAN-13 Article No.

3.110

UCON

1

Manufacturer's Recom. Selling Price

6.140

SPRI

1

Manufacturers recommended selling

6.141

MSPR

1

Marked Price

6.141

MSPR

3

Marked Price

6.140

SPRI

2

Marked Price

6.141

MSPR

2

Markings

.000

MARK

Master File Total No. of Hot Card

.000

FTNM

Maximum Ordering Value

5.675

MOVL

2

Maximum Ordering quantity

5.670

MOQY

2

Maximum Storage Temperature

5.290

TMAX

Measure

LVAL

3

Measure From

.000

PQGD

2

Measure Indicator

.000

AQTY

3

Measure Indicator

5.410

CLSK

3

Measure Indicator

5.165

DELQ

3

Measure Indicator

5.677

DQGD

3

Measure Indicator

5.677

DQGD

6

Measure Indicator

LVAL

4

Measure Indicator

5.670

MOQY

4

Measure Indicator

5.140

OQTY

3

Measure Indicator

6.010

OUCT

2

Measure Indicator

.000

PQGD

6

Measure Indicator

5.190

QADJ

3

Measure Indicator

.000

QPER

3

April 1995

Section B Page 88

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Measure Indicator

5.194

QPRO

3

Measure Indicator

5.180

QTYC

3

Measure Indicator

5.150

QTYI

3

Measure Indicator

5.192

QTYP

3

Measure Indicator

5.175

QTYR

3

Measure Indicator

5.170

QUTF

3

Measure Indicator

5.595

RQTY

3

Measure Indicator

5.185

SQTY

3

Measure Indicator

6.026

UCRV

2

Measure Indicator

5.120

UNOR

3

Measure Indicator

5.167

UPLQ

3

Measure Indicator

.000

XQTY

3

Measure Indicator

6.020

AUCT

2

Measure Indicator

.000

PQGD

3

Measure of Weight

WGHT

Message Date and Time

5.310

MEDT

Message Reference

1.090

MSRF

Message To

3.120

METO

Message Total

.000

TVTP

Meter Location

.000

MLOC

Meter Number

.000

MTNR

Meter Sub-address
Method

1

MSAD
.000

AUTT

1

Minimum Ordering Value

5.675

MOVL

1

Minimum Ordering Quantity

5.670

MOQY

1

Minimum Storage Temperature

5.280

TMIN

Mixed VAT Rate Product Indicator

4.028

MIXI

Modifier Category

.000

MCAT

Modifier Code

.000

MCDE

Modifier Value

.000

MVAL

Modifier Value

.000

MVAL

Monthly Charge Deferred Value

.000

MCDV

Multiple Newsagent

1

MUNE

Name

1.020

FROM

2

Name

1.030

UNTO

2

April 1995

Section B Page 89

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Name of Agent

11.003

YAGT

9.060

SCAR

.000

INAM

3.120

METO

3

Name of Final Customer

11.005

FCUS

3

Name of Garment Maker

11.004

GMAK

3

Name of Grey Supplier

11.001

GSUP

3

Name of Yarn Supplier

11.002

YSUP

3

Name of Carrier
Name of Company to be Invoiced
Name of Department or Person

National Federation Member Indicator

3

NAFE

Nature of Hot Card

.000

NOHC

Negative Indicator

.000

CONA

3

Negative Indicator

.000

CONB

3

Negative Indicator

.000

CONS

3

Negative Indicator

.000

NUCT

3

Negotiated Min Remaining Shelf Life

5.300

NMRS

Net Credit Value (before VAT)

6.036

EXLV

Net Length

.000

ADLG

2

Net Price

6.683

SBPR

2

Net Price

6.684

STPR

2

Net Sale File Total

10.015

NTFT

Net Sale Quantity

10.085

NTSQ

Net Sales Total

10.130

NTST

.000

ADWT

Net Weight
News Force Member Indicator
New Status

NEFO
4.222

Nominated Delivery Day

NSTA
CSOR

Number of Availability Reports

4.280

NOPA

Number of Closing Stock Order Units

5.410

CLSK

Number of Customer Locations

5

1

NOCR

Number of Days

.000

PAYY

Number of Days' VAT

.000

NDVT

Number of Delivery or Uplift Units

5.130

NODU

Number of Ends/Panels Making Up Uni

.000

NOEP

Number of Finished Units

.000

ADUN

Number of Interchange Messages

.000

TINT

April 1995

3

1

2

Section B Page 90

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Number of Item Lines

4.110

NRIL

Number of Lines Picked in Order

4.270

NOPP

Number of Location Records
Number of Location Records

1

NOLO
4.118

NOLR

10.519

STLN

Number of Locations for Delivery

4.340

LOCD

Number of Messages in Batch

4.116

NOLI

Number of Messages in Transmission

1.120

NMST

Number of Order Units

5.170

QUTF

1

Number of Order Units Produced

5.194

QPRO

1

Number of Periods in a Base Cycle

10.522

RTRS

5

Number of Product Lines Picked for

4.270

NOPP

Number of Product References

4.114

NOPR

Number of Products Reported

10.518

STPT

Number of Report Segments per Row

10.522

RTRS

Number of Segments in Message

1.110

NOSG

Number of Text Segments

8.240

NOTX

Number of Total Segments

.000

NCST

Number of Total Segments

4.120

NSTL

Number of Total Segments

4.120

NSTL

1

Number of Traded Units Adjusted

5.190

QADJ

1

Number of Traded Units Credited

5.180

QTYC

1

Number of Traded Units Expected

.000

XQTY

1

Number of Traded Units Held

5.185

SQTY

1

Number of Traded Units Invoiced

5.150

QTYI

1

Number of Traded Units Ordered

5.140

OQTY

1

Number of Traded Units Required

5.595

RQTY

1

Number of Traded Units Returned

5.175

QTYR

1

Number of Traded Units in Delivery

5.165

DELQ

1

Number of Traded Units in Uplift

5.167

UPLQ

1

Number of Traded Units Required

.000

AQTY

1

5.192

QTYP

1

Number of Units

.000

ADUN

1

Number of Units Outstanding

.000

ADUN

3

Number of Units Short/Over

.000

ADUN

4

Number of Locations Reported

Number of Traded Units to be Picked

April 1995

3

Section B Page 91

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Number of Units for Charge Type

.000

NUCT

Numeric VAT Registration Number

3.080

VATN

1

Numeric VAT Registration Number

3.081

VATR

1

Official On Sale Date

.000

IRON

Order Classification

5.020

CLAS

Order Code

4.020

ORCD

Order From

3.010

ORDF

Order Group Number

OGNO

Order Measure

5.120

UNOR

Order Number and Date

5.010

ORNO

Order Office Address

3.160

OOAD

Order Office Address Line 1

3.160

OOAD

1

Order Office Address Line 2

3.160

OOAD

2

Order Office Address Line 3

3.160

OOAD

3

Order Office Address Line 4

3.160

OOAD

4

Order Office EAN Location Number

3.155

OLOC

1

Order Office Location

3.155

OLOC

Ordering Measure

5.670

MOQY

3

Ordering Multiple

5.670

MOQY

5

Ordering Quantity

5.670

MOQY

Ordering Unit Cost

6.010

OUCT

Ordering Value

5.675

MOVL

.000

EFTS

Outstanding Balance

5.650

OUBA

Outstanding Balance

5.650

OUBA

1

Overall Composition

11.011

COMP

1

Own Location Code

.000

ELOC

2

Pack/Bundle Size

.000

UNOM

1

Package Identification Number

.000

PKID

Package Identification Number 1

.000

PKID

1

Package Identification Number 2

.000

PKID

2

Package Identification Number 3

.000

PKID

3

Package Narrative

.000

PNAR

Package Narrative Line 1

.000

PNAR

1

Package Narrative Line 2

.000

PNAR

2

Originator's Transaction Reference

April 1995

2

2

Section B Page 92

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Package Narrative Line 3

.000

PNAR

3

Package Narrative Line 4

.000

PNAR

4

Packages per Unit

PITM

Packing Instructions

.000

PACI

Packing Instructions Line 1

.000

PACI

1

Packing Instructions Line 2

.000

PACI

2

Packing Instructions Line 3

.000

PACI

3

Packing Instructions Line 4

.000

PACI

4

Parent Location

PARL

Part Price including VAT

.000

IRVT

Part or Full Advice

.000

PORF

Payable Sub-Total (before sett disc

7.070

APSE

Payable Sub-Total Amount (after s/d

7.080

APSI

Payment Amount

.000

PPAM

Payment Amount

.000

PPAM

Payment Date

.000

PADT

Payment Date

5.630

PAYD

Payment Date and Terms

5.630

PAYD

Payment Method

4.500

PAYM

Payment To

3.018

PMNT

.000

PNDP

Period End Date

10.521

REFP

Period Reference

10.521

REFP

Picking Sheet Reference Number

5.430

PREF

Post Code

3.175

IADD

5

Post Code

3.160

OOAD

5

Premises Reference of Previous Bill

.000

VDAA

5

Present Read Date

.000

PRDT

Present Reading

.000

PRRD

Previous Bill Date

.000

PBID

Previous Lot Number

.000

LOTP

Previous Read Date

.000

PVDT

Previous Reading

.000

PRRD

3

Previous Shade Reference

.000

SHAD

5

Price Applicability Dates

5.674

PAPD

Percentage Qualifying for Zero Rate

April 1995

1

1

3

1

Section B Page 93

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Price List Number

5.660

PLND

Price Scale Description

6.160

GRPR

Price per Unit

.000

CPPU

Primary Account Details

.000

PANN

Primary Location

PLOC

Primary Reference

6.300

PRRF

Primary Reference

6.300

PRRF

Primary Trading Hours
.000

DESN

Processing Date

.000

DATP

Product

.000

ORDP

Product Group Number

5.565

PGPN

Product Group Sequence Number

5.570

PGSN

.000

PRPF

Product Range Attributes

PROD

Product Range Code

PROD

Product Status

2

PTHR

Print/Screen Number

Product Profile

2

4.426

Product Weight

3

1

PRST
WGHT

Promotional Code

.000

IPPC

Promotional Reference

.000

IPPR

Promotional Text

.000

IPPT

Proof of Delivery Details

5.050

PODN

Proof of Delivery Number

5.050

PODN

Proof of Uplift Details

5.580

POUN

Proof of Uplift Number

5.580

POUN

Proprietor

1

1

PROP

Publisher's Issue Reference

.000

IDPI

Publisher's Recall Date

.000

IRER

Publisher's Title Reference

.000

IDPM

Pulisher's ID for House

.000

IPAC

Purchase Count

.000

PVTP

2

Purchase Value

.000

PVTP

1

Quantity Adjusted

5.190

QADJ

Quantity Credited

5.180

QTYC

.000

QPER

Quantity Data

April 1995

Section B Page 94

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Quantity Expected

.000

XQTY

Quantity Graduations

5.677

DQGD

Quantity Graduations

.000

PQGD

Quantity Held

5.185

SQTY

Quantity Invoiced

5.150

QTYI

Quantity Ordered

5.140

OQTY

Quantity Produced

5.194

QPRO

Quantity Required

5.595

RQTY

Quantity Returned

5.175

QTYR

Quantity To Follow or Cancelled

5.170

QUTF

Quantity to be Picked

5.192

QTYP

Reading Data

.000

PRRD

Reading Period

.000

NDRP

Reason Code

REAS

Reason for Adjustment

4.019

RADJ

Reason for Credit

4.015

CRRE

Reason for Lower/Zero VAT Rate

RFLV

Reason for Rejection

RCOD

Reason for Return

.000

RFRT

Reason for Return Line 1

.000

RFRT

1

Reason for Return Line 2

.000

RFRT

2

4.390

DUAC

1

.000

EFTS

1

3.130

REID

1

Reason for Variance
Receipt Number
Recipient's EAN Location Number
Recipient’s Identification for the Location

PARL

Recipient’s Identification of the Location

3
PLOC

3

Recipient's Identity

3.130

REID

Recipient's Own Identity Code

3.130

REID

Recipient's Transmission Reference

1.060

RCRF

Refund Count

.000

RVTP

2

Refund Value

.000

RVTP

1

Regional Availability

9.110

REGA

Registered Text

9.130

RTEX

2

Rejection Code

RCOD

1

Rejection Comment

RCOD

2

April 1995

Section B Page 95

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Related Message Indicator

6.300

PRRF

Rental Period

10.502

REPE

Repeat Supply File Total

10.005

RPFT

Repeat Supply Quantity

10.075

RPSQ

Repeat Supply Total

10.120

RPST

Repeat of Original Content

9.200

AEXC

Report Function Indicator

10.506

REPU

Report Period Base

10.522

RTRS

5.094

RPED

10.521

REFP

5.092

RPSD

Report Time Rules

10.522

RTRS

Report Type

10.505

REPT

Reporting Group

5.673

SRPR

1

Reporting Sequence

5.673

SRPR

2

Report Period End Date
Report Period Number
Report Period Start Date

Requested Date for Home Delivery

RDHD

Requested Time for Home Delivery

RTHD

Required Arrival Time

5.075

RATM

Required Delivery Date

5.590

RDAT

Retailer Batch Control Details

.000

REPN

Retailer Reference

.000

EFTS

Return Lot Type

.000

RETL

Returnable Storage Medium Indicator

.000

RSTI

1

2

2

2

Return Address

RADD

Return Address Line 1

RADD

1

Return Address Line 2

RADD

2

Return Address Line 3

RADD

3

Return Address Line 4

RADD

4

Return Address Post Code

RADD

5

Returns Method

10.000

ICRM

STX Receiver Reconciliation Field

.000

RSGB

STX SNRF Reconciliation Field

.000

RSGA

10.000

IPAQ

.000

SAMP

Sales or Return Allowance (copies)
Sample Reference
Season End Date

April 1995

SEAE

Section B Page 96

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Season Start Date

SEAS

Second Attribute Code Table

LATT

3

Second Class Code/Value

RCAT

3

Second Level Sequence Number

4.142

SEQB

Second Registered Application Code

9.130

RTEX

.000

SREF

Secondary Reference Number
Selling Price

CUDA

3

1

Selling Price

6.140

SPRI

Selling on price

6.141

MSPR

Sender's EAN Location Number

3.140

SEID

Sender's Identity

3.140

SEID

Sender's Own Identity Code

3.140

SEID

1

2

Sender’s Own Location Number

PLOC

2

Sender’s Own Location Number for Parent Location

PARL

2

Sender's Transmission Reference

1.050

SNRF

Serial Shipping Container Code

.000

SESH

Service Classification

.000

BSCC

Service Code

4.505

SVID

Service Identity

4.505

SVID

Settlement Code

.000

PAYY

3

Settlement Discount Percentage

5.630

PAYD

2

Settlement Discount Percentage

.000

PAYY

2

6.260

SETC

Settlement Terms

.000

PAYY

Shade Classification

.000

SHAD

4

Shade Description

.000

SHAD

2

Shade Number

.000

SHAD

1

Shade Reference

.000

SHAD

3

Shade References

.000

SHAD

Short Title (Publisher)

.000

IDST

Size Details

.000

SIZE

Size Measurement 1

.000

SIZE

2

Size Measurement 2

.000

SIZE

3

Size of Product

.000

SIZE

1

4.300

SSCC

Settlement Discount Totals

Snapshot Category Code

April 1995

1

Section B Page 97

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Snapshot Reference Number

5.500

SSRN

Specialist Data 1

SPEC

2

Specialist Data 2

SPEC

3

Specialist Information

SPEC

Specialist Information Length

SPEC

1

Special Price Indicator

4.040

PIND

Specification Number

5.550

SCRF

Specification/Contract References

5.550

SCRF

Split Box Price

6.683

SBPR

Split Delivery Indicator

4.425

SDIN

Split Pack Price

6.141

MSPR

Standard Price

6.684

STPR

Start Customer's Location Identity

3.028

CLOS

Start Date

5.676

DAPD

1

Start Date

5.116

DARA

1

Start Date

1

4

DATT

2

Start Date

.000

PANN

3

Start Date

5.674

PAPD

1

Start Date

.000

SUMO

1

Start Date

TRDD

2

Starting Price

6.683

SBPR

1

Starting Price

6.684

STPR

1

Start of Range

PROD

2

Start Time

LUHR

1

Start Time

TIME

2

Statement Location

3.026

SLOC

Statement Remittance Amount Payable

6.220

SRAP

Statement To

3.014

STAT

Statement/Remittance Discount Total

6.250

SDCD

Statement/Remittance Document Total

6.230

SRDT

Statement/Remittance Line Code

4.035

LINE

Statement/Remittance Line Count

4.108

SRLC

Statement/Remittance VAT Totals

6.240

SRVT

Statutory Retail Selling Price

6.150

SRSP

Stock Adjustment Date

5.425

SAJD

April 1995

Section B Page 98

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Stock Adjustment Reference Number

5.420

SAJN

Stock Lines in this Adjustment

4.250

SLAJ

Stock Lines in this Snapshot

4.240

SLSN

Stock Status Code

4.220

SSTC

Storage Information

9.100

STOI

Storage Medium Code

.000

SMCO

Structure Code
Style Code/Quality Prefix

STRC
11.020

STYL

Sub-address Code

MSAD

1

Sub-address Line 1

MSAD

2

Sub Post Office Indicator

SUPO

Sub-Total of Credited Measure

8.200

WTCV

Sub-Total Quantity

8.150

QTYG

Sub-Total Settlement Disc. Amount

7.050

SEDA

Sub-Total Subsidy

7.055

SSUB

Sub-Total of Invoiced Measure

8.160

WTVG

Subsidy Amount

7.015

SUBA

Substitution Indicator

4.420

DIND

1

10.521

REFP

1

Supplementary Code

.000

IBCS

Supplier Code

.000

CCDE

Supplier's Address

3.062

SADD

Supplier's Address Line 1

3.062

SADD

1

Supplier's Address Line 2

3.062

SADD

2

Supplier's Address Line 3

3.062

SADD

3

Supplier's Address Line 4

3.062

SADD

4

Summary Period

Supplier’s Code for Group

CUSL

3

3

Supplier's Code for Replaced Item

3.100

CORI

2

Supplier's Code for Retail Outlet

.000

REPN

4

Supplier's Code for Unit Contained

3.110

UCON

2

Supplier's Code for the Traded Unit

3.070

SPRO

2

Supplier's Code for the Traded Unit

3.076

SPRS

2

Supplier’s Credit Claim Number

SURF

Supplier's Despatch EAN Location No

3.150

DLOC

1

Supplier's EAN Location Number

3.050

SIDN

1

April 1995

Section B Page 99

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Supplier's EAN for Designated C.U.

3.090

SACU

Supplier's EAN for Substituted C.U.

3.096

SACS

Supplier's ID Allocated by Customer

3.050

SIDN

2

.000

ELOC

3

Supplier's ID of Customer's Locn.

3.000

CLOC

3

Supplier's Identification of Locn.

3.029

CLOE

3

Supplier's Identification of Locatn

3.028

CLOS

3

Supplier's Identity

3.050

SIDN

Supplier's Instruction Number

5.610

INRF

Supplier's Name

3.060

SNAM

Supplier's Name

3.060

SNAM

Supplier's Network Identity Code

3.200

SNIC

Supplier's Order Number

5.010

ORNO

2

Supplier's Own Location Code

3.150

DLOC

2

Supplier's Own Location Code

3.152

TLOC

2

Supplier's Post Code

3.062

SADD

5

Supplier's ID

Supplier’s Processing Date
Supplier's Product Number

3.070

SPRO
REFF

Supplier's Region Code

3.201

REGS

Supplier's Substituted Product No.

3.076

SPRS

Supplier's VAT Registration Number

3.080

VATN

Suppliers Price List

5.660

PLND

Suppliers Reporting Reference

5.673

SRPR

.000

SUMO

7.010

SURA

Surcharge Amount

1

SUPD

Supplier’s Reference

Supply Period

2

1

1

Surname

MAMN

3

Surname

MANA

3

Surname

PROP

3

Syntax Rules Identifier

1.010

STDS

TOS Supply File Total

10.010

TSFT

TOS Supply Quantity

10.080

TSSQ

TOS Supply Total

10.125

TSST

Tare Weight

.000

ADWT

Tariff Code

.000

TCOD

April 1995

2

Section B Page 100

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Tariff Code Modifier

.000

TMOD

Tariff Code Modifier 1

.000

TMOD

1

Tariff Code Modifier 2

.000

TMOD

2

Tariff Code Modifier 3

.000

TMOD

3

Tariff Code Modifier 4

.000

TMOD

4

Tax-point Date

5.110

TXDT

Temporarily Not Available Code

3.094

TNAC

Terms of Payment

9.050

PAYT

Text

9.120

TEXT

Third Attribute Code Table

LATT

5

Third Class Code/Value

RCAT

4

Third Level Sequence Number

4.143

SEQC

Third Registered Application Code

9.130

RTEX

Time Attributes

TIME

Time Closed

PTHR

5

2

Time of Message

5.310

MEDT

2

Time of Transmission

1.040

TRDT

2

Time Open

PTHR

1

Title

MAMN

1

Title

MANA

1

Title

PROP

1

Title of Person

3.120

METO

2

To

5.678

DVGD

2

To

6.685

PVGD

2

To Follow Acceptability

3.016

TFAC

To Follow Indicator

4.050

TFIN

Tolerance Quantity for Shade

.000

TSHD

5

Tolerance Weight for Shade

.000

TSHD

6

8.050

ASDT

Total Balance Uncoloured

.000

TDYE

Total Bill Amount Payable

.000

TBTL

Total Bill Amount Payable

.000

TBTL

Total Amount (after settlement disc

Total CAKDET Messages

4

1

TCAK

Total Charge Before VAT

.000

UVLA

1

Total Charge Before VAT

.000

UVLT

1

April 1995

Section B Page 101

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Total Charge for Charge Type

.000

CTOT

Total Charge for Charge Type

.000

CTOT

Total Charge for Premises before VAT

.000

UVLT

Total Charge for VAT Cat inc VAT

.000

UCSI

Total Charge for VAT Cat before VAT

.000

UVLA

Total Charge including VAT

.000

UCSI

Total CLO Lines
Total Closing Stock

1

1

TCLO
8.250

TCSK

Total Copies Claimed

TCCL

Total Copies Claimed

TCPC

Total Copies Claimed

TTCL

Total Copies Rejected

TCRJ

Total Copies Rejected

TREJ

Total Delivery Quantity

8.195

TODQ

Total Disc Reclaimed for Credit Qty

6.086

QYCT

Total Disc Reclaimed for Credit Val

6.096

VLCT

Total Discount Amount for Invc. Qty

6.080

QYDT

Total Discount Amount for Invc. Val

6.090

VLDT

Total Extended Amount (before sd)

8.030

EVLT

.000

QPER

4

Total Goods Weight

5.135

DEWT

2

Total Goods Weight

5.640

UPWT

2

Total Measure

5.170

QUTF

2

Total Measure

.000

UGST

1

Total Measure

5.230

UGWT

1

Total Measure

.000

UHST

1

Total Measure

5.260

UHYT

1

Total Measure

.000

ULST

1

Total Measure

5.240

ULTH

1

Total Measure

5.270

UVOL

1

Total Measure

.000

UVST

1

Total Measure

5.250

UWDT

1

Total Measure

.000

UWST

1

Total Measure Adjusted

5.190

QADJ

2

Total Measure Advised

.000

AQTY

2

Total Financial Units

April 1995

Section B Page 102

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Total Measure Credited

5.180

QTYC

2

Total Measure Expected

.000

XQTY

2

Total Measure From

5.677

DQGD

2

Total Measure Held

5.185

SQTY

2

Total Measure Invoiced

5.150

QTYI

2

Total Measure Ordered

5.140

OQTY

2

Total Measure Produced this period

5.194

QPRO

2

Total Measure Required

5.595

RQTY

2

Total Measure Returned

5.175

QTYR

2

Total Measure To

5.677

DQGD

5

Total Measure To

.000

PQGD

5

Total Measure of Closing Stock

5.410

CLSK

2

Total Measure of Delivery

5.165

DELQ

2

Total Measure to be Picked

5.192

QTYP

2

Total Net Length Ordered

.000

TDYE

3

Total Net Length Ordered for Shade

.000

TSHD

4

Total Net Value

.000

TVTP

1

Total Net Weight Ordered

.000

TDYE

2

Total Net Weight Ordered for Shade

.000

TSHD

3

Total No. of Claims Lines
Total No. of Item Lines/Claims

TLCL
.000

Total Number of Claims References for House
Total Number of Issues
Total Number of Order Units
Total Number of Rejected Messages

TCMS
TCRC

.000

ISTO

8.090

QTYT

.000

REJJ

Total Number of Rejection Lines

RDTL

Total Payable (after sett discount)

8.080

TPSI

Total Payable (before sett discount

8.070

TPSE

.000

PVTP

Total Quantity Acknowledged

8.290

QACK

Total Quantity Adjusted

8.270

TQAJ

Total Quantity Ordered

8.180

QORD

Total Quantity Produced

8.260

TOQP

Total Quantity Returned

8.185

TQRT

Total Quantity in Snapshot

8.280

QSNP

Total Purchase

April 1995

Section B Page 103

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Total Refund

.000

RVTP

Total Settlement Discount Amount

8.040

SEDT

Total Subsidy Amount

8.215

TSUB

Total Surcharge Amount

8.020

SURT

Total Traded Units

.000

QPER

1

Total Units Ordered

.000

TDYE

1

Total Uplift Measure

5.167

UPLQ

2

Total Uplift Quantity

8.197

QUPL

Total VAT Amount Payable

8.060

TVAT

Total Value of Credit Advice Msgs

8.325

TVLC

Total Value of Debit Advice Msgs

8.335

TVLD

.000

TVLE

8.315

TVLP

.000

QPER

Total of Credited Measure

8.210

WTCT

Total of Details Lines

8.220

TOTL

Total of File Value

8.230

TOTV

Total of Payment Details

.000

PTOT

Total of Payment Details

.000

PTOT

1

Total Units Ordered for Shade

.000

TSHD

1

Totals for Shade Order

.000

TSHD

Totals of Dye Order

.000

TDYE

Trade Claim Quantity

10.090

TCMQ

Trade Claims File Total

10.020

TCFT

Trade Claims Total

10.135

TCMT

Traded Unit Description

9.030

TDES

Traded Unit Description Line 1

9.030

TDES

1

Traded Unit Description Line 2

9.030

TDES

2

Traded Unit Quantity per Layer

5.210

ULAY

Traded Unit Quantity per Storage Md

5.200

UPAL

Traded Units From

5.677

DQGD

1

Traded Units From

.000

PQGD

1

Traded Units To

5.677

DQGD

4

Traded Units To

.000

PQGD

4

Trading Day

.000

TDAY

Total Value of EFT Messages
Total Value of Payment Messages
Total Variable Units

April 1995

2

Section B Page 104

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Trading Day

TRAT

Trading Day

TRDD

Trading End Date

TRDE

Trading Partner's Own Code

4.015

CRRE

Trading Start Date
TRDD
.000

AMPA

Transaction Code

4.010

TCDE

Transaction Count

.000

TVTP

Transaction Date

.000

TDAT

Transaction Date

.000

TDAT

4.415

TPST

Transaction Source

.000

TSCR

Transaction Time

.000

TDAT

Transaction Type

9.010

TTYP

Transaction Planning Status

2

TRDS

Trading Times
Transaction Amount

1

Transfer Date

1

2

1

2

TRND

Transmission Priority Code

1.080

PRCD

Transshipment Location

3.152

TLOC

Type

.000

OTYP

Type

.000

PRRD

2

Type

.000

PRRD

4

Type

1.100

TYPE

1

Type of Change

9.070

TYPC

Type of Change

9.070

TYPC

Type of Message

1.100

TYPE

Type of Outlet Code

3.008

OUTY

Type of Package

.000

PACK

Type of Package Number 1

.000

PACK

1

Type of Package Number 2

.000

PACK

2

Type of Package Number 3

.000

PACK

3

9.090

TPKG

.000

PTYP

Type of Packaging
Type of Product or Sub Product
Type of Retailer

TYRE

Type of Service

CSOR

Unit Cost Price exc VAT before disc

April 1995

6.040

1

1

BUCT

Section B Page 105

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Unit Credit Value (before VAT)

6.026

UCRV

Unit Credit Value before Disc & VAT

.000

UCRB

Unit of Length

.000

UNOM

2

Unit of Measure

.000

CLVM

2

Unit of Measure

.000

CONA

2

Unit of Measure

.000

CONB

2

Unit of Measure

.000

CONS

2

Unit of Measure

.000

NUCT

2

Unit of Measure

.000

UGST

2

Unit of Measure

5.230

UGWT

2

Unit of Measure

.000

UHST

2

Unit of Measure

5.260

UHYT

2

Unit of Measure

.000

ULST

2

Unit of Measure

5.240

ULTH

2

Unit of Measure

5.270

UVOL

2

Unit of Measure

.000

UVST

2

Unit of Measure

5.250

UWDT

2

Unit of Measure

.000

UWST

2

Unit of Ordering

5.120

UNOR

Unit of Sales Configuration

UOSC

Unit of Weight

.000

UNOM

3

Units Billed

.000

NUCT

1

Units Consumed

.000

CONA

1

Units Consumed

.000

CONB

1

Units Consumed

.000

CONS

1

Units of Measure

.000

UNOM

Unofficial on Sale Date

.000

IRUO

Update Type

.000

UDAT

Uplift Condition

4.225

UPLC

Uplift Instruction Narrative

9.025

UINS

Uplift Instruction Narrative Line 1

9.025

UINS

1

Uplift Instruction Narrative Line 2

9.025

UINS

2

Uplift Instruction Narrative Line 3

9.025

UINS

3

Uplift Instruction Narrative Line 4

9.025

UINS

4

Uplift Note Details

5.038

UPLN

April 1995

Section B Page 106

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Uplift Note Number

5.038

UPLN

Uplift Quantity

5.167

UPLQ

Uplift Volume

5.645

UPVL

Uplift Weights

5.640

UPWT

User Code

4.505

SVID

.000

CODE

4.025

TSUP

VAT Amount Payable

.000

UVTT

VAT Amount Payable

.000

UVTT

VAT Amount Payable

7.020

VATA

VAT Declaration Code

.000

VDAA

VAT Declaration for Amended Account

.000

VDAA

VAT Rate Category Code

4.030

VATC

VAT Rate Percentage

6.110

VATP

.000

VDAA

Utility Classification Code
VAT - Type of Supply

VAT Total Amount on Bill Withdrawn
Value
Value Graduation

1

2

1

1

3

LVAL
6.685

Value/Measurement Code

2

PVGD
LVAL

1

Van Over File Total

10.035

VNFT

Van Over Quantity

10.105

VNOQ

Van Over Total

10.150

VNOT

Variable Measure Indicator

5.275

VRMI

Variant Details

4.410

VRDT

Variant Price

6.170

VAPR

Variant Price After Discount

6.170

VAPR

2

Variant Price Before Discount

6.170

VAPR

1

Variant Type Code

4.405

VTCO

Vehicle Tare Weight

5.135

DEWT

1

Vehicle Tare Weight

5.640

UPWT

1

Version

1.010

STDS

2

Version Number

1.100

TYPE

2

.000

UVST

5.270

UVOL

Warp

11.011

COMP

2

Weft

11.011

COMP

3

Volume of Storage Medium
Volume of Unit

April 1995

Section B Page 107

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________
Weight Indicator

WGTH

2

Weight Outstanding

.000

ADWT

4

Weight Short/Over

.000

ADWT

5

Wholesaler's ID for House

.000

IWAC

Width of Storage Medium

.000

UWST

Width of Unit

5.250

UWDT

Working Days

5.672

DLED

Yarn Agent

11.003

YAGT

Yarn Count

11.012

YNCT

Yarn Supplier

11.002

YSUP

Year Number

10.060

YRNO

.000

IDYP

Year of Publication

April 1995

1

Section B Page 108

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________

SECTION C

THE SEGMENT DIRECTORY

CONTENTS

Page No.

1.

INTRODUCTION

2

2.

THE SEGMENT DIRECTORY

3

April 1995

Section C Page 1

Name
Cat.Ref.
Ident.
Sub-Element
________________________________________________________________________________________

SECTION C - THE SEGMENT DIRECTORY

1.

INTRODUCTION
This lists all segments (with the exception of the Standard Segments - STX, END, MHD
and MTR) in alphabetical sequence of their three letter abbreviated identifiers. It shows the
standard messages in which they are used. (See Annex A of this volume for more details
on the Data Narrative Segments DNA, DNB, DNC and RNB).
Those marked * are used in industry-specific messages only.

April 1995

Section C Page 2

Code
ACD
ACO*
ADJ
ADT
ADV*
AFT
AGD
ALD
AOR
APD

Description
Audit Control Details
Additional Contacts
Additional Adjustment
Adjustment File Totals
Advice References
Availability File Trailer
Advice of Goods Despatched
Acknowledgement Line Details
Acknowledgement References
Amount Payable

AQD
ARF
ATR
AUT

Expected Delivery Details
Availability Report Reference
Availability Trailer
Authentication Result

AVD
AVL*
BBL*
BCD
BDS*
BDT

Availability Line Details
Availability
Bibliographic Elements (2)
Bill Control Data
Book Dimensions
Bank Details

BIB*
BTL
CBK

Bibliographic Elements (1)
Bill Trailer
Customer's Bank Details

CCD
CCN*
CDA
CDT

Consumption/Charge Details
Customer Name
Contract Data
Customer Details

CFS*
CFT
CGL*
CIA
CLD
CLO

Claims File Summary
Customer Information File Totals
Retail Group Code
Complex Invoice Line Adjustments
Credit Note Line Details
Customer's Location

CLP

Customer Location References

April 1995

Used in Message(s)
INVFIL
DYEINS
UTLBIL
SADTLR
DYEINS
AVLTLR
ACKMNT
ACKMNT
ACKMNT
CRAINF, PAYINF,
DRAINF
ACKMNT
AVLDET
AVLDET
CRAINF, PAYINF,
DRAINF, EXCINF
AVLDET
PVUINF
PVUINF
UTLBIL
PVUINF
CRAHDR, PAYHDR,
EXCHDR, DRAHDR
BTOERS
UTLBIL
CRAINF, PAYINF,
DRAINF, EFTHDR
UTLBIL
RDADET
UTLBIL
PROHDR, PRIHDR, CUSHDR,
ORDHDR, PICHDR, DELHDR,
DLCHDR, INVFIL, CREHDR,
SRMHDR, UPLHDR, UCNHDR,
SNPHDR, SADHDR, AVLHDR,
CORHDR, ACKHDR, PPRHDR,
PAYHDR, DRAHDR, CRAINF,
EXCHDR, LPRHDR, UTLHDR,
HOTHDR, EFTHDR, INTHDR
CLASMY
CUSTLR
RDADET
INVOIC
CREDIT
CUSINF, ORDERS, INVOIC,
CREDIT, DELIVR, CORDER,
SADDET, UPLIFT, UCNDET,
SNPSTS, DLCDET, ACKMNT,
UTLBIL
PRIINF
Section C Page 3

Code
CLR
CLT*
CMD*
CMR*
COD
COT
CPT
CRC*
CRF
CRT*
CST
CTL*
CTR
CUD*
DCD
DCT
DEF
DEL
DFT
DIN
DLD
DLS
DNA

Description
Customer's Location References
Claims Total Sub Trailer
Claims Line Detail
Claims Reference
Complex Order Line Details
Confirmation File Totals
Communicating Partners
Claims Reference Confirmation
Credit Note References
Claims Reference Trailer
VAT Rate Credit Sub Trailer
Claims Acknowledgement File Trailer
Credit Trailer
Customer Description
Delivery Confirmation Details
Delivery Confirmation Trailer
Deferred Charges
Delivery References
Delivery File Totals
Delivery Instructions
Delivery Line Details
Delivery Line Supplementary Data
Data Narrative

DNB

Data Narrative

DNC

Data Narrative

DNS
DOC
DSC
DSD
DST
DTA*
DTR
EXC
FCT*

Delivery Note Supplementary Data
Message Rejected
Discount Data Header
Discount Data Details
Delivery Status
Outlet Specific Details
Delivery Trailer
Exception Condition(s)
File Claims Total

April 1995

Used in Message(s)
PRIINF
CLAIMS
CLAIMS
CLAIMS
CORDER
UCNTLR, DLCTLR
GENHDR
CAKDET
CREDIT
CAKDET
CREDIT
CAKTLR
CREDIT
RDADET
DLCDET
DLCDET
UTLBIL
DELIVR
DELTLR
ORDERS, PICKER, CORDER
DELIVR
DELIVR
PROHDR, PRIHDR, CUSHDR,
CUSINF, ORDHDR, ORDERS,
PICHDR, PICKER, DELHDR,
DELIVR, DLCHDR, DLCDET,
INVFIL, INVOIC, CREHDR,
CREDIT, SRMHDR, UPLHDR,
UPLIFT, UCNHDR, UCNDET,
SNPHDR, SNPSTS, SADHDR,
SADDET, AVLHDR, AVLDET,
CORHDR, CORDER, ACKHDR,
ACKMNT, PPRHDR, LPRHDR,
UTLBIL
ORDERS, DLCDET, CREDIT,
SRMINF, UCNDET, SADDET,
AVLDET, CORDER, ACKMNT,
INTDET
PROINF, PRIINF, PICKER,
DELIVR, INVOIC, UPLIFT,
SNPSTS, CORDER, EFTDET
DELIVR
INTDET
PRIINF
PRIINF
DLCDET
SORDET
DELIVR
EXCINF
CLATLR
Section C Page 4

Code
FDT

Description
File Period Dates

FIL
FTR*
GFT
HCT*
HFT
HRT*
HSL*
HSO*
IAC
ILD
ILO*
INS*
INT
IPD*
IPE*
IPR*
IRF
ISC*
ISD*
ISP*
ISR*
IST*
ITD
ITO*
ITR*
KFT
KTR
LDE
LDT*
LFT
LLD*
LMI
LOC*
LOT
LSD*
LTY
MED
MLT*
MOD
MUL*
NAM
NBG
NHD
NIN
NOH
NOI
NTP
ODD

File Details
Totals of Accepted/Rejected Claims
General Communications File Totals
House Claims Trailer
Hot Card File Totals
House Trailer
Homeshopping Line Information
Homeshopping Order Information
Interchange Acknowledgement
Invoice Line Details
Invoice Location
Instruction References
Invoice To
Issue Price Details
Issue VAT Details
Issue Period Details
Invoice References
Issue Claims Period
Issue/Publication Details
Issue Promotional Details Per House
Issue Retail Sales Details
Total No. of Issues
Invoice to Details
Instruction File Totals
Instruction Trailer
Acknowledgement File Totals
Acknowledgement Trailer
Location Details
Customer Location Details
Location Planning Report File Totals
Lot and Shade Line
Miscellaneous Information
Customer Group Location
Location Information File Totals
Lot and Shade Details
Location Type
Message Details
Multi-volume/Part (2)
Charge Modifiers
Multi-volume/Part (1)
Location Name and Address
Retailer Batch Control
Data Record
Nature of Information
Nature of Hot Card
Nature of Information
Transaction Details
Order and Delivery References

April 1995

Used in Message(s)
INVFIL, DELHDR, DLCHDR,
UPLHDR, UCNHDR, UTLHDR
ALL HEADER MESSAGES
CAKTLR
GENTLR
CLAIMS
HOTDET
CAKDET
HSODET
HSODET
INTDET
INVOIC
DYEINS
DYEINS
CUSINF
ISSDET
ISSDET
ISSUES
INVOIC
ISSDET
ISSDET
ISSDET
ISSDET
ISSTOT
CORDER
DYETLR
DYEINS
ACKTLR
ACKMNT
LOCINF
RDBDET
LPRTLR
DYEINS
CUSINF
RDBDET
LOCTLR
DYEINS
CUSINF
GENRAL
PVUINF
UTLBIL
BTOERS
CUSINF
EFTDET
HOTDET
LOCINF
HOTDET
CUSINF, PROINF, PRIINF
EFTDET
INVOIC, DLCDET
Section C Page 5

Code
OFT
OIR
OLD
OOL
ORD
ORF
OTR
PAT
PBL*
PDN
PDS
PDT
PFT
PIC
PID
PLD
PLO
PLR
PPT
PRD
PRI
PRL
PRN
PRP
PRT
PRU
PRV
PTR
PUB*
PVD
PVT*
PYC
PYD

Description
Order File Totals
Original Invoice References
Order Line Details
Order Office Location
Order References
Order References - Deliveries
Order Trailer
Planned Availability Trailer
Publisher/Distributor (2)
Product Details
Product Details
Product File Totals
Picking File Totals
Picking Instructions
Pallet Identity
Picking Line Details
Outlet Details
Price List References
Product Planning Report File Totals
Product Description
Price Data Header
Primary Location
Product References
Price Data Details
Price File Totals
Product Dimension
Payment Received
Picking Trailer
Publisher/Distributor (1)
Product Variant Details
Price/Availability File Totals
Payment Details
Payment Details

PYT
QLT*
RCD
RCN*
RDA*
RDE*
RDQ
RDT*
REF
REJ
RET*
RFD
RML*
RNB
RPR*
RSN*

Settlement Terms
Quality Details
Returns Confirmation Details
Customer Contact
Dates
Customer Description
Required Delivery Dates
Rejection Details
Account Reference Number
Number of Rejected Messages
Retail Location Totals
Report References Data
Multiple Chain
Data Narrative
Retail Price
Claim Reject Reason

April 1995

Used in Message(s)
ORDTLR, CORTLR
CREDIT
ORDERS
CORDER
ORDERS, PICKER, CORDER
DELIVR
ORDERS, CORDER
AVLDET
PVUINF
PPRDET
LPRDET, PVUINF*
PROTLR
PICTRL
PICKER
DELIVR
PICKER
PPRDET
PRIHDR, PVUHDR*
PPRTLR
PROINF, PRIINF
PRIINF
LOCINF
PROINF, PRIINF
PRIINF
PRITLR
PROINF
UTLBIL
PICKER
BTOERS
CORDER
PVUTLR
SRMINF
CRAINF, PAYINF, DRAINF,
EXCINF
INVOIC, CREDIT, UTLBIL
DYEINS
DLCDET, UCNDET
RDBDET
RDBDET
RDBDET
CORDER
CAKDET
UTLHDR
INTDET
RDATLR, RDBTLR
PPRDET, LPRDET
RDBDET
DLCDET, UCNDET
PVUINF
CAKDET
Section C Page 6

Code
RST
RTH*
SAD
SAR
SAT
SBK

Description
Statement/Remittance File Totals
Retail Trading Hours
Stock Adjustment Details
Stock Adjustment Reference
Stock Adjustment Trailer
Supplier's Bank Details

SDT

Supplier Details

SFC
SFL
SFP
SFR
SFS
SFX
SLD
SLO
SNT
SOR*
SPD
SPI*
SRD
SRF
SRT
SSR
SST
STD
STH*
STL
STT
TCM
TDM
TEM
THM
TIN
TLR
TOT
TPM
TRA
TRC*
TRT
TTL
TXT

Time Base Control Totals
Planning Report Trailer
Planning Report Data
Planning Report Rules
Function Report Data
Functional Data Time Base Control
Stock Line Details
Outlet Location Details
Snapshot File Totals
Sales & Returns File Totals
Standard Product Data
Specific Product Identity or Date
Statement/Remittance Line Details
Stock Reference
Statement/Remittance Message Totals
Shapshot Reference
Shapshot Trailer
Storage Details
Shop Trading Hours
VAT Rate Invoice Sub Trailer
Statement To
Credit Advice Message File Totals
Debit Advice Message File Totals
Exception Condition Message File Totals
Hot Card Totals
Number of Interchange Messages
Invoice Trailer
File Totals
Payment Message File Totals
Transmission To
Claims Trailer
Transaction Totals
Utility Bill File Totals
Text

April 1995

Used in Message(s)
SRMTLR
RDBDET
SADDET
SADDET
SADDET
CRAINF, PAYINF,
DRAINF
PROHDR, PRIHDR, CUSHDR,
ORDHDR, PICHDR, DELHDR,
DLCHDR, INVFIL, CREHDR,
SRMHDR, UPLHDR, UCNHDR,
SNPHDR, SADHDR, AVLHDR,
CORHDR, ACKHDR, PPRHDR,
PAYINF, PRAINF, CRAHDR,
EXCINF, LPRHDR, UTLHDR,
HOTHDR, EFTHDR, INTHDR
PPRDET, LPRDET
PPRDET, LPRDET
PPRDET, LPRDET
PPRDET, LPRDET
PPRDET, LPRDET
PPRDET, LPRDET
SNPSTS
LPRDET
SNPTLR
SORTLR
PRIINF
SORDET
SRMINF
SNPSTS
SRMINF
SNPSTS
SNPSTS
PROINF
RDADET
INVOIC
CUSINF
CRATLR
DRATLR
EXCTLR
HOTTLR
INTTLR
INVOIC
INVTLR, CRETLR
PAYTLR
CUSINF
CLAIMS
EFTTLR
UTLTLR
GENRAL
Section C Page 7

Code
TYP

Description
Transaction Type Details

UCD
UCT
UDD
UFT

Uplift Confirmation Details
Uplift Confirmation Trailer
Uplift References
Uplift File Totals

Used in Message(s)
ALL HEADER MESSAGES
EXCEPT GENHDR
UCNDET
UCNDET
UCNDET
UPLTLR

ULD
UPL
UPS
URF
UST
UTR
VAT
VRS
VTS

Uplift Line Details
Uplift Note References
Uplift Note Supplementary Data
Uplift Instruction References
Uplift Status
Uplift Trailer
Value Added Tax
VAT Rate Summary
VAT Rate Summary

UPLIFT
UPLIFT
UPLIFT
UPLIFT
UCNDET
UPLIFT
UTLBIL
VATTLR
UVATLR

April 1995

Section C Page 8

SECTION D

STANDARD CODE VALUES

CONTENTS

Page No.

1.

INTRODUCTION

2

2.

CONTENTS

3

3.

STANDARD CODE VALUES

5

April 1995

Section D Page 1

STANDARD CODE VALUES

1.

INTRODUCTION
Much of the data which can be exchanged electronically in TRADACOMS standard
messages is sent in coded form. This minimises the amount of data to be sent in each
transmission and facilitates automatic processing.
The permissible code values are given in the following lists. Trading partners should set
up the relevant code lists for the data elements they require in look-up tables on their
computer systems.
If any user needs additional code values to be added to any of these lists they should
apply in writing to the ANA.

April 1995

Section D Page 2

2.

CONTENTS
There is a Standard Code Values List for each data element or sub-element which can be
sent in coded form. The lists are numbered as shown below:

List
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

Data Element/Sub-Element
-

April 1995

Transmission Priority Code
Transaction Code
Transaction Type
Measure Indicator
Special Price Indicator
Order Classification
Order Code
To Follow Indicator
Credit Line Indicator
Item Group Identifier
Cash Settlement Discount Identifier
VAT Rate Category Code
Reason for Credit Code
VAT Type of Supply Code
Statement/Remittance Line Code
Application Reference Abbreviations
Reason for Variance Code
Stock Status Code
Stock Snapshot Category Code
Reason for Adjustment Code
Delivery/Uplift Condition Codes
Data Narrative Code
Reserved Code List
Registered Text Code
Transaction Planning Status
Delivery/Uplift Action Details
Report Period Base
Location Activity Indicator
Report Function Indicator
Storage Medium Code
Currency Code
Discount Type
Reason for Rejection Code
House Acknowledgements Code
Authorisation Method
Retailer Batch Control Details
Update Type
Nature of Hot Card
Transaction Source
EFT Transaction Type
Utility Classification Code
Bill Type Code
Consumption/Charge Indicator

PRCD
TCDE
TTYP
Sub-element
PIND
CLAS
ORCD
TFIN
CRLI
IGPI
CSDI
VATC
CRRE
TSUP
LINE
APRF
REVR
SSTC
SSCC
RADJ
DELC/UPLC
DNAC
DNAC
RTEX
TPST
DUAC
RTRS
LOCA
REPU
SMCO
CUIN
DTYP
RCOD
ACDE
AUTT
REPN
UDAT
NOHC
TSCR
EFTT
CODE
BTCD
CCDE
Section D Page 3

44
45
46
47
48
49
50
51
52
53

-

April 1995

Reading Data Type
Action Code
Reason Code
Function/Type Indicator
Date Attribute Code
Frequency/Schedule
Time Attribute Code
Location Attribute Code
Value/Measurement Code
Type of Chnage

PRRD
ACTN
REAS
FUNC
DATT
DATT
TIME
LATT
LVAL
TYPC

Section D Page 4

ANA Standard Code Values - List 1
TRANSMISSION PRIORITY CODE - PRCD
Appears in the Transmission Header Segment STX
A
B
C

=
=
=

Urgent
Normal
Low

___________________________________________________________________________

April 1995

Section D Page 5

ANA Standard Code Values - List 2
TRANSACTION CODE - TCDE
Appears in all file header messages, in segments TYP
Complete transmissions of the master files shown below (eg Product and Price Information
Files) contain the full details of the database file, with type of change (TYPC) given as
REPORT. Update transmissions will contain only parts of the master file, where details have
changed since the last transmission. The type of change will be ADD, AMEND or DELETE.
PROHDR: First message of the Product Information File, File Format 1
0100 0101 0102 0103 -

Complete transmission of Product Information File with products chained
together
Update transmission of Product Information File with products chained together
Complete transmission of Product Information File with products linked together
in a hierarchy
Update transmission of Product Information File with products linked together
in a hierarchy

PRIHDR: First message of the Price Information File, File Format 2
0150 0151 -

Complete transmission of Price Information File
Update transmission of Price Information File

CUSHDR: First message of the Customer Information File, File Format 3
0200 0201 -

Complete transmission of Customer Information File
Update transmission of Customer Information File

LOCHDR: First message of the Location Information File, File Format 24
0205 0206 -

Complete transmission of Location Information File
Update transmission of Location Information File

RDBHDR: First message of the Retailer Standing Database File, File Format 109
0210 0206 -

Complete transmission of Retailer Standing Database File
Update transmission of Retailer Standing Database File

RDAHDR: First message of the Retailer Database Report File, File Format 110
0215 0216 -

April 1995

Complete transmission of Retailer Database Report
Update transmission of Retailer Database Report

Section D Page 6

ORDHDR & CORHDR: First messages of the Order File (File Format 4) and the Complex
Order File (File Format 17), respectively. Also used in the Book Trade Order (File Format 103)
in message BTOHDR and the Homeshopping Order (File Format 105) in message HSOHDR.
0350 0355 0360 0365 -

0400 -

0405 0410
0420
0430
0435

-

0440 -

0445 0450 0460 0470 0475 0480 0485 0490 -

Proposed Orders - planned orders which will subsequently be confirmed.
Usually sent to help a supplier plan production.
Order for goods on approval/inspection - order for goods which may be returned
after a period of inspection without being invoiced
Exceptions to Proposed Orders - changes to a previously sent proposed order,
which could be made either by the customer or the supplier
Planning Orders - follow Proposed Orders and will subsequently be confirmed
by the customer. Used to show all lines with details of quantities required and
delivery locations. Intended to give a firm basis for the supplier to plan
production and supplies.
Cancelled Orders - used to cancel outstanding orders. These may originate
either from the customer, when their requirements have changed, or the supplier
if they cannot meet the order
Confirmation of Cancelled Orders - confirms that outstanding orders have been
cancelled within the sender's system
Export Order - order placed on UK supplier for delivery overseas
Standing Order - an order for regular supplies, valid over a long term
New Orders - new order for goods and/or services
Order for retained approval goods - retrospective order to cover goods already
received on approval/inspection when these are being retained
Order Amendment - contains changes to an outstanding order, such as quantities,
prices and delivery dates. To minimise transmission costs, only send the details
for the products which have been amended. Use transaction codes 0475 for rescheduled orders or transaction code 0485 for additional lines. Note that order
amendments can rarely be processed automatically.
Order Chaser - used to chase delivery of an outstanding order
Copy Orders - a copy of an order previously sent by EDI or other media.
Confirmation of Order by Ordering Company - used for example when an order
is placed by telephone or fax
Mixed Order Types - the file contains a mixture of different types of order. Each
order should be processed according to the Order Code given in ORD ORCD.
Re-Scheduled Orders - used to change the delivery date of an order or order line.
Only the lines which have been re-sheduled need be sent
Call-Off Orders - request for delivery against a contract, blanket or standing
order
Addition to Existing Orders, Existing Requirements Unchanged - additional
lines to be added to an outstanding order. Only the new lines need be sent
Order Commitment - a contract to supply, not an instruction to deliver

HOTHDR: First message of the Hot Card File, File Format 27
0500 0501 -

April 1995

Complete transmission of Hot Card File
Update transmission of Hot Card File

Section D Page 7

DELHDR: First message of the Delivery Notification File, File Format 6
0600 -

Delivery - a notification of delivery against an order, containing details of all the
lines on the order. Normally produced by the supplier once goods have been
picked for that order
0610 Consignment Note - sent by the supplier to the carrier to control the movement
of a consignment through the distribution network to the customer
0620 Instruction to Deliver - a request for a delivery to be made
0630 Planned Delivery - used to report the status of a future delivery
0640 Delivery Adjustment - a notification of changes to a delivery, used when
amendments are made or requested after a proposed delivery or request to
deliver has been sent
0650 Balance - used to notify details of a part delivery when balances are accepted.
Only includes those lines which are being delivered, not all the lines on the
order, some of which may already have been received.
0660 Proposed Delivery - advance notice of an impending delivery
0695 Warehouse Receipt - notification that goods have been received at a warehouse
Many goods are distributed on pallets, which may come from a different supplier to the goods,
and which need to be controlled. Normally empty pallets are exchanged for full pallets to
ensure the continued supply of goods.
6001 -

6002 6003 6004 6005 6006 6007 6008 6009 6010 -

Pallet Exchange Note - notification that pallets have been, or are to be
exchanged. These may be either full or empty pallets. Used when different
types of pallet movements are being recorded (ie mixed file type).
Pallet Control Voucher - control document issued when goods have been
delivered on pallets and no empty pallets were available for exchange.
Pallet Issue Note - notification that fresh pallets have been, or are to be issued.
May also be used when goods on pallets have been recalled.
Pallet Return Note - notification that pallets have been, or are to be returned
Pallet Transfer Note - record of, or request for transfer of pallets
Pallet Query Note - request for information on the status of pallet movements.
Used when no empty pallets or control vouchers were received.
Pallet Return Advice Note - notification that returns have been made
Pallet Ex Factory Movement - record of pallet transfers out of a factory. Pallets
may be empty or full.
Pallet Collection Request - request for pallets to be collected/uplifted
Load Collection Request - request for goods to be collected/uplifted

DLCHDR: First message of the Delivery Confirmation File, File Format 7
0670 0680 0690 6000 -

April 1995

Confirmation of Delivery - confirms the goods and quantities which have been
delivered at a location
Confirmation of Despatch - confirms the goods and quantities which have been
despatched to a location
Confirmation of Delivery Status Report - confirms the status of a delivery in
preparation or transit
Equipment Movement Confirmation - confirms the transfer of an item of
equipment

Section D Page 8

INVFIL: First message of the Invoice File, File Format 8
0700 -

0701 0702 0705 0707 0709 -

Invoices Only - commercial document (sales invoice) issued by a supplier to a
customer listing the goods or services supplied and stating the sum of money
due. For ease of reconciliation it is recommended that one invoice relates to one
order and/or one delivery. Contains tax details where applicable.
Self Billed Invoices - commercial invoice raised by the customer based on the
order placed, delivery received and the contract of supply
Retrospective Self-Billed Invoice - commercial invoice raised by the customer
retrospectively
Factored Invoice - commercial invoice sent by a supplier to a factor who will be
receiving the payment from the customer
Assigned Debt Invoice. Used by sellers to send an invoice file via EDI to the
buyers advising them that the debt has been assigned to the factoring company
Copy Invoice - not for VAT purposes. Raised when copies of an invoice
document are sent from one party to another by EDI for information purposes
only. The original invoice may have been sent by EDI or on paper.

CLAHDR: First message of the Claims File, File Format 100
0710 0711 -

Credit Claims (Newstrade) - claim for credit against unsold copies of a
newspaper or magazine
Sales Report - not final claim for credit. Report of sales of newpspaers and
magazines

UTLHDR: First message of the Utility Bill File, File Format 26
0715 0716 0717 -

Utility Bill - commercial invoice for metered services. Contains tax details
where applicable.
Copy Bill - not for VAT purposes. Copy of a utility bill previously sent by EDI
or other means. For information purposes only.
Utility Credit Note - credit notes only

CREHDR: First message of the Credit Note File, File Format 9
0720 -

0740 -

0741 0742 0749 -

April 1995

Debit Notes Only - notification of a sum or sums owing, raised by the debtor
(customer). Trading partners should agree whether this will conatin VAT
details, or whether the supplier will subsequently raise a Credit Note as the VAT
document.
Credit Notes Only - notification of a sum or sums to be credited. Usually sent by
a supplier to a customer
Self Billed Credit Notes - a credit note raised by the customer based on
information already known
Retrospective Self-Billed Credit Note - credit note raised by the customer
retrospectively
Copy Credit Note - not for VAT purposes. Copy of a credit note sent by EDI or
other means for information only

Section D Page 9

EFTHDR: First message of the Electronic Funds Transaction File, File Format 28
0810 -

Electronic Funds Transaction

SRMHDR: First message of the Statement/Remittance File, File Format 10
0820 0830 -

Statement Details Only - list of credits and debits with the outstanding balance,
sent either as a report or to request payment from the customer by the supplier
Remittance Details Only - details of the items against which a payment is being
made. Sent by the payer to the payee.

UPLHDR: First message of the Uplift Instruction File, File Format 11
0900 0910 -

Uplift Notification - notification of a an uplift (collection) of goods which is
being, or has been made
Planned Uplift - advance notification of an uplift (collection) of goods which is
to be made

UNCHDR: First message of the Uplift Confirmation File, File Format 12
0920 0930 -

Uplift Confirmation - confirmation of the items and quantities which are being,
or have been, uplifted
Confirmation of Uplift Status Report - report of the status of an uplift
(collection) which is being, or is due to be, made

PICHDR: First message of the Picking List File, File Format 5
1000 1010 -

Picking Instructions Only - instructions on what to pick for an order or delivery
Picking Instructions Amendments - change to a picking instruction

AVLHDR: First message of the Availability Report, File Format 15
2000 -

Availability Report Only - report of actual or planned stock availability

SNPHDR: First message of the Stock Snapshot File, File Format 13
2100 -

Stock Snapshot Only - report of current stock holdings, usually sent by the
stockholder to a supplier

SADHDR: First message of the Stock Adjustment File, File Format 14
2200 -

Stock Adjustment Only - notification of adjustments to stock holdings, usually
sent by a third party stockholder (eg a carrier) to the owner of the stock

PPRHDR: First message of the Product Planning Report File, File Format 19
2300 -

Product Planning Report - planning report on products held at different locations

LPRHDR: First message of the Location Planning Report File, File Format 25
April 1995

Section D Page 10

2305 -

Location Planning Report - planning report for locations holding various
products

ACKHDR: First message of the Acknowledgement of Order File, File Format 18
3100 3110 3120 3130 -

3140 -

3145 3150 -

3160 3170 -

Acknowledement that an Order has been received, with no further reference to
the original purchase order line details
Acknowledgement that an Order, with line details as shown, has been received,
with no reference as to whether or not the supplier can meets its requirements
Acknowledgement, including expected delivery, for ALL lines ordered.
Acknowledgement, including expected delivery, for SOME lines ordered. The
recipient must assume the remaining lines will be, or have been, acknowledged
separately. (Not used by EDICUG)
Acknowledgement providing expected delivery information ONLY for those
lines where the Supplier cannot meet the requested delivery date(s). It is
assumed that the lines not included will be delivered as requested. (Not used by
EDICUG)
Acknowledgement of order not able to be supplied. Query outstanding on
customer account. No reference is made to the order line details
Acknowledgement changing details which have previously been advised, eg.
change in Date, Quantity, Price, etc. All details for a line must be shown,
including those which have not changed
Acknowledgement category NOT defined. Will be used where the supplier's
system does not have inbuilt indicators
Acknowledgement that a request to cancel an order has been received and
actioned. No reference is made to the orde line details. (Not used by EDICUG)

CAKHDR: First message of the Claims Acknowledgement File, File Format 107
3200 -

Claims Acknowledgement (Newstrade) - response to a claim for credit,
indicating which claims have been accepted or rejected

PAYHDR: First message of the Payment Order File, File Format 20
0835 -

Payment Order - instruction on a bank to make a payment to a third party

DRAHDR: First message of the Debit Advice File, File Format 21
0840 -

Debit Advice - notification given by the bank to the payer to confirm that a
payment has been, or will be, taken from their account

CRAHDR: First message of the Credit Advice File, File Format 22
0845 -

Credit Advice - notification given by the bank to the payee that a credit payment
has been, or will be, made to their account

EXCHDR: First message of the Exception Condition File, File Format 23

April 1995

Section D Page 11

0850 -

Exception - report from the bank to the payer that a problem has been identified
with a payment

ISSUES: First message of the Issues File, File Format 101
9000 -

Issues (Newstrade) - master file showing details of the current issues of a
magazine or newspaper, with selling restrictions

SORHDR: First message of the Supply and Returns File, File Format 106
9005 -

Supply and Returns (Newstrade) - report of the number of copies of an issued
newspaper or magazine which have been sold or remain unsold

DYEHDR: First message of the Dye Instruction File, File Format 102
9010 9011 -

Dye Order - order for special textile dying and finishing operations
Return Dye Instruction - accompanies the returned dyed and finished items

PVUHDR: First message of the Price and Availability Updates File, File Format 108
9020 9021 -

Complete transmission of Price and Availability Update File
Update transmission of Price and Availability Update File

_______________________________________________________________________

April 1995

Section D Page 12

ANA Standard Code Values - List 3
TRANSACTION TYPE - TTYP
Appears in some file header messages, in segment TYP, but not necessary for new users.
Where no code value is given in this list for a particular file header message, the TTYP element
in that file may be omitted from the message. There will always be a Transaction Code from
List 2 in TCDE.
PROHDR:
COMPLETE-PRO
UPDATE-PRO

_
-

Complete Product Information File (TCDE 0100 and 0102)
Update to existing Product Information File (TCDE 0101 and
0103)

PRIHDR:
COMPLETE-PRI
UPDATE-PRI -

Complete Price Information File (TCDE 0150)
Update to existing Price Information File (TCDE 0151)

CUSHDR:
COMPLETE-CUS
UPDATE-CUS

-

Complete Customer Information File (TCDE 0200)
Update to existing Customer Information File (TCDE 0201)

-

Proposed Orders (TCDE 0350)
Exception to Proposed Orders (TCDE 0360)
Cancelled Orders (TCDE 0400)
New Orders (TCDE 0430)
Confirmation of Order by Ordering Company (TCDE 0460)

ORDHDR:
PROP-ORDERS
EXCEPT-ORDER
CANCEL-ORDER
NEW-ORDERS
CONF-ORDERS
DELHDR:
DELIVERIES DELIVERY-ADJ
DA
DB
DC
DD
DE
PEN-NOTE
PCV-NOTE
ISS-NOTE
April 1995

Delivery Notification (TCDE 0600)
Delivery Adjustments (TCDE 0640)
Instruction to Deliver; Delivery to Customer (used with TCDE
0620)
Instruction to Deliver; Internal Company Movement Out (used
with TCDE 0620)
Instruction to Deliver; Returns to Client
(used with TCDE 0620)
Proposed Delivery; Receipt from Supplier
(used with TCDE 0660)
Proposed Delivery; Internal Company Movement In (used with
TCDE 0660)
Pallet Exchange Note (TCDE 6001)
Pallet Control Voucher (TCDE 6002)
Pallet Issue Note (TCDE 6003)
Section D Page 13

RET-NOTE
TRF-NOTE
QNE-NOTE
RAN-NOTE
XFM-NOTE
PCR-NOTE
WHRECEIPT -

Pallet Return Note (TCDE 6004)
Pallet Transfer Note (TCDE 6005)
Pallet Query Note (TCDE 6006)
Pallet Return Advice Note (TCDE 6007)
Pallet Ex Factory Movement (TCDE 6008)
Pallet Collection Request (TCDE 6009)
Warehouse Receipt (TCDE 0695)

DLCHDR:
CONF-DELIV CONF-DESP
CONF-STATUS
EMC

Confirmation of Delivery (TCDE 0670)
Confirmation of Despatch (TCDE 0680)
Confirmation of Delivery Status Report (TCDE 0690)
Equipment Movement Confirmation (TCDE 6000)

INVFIL:
INVOICES
ASS-INV

-

Invoices Only (TCDE 0700)
Assigned Debt Invoice (TCDE 0707)

-

Debit Notes Only (TCDE 0720)
Credit Notes Only (TCDE 0740)

CREHDR:
DEBIT-NOTES
CREDIT-NOTES
SRMHDR:
STATEMENT REMITTANCE

Statement Details Only (TCDE 0820)
Remittance Details Only (TCDE 0830)

PAYHDR:
PAYORD

-

Payment Order (TCDE 0835)

-

Debit Advice (TCDE 0840)

-

Credit Advice (TCDE 0845)

DRAHDR:
DLADV
CRAHDR:
CREADV
EXCHDR:
EXCEPTION -

Exception Conditions (TCDE 0850)

___________________________________________________________________________

April 1995

Section D Page 14

ANA Standard Code Values - List 4
MEASURE INDICATOR - Sub-element of AUCT, CLSK, DELQ, OQTY, OUBA, OUCT,
QADJ, QPRO, QTYC, QTYI, QTYP, QTYR, QUTF, RQTY, SQTY, UNOR, ULPQ and
XQTY.
Appears in ACKMNT, AVLDET, CORDER, CREDIT, DELIVR, DLCDET, INVOIC,
ORDERS, PICKER, PROINF, SADDET, SNPSTS, UCNDET, UPLIFT and UTLBIL messages
in segments AGD, ALD, AQD, AVD, CLD, COD, DCD, DLD, DLS, ILD, OLD, PIC, PLD,
PRN, PVD, RCD, RDQ, SAD, SLQ, UCD and ULD.
1
100
1000

=
=
=

1
100
1000

M
CM
MM
M2
DM2
CM2
M3
CM3
L
DL
ML

=
=
=
=
=
=
=
=
=
=
=

Metre
Centimetre
Millimetre
Square Metre
Square Decimetre
Square Centimetre
Cubic Metre
Cubic Centimetre
Litre
Decilitre
Millilitre

T
KG
HG
G
MG

=
=
=
=
=

Tonne
Kilogramme
Hectogramme
Gramme
Milligramme

SEC
MIN
HUR
DAY
WEE
MON
QAN
SAN
ANN

=
=
=
=
=
=
=
=
=

Second
Minute
Hour
Day
Week
Month
Quarter Year
Half Year
Year

KSG

=

Kilosegment (64,000 bytes)

MJ
GJ
TJ
HMJ

=
=
=
=

Mega Joule (106 Joules)
Giga Joule (109 Joules)
Tera Joule (1012 Joules)
Hundred Mega Joules

April 1995

consumer units
consumer units
consumer units

Section D Page 15

KVA
KVR
KWH
BTU
THM

=
=
=
=
=

YD
FT
IN
SQYD =
SQFT
SQIN
CUIN
CUFT
HH
FC
GAL
QT
PT
FLOZ

=
Yard
=
Foot
=
Inch
Square Yard
=
Square Foot
=
Square Inch
=
Cubic Inch
=
Cubic Foot
=
Hundred Cubic Feet
=
Thousand Cubic Feet
=
Gallon
=
Quart
=
Pint
=
Fluid Ounce

CWT
QR
LB
OZ
GR

=
=
=
=
=

Hundredweight
Quarter
Pound
Ounce
Grain

ZZ

=

Undefined - only used in intermediate stages of a calculation

NB

Kilovolt-ampere
Kilovar (reactive power)
Kilowatt-hour
British Thermal Unit
Therm

These abbreviations are those authorised for trade use by the Weights and Measures
(Marking of Goods and Abbreviations of Units) Regulations 1975.
Legislation is being introduced to phase out the use of imperial units following the 1989
Units of Measurement Directive 89/617/EEC. This will lead to amendments to the
Weights and Measures Act 1985 and the Units of Measurement Regulations 1986.
Certain exemptions will apply in the UK, but metric units are recommended for use in
trade.
Users requiring additional Units of Measure should refer to the United Nations Trade
Data Element Directory (1987 edition), section 5.6; Codes for Units of Measurement
used in International Trade.

___________________________________________________________________________

April 1995

Section D Page 16

ANA Standard Code Values - List 5
SPECIAL PRICE INDICATOR - PIND
Appears in DELIVR, INVOIC, CORDER and ORDERS messages, in segments DLS, ILD,
COD and OLD.
F
P

=
=

Free
Promotion

___________________________________________________________________________
ANA Standard Code Values - List 6
ORDER CLASSIFICATION - CLAS
Appears in ORDERS, PICKER and CORDER messages, in segment ORD.
The default order classification (when no code is required) is a customer order.
C
E
N
R
S
X

=
=
=
=
=
=

Campaign
Easter
New Release
Request (special customer order for items not usually stocked)
Stock (replenishment order)
Christmas

___________________________________________________________________________

April 1995

Section D Page 17

ANA Standard Code Values - List 7
ORDER CODE - ORCD
Appears in ORDERS, PICKER and CORDER messages, in segment ORD. Used where the
order file contains mixed order types (TCDE = 0470).
P
E
C
N
A
R
F
O
K
X
T
H
S
B
D
L
G
W

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

Proposed Order
Exception to Proposed Order
Cancelled Order
New Order
Order Amendment
Re-Scheduled Order
Confirmation Order
Call Off Order
Confirmation of Cancelled Order
Addition to Existing Order
Order Commitment
Order for Retained Approval Goods
Order for Goods on Approval or Inspection
Branch Delivery Order
Home Delivery Order
Lines Cancelled in Amended Order
Standing Order
Order Chaser

___________________________________________________________________________
ANA Standard Code Values - List 8
TO FOLLOW INDICATOR - TFIN
Appears in DELIVR, CORDER and ORDERS messages, in segments DLS, COD and OLD.
T
N

=
=

To follow
Not to follow

___________________________________________________________________________

April 1995

Section D Page 18

ANA Standard Code Values - List 9
CREDIT/DEBIT LINE INDICATOR - CRLI/DRLI
CRLI appears in DELIVR and INVOIC messages, in segments DLS and ILD. DRLI appears in
the CREDIT message in segment CLD.
R
H

=
=

Returns
Handling Allowance

___________________________________________________________________________
ANA Standard Code Values - List 10
ITEM GROUP IDENTIFIER - IGPI
Appears in INVOIC message, in segment ILD.
G
I

=
=

Group
Item

___________________________________________________________________________
ANA Standard Code Values - List 11
CASH SETTLEMENT DISCOUNT IDENTIFIER - CSDI
Appears in INVOIC message, in segment ILD
D
N

=
=

Item line eligible for cash settlement discount
Item line not eligible for cash settlement discount

If lines normally attract a cash settlement discount the identifier may be omitted and will be
taken as eligible by default.
___________________________________________________________________________

April 1995

Section D Page 19

ANA Standard Code Values - List 12
VAT RATE CATEGORY CODE - VATC
Appears in CREDIT, INVOIC, PROINF, UTLBIL, UVATLR and VATTLR messages, in
segments CLD, CST, ILD, STL, PRD, VRS, VAT and VTS.
S
T
V
Z
X
H
J
K
E
F
G
I
O
A
R
N
L

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

Standard rate
Standard rated free goods, VAT charged
Standard rated free goods, VAT not charged
Zero rate
Exemption from VAT
Higher rate
Higher rated free goods, VAT charged
Higher rated free goods, VAT not charged
Export item
Free export item, VAT charged
Free export item, VAT not charged
Import item
Services outside the scope of VAT
Mixed VAT rate item
Reconciliation - Invoice raised for VAT only
Input Tax paid but not reclaimable
Lower rate

For Insurance Industry:
C

=

Original VAT liability on copy invoices sent to Insurers - VATP would be as
charged by the repairer/supplier. Applicable when policy holder is VAT
registered.

P

=

Credit Line payments which will be due to the Policy Holder or Insurer to settle always deducted from the invoice value.

D

=

Insurance Premium Tax

___________________________________________________________________________

April 1995

Section D Page 20

ANA Standard Code Values - List 13
REASON FOR CREDIT CODE
Appears in CREDIT message, segment CLD, element CRRE.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

-

Excess quantity ordered
Order duplicated
Product ordered in error
Product not approved
Substitute product not accepted
Delivery instruction error
Delivery address error
Damage in transit
Loss in transit
Delivery refused - appointment
Delivery refused - late
Delivery refused - other reasons
Split order deliveries not accepted
Promotional discount error
Settlement discount error
Trade discount error
Trade price error
VAT rate error
Extension error
Damage on premises
Out of date
Surplus to requirements
Sale or return
Superceded product
Deteriorated product
Advertising allowance
Promotion allowance
Rebate
Retrospective discount
Coupon redemption
Returnable containers
Goods used for demonstrations
Free goods charged in error
Agreed settlement
Equipment rental
Concession
Third party delivery
Short delivery
Incorrect product delivered

___________________________________________________________________________

April 1995

Section D Page 21

ANA Standard Code Values - List 14
VAT TYPE OF SUPPLY - TSUP
Appears in INVOIC message, segment ILD.
A
B
C
D
E
F
G
H

-

Ordinary sale
Hire purchase, conditional sale, credit sale or similar loan
Loan
Exchange
Hire, lease or rental
Process (making goods from someone else's materials)
Sales on Commission (eg. by an Auctioneer)
Sale or Return, or similar terms

These codes are defined by HM Customs and Excise. If the transaction is an ordinary sale
(HMCE Code A) the data element may be omitted.
___________________________________________________________________________
ANA Standard Code Values - List 15
STATEMENT/REMITTANCE LINE CODE - LINE
Appears in SRMINF message, segment SRD.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22

-

Credit Balance Brought Forward
Debit Balance Brought Forward
Credit Balance Carried Forward
Debit Balance Carried Forward
Invoice
Credit Note
Debit Note
On-Account Payment
Deposit
Direct Debit Notification
Payment
Invoice Cancellation
Credit Note Cancellation
Debit Note Cancellation
Rebate
Rebate Cancellation
Debit Journal
Credit Journal
Cash Payment (Debit)
Cash Payment (Credit)
Settlement Discount Payment (Debit)
Settlement Discount Payment (Credit)

___________________________________________________________________________
April 1995

Section D Page 22

ANA Standard Code Values - List 16
APPLICATION REFERENCE ABBREVIATIONS - APRF
May be used in the STX segment which heads the transmission file
Live Status Files
PROHDR
PRIHDR
CUSHDR
ORDHDR
PICHDR
DELHDR
DLCHDR
INVFIL
CREHDR
SRMHDR
UPLHDR
UCNHDR
SNPHDR
SADHDR
AVLHDR
GENHDR
CORHDR
ACKHDR
PPRHDR
PAYHDR
DRAHDR
CRAHDR
EXCHDR
LPRHDR
UTLHDR
HOTHDR
EFTHDR
INTHDR
CLAHDR
ISSUES
DYEHDR
BTOHDR
HSOHDR
SORHDR
CAKHDR
PVUHDR

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

Product Information File
Price Information File
Customer Information File
Order File
Picking Instructions File
Delivery Notification File
Delivery Confirmation File
Invoice File
Credit Note File
Statement/Remittance Details File
Uplift Instruction File
Uplift Confirmation File
Stock Snapshot File
Stock Adjustment File
Availability Report
General Communications File
Complex Order
Acknowledgement of Order
Product Planning Report File
Payment Order File
Debit Advice File
Credit Advice File
Exception Condition File
Location Planning Report file
Utility Bill File
Hot Card File
Electronic Funds Transaction File
Interchange Acknowledgement File
Claims File
Issues File
Dye Instruction File
Book Order File
Homeshopping Order File
Supply and Return File
Claims Acknowledgement File
Price and Availability Updates File

Test Status Files:
Abbreviations for test status files are as above, but with the last three letters of the abbreviation
replaced by 'TES' eg. PROTES, PRITES, INVTES, etc.

April 1995

Section D Page 23

___________________________________________________________________________
ANA Standard Code Values - List 17
REASON FOR VARIANCE CODE - REVR
Appears in DLCDET and UCNDET messages
A
B
C
D
E
F
G
H
J
K
L
M
N
P
Q
R
S
T
U
V
W
X
Y
Z
AA
AB

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

Out of Stock
Goods not Loaded
Refused Delivery
Damaged Goods
Driver Short Delivered
Discontinued Line
Customer Closed
Drivers Hours Regulations
Cash Unavailable
Cancelled by Salesman
Cancelled by Head Office
Over Substitution
Over Delivery of Product Ordered
Cancelled Before Delivery
Product Delivered Not Ordered
Overstocked
Not Required
Not Ordered
Return of Empty Containers
Late Delivery
Refused on Re-Delivery
Other Reasons
Nationally Out of Stock
Substitute Product
Confirmation of No Variance
Faulty Goods

___________________________________________________________________________

April 1995

Section D Page 24

ANA Standard Code Values - List 18
STOCK STATUS CODE - SSTC
Appears in DLCDET, DELIVR, UCNDET, SADDET, SNPSTS and UPLIFT messages, in
segments DCD, DLD, RCD, SAD, SLD, UCD and ULD.
1
2
3
4
5

=
=
=
=
=

Prime
Damaged
Out of Date
Quarantined
Written Off

___________________________________________________________________________
ANA Standard Code Values - List 19
STOCK SNAPSHOT CATEGORY CODE - SSCC
Appears in SNPSTS message, segment SSR
01
02
03
04
05
06
07

=
=
=
=
=
=
=

Below Re-order Level
Available Stock
Physical Stock
Book Stock
Floor Stock
Unplanned Stock
Planned Stock

___________________________________________________________________________

April 1995

Section D Page 25

ANA Standard Code Values - List 20
REASON FOR ADJUSTMENT CODE - RADJ
Appears in SADDET message, SAD segment
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

POD Input Error
Short or Over Delivery
Item Not Recorded on POD
Stock Take Adjustment
Other Reason
Damages on Receipt from Client
Delivery Damage
Damage on Transfer from Other Depot
Uplift of Damaged Stock
Warehouse Damage
Adjustment from Damaged to Prime
Written Off
Damages Returned to Client
Intake/Transfer Input Error
Returns Input Error
Damage to Prime, Receipt from Client
Damage to Prime, Damaged during Delivery
Damage to Prime, Damaged during Transfer
Damage to Prime, Uplifted Damages
Damage to Prime, Damaged in Warehouse
Out of Date Stock
On Client Request
Damage to Prime, Out of Date Stock
Damage to Prime, On Client Request

___________________________________________________________________________

April 1995

Section D Page 26

ANA Standard Code Values - List 21
DELIVERY/UPLIFT CONDITION CODES - DELC and UPLC
Appears in DLCDET and UCNDET messages. (0-4 paired with TCDE's 0670 and 0920)
0
1
2
3
4

=
=
=
=
=

Delivered/Uplifted as instructed
Delivery/Uplift Variance from prior transmitted instruction
Completely Undelivered/Uncollected: transaction NOT to be replanned
Delivery/Uplift Variance, with no prior transmitted instruction
Completely Undelivered/Uncollected; transaction to be replanned

Extra Delivery Condition Codes: To be used when file is used as a confirmation of Delivery or
Uplift status (Transaction Code = 0690, except where stated). Where line details are not
transmitted.
A
B
C
D
E
F
G
H
J
K
L
M

=
=
=
=
=
=
=
=
=
=
=
=

Delivery picked and packed
Delivery held at distribution centre
Delivery despatched from distribution centre (paired with TCDE 0680)
Delivery arrived at local depot
Delivery held at local depot
Delivery despatched from local depot
Delivery retained in local depot
Negotiated delivery date confirmed
Negotiated delivery date adjusted
Uplift held in local depot (paired with TCDE of 0930)
Uplift arrived at distribution centre (paired with TCDE of 0930)
Proof of delivery

___________________________________________________________________________

April 1995

Section D Page 27

ANA Standard Code Values - List 22
DATA NARRATIVE CODES
The codes below may be used in DNAC. Other code lists and their values can be defined and
agreed by trading partners.
Code

Represents Plain Text

01
02
03
04

Certificate of confirmity required
Release to BS9000 required
Release to CECC required
These commodities have been authorised for export from the US under a special
distribution licence procedure, on condition that they may not be re-exported
without prior approval from the US Authorities
Where necessary the quantities on this order have been amended to align with
our published minimum/multiple supply quantities
Items showing expected delivery TBA are not yet released and no firm delivery
date can be quoted at this time
Under the authority of the Chief Inspector, same type to CECC may be shipped
in lieu of BS9000. Please advise your goods inwards
Please note that the goods supplied are deemed to be non-standard and
cancellation will only be accepted in accordance with our conditions of sale
We regret we cannot accept Government costed conditions for standard
catalogue items, and therefore these goods will be subject to our standard
conditions of sale
Deliveries are subject to price re-negotiation
Items supplied to this order comply with our specifications/drawings
Special terms and conditions as agreed between our companies will apply, as
appropriate, to this order
American Military release required
"BSI Registered Stockist". To be released in accordance with BSI registered
stockist requirements (A) full batch identification (B) full batch traceability (C)
certificate of confirmity or test certificate for each batch supplied
Tentative Order, with customer commitment to Material Cost only
Provisional Order, with no customer commitment, and which is likely to be
subject to change. Provided to the supplier as a forecast or probable requirement
for capacity planning purposes only
This order is placed subject to our current terms and conditions
Payment Terms: the amount payable must be received at the given address by
the payment date shown. When paid within these terms then the discount is
allowed, but on the net total only. Orders are accepted on the understanding that
they are invoiced at the price ruling on the agreed day of the delivery of goods
The amount of the debt represented by the electronic invoice has been assigned
absolutely to our Factor whose identity is contained in the registered text field
below. Payment must be made only to our Factor and they alone can give a
valid discharge thereof. Our Factor should be advised of any claims or disputes
Item(s) currently out of stock
Discontinued item(s)
Cannot be manufactured due to shortage of raw materials

05
06
07
08
09

10
11
12
13
14

15
16

17
18

19

20
21
22
April 1995

Section D Page 28

Code

Represents Plain Text

23
24
25
26
27

Unable to comply with required delivery date
EDI copy invoice - not for VAT control purposes
Firm Requirement: required in these works on the dates specified
Tentative Requirement: order pending, to be confirmed by a later schedule
Payment Terms: The amount payable must be received at the given address by
the payment date shown. When paid within these terms then the discount is
allowed, but on the net total only. Orders are accepted on the understanding that
they are invoiced at the price ruling on the agreed day of the delivery of goods
Terms of Trade: Goods are supplied hereunder upon our current trading terms, a
copy of which are available on request. Such terms include a reservation of title
clause
This is a Self-Billed Invoice: the VAT shown is your output tax due to HM
Customs & Excise

28

For further use of Data Narrative Segments see Annex 1.
___________________________________________________________________________
ANA Standard Code Values - List 23
RESERVED CODE LISTS (ELECTRONICS COMPONENTS SECTOR)
___________________________________________________________________________

April 1995

Section D Page 29

ANA Standards Code Values - List 24 - See RTEX File
REGISTERED TEXT CODES - Used in element RTEX. Where unspecified, the format of the
Application Text is X(40), of variable length.
Code

Application

001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043

Wine Vintage Number
Nominal Distribution Code
Product Dimensions
Extended Product Information
Duty Rate
Invoice Specific Text Line 1
Invoice Specific Text Line 2
Last Advice Note Number
Specification Number
Contract Number
Certificate Number
Last Advice Note Date
Last Advice Note Quantity
American Military Release No.
CECC Specification No.
BS Specification No.
Quantity in Pricing Units
Extended Part Number
Payment Terms
Transport Type
Special Packing Instructions
Carriage Charges
Engineering Part Issue Number
Registration Number
Batch Reference Number
Price Related Additional Data
Advice Note Number
Advice Note Date
Reference Invoice Number
Reference Credit Note Number
Supplier's Contact Name
Exchange Rate
Invoice Currency
Mail Order Company Reference
Charge Code
Order Transaction Code
Delivery Collection Service Code
Order Transaction Status Date
Goods Exchange Indicator
Microfilm Address
Microfilm Record Sheet No.
Optimum Pick Date
Original Order Line No.

April 1995

Section D Page 30

Code

Application

044
045
046
047

Reason for Variance Text
Exchange Rate Applicable
Contracted Exchange Rate Rolerance
Paragraph within Conditions of Sale or Purchase to which particular attention is
drawn for this Order
Rate of Duty Pay Back applicable for this sale ordered item
Buyer's Name
Preferred Manufacturer
Contractual Delivery Date
Quote Reference
Cheque Number
Despatch period reference No.
Additional Discount Type A
Additional Discount Type B
Additional Discount Type C
Stock Point (physical segregation of stock where location is not necessarily
holder's warehouse)
Collecting Depot (where Depot receiving refused goods is different to that from
which they were delivered)
Extended Text for Credit Reason
Seller's Order Line Number
Order Amendment Sequence No.
Order Title (Project/Programme Name)
Contractual Delivery Quantity
Drawing No.
Seller's Order Reference Number
Accession Number
Classification Number
Budget Allocation Code
Stock Category
Supplier's Standard Address Code
Customer's Standard Address Code
Currency Code
Manufacturer's Recommended Selling Price in quoted currency, shown with 2
decimal places implicit
Net Book Price in quoted currency, shown with 2 decimal places implicit
Consignee's Order Number
where a delivery/uplift is a relationship between a Carrier and a
Retailer/Manufacturer, this element pertains to the order number supplied to the
Retailer/Manufacturer by the end Customer
Goods Exchange Reference
when the uplift of faulty goods is done at the same time as the delivery of the
replacements, the delivery and uplift are cross-refererred to each other using the
Goods Exchange Reference
Mail Order Publication Reference
Reference to a particular publication eg. Autumn/Winter as opposed to
Spring/Summer catalogue
Date to Awaiting Print Status
Settlement Discount (%)
Unit Cost Price (pre-discount)

048
049
050
051
052
053
054
055
056
057
058
059
060
061
062
063
064
065
066
067
068
069
070
071
072
073
074
075
076

077

078

079
080
081
April 1995

Section D Page 31

Code

Application

082
083
084
085
086

Customer Order No (by line)
Finished Size 01
Finished Size 02
Finished Size 03
Order Length Required
These are order specific tolerances that British Steel customers will be required
to specify when ordering standard sizes or lengths
Viewdata Stock Allocation Quantity
Quantity of stock allocated to order by Philips "MOVIES" viewdata system
Diary Class
For use with the diary of negotiated delivery dates
Payment Date
Answer Code
Date of Answer Code
Answer Code Action Date
Short Title
Discount Value
Discount Percentage
Chaser Sequence Number
Settlement Terms
This is the discount given when a customer pays within a set number of days. It
consists of a percentage and a number of days in three consecutive blocks of 8
digits. Each block has 3 digit percentage integers, 2 decimal places and 3 digits
for the number of days eg. 2.5% within 10 days = 00250010
First Line Invoice Comments - text
Viewdata Order Type - Format X(3)
Viewdata Stock Location Code - Format X(6)
Stock/Non Stock Order Indicator
Suggested values: 1 = stock replenishment order; 2 = non-stock order to meet a
specific requirement
Quality Assurance
Order subject to QA procedures of the purchaser
Quality Assurance
Purchaser's representative's release note to accompany the goods
Quality Assurance
Test certificates to be provided
Quality Assurance
Item(s) for use above 7 Bar
Ordering Office Contact Name
Name of Person to Whom Goods are to be Delivered
Retail Selling Price for a Product in an Order Line; fieldsize 9(5), price in pence
Customer's Merchandise Department
Department within the ordering company who are responsible for this product
line. The customer will advise the location code to be used
Goods Received Note Identity Number
Format X(9)

087
088
089
090
091
092
093
094
095
096
097

098
099
100
101

102
103
104
105
106
107
108
109

110

April 1995

Section D Page 32

Code

Application

111

Advice Note Number
Format X(20)
Used when number is larger than standard
Order Number for Self Billed Invoicing
Format X(25) which is greater than the ORNO field
Quantity Supplied - format 9(6)V9(5), used with QTYI fields
Price per Unit - format 9(9)V9(2), used with AUCT
Original Unit Price - format 9(9)V9(2), used for retrospective price adjustments
Line Level Goods Value - format 9(9)V9(2), used with LEXC
Total Goods Value - format 9(11)V(2), used with LVLA
Invoice Level Discount - format 9(11)V9(2)
Invoice Level VAT Amount - format 9(11)V9(2)
Date of Incident - the date on which the cause of the supply happened - format
YYMMDD
Date of Insurance Renewal - format YYMMDD
Customer Registered for VAT Indicator - Value will be Y or N
Odometer Reading - records the mileage at the time of supply - format 9(8)
Vehicle Registration - format X(14)
Warranty Number - this will record the warranty certificate number. Format
X(30)
Reason Code - format X(3). This is the reason for doing the job on the vehicle,
eg. radio replaced due to theft etc.
Action Code - format X(3). This is the action taken eg. supply and fit, supply
only, fit only, etc.
Country of Origin - use the 2 alpha ISO country codes found in the Trade Data
Elements Directory (TDED) in code list 3207 (EDIFACT) : ISO Code List 3166
Data Source and Version Number Text
Contra Account, Short name - text
The name of the company to whom the pallet is interchanged
Opening Stock - number of units
Closing Stock - number of units
Master Case Order quantity - this is the order line quantity expressed as a
number of master shipping cases
TI Multiple - format 9(6). This indicates the number of shipping cases per tier of
a pallet for an order line/delivery note
HI Multiple - format 9(6). This indicates the number of layers/tiers on the pallet
ANA Number Representing the Factor Involved in the Assigned Invoice format 9(13)
Part Type - this enables the supplier to indicate the type of part supplied for
onward billing
Contact Name at the Delivery Address - format maximum size X(35)
Style - format X(15). Code describing the style of the article ordered, where the
product code is not sufficient
Department Code - format X(4). Company's own department code
Colour Description of the Product - format X(35)
Size
Total Order Value - format 9(15)
House of Fraser Season Code - format X(1)
Customer's Telephone Number - format X(25) *INCREASED FROM 9(10)*
Documentation Requirements - This is specific to B&Q as it is a concatenated

112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
April 1995

Section D Page 33

Code

147

148

149

150
151
152
153
154

155-164
155

April 1995

Application
set of data, the detail of which is separated by a comma as a field separator.
Data will be sent in the following order:
No. of Invoice Copies V 9(2)
No. of Packing List Copies V 9(2)
No. of GSP Form A V 9(2)
No. of Certificates of Origin V 9(2)
No. of Specification Sheets V 9(2)
No. of Inspection Certificates V 9(2)
No. of Clean 'Shipped on Board' B/L V 9(2)
No. of CMR V 9(2)
No. of Proof of Delivery Documents V 9(2)
No. of Days Before ETA Documents Must Arrive V 9(2)
If there is no data, the field will have a '0' between the commas
Letter of Credit Details - This is a concatenation of the:
Letter of Credit No. - format V X(11)
Letter of Credit Opened Date - format F 9(6)
Letter of Credit Expiry Date - format F 9(6)
Shipment Details - This is a concatenation of the:
Shipment Estimated Date of Departure - format F 9(6)
Shipment Estimated Date of Arrival - format F 9(6)
Schedule for the delivery of an order line. A concatenated field used to specify,
as a string of data, the required date 9(6), and the required quantity. The required
quantity is split into three sub-elements; the number of traded units 9(15), the
total measure 9(10)V9(3) and the measure indicator X(6). The quantity fields
become fixed length fields as there are no separator characters.
Supplying Branch Telephone Number
The telephone number of the supplier's retail outlet, up to 9(11) (UK).
Vehicle Description: Text description of the vehicle. X(40)
Client's reference for the vehicle X(40).
VIN - Vehicle identity X(40).
Type of invoice indicator: Used by Fleetnet to indicate the type of service
invoiced as each has separate processing rules. Codes for this agreed and
maintained by the Fleetnet community.
British Coal billing requirements
*Coal or Coke Invoice indicator: format 9(1). Has the following values 1 = Coal,
or 2 = Coke.*
Haulier Code: format X(3)

Section D Page 34

Code
156

157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182

183

Application
Invoice or Adjustment Type: format 9(1)
British Coal code list. Values are:
1 = Current Month Invoice
2 = Previous Month Supplementary Invoice Debit
3 = Previous Month Supplementary Invoice Credit
4 = Debit or Credit Adjustment
5 = Weekly Invoice
6 = Weekly Supplementary Invoice Debit
7 = Weekly Supplementary Invoice Credit
8 = Weekly Interim Invoice
Invoice Location Code: Format V X(13)
British Coal location to which queries should be addressed
Consignee Name: Format X (40), Name of consignee. This may not be the same
as the destination name
Destination Name: Format X (40), Name of destination
Method of Transport: Format X (2), British Coal codes
RD = Road, RL = Rail, CN = Canal, OM = Other Methods
Customer code for consignee; Format X (14); Code allocated by customer
Method of Loading: Format X (3); British Coal code
BACS Reference: Format X (15): Reference allocated by BACS to a payment.
Used in conjunction with Remittance Advices
Advice Note Number: Format X (20)
Depot Code
Customer's fax number, format 9(10)
Customer's location telephone number, 9(10)
Customer's location order reference, X(20)
Inventory Manager's telephone number, 9(10)
Invoicing instructions - text, X(40)
Product inscription, X(40)
Sender's Contact Name
Sender's Contact Telephone Number, Format 9(10)
Payment Method, Use bank standard codes
Payment Date, 9(6) YYMMDD. Date payment was transferred, if electronic, or
will be raised if a cheque
Payment Reference, X (17), the number of the cheque or payment order
Driver's Name, X (40)
Months in service, 9(2), The number of months since the vehicle was taken onto
a leasing scheme
Charge Type, Code given to define the type of charge, eg Contract Hire, Lease
Rental etc.
Charge Period. Period to which a charge relates
Charge Comment X(40) Additional text information relating to the charge.
Concatenated Order Level Totals
The totals to be separated by commas
Format: 9(3)V9(3), 9(10)V9(2), 9(10)V9(2)
Totals to appear in the order:
Total Cubic Metres;
Total Unit Cost;
Total Cost
Final Delivery Indicator, Format: X(1)

April 1995

Section D Page 35

Code
184
185

186
187
188
189
190

191

192
193

194
195

196

197

198
199

200

April 1995

Application
Value: 'Y' or 'N'
Serial Shipping Container Code, Format: 9(18)
To identify individual pallets delivered
Number of Cases, Format: 9(5)
To show number of cases on an individual pallet, which may differ from the
standard number given in the original order
Date when available, Format: 9(6)
Substitute available marker, Format: X(1)
Value: 'Y' or 'N'
Pressurised Systems Legislation: to indicate items for 2 to 7 bar use
Pressurised Systems Legislation: to indicate items for use below 2 bar
Cause of problem code
The Registered Text field following the code can be used to insert the actual
cause of the problem. Format X(40)
Contractor's Name
The name of the contractor who has completed the work on a vehicle which is
then being invoiced to a contract hire company and then re-invoiced to the
operating company.
Contractor's Town
Town where the work was carried out
Voucher Date
Date on which the Fleetcard Voucher was completed.
Format: 9(6) YYMMDD
Transaction Reference
Reference relating to the original work carried out
Amended line code
Generic code to identify the field(s) which have been amended, ie. change in
quantity or price, on an Order or Complex Order amendment message. To aid
automatic processing of messages received. The Registered Text field following
the code to be used to detail the amendment in plain text for manual processing
Total Ordered Lines
Product lines called off on Picking List
Format: 9(10)
Total Ordered Quantity
Quantity called off on Picking List
Format: 9(15)
Total Received Lines
Product lines booked in at warehouse. Format: 9(10)
Total Received Quantity
Quantity booked in at warehouse
Format: 9(15)
In-store price
Selling price of an item when this differs from the recommended or marked
price.
Format 9(10)V9(4)

Section D Page 36

Code

Application

201

Gross Profit Percentage
Percentage difference between the in-store price and the net cost from the
supplier.
Format 9(3)V9(3)
Best Before End Date
(Supplementary Product Data)
Format 9(6) YYMMDD
Reason for Shortage Code
Debit Note Number
Fleet Card Number
Invoice Line Reference
To hold a consumer's or dealer's reference at line level on an invoice
Format X(35) variable length
Insured's Name
The name of the insured party (which may be different to the driver of the
vehicle)
Third Party's Name
The name of any third party involved with the incident
Invoice for Period From
Format YYMMDD
Invoice for Period To
Format YYMMDD
Corporate Indicator
Indicates whether an order has been placed by a corporate customer or an
individual
Format X(40)
Carrier Identity
Identifies the carrier of the products ordered by name and/or number
Format X(40)
Due Date for Pickup
To inform the supplier and the carrier of the date by which pickup should have
occurred
Format 9(6) YYMMDD
`Please quote this message on all documents'
Used to include a line of text which must be printed by the recipient on any
subsequent documentation sent back to the originator of the EDI message.
Format X(40)
Customer Brand Number
Format X(40)
Product Division Number
Format X(40)
Delivery Cycle
The time of day in which the depot will deliver the stock to the stores.
Suggested values `AM' or `PM'
Format X(10)
Number of Pallets
The total number of pallets on the vehicle
Format 9(15)

202

203
204
205
206

207

208
209
210
211

212

213

214

215
216
217

218

April 1995

Section D Page 37

219
220

221

222

223
224

225

226

227

228

229

230

April 1995

Vehicle Seal Number
Format X(40)
Special Delivery Instructions
To indicate whether pre-booking is required
Format X(40)
Delivery Note Number
To reference the relvant Delivery Note
Format X(17)
Customer's Own Article Number
Where a delivery/uplift is a relationship between a carrier and a
retailer/manufacturer, this element pertains to the article ordered from the
retailer/manufacturer by the end customer.
Collection Time
Format 9(4) - HHMM
Usual Delivery Point
Used to indicate whether a product is delivered by the supplier into the store or
into the central warehouse.
Suggested values 'S' store delivery, 'W' warehouse delivery.
Format X(40)
Energy Supply Zero Rated
Reason for zero rate given in format X(40)
Suggested values `P' prepaid, `L' low consumption
Packaging Reference
To identify the reference number of the parcel or package into which the line
item should be packed.
Format X(17).
Destination Code
Indicates that a delivery line is intended for a specific final destination, so cannot
be allocated to another destination by the depot.
Format X(3)
Temperature Regime
Indicates the temperature, or temperature range, at which the goods must be
stored and handled.
Format X(3)
Suggested temperature range codes are as follows:
C - Cold Chain (between 0 and 10 C)
A - Ambient
Delivery Line Number
Additional reference for a line on a Delivery Notification. Used to track goods
sent via transshipment locations. The lines may not be split at the consolidation
depot.
Format 9(3)
Additional Order Specifications
Additional specific indication of the type of order, the reason for the order, or
special service requirements, where these aspects are not covered by industry
code lists.
Format X(40)

Section D Page 38

231

232

233
234
235

236

237

238

239

240

241

242

243

244

245

Special processing Instruction
Defines a process to be applied to a product before despatch. Used in the book
trade to cover processing by library suppliers, when industry code lists do not
exist.
Customer Delivery Reference
The booking reference for the customer
Format X(17)
Delivery Time
Format 9(4) - HHMM
Number of Vehicles
Format 9(2)
Substitution Items DUN-14 Code
Used for traded units identified by a DUN-14 Code
Format 9(14)
Production Week Number
Indicates the calendar week that the product will be produced.
Format 9(3)
Destination Country
Use the ISO country code list 3166
Format X(3)
Deal Number
Unique identifier of a deal
Format X(17)
Project Number
Unique identifier of a promotional project
Format X(17)
Incentive Value
Value of the incentive as an amount or a percentage (used with RTEX 241)
Format 9(10)V9(4)
Incentive Type
Description of type of incentive eg. free gift, buy 10 get 1 free,
10% extra etc.
Format X(40)
Agreed Capacity (Electricity Supply)
Maximum supply capacity agreed between Host REC and customer within
the customer connection agreement.
Format 9(6)
KW Monthly Maximum (Electricity Supply)
Maximum KW demand recorded in a monthly period. Usually required during
the Host REC's 'peak' period (typically November to February).
Format 9(6)
KVA Monthly Maximum (Electricity Supply)
Maximum KVA demand recorded within the Host REC's 'peak' period
(typically November to February)
Format 9(6)
Supply Monthly Maximum (Electricity Supply)
Maximum demand within the period covered by the DUoS bill
Format 9(6)

April 1995

Section D Page 39

246

247
248
249

250

251

252

Agreed Minimum Chargeable Capacity (Electricity Supply)
Minimum supply capacity (for availability charge), agreed between Host REC
and customer within the customer connection agreement.
Format 9(6)
Months To Run of Minimum Chargeable Capacity Agreement
Format 9(2)
Portion Of Month (in 30ths) Covered By This Bill
Format 9(2)
Special Labelling Requirement
To advise suppliers of special labels or tickets which must be afixed to the goods
being supplied
Format X(40)
Returnable Container
Used to identify the type of returnable container e.g. tray in which the goods are
delivered, stored or transported
Format X(40)
Third Party Delivery Reference
Original delivery reference for goods movements between a supplier and a third
party such as a haulier or consolidator
Format X(17)
Third Party Order Reference
Original order reference for goods supplied via a haulier or consolidator
Format X(17)

___________________________________________________________________________

April 1995

Section D Page 40

ANA Standard Code Values - List 25
TRANSACTION PLANNING STATUS
Appears in DELIVR and UPLIFT messages when a delivery or uplift is planned. Used in
element TPST, segment DEL for transaction type Code = 0630, and in segment UPL for
transaction type Code = 0910.
A
B
C
D

=
=
=
=

New Delivery/Uplift
Delivery/Uplift Adjustment
Delivery/Uplift Cancellation
Delivery/Uplift to be negotiated

___________________________________________________________________________
ANA Standard Code Values - List 26
DELIVERY/UPLIFT ACTION DETAILS
Used in data element DUAC - Delivery/Uplift Action Details, which appears in DLCDET and
UCNDET messages, in segments DST, DCD, UST and UCD
R
C

=
=

Rebook
Cancel

___________________________________________________________________________
ANA Standard Code Values - List 27
REPORT PERIOD BASE - RTRS
Appears in PPRDET and LPRDET messages in segment SFR
This code list is also reference in data element Bill Frequency Code - BIFR in thhe UTLBIL
message
H
D
W
F
L
M
B
Q
S
A
Z

=
=
=
=
=
=
=
=
=
=
=

Each working hour
Working day
Weekly
Fortnightly
4 week period (Lunar Month)
Monthly (Calendar Month)
Every two months
Quarterly
6 month period
Annual
Bilaterally agreed

___________________________________________________________________________

April 1995

Section D Page 41

ANA Standard Code Values - List 28
LOCATION ACTIVITY INDICATOR - LOCA
Appears in PPRDET message in segment PLO, to indicate why a location is inactive and not
included in a particular message. If it is not used, then data from that location should be in the
report.
Code

Reason for "inactivity"

1.
2.
3.
4.

Location is unable to return information
Location is temporarily closed (eg. holidays)
Location has changed its identity
Location has ceased trading

___________________________________________________________________________
ANA Standard Code Values - List 29
REPORT FUNCTION INDICATOR - REPU
Appears in PPRDET and LPRDET messages in segment SFR to indicate the data content within
the report.
AFC
BFC
CON
CST
DEL
DES
EXP
ORD
OTH
PRD
PUP
REV
RTN
SAL
STC
STK
SUP
YTS

-

Actual forecast
Base forecast
Consumption
Costs
Deliveries (Received)
Despatches (Sent)
Expenditure
Orders
Other
Production
Promotional Uplift
Revenue
Returns
Sales
Stock Cover
Stock
Seasonal Uplift
Year to Date Sales

___________________________________________________________________________

April 1995

Section D Page 42

ANA Standard Code Values - List 30
STORAGE MEDIUM CODE - SMCO
Appears in PROINF message in segment STD

Package type names
Aerosol
Ampoule, non-protected
Ampoule, protected
Atomizer
Barrel
Bobbin
Bottlecrate, bottlerack
Board
Bundle
Balloon, non-protected
Bag
Bunch
Bin
Bucket
Basket
Bale, compressed
Bale, non-compressed
Bottle, non-protected, cylindrical
Balloon, protected
Bottle, protected cylindrical
Bar
Bottle, non-protected, bulbous
Bolt
Butt
Bottle, protected, bulbous
Box
Board, in bundle/bunch/truss
Bars, in bundle/bunch/truss
Can, rectangular
Beer crate
Churn
Creel
Coffer
Cage
Chest
Canister
Coffin
Cask
Coil
Container
Carboy, non-protected
April 1995

Coded representations
Alphabetical code
AE
AM
AP
AT
BA
BB
BC
BD
BE
BF
BG
BH
BI
BJ
BK
BL
BN
BO
BP
BQ
BR
BS
BT
BU
BV
BX
BY
BZ
CA
CB
CC
CE
CF
CG
CH
CI
CJ
CK
CL
CN
CO
Section D Page 43

Package type names
Carboy, protected
Crate
Case
Carton
Cup
Cover
Can, cylindrical
Cylinder
Canvas
Demijohn, non-protected
Demijohn, protected
Drum
Envelope
Fruit crate
Framed crate
Firkin
Flask
Footlocker
Filmpack
Frame
Gas bottle
Girder
Girders, in bundle/bunch/truss
Hogshead
Hamper
Ingot
Ingots, in bundle/bunch/truss
Jar
Jerrican, rectangular
Jug
Jutebag
Jerrican, cylindrical
Keg
Layer
Log
Logs, in bundle/bunch/truss
Multiply bag
Milk crate
Multiwall sack
Mat
Match box
Unpacked or unpackaged
Nest
Net
Packet
Parcel
Pallet
Plate
Pitcher
April 1995

Coded representations
Alphabetical code
CP
CR
CS
CT
CU
CV
CX
CY
CZ
DJ
DP
DR
EN
FC
FD
FI
FL
FO
FP
FR
GB
GI
GZ
HG
HR
IN
IZ
JR
JC
JG
JT
JY
KG
LA
LG
LZ
MB
MC
MS
MT
MX
NE
NS
NT
PA
PC
PE
PG
PH
Section D Page 44

Package type names
Pipe
Package
Pail
Plank
Pouch
Pot
Tray
Tray pack
Plates, in bundle/bunch/truss
Pipes, in bundle/bunch/truss
Planks, in bundle/bunch/truss
Rod
Ring
Reel
Roll
Rednet
Rods, in bundle/bunch/truss
Sack
Shallow crate
Spindle
Sea-chest
Stillage
Sachet
Skeleton case
Slipsheet
Sheetmetal
Sheet
Suitcase
Shrinkwrapped
Sheets, in bundle/bunch/truss
Tub
Tea-chest
Collapsible tube
Tube, collapsible
Tank, rectangular
Tin
Tun
Trunk
Truss
Tube
Tank, cylindrical
Tubes, in bundle/bunch/truss
Vat
Bulk, gas (at 1031 mbar and 15 C)
Vial
Bulk, liquid
Bulk, solid, large particles ("nodules")
Vacuumpacked
Bulk, liquefied gas (at abnormal temperature/pressure)
April 1995

Coded representations
Alphabetical code
PI
PK
PL
PN
PO
PT
PU
PU
PY
PZ
PZ
RD
RG
RL
RO
RT
RZ
SA
SC
SD
SE
SG
SH
SK
SL
SM
ST
SU
SW
SZ
TB
TC
TD
TD
TK
TN
TO
TR
TS
TU
TY
TZ
VA
VG
VI
VL
VO
VP
VQ
Section D Page 45

Package type names
Bulk, solid, granular particles ("grains")
Bulk, solid, fine particles ("powders")
Wickerbottle

Coded representations
Alphabetical code
VR
VY
WB

___________________________________________________________________________

April 1995

Section D Page 46

ANA Standard Code Values - List 31
CURRENCY CODE used in data element CUIN which appears in segment BDT in PAYHDR,
DRAHDR, CRAHDR and EXCHDR
Also used in a sub-element of QPER in the SFS segment in LRPDET and PPRDET messages
ATS
BEC
BEF
CHF
DEM
ESB
ESP
FRF
GBP
IEP
ITL
LUF
NLG
PTE
USD
USN
USS

-

Austria, Schillings
Convertible Belgian Francs
Belgium, Franc
Switzerland, Franc
Germany, Mark
For Payments out of Spain
Spain, Peseta
France, Franc
Great Britain, Pound
Ireland, Punt
Italy, Lira
Luxembourg, Franc
Netherlands, Gilder
Portugal, Escudo
United States, Dollar
US Dollar, Next Day Funds
US Dollar, Same Day Funds

___________________________________________________________________________
ANA Standard Code Values - List 32
DISCOUNT TYPE - DTYP
DTYP appears in INVOIC message in segment CIA and in PRIINF message in segment DSD
A
B
Q
V

=
=
=
=

Special Allowance
Basic
Quantity
Value

___________________________________________________________________________

April 1995

Section D Page 47

ANA Standard Code Values - List 33
REASON FOR REJECTION - RCOD
Appears in CAKDET message, segment RSN
01
02
03
04
05
06
07
08
09
10
11
99

-

Cannot identify article number or title from barcode
Cannot identify the issue
Second claim for issue in this transmission
Claim too early
Claim too late
No SOR for this issue
Maximum claim exceeded
EDI claim not valid for this issue
Issue not supplied to house
Issue not handled by publisher/distributor
Claim for warehouse overs already received
Free Format

___________________________________________________________________________
ANA Standard Code Values - List 34
ACKNOWLEDGEMENTS CODE - ACDE
Appears in CAKDET message, segment CRC
01
02
03
04
05
06

-

All claims rejected, customer location wrong
All claims rejected, customer reference wrong
All claims rejected, claims total sub trailer wrong
All claims rejected, house claims totals wrong
All claims accepted
Some rejections details follow

___________________________________________________________________________

April 1995

Section D Page 48

ANA Standard Code Values - List 35
AUTHORISATION METHOD - AUTT
Appears in EFDET message in segment NTP. The method by which the authorisation code was
obtained.
0
1
2

=
=
=

by the terminal, eg. below the floor limit
On-line to authorisation centre
Voice to authorisation centre

___________________________________________________________________________
ANA Standard Code Values - List 36
RETAILER BATCH CONTROL DETAILS - REPN.
Appears in EFTDET message in segment NBG.
transactions have been batched.
10
12
14

=
=
=

The method by which the EFTPOS

Electronic
Terminal Recovery
Fall Back Vouchers

____________________________________________________________________________
ANA Standard Code Values - List 37
UPDATE TYPE - UDAT. Appears in HOTDET message in segment NHD. Indicates whether
the Hot card data is to be inserted or deleted.
0
1
2

=
=
=

Insert
Delete
Replace

____________________________________________________________________________
ANA Standard Code Values - List 38
NATURE OF HOT CARD - NOHC
Appears in HOTDET message in segment NOH. Identifies the type/size of Hot Card File used
for the transaction.
0
1
2
3

=
=
=
=

none
paper
switch 400
switch 8000

___________________________________________________________________________
April 1995

Section D Page 49

ANA Standard Code Values - List 39
TRANSACTION SOURCE - TSCR
Appears in EFTDET message in segment NTP.
00
01
02
03
04
05
06
07
08
09

=
=
=
=
=
=
=
=
=
=

Off-line key entry
Mail order - telephone
PIN verified on-line
PIN verified off-line
Signed voucher - mag stripe captured
Signed voucher - keyed at POS
Unattended device without PIN
PIN verified transaction recovered after sale
Terminal recovery keyed by acceptor
Terminal recovery keyed by acquirer

__________________________________________________________________________
ANA Standard Code Values - List 40
EFT TRANSACTION TYPE - EFTT
Appears in EFTDET message in
segment NTP

Defines the nature of the transaction performed
0
1
2
3
4
5
6
9

=
=
=
=
=
=
=
=

Purchase
Purchase with gratuity
Cash
Purchase with cash
Payment
Refund
Supplement
Cancelled transaction

___________________________________________________________________________
ANA Standard Code Values - List 41
UTILITY CLASSIFICATION CODE - CODE
Appears in UTLHDR version 1 in segment REF
C
T

=
=

Contract customer
Tariff customer

*THIS CODE NO LONGER REQUIRED IN VERSION 2*
___________________________________________________________________________

April 1995

Section D Page 50

ANA Standard Code Values - List 42
BILL TYPE CODE - BTCD
Appears in UTLBIL in segment BCD
A
F
N
I
R
P
O

=
=
=
=
=
=
=

Amended bill
Final bill - last bill when an account is closed
Normal bill
Interest bill
Reconciliation bill
Prepaid
Information only - not used in calculations

___________________________________________________________________________
ANA Standard Code Values - List 43
CONSUMPTION / CHARGE INDICATOR - CCDE
Appears in UTLBIL in segment CCD
1
2
3
4
5

=
=
=
=
=

Consumption only
Combined consumption and charge
Charge only (consumption-based)
Charge only (fixed)
Readings for information only

___________________________________________________________________________

April 1995

Section D Page 51

ANA Standard Code Values - List 44
READING DATA TYPE - PRRD
Appears in UTLBIL in segment CCD
00
01
02
03
04
05
06
07
08
09
10
11
12

=
=
=
=
=
=
=
=
=
=
=
=
=

Normal Reading - Default Value
Estimated (manual) Reading
Estimated (computer) Reading
Removed Meter Reading
Customer's Own Reading
Computer Reading
Exchange Meter Reading
Corrector Meter Reading
No Reading Available
Third Party Normal Reading
Third Party Estimated (manual) Reading
Third Party Estimated (computer) Reading
Reading for Information Only

___________________________________________________________________________
ANA Standard Code Values - List 45
ACTION CODE - ACTN
Appears in CAKDET message, in segment RSN
01
02
03
04
05
06
99

=
=
=
=
=
=
=

No action
Resubmit electronically, if possible
Resubmit manually
Processed manually
Held pending for future processing
Contact supplier for advice
No advice

___________________________________________________________________________
ANA Code Values - List 46
REASON CODE - REAS
Code
001
002
003
004

Description
=
=
=
=

Temporary closure
Permanent closure
Change of ownership
Correction of previous

___________________________________________________________________________
April 1995

Section D Page 52

ANA Code Values - List 47
FUNCTION/TYPE INDICATOR - FUNC
Code
001
002
003
004
005
006
007
008
009

Description
=
=
=
=
=
=
=
=
=

Delivery to
Invoice to
Order from
Statement to
Transmission Point
Payment from
Uplift from
Transhipment point
Selling Point

___________________________________________________________________________
ANA Code Values - List 48
DATE ATTRIBUTE CODE - DATT
Code
001
002
003
004
005
006

Description
=
=
=
=
=
=

Open for trading
Closed for trading
Holiday
Deliveries accepted
Orders made/taken
Enquiries accepted

___________________________________________________________________________

April 1995

Section D Page 53

ANA Code Values - List 49
FREQUENCY/SCHEDULE - fourth sub-element of data element DATT in segment LDE in
LOCINF.
Code

Description

C

=

H
D
W
F
L
M
B
Q
1
2
3
4
5
6
7
A
P

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

Combined - values from the list are concatenated eg for a schedule on three days
per week: C135 = Monday, Wednesday and Friday; CF1 = Fortnightly on
Monday. In this case, 'C' must always be the first character in the code.
Hourly
Daily
Weekly
Fortnightly
4 Weekly Period (Lunar Month)
Monthly (Calendar Month)
Every Two Months
Quarterly
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
AM
PM

___________________________________________________________________________
Code Values List 50
TIME ATTRIBUTE CODE - TIME
Code
001
002
003
004
005
006
007

Description
=
=
=
=
=
=
=

Booking in time (for delivery)
Opening times
Lunch break
Delivery times
Ordering times
Uplift times
Enquiry times

___________________________________________________________________________

April 1995

Section D Page 54

Code Values List 51
LOCATION ATTRIBUTE CODE - LATT
Code
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015

Description
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=

Retail Outlet
Public House
Off Licence
Hotel
Newsagent
Warehouse
Bonded Store
Head Office
Restaurant
Forecourt
In-store Retail Outlet
Booking In Required
Sub-Post Office
EPOS Tills
Home Delivery

___________________________________________________________________________

ANA Code Values - List 52
VALUE/MEASUREMENT CODE used in data element LVAL which appears in segment LDE
in LOCINF.
Code
001
002
003
004
005
006
007
008

Description
=
=
=
=
=
=
=
=

Floor Area
Display Area
Storage Area
yumber of Rooms
Number of Tills/Lanes
Poster Sites
Maximum Load-bearing Weight
Maximum Storage Height

___________________________________________________________________________

April 1995

Section D Page 55

ANA Code Values - List 53
TYPE OF CHANGE used in data element TYPC in segment NIN in LOCINF and NOI in
CUSINF, PROINF and PRIINF.
Code
001
002
003
004
005
006
007

Description
=
=
=
=
=
=
=

ADD
AMEND
DELETE
REPORT
REFRESH (complete report including some changes since the last transmission)
REACTIVATE
DEACTIVATE

___________________________________________________________________________

ANA Code Values - List 54
AVAILABILITY STATUS CODE used in data element DNAC in segments DNA, DNB or
DNC in Book Trade messages.
Code
001

Description
=

XXX

___________________________________________________________________________

ANA Code Values - List 55
ORDER ACTION CODE used in data element DNAC in segments DNA, DNB or DNC in
Book Trade messages.
Code
001

Description
=

April 1995

XXX

Section D Page 56

ANNEX 1
DATA NARRATIVE SEGMENTS

CONTENTS

Page No.
1.

INTRODUCTION

2

2.

PRINCIPLES OF USE

2

3.

CONTENTS OF THE DATA NARRATIVE SEGMENT

3

3.1

Data Narrative Code (DNAC)

3

3.2

Registered Text (RTEX)

3

3.3

General Narrative (GNAR)

3

4.

IMPORTANT NOTE

3

5.

SEGMENT STRUCTURES

4

April 1995

Annexes Page 1

1.

INTRODUCTION
Data Narrative segments have been developed as an optional component of the
TRADACOMS messages in response to a demand from users for the inclusion of text
related data fields.
The principle of EDI, embodied by the TRADACOMS standards, is to allow fully
automatic processing of data interchanged by trading partners. However, it is
recognised that some users believe that provision for unprocessable textual data, either
as free-form narrative or preferably by reference to coded predefined text, is necessary in
certain circumstances.
To meet this demand, data narrative segments have been included to provide a flexible
means of accommodating such data.
There are five data narrative segments: DNA, DNB, DNC, DND and RNB, which may
appear at different levels in a message. These are reproduced at the end of this Annex.
Their contents are described in Section 3 below.

2.

PRINCIPLES OF USE
There are some important principles which should be observed by users of the Data
Narrative facility.
i)

The segment is entirely optional, i.e. always conditional in status and should
only be used if the message format in question cannot accommodate, in its
dedicated segments and elements, the data required. Data included in the
segment, particularly free format text, may not be easily processable by the
recipient's system.

ii)

Provision has been made for the segment to appear in the TRADACOMS files at
various levels i.e.
-

In the Header Message

-

In the Details Message at transaction level e.g. associated with the order
number, invoice number etc.

-

At line level i.e. associated with a given product line.

Because of the different locations in the file at which the segment may be used, the
segment may appear just once, or may be repeated, and may be nested i.e. repeating with
respect to a previous segment.

April 1995

Annexes Page 2

3.

CONTENTS OF DATA NARRATIVE SEGMENT

3.1

Data Narrative Code (DNAC)
The Data Narrative Code data element allows users to reference a previously defined
and mutually agreed code list. One example of this type of list is the ANA Standard
Code Values List 22.
The code list would be maintained by the users or by an industry body.

3.2

Registered Text (RTEX)
The Registered Text data element was previously available in many TRADACOMS
messages within the line details segment, but has now been transferred to the Data
Narrative Segment.
This element allows the user to register a code with the ANA which authorises the use
of an associated sub-element to contain variable data or a predefined application. Up to
four codes with their associated data, or four fields of data associated with the same
application code may be used.

3.3

General Narrative (GNAR)
The General Narrative data element allows up to four lines (sub elements) of free form
at text or data to be interchanged. Each line may be up to 40 characters in length.

4.

IMPORTANT NOTE
It cannot be stressed too strongly that the Data Narrative Segment should only ever be
used where the data to be interchanged is essential to the interchange and cannot be
accommodated elsewhere in the message format.
Text or unstructured data cannot easily be processed automatically, and to interchange
data in this form is to undermine the key principle of electronic data interchange.
The first course of action for any user with a query or problem concerning use of the
TRADACOMS standards is to contact the ANA Secretariat.
The Message Development Group regularly reviews the TRADACOMS messages, and
is always willing to discuss accommodating new applications by expansion or updating
of the standards. The procedure for initiating such changes is detailed in Volume One,
Section A.
Use of the Data Narrative segments always demands a high degree of user responsibility
and community co-ordination to ensure that data content does not become ambiguous.

April 1995

Annexes Page 3

DNA: DATA NARRATIVE

SEGMENT
DNA

DATA
ELEMENT
=

+

+

+

April 1995

DATA ELEMENT NAME

M/C

F/V

PICTURE

DATA NARRATIVE

C

SEQA

First Level Sequence Number

M

DNAC

Data Narrative Code

C

:

Code Table Number
Code Value

C
C

:
:
:
:
:
:
:

Registered Text
First Registered Application Code
Application Text
Second Registered Application Code
Application Text
Third Registered Application Code
Application Text
Fourth Registered Application Code
Application Text

C
C
C
C
C
C
C
C
C

V
V
V
V
V
V
V
V

X(3)
X(40)
X(3)
X(40)
X(3)
X(40)
X(3)
X(40)

:
:
:

General Narrative
General Narrative Line 1
General Narrative Line 2
General Narrative Line 3
General Narrative Line 4

C
C
C
C
C

V
V
V
V

X(40)
X(40)
X(40)
X(40)

RTEX

GNAR

V

V
V

9(10)

9(4)
X(3)

REMARKS

Starts at 1 and is incremented by 1 for each 1st
level repeat.
Standard data narrative previously defined and
agreed by the sender and receiver.
Number of relevant code list.
Code value from code list.
Essential text, where not provided for by specific
fields may be communicated using this element.
Application codes to define the function of the
text must be registered with the ANA prior to use.
The same application code may be repeated up to
four times, or up to four different codes may be
used.

Narrative covering information which cannot be
sent in a coded form i.e. RTEX/DNAC. This is
likely to preclude automatic processing.

Annexes Page 4

DNB: DATA NARRATIVE

SEGMENT
DNB

DATA
ELEMENT
=

M/C

F/V

PICTURE

REMARKS

DATA NARRATIVE

C

SEQA

First Level Sequence Number

M

V

9(10)

Takes the value of SEQA in the preceding
segment with which this segment is nested.

+

SEQB

Second Level Sequence Number

M

V

9(10)

Starts at 1 and is incremented by 1 for each 2nd
level repeat.

+

DNAC

Data Narrative Code

C

:

Code Table Number
Code Value

C
C

V
V

9(4)
X(3)

:
:
:
:
:
:
:

Registered Text
First Registered Application Code
Application Text
Second Registered Application Code
Application Text
Third Registered Application Code
Application Text
Fourth Registered Application Code
Application Text

C
C
C
C
C
C
C
C
C

V
V
V
V
V
V
V
V

X(3)
X(40)
X(3)
X(40)
X(3)
X(40)
X(3)
X(40)

:
:
:

General Narrative
General Narrative Line 1
General Narrative Line 2
General Narrative Line 3
General Narrative Line 4

C
C
C
C
C

V
V
V
V

X(40)
X(40)
X(40)
X(40)

+

+

April 1995

DATA ELEMENT NAME

RTEX

GNAR

Standard data narrative previously defined and
agreed by the sender and receiver.
Number of relevant code list.
Code value from code list.
Essential text, where not provided for by specific
fields may be communicated using this element.
Application codes to define the function of the
text must be registered with the ANA prior to use.
The same application code may be repeated up to
four times, or up to four different codes may be
used.

Narrative covering information which cannot be
sent in a coded form i.e. RTEX/DNAC. This is
likely to preclude automatic processing.

Annexes Page 5

DNC: DATA NARRATIVE

SEGMENT
DNC

DATA
ELEMENT
=

M/C

F/V

PICTURE

REMARKS

DATA NARRATIVE

C

SEQA

First Level Sequence Number

M

V

9(10)

Takes the value of SEQA in the preceding
segment with which this segment is nested.

+

SEQB

Second Level Sequence Number

M

V

9(10)

Takes the value of SEQB in the preceding
segment with which this segment is nested.

+

SEQC

Third Level Sequence Number

M

V

9(10)

Starts at 1 and is incremented by 1 for each 3rd
level repeat.

+

DNAC

Data Narrative Code

C

:

Code Table Number
Code Value

C
C

:
:
:
:
:
:
:

Registered Text
First Registered Application Code
Application Text
Second Registered Application Code
Application Text
Third Registered Application Code
Application Text
Fourth Registered Application Code
Application Text

C
C
C
C
C
C
C
C
C

V
V
V
V
V
V
V
V

X(3)
X(40)
X(3)
X(40)
X(3)
X(40)
X(3)
X(40)

:
:
:

General Narrative
General Narrative Line 1
General Narrative Line 2
General Narrative Line 3
General Narrative Line 4

C
C
C
C
C

V
V
V
V

X(40)
X(40)
X(40)
X(40)

+

+

April 1995

DATA ELEMENT NAME

RTEX

GNAR

V
V

9(4)
X(3)

Standard data narrative previously defined and
agreed by sender and receiver.
Number of relevant code list.
Code value from code list.
Essential text, where not provided for by specific
fields may be communicated using this element.
Application codes to define the function of the
text must be registered with the ANA prior to use.
The same application code may be repeated up to
four times, or up to four different codes may be
used.

Narrative covering information which cannot be
sent in a coded form i.e. RTEX/DNAC. This is
likely to preclude automatic processing.

Annexes Page 6

DND: DATA NARRATIVE

SEGMENT
DND

DATA
ELEMENT
=

M/C

F/V

PICTURE

REMARKS

DATA NARRATIVE

C

SEQA

First Level Sequence Number

M

V

9(10)

Takes the value of SEQA in the preceding
segment with which this segment is nested.

+

SEQB

Second Level Sequence Number

M

V

9(10)

Takes the value of SEQB in the preceding
segment with which this segment is nested.

+

SEQC

Third Level Sequence Number

M

V

9(10)

Takes the value of SEQC in the preceding
segment with which this segment is nested.

+

SEQD

Fourth Level Sequence Number

M

V

9(10)

Starts at 1 and is incremented by 1 for each 4th
level repeat.

+

DNAC

Data Narrative Code

C

:

Code Table Number
Code Value

C
C

V
V

9(4)
X(3)

:
:
:
:
:
:
:

Registered Text
First Registered Application Code
Application Text
Second Registered Application Code
Application Text
Third Registered Application Code
Application Text
Fourth Registered Application Code
Application Text

C
C
C
C
C
C
C
C
C

V
V
V
V
V
V
V
V

X(3)
X(40)
X(3)
X(40)
X(3)
X(40)
X(3)
X(40)

:
:
:

General Narrative
General Narrative Line 1
General Narrative Line 2
General Narrative Line 3
General Narrative Line 4

C
C
C
C
C

V
V
V
V

X(40)
X(40)
X(40)
X(40)

+

+

April 1995

DATA ELEMENT NAME

RTEX

GNAR

Standard data narrative previously defined and
agreed by the sender and receiver.
Number of relevant code list
Code value from code list
Essential text, where not provided for by specific
fields may be communicated using this element.
Application codes to define the function of the
text must be registered with the ANA prior to use.
The same application code may be repeated up to
four times, or up to four different codes may be
used.

Narrative covering information which cannot be
sent in a coded form i.e. RTEX/DNAC. This is
likely to preclude automatic processing.

Annexes Page 7

RNB: DATA NARRATIVE (Used where a second appearance of the data narrative facility is needed at a nested level in the same message)

SEGMENT
RNB

DATA
ELEMENT
=

M/C

F/V

PICTURE

REMARKS

DATA NARRATIVE (RETURNS)

C

SEQA

First Level Sequence Number

M

V

9(10)

Starts at 1 and is incremented by 1 for each 1st
level repeat.

+

SEQB

Second Level Sequence Number

M

V

9(10)

Starts at 1 and is incremented by 1 for each 2nd
level repeat.

+

DNAC

Data Narrative Code

C

:

Code Table Number
Code Value

C
C

V
V

9(4)
X(3)

:
:
:
:
:
:
:

Registered Text
First Registered Application Code
Application Text
Second Registered Application Code
Application Text
Third Registered Application Code
Application Text
Fourth Registered Application Code
Application Text

C
C
C
C
C
C
C
C
C

V
V
V
V
V
V
V
V

X(3)
X(40)
X(3)
X(40)
X(3)
X(40)
X(3)
X(40)

:
:
:

General Narrative
General Narrative Line 1
General Narrative Line 2
General Narrative Line 3
General Narrative Line 4

C
C
C
C
C

V
V
V
V

X(40)
X(40)
X(40)
X(40)

+

+

April 1995

DATA ELEMENT NAME

RTEX

GNAR

Standard data narrative previously defined and
agreed by the sender and receiver.
Number of relevant code list.
Code value from code list.
Essential text, where not provided for by specific
fields may be communicated using this element.
Application codes to define the function of the
text must be registered with the ANA prior to use.
The same application code may be repeated up to
four times, or up to four different codes may be
used.

Narrative covering information which cannot be
sent in a coded form i.e. RTEX/DNAC. This is
likely to preclude automatic processing.

Annexes Page 8

ANNEX 2
INTEGRITY CHECKING

CONTENTS

Page No.
2.1

INTRODUCTION

10

2.2

THE RECONCILIATION MESSAGE

10

2.3

FILE STRUCTURE (MESSAGES AND SEGMENTS)

11

2.4

STANDARD MESSAGE FORMATS

12

April 1995

Annexes Page 9

2.1

INTRODUCTION
Companies using, or considering using, EDI require reassurance about the completeness
and security of the transmissions they will receive and automatically process. Good EDI
standards and syntaxes include facilities which allow users to reconcile the information
received before they process. It is good business practice to use these facilities as they
address the concerns of auditors, managers and others about the security, integrity and
control of electronic communications.
The ANA strongly recommends that these facilities are used for ALL EDI
transactions.
The ANA also recommends that the audit and security facilities offered by EDI service
providers should be understood and exploited to provide additional levels of control and
assurance.
Users should check with trading partners how the SNRF is made unique and ensure that
appropriate tests are implemented. SNRF is generally held to be solely under the
senders control and is used to track the progress of all transmissions. The check would
be made for uniqueness of transmissions from this particular trading partner.

2.2

THE RECONCILIATION MESSAGE
The Reconciliation Message (RSGRSG) was designed in 1986/7 in response to user
experience that it was possible to embed a second transmission within the first. At that
time, it was not possible to amend the UN maintained syntax segment END. The
solution developed was a simple message RSGRSG which is sent as the last message in
a transmission before the END segment. The message contains the address of the
recipient and the transmission reference. It is matched against those held in the STX
(start of transmission) segment. If these do not match, then the sender has inadvertently
embedded a second STX (ie. a second transmission) within it. Users should indicate
that they are using this facility by using ANAA in the STDS data element in STX.

April 1995

Annexes Page 10

2.3

FILE STRUCTURE (MESSAGES AND SEGMENTS)
Objective: To ensure the integrity of the transmission.

Message:

Consisting of Segments:

RSGRSG

MHD = Message Header

Repeating as follows:

RSG = Reconciliation Segment
MTR = Message Trailer

NOTES:
1)

This message must be present if the transmission reconciliation check has been
switched on in the STX segment.

2)

It must always be the message immediately before the END segment in any
transmission.

April 1995

Annexes Page 11

Message

Type

RECONCILIATION MESSAGE

RSGRSG
Page 1 of 1

DATA
ELEMENT

SEGMENT
MHD

DATA ELEMENT NAME

=

+

MTR

REMARKS
(See also General Remarks in Directory)

MSRF

Message Reference

M

V

9(12)

Consecutive count of messages within the
transmission

TYPE

Type of Message
Type
Version Number

M
M
M

F
F

X(6)
9(1)

'RSGRSG'
'2' for this version

MESSAGE HEADER

M

RSGA

STX SNRF Reconciliation
Field

M

V

X(14)

Must equal SNRF in STX segment

RSGB

STX Receiver Reconciliation
Field

M

V

X(14)

Must equal UNTO in STX segment

MESSAGE TRAILER

M

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

=
NOSG

April 1995

PICTURE

M

=

+

F/V

MESSAGE HEADER

:
RSG

M/C

Annexes Page 12



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 153
Language                        : en-US
Tagged PDF                      : Yes
Author                          : David Blackett
Creator                         : Microsoft® Word 2010
Create Date                     : 2014:11:14 11:33:23+08:00
Modify Date                     : 2014:11:14 11:33:23+08:00
Producer                        : Microsoft® Word 2010
EXIF Metadata provided by EXIF.tools

Navigation menu