standard edi guidelines (d.97a) - nicando.de
TRANSCRIPT
Content
Standard EDI Guidelines (D.97A) 2
© 2013 Nicando Software GmbH
Content
1 Channels of communication ................................................................................. 3
1.1 X.400 ......................................................................................................................................... 3
1.2 Odette-FDP/ISDN Connector ................................................................................................... 4
2 Document exchange ........................................................................................... 5
2.1 Composition of an EDIFACT message ....................................................................................... 5
2.2 Explanations of the examples and tables ................................................................................... 5
2.2.1 Separators and elements not used ........................................................................................ 5
2.2.2 Abbreviations used in the “Status“ column ............................................................................ 5
2.3 UN/EDIFACT D97A ORDERS .................................................................................................... 6
2.3.1 Composition of an EDIFACT ORDER according to D.97A ...................................................... 6
2.3.2 Segment description ........................................................................................................... 12
2.3.3 Example of an UN/EDIFACT D97A-ORDERS message ......................................................... 25
2.4 UN/EDIFACT D97A ORDCHG ................................................................................................. 26
2.4.1 Composition of an EDIFACT-ORDCHG according to D.97A ................................................ 26
2.4.2 Segment description ........................................................................................................... 32
2.4.3 Example of an UN/EDIFACT D97A-ORDCHG message ........................................................ 45
2.5 UN/EDIFACT D97A ORDRSP .................................................................................................. 46
2.5.1 Composition of an EDIFACT-ORDRSP according to D.97A ................................................. 46
2.5.2 Segment description ........................................................................................................... 52
2.5.3 Example of an UN/EDIFACT D97A-ORDRSP message ......................................................... 65
2.6 UN/EDIFACT D97A DELFOR ................................................................................................... 66
2.6.1 Composition of an EDIFACT-DELFOR according to D.97A ................................................. 66
2.6.2 Segment descriptions ......................................................................................................... 69
2.6.3 Example of an UN/EDIFACT D97A-DELFOR message ......................................................... 77
Channels of communication
Standard EDI Guidelines (D.97A) 3
© 2013 Nicando Software GmbH
1 Channels of communication
This chapter describes the channels of communication via which the client’s suppliers may
exchange electronic messages directly with the interchange server operated for the client.
1.1 X.400
The X.400 protocol is an asynchronous data interchange protocol and is similar to the
internet SMTP (mail) protocol. The X.400 mailbox may be applied for from a provider. The
connection to the X.400 mailbox may be conducted via a dedicated line or via internet. For a
connection via internet, the data will be encrypted for security reasons. The protocol ensures
the secure interchange of data to the receiving mailbox and delivers an interchange protocol
to the sender.
The following communication profile must be available to both partners for the exchange of
electronic ERP data:
Partner 1 Partner 2
Company address Nicando Software GmbH
Komturstr. 18
12099 Berlin
Tel.: +49 30 7544 9395 -0
Fax.: +49 30 7544 9395-21
Technical contact Nicolas Vraux
Tel.: +49 30 7544 9395 -13
Fax.: +49 30 7544 9395-21
Email: [email protected]
X.400 address /S: Abbino
/O: Gambit-Networking-GmbH
/A: viaT
/C: DE
Protocol EDIFACT D97A
Channels of communication
Standard EDI Guidelines (D.97A) 4
© 2013 Nicando Software GmbH
1.2 Odette-FDP/ISDN Connector
The Odette-FTP is a Point-to-Point transmission of files using an ISDN line. The protocol
was developed specially for the transmission of electronic ERP data. An encryption of the
data for security reasons is not necessary with a Point-to-Point interface. The partners are
identified by a distinct oFTP identifier. The protocol detects errors in transmission and
supplies the sender with a transmission protocol.
The following communication profile must be available to both partners for the exchange of
electronic ERP data:
Partner 1 Partner 2
Company address Nicando Software GmbH
Komturstr. 18
12099 Berlin
Tel.: +49 30 7544 9395 -0
Fax.: +49 30 7544 9395-21
Technical contact Nicolas Vraux
Tel.: +49 30 7544 9395 -13
Fax.: +49 30 7544 9395-21
Email: [email protected]
Dial-up network ISDN
Dial number 04020949886
Transfer protocol OFTP
Sender identifier SFID O0013009415ABBINODO (keine CSA)
Password SFID Will be individual assigned
Process EDIFACT D97A
File format ASCII
Channels of communication
Standard EDI Guidelines (D.97A) 5
© 2013 Nicando Software GmbH
2 Document exchange
2.1 Composition of an EDIFACT message
Composition of an EDIFACT message according to the aforementioned ISO norm:
Service String Advice UNA Conditional
+----- Interchange Header UNB Mandatory
| +--- Functional Group Header UNG Conditional
| | +- Message Header UNH Mandatory
| | | User Data Segments As required
| | +- Message Trailer UNT Mandatory
| +--- Functional Group Trailer UNE Conditional
+----- Interchange Trailer UNZ Mandatory
UN/EDIFACT groups are not used in this case.
2.2 Explanations of the examples and tables
2.2.1 Separators and elements not used
Data elements and groups are separated from each other by the use of separators. “+” and “-
“ are used as separators:
+ separates the data element groups (DEG)
: separates the data elements (DE) within the group
All elements are explained in tables. It may be that elements from the UN standard are not
used by abbino. These are marked in the tables under the column “Status abbino“ with an
“N”.
If UN standard elements follow the last relevant element and are not used by abbino – thus
becoming irrelevant – they will not receive any further description in the table.
2.2.2 Abbreviations used in the “Status“ column
M – Mandatory
C – Conditional
N – Not Used
R – Required
Channels of communication
Standard EDI Guidelines (D.97A) 6
© 2013 Nicando Software GmbH
2.3 UN/EDIFACT D97A ORDERS
2.3.1 Composition of an EDIFACT ORDER according to D.97A
UNH, Message header M 1
BGM, Beginning of message M 1
DTM, Date/time/period M 35
PAI, Payment instructions C 1
ALI, Additional information C 5
IMD, Item description C 999
FTX, Free text C 99
--- Segment group 1 ------------------------- C 9999 --------+
RFF, Reference M 1 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 2 ------------------------- C 99 --------+
NAD, Name and address M 1 |
LOC, Place/location identification C 25 |
FII, Financial institution information C 5 |
|
--- Segment group 3 ------------------------- C 99 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 4 ------------------------- C 5 -------+|
DOC, Document/message details M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 5 ------------------------- C 5 -------+|
CTA, Contact information M 1 ||
COM, Communication contact C 5 ||
--- -------------------------------------------------------------+
--- Segment group 6 ------------------------- C 5 --------+
TAX, Duty/tax/fee details M 1 |
MOA, Monetary amount C 1 |
LOC, Place/location identification C 5 |
--- -------------------------------------------------------------+
--- Segment group 7 ------------------------- C 5 --------+
CUX, Currencies M 1 |
PCD, Percentage details C 5 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 8 ------------------------- C 10 --------+
PAT, Payment terms basis M 1 |
DTM, Date/time/period C 5 |
PCD, Percentage details C 1 |
|
--- Segment group 9 ------------------------- C 9999 -------+|
Channels of communication
Standard EDI Guidelines (D.97A) 7
© 2013 Nicando Software GmbH
MOA, Monetary amount M 1 ||
GIR, Related identification numbers C 9 ||
--- -------------------------------------------------------------+
--- Segment group 10 ------------------------ C 10 --------+
TDT, Details of transport M 1 |
|
--- Segment group 11 ------------------------ C 10 -------+|
LOC, Place/location identification M 1 ||
DTM, Date/time/period C 5 ||
--- -------------------------------------------------------------+
--- Segment group 12 ------------------------ C 5 --------+
TOD, Terms of delivery or transport M 1 |
LOC, Place/location identification C 2 |
--- -------------------------------------------------------------+
--- Segment group 13 ------------------------ C 10 --------+
PAC, Package M 1 |
MEA, Measurements C 5 |
|
--- Segment group 14 ------------------------ C 5 -------+|
PCI, Package identification M 1 ||
RFF, Reference C 1 ||
DTM, Date/time/period C 5 ||
GIN, Goods identity number C 10 ||
--- -------------------------------------------------------------+
--- Segment group 15 ------------------------ C 10 --------+
EQD, Equipment details M 1 |
HAN, Handling instructions C 5 |
MEA, Measurements C 5 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 16 ------------------------ C 10 --------+
SCC, Scheduling conditions M 1 |
FTX, Free text C 5 |
RFF, Reference C 5 |
|
--- Segment group 17 ------------------------ C 10 -------+|
QTY, Quantity M 1 ||
DTM, Date/time/period C 5 ||
--- -------------------------------------------------------------+
--- Segment group 18 ------------------------ C 25 --------+
APR, Additional price information M 1 |
DTM, Date/time/period C 5 |
RNG, Range details C 1 |
--- -------------------------------------------------------------+
--- Segment group 19 ------------------------ C 99 --------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 5 |
DTM, Date/time/period C 5 |
|
--- Segment group 20 ------------------------ C 1 -------+|
QTY, Quantity M 1 ||
Channels of communication
Standard EDI Guidelines (D.97A) 8
© 2013 Nicando Software GmbH
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 21 ------------------------ C 1 -------+|
PCD, Percentage details M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 22 ------------------------ C 2 -------+|
MOA, Monetary amount M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 23 ------------------------ C 1 -------+|
RTE, Rate details M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 24 ------------------------ C 5 -------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
--- -------------------------------------------------------------+
--- Segment group 25 ------------------------ C 999 --------+
RCS, Requirements and conditions M 1 |
RFF, Reference C 5 |
DTM, Date/time/period C 5 |
FTX, Free text C 99999 |
--- -------------------------------------------------------------+
--- Segment group 26 ------------------------ C 999 --------+
DGS, Dangerous goods M 1 |
FTX, Free text C 5 |
|
--- Segment group 27 ------------------------ C 99 -------+|
CTA, Contact information M 1 ||
COM, Communication contact C 5 ||
--- -------------------------------------------------------------+
--- Segment group 28 ------------------------ C 200000 --------+
LIN, Line item M 1 |
PIA, Additional product id C 25 |
IMD, Item description C 99 |
MEA, Measurements C 99 |
QTY, Quantity C 99 |
PCD, Percentage details C 5 |
ALI, Additional information C 5 |
DTM, Date/time/period C 35 |
MOA, Monetary amount C 10 |
GIN, Goods identity number C 1000 |
GIR, Related identification numbers C 1000 |
QVR, Quantity variances C 1 |
DOC, Document/message details C 99 |
PAI, Payment instructions C 1 |
FTX, Free text C 99 |
|
--- Segment group 29 ------------------------ C 999 -------+|
CCI, Characteristic/class id M 1 ||
Channels of communication
Standard EDI Guidelines (D.97A) 9
© 2013 Nicando Software GmbH
CAV, Characteristic value C 10 ||
MEA, Measurements C 10 ||
--- ------------------------------------------------------------+|
|
--- Segment group 30 ------------------------ C 10 -------+|
PAT, Payment terms basis M 1 ||
DTM, Date/time/period C 5 ||
PCD, Percentage details C 1 ||
||
--- Segment group 31 ------------------------ C 9999 ------+||
MOA, Monetary amount M 1 |||
GIR, Related identification numbers C 9 |||
--- ------------------------------------------------------------+|
|
--- Segment group 32 ------------------------ C 25 -------+|
PRI, Price details M 1 ||
CUX, Currencies C 1 ||
APR, Additional price information C 1 ||
RNG, Range details C 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 33 ------------------------ C 9999 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 34 ------------------------ C 10 -------+|
PAC, Package M 1 ||
MEA, Measurements C 5 ||
QTY, Quantity C 5 ||
DTM, Date/time/period C 5 ||
||
--- Segment group 35 ------------------------ C 1 ------+||
RFF, Reference M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 36 ------------------------ C 5 ------+||
PCI, Package identification M 1 |||
RFF, Reference C 1 |||
DTM, Date/time/period C 5 |||
GIN, Goods identity number C 10 |||
--- ------------------------------------------------------------+|
|
--- Segment group 37 ------------------------ C 9999 -------+|
LOC, Place/location identification M 1 ||
QTY, Quantity C 1 ||
PCD, Percentage details C 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 38 ------------------------ C 10 -------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
LOC, Place/location identification C 5 ||
--- ------------------------------------------------------------+|
|
Channels of communication
Standard EDI Guidelines (D.97A) 10
© 2013 Nicando Software GmbH
--- Segment group 39 ------------------------ C 999 -------+|
NAD, Name and address M 1 ||
LOC, Place/location identification C 5 ||
||
--- Segment group 40 ------------------------ C 99 ------+||
RFF, Reference M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 41 ------------------------ C 5 ------+||
DOC, Document/message details M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 42 ------------------------ C 5 ------+||
CTA, Contact information M 1 |||
COM, Communication contact C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 43 ------------------------ C 99 -------+|
ALC, Allowance or charge M 1 ||
ALI, Additional information C 5 ||
DTM, Date/time/period C 5 ||
||
--- Segment group 44 ------------------------ C 1 ------+||
QTY, Quantity M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 45 ------------------------ C 1 ------+||
PCD, Percentage details M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 46 ------------------------ C 2 ------+||
MOA, Monetary amount M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 47 ------------------------ C 1 ------+||
RTE, Rate details M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 48 ------------------------ C 5 ------+||
TAX, Duty/tax/fee details M 1 |||
MOA, Monetary amount C 1 |||
--- ------------------------------------------------------------+|
|
--- Segment group 49 ------------------------ C 10 -------+|
TDT, Details of transport M 1 ||
||
--- Segment group 50 ------------------------ C 10 ------+||
LOC, Place/location identification M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 51 ------------------------ C 5 -------+|
Channels of communication
Standard EDI Guidelines (D.97A) 11
© 2013 Nicando Software GmbH
TOD, Terms of delivery or transport M 1 ||
LOC, Place/location identification C 2 ||
--- ------------------------------------------------------------+|
|
--- Segment group 52 ------------------------ C 10 -------+|
EQD, Equipment details M 1 ||
HAN, Handling instructions C 5 ||
MEA, Measurements C 5 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 53 ------------------------ C 100 -------+|
SCC, Scheduling conditions M 1 ||
FTX, Free text C 5 ||
RFF, Reference C 5 ||
||
--- Segment group 54 ------------------------ C 10 ------+||
QTY, Quantity M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 55 ------------------------ C 999 -------+|
RCS, Requirements and conditions M 1 ||
RFF, Reference C 5 ||
DTM, Date/time/period C 5 ||
FTX, Free text C 99999 ||
--- ------------------------------------------------------------+|
|
--- Segment group 56 ------------------------ C 10 -------+|
STG, Stages M 1 ||
||
--- Segment group 57 ------------------------ C 3 ------+||
QTY, Quantity M 1 |||
MOA, Monetary amount C 1 |||
--- ------------------------------------------------------------+|
|
--- Segment group 58 ------------------------ C 999 -------+|
DGS, Dangerous goods M 1 ||
FTX, Free text C 5 ||
||
--- Segment group 59 ------------------------ C 99 ------+||
CTA, Contact information M 1 |||
COM, Communication contact C 5 |||
--- -------------------------------------------------------------+
UNS, Section control M 1
MOA, Monetary amount C 12
CNT, Control total C 10
--- Segment group 60 ------------------------ C 10 --------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 1 |
MOA, Monetary amount M 2 |
--- -------------------------------------------------------------+
UNT, Message trailer M 1
Channels of communication
Standard EDI Guidelines (D.97A) 12
© 2013 Nicando Software GmbH
2.3.2 Segment description
2.3.2.1 Payload header
2.3.2.1.1 UNB – Data interchange header – Status: M, 1
The UNB segment determines the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNB M, 1 UNB
Syntax, Identifier M S001
Syntax, Identifier A..4 M 0001 +UNOC = UN/ECE level: C
Syntax Version # N..1 M 0002 :1
Exchange Sender M S002
Sender, Identification An..35 M 0004 +CLIENT
Partner, Identity code,
Qualifier
An..4 C N 0007 :
Address for fall-back routing An..14 C N 0008 :
Exchange receiver M S003
Receiver, Identification An..35 M 0010 +SUPPLIER
Partner, Identity code,
Qualifier
An..4 C N 0007 :
Routing address An..14 C N 0014 :
Date and time of provision M S004
Date of provision N..6 M 0017 +070627
Time of provision N..6 M 0019 :1107
Exchange control reference An..14 M 0020 +12344321
Query reference An..14 C R 0026 +ORDERS’
Example:
UNB+UNOC:1+CLIENT::+SUPPLIER::+070627:1107+12344321+ORDERS’
Channels of communication
Standard EDI Guidelines (D.97A) 13
© 2013 Nicando Software GmbH
2.3.2.2 Reference headings
2.3.2.2.1 UNH – Message reference – Status: M, 1
The UNH segment serves the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNH M, 1 UNH
Message reference number An..14 M 0062 +1
Message, Qualifier M S009
Message type identifier An..6 M 0065 +ORDERS=Purchase order message
Version # of the message
type
An..3 M 0052 :D= Draft version
Release # of the message
type
An..3 M 0054 :97A= release 1997 A=1.Version
Executive Organisation An..2 M 0051 :UN’= United Nations Standard
Example:
UNH+1+ORDERS:D:97A:UN’
2.3.2.2.2 BGM – Start of message – Status: M, 1
The BGM segment determines the identification of the type of message.
Description Format Status
UN
Status
abbino
DEG DE Legend
BGM M, 1 BGM
Message name C C002
Encoded An..3 C R 1001 +220, Code=Order
Message identification C C106
Message number An..35 C R 1004 +123456-0=order number
Message function An..3 M 1225 +9’, Code= Original
Example:
BGM+220+123456-0+9’
Channels of communication
Standard EDI Guidelines (D.97A) 14
© 2013 Nicando Software GmbH
2.3.2.2.3 DTM – Date/Time – Status: M, 35
This segment determines the input of the date on which the message is created.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM M, 35 DTM
Date/Time/Period M C507
Date, Qualifier An..3 M 2005 +137 = Date when the message was
created
Date An..35 C R 2380 :20070730Date
Date, Format, Qualifier,
encoded
An..3 C R 2379 :102’, Format = CCYYMMDD
Example:
DTM+137:20070730:102’
2.3.2.3 SG1: RFF-DTM – Status: C, 9999
2.3.2.3.1.1 RFF – Reference – Status: M, 1
The RFF segment determines the referencing of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
RFF M, 1 RFF
Reference M C506
Reference, Qualifier An..3 M 1153 +IL = Internal reference number
(This reference must be returned
with the order confirmations)
Reference number An..35 C R 1154 :432’
Example:
RFF+IL:432’
Channels of communication
Standard EDI Guidelines (D.97A) 15
© 2013 Nicando Software GmbH
2.3.2.4 SG2: NAD-LOC-FII-SG3-SG4-SG5 – Status: C, 99
2.3.2.4.1 NAD – Name and address – Status: M, 1
The NAD segment controls the input of the identification of a partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
NAD M, 1 NAD
Participant, Qualifier An..3 M 3035 +BY = Buyer
+SE = Supplier
+DP= Delivery address
+IV = invoice recipient
Participant ID Details C C082
Identification of participant An..35 M 3039 +123456 Debitor / Creditor number
Code maintenance qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C 3055 :91 = Identification is allocated by
the supplier
:92 = Identification is allocated by
the buyer
Name and address C C058
Name and address of
participant
An..35 M 3124 +CLIENT, name of participant
Name and address of
participant
An..35 C 3124 :
Name of participant C C080
Name of participant M 3036 +CLIENT
Name of participant M 3036 :
Street C C059
Street and house
number/P.O. Box #
An..35 M 3042 +client street 137
Street and house
number/P.O. Box #
An..35 C 3042 :
Town An..35 C 3164 :client town
Country code An..9 C N 3229 :
Postcode An..9 C 3251 :12345
Country An..3 C 3227 :DE’ = ISO country code
Example:
NAD+BY+123456::92+CLIENT:+CLIENT:+client street 137::client
town:12345:DE’
Channels of communication
Standard EDI Guidelines (D.97A) 16
© 2013 Nicando Software GmbH
2.3.2.5 SG5: CTA-COM – Status: C, 5
2.3.2.5.1 CTA – Contact information – Status: M, 1
The CTA segment governs the input of a person or a department as contact partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
CTA M, 1 CTA
Position of contact partner An..3 C 3139 +PD = purchasing department
Department or person C C056
Department or person,
Identification
An..17 C 3413 +
Department or person An..35 C 3412 :Hans Testmann’
Example:
CTA+PD+:Hans Testmann’
2.3.2.5.2 COM – Communication data – Status: C, 5
The COM segment is for the input of a communication number of a department or a person
as contact partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
COM C, 5 COM
Communications contact M C076
Communication number An..512 M 3148 [email protected]
Means of communication,
Qualifier
An..3 M 3155 :EM’ = E-Mail
:FX’ = Fax number
:TE’ = Telephone
Example:
Channels of communication
Standard EDI Guidelines (D.97A) 17
© 2013 Nicando Software GmbH
2.3.2.6 SG7: CUX-PCD-DTM – Status: C, 5
2.3.2.6.1 CUX – Currency – Status: M, 1
The CUX segment is used for the input of a currency unit.
Description Format Status
UN
Status
abbino
DEG DE Legend
CUX M, 1 CUX
Details of currency unit C C504
Details of currency unit,
encoded
An..3 M 6347 +2 = Reference currency. Currency
to be used when ordering
Currency unit An..3 C R 6345 :EUR = currency unit
Currency qualifier An..3 C 6343 :3 = currency of country
Rate of exchange N..4 C 6348 :1 = rate of exchange
Rate of exchange N..12 C 5402 +1.3478’ = rate of exchange
Example (in as far as the details are available and required):
CUX+2:EUR:3:+1.3478’
2.3.2.7 SG8: PAT-DTM-PCD-SG9 – Status: C, 10
2.3.2.7.1 PAT – Conditions of payment – Status: M, 1
The PAT segment is used for the entry of conditions of payment.
Description Format Status
UN
Status
abbino
DEG DE Legend
PAT M, 1 PAT
Conditions of payment,
Qualifier
An..3 M 4279 +1 = usual conditions of payment
Conditions of payment C C110
Mode of payment,
description
An..17 M 4277 +6 = no change
List of abbreviations,
description
An..3 C 1131 :
List of abbreviations, party
responsible
An..3 C 3055 :
Conditions of payment An..35 C 4276 :payment 30 days net
Conditions of payment An..35 C 4276 :Text’
Example (in as far as the details are available and required):
PAT+1+6:::payment 30 days net:Text’
Channels of communication
Standard EDI Guidelines (D.97A) 18
© 2013 Nicando Software GmbH
2.3.2.8 SG12: TOD-LOC – Status: C, 5
2.3.2.8.1 TOD – Delivery and transport conditions – Status: M, 1
The TOD segment is used for the input of delivery and transport conditions.
Description Format Status
UN
Status
abbino
DEG DE Legend
TOD M, 1 TOD
Conditions of delivery An..3 C 4055 +6 = Conditions of delivery
Mode of payment for
delivery
An..3 C 4215 +
Mode of delivery and/or
transport
C C100
Mode of delivery and/or
transport, description
An..3 C 4053 +ZZZ = as agreed
List of abbreviations,
description
An..3 C 1131 :
List of abbreviations, party
responsible
An..3 C 3055 :
Conditions of delivery An..70 C 4052 :Text
Conditions of delivery An..70 C 4052 :Text’
Example (in as far as the details are available and required):
TOD+6++ZZZ:::Text:Text’
2.3.2.9 SG28: LIN-PIA-IMD-MEA-QTY-PCD-ALI-DTM-MOA-GIN-GIR-QVR-
DOC-PAI-FTX-SG29-SG30-SG32-SG33-SG34-SG37-… – Status: C,
200000
2.3.2.9.1 LIN – Line item data – Status: M, 1
The LIN segment governs the input of a line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
LIN M, 1 LIN
Line item number N..6 C R 1082 +10
Procedure An..3 C R 1229 +1
Article number C C212
Article number An..35 C R 7140 +1020988
Type of article number An..3 C R 7143 :BP = Article number of buyer
Code list, Qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :92’ = Article number allocated by
client
Example:
LIN+10+1+1020988:BP::92’
Channels of communication
Standard EDI Guidelines (D.97A) 19
© 2013 Nicando Software GmbH
2.3.2.9.2 PIA – Additional Product identification – Status: C, 25
The PIA segment governs the input of additional product identification information.
Description Format Status
UN
Status
abbino
DEG DE Legend
PIA C, 25 PIA
Purpose An..3 M 4347 +1 = additional identification
Number, Identifier M C212
Number An..35 C 7140 +0,063/1,0/ 22K = measurements
Identification, encoded An..3 C 7143 :QS = buyer’s measurements
An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C 3055 :92 = allocated by buyer
Number, Identifier M C212
Number An..35 C 7140 +77 = measurements
Identification, encoded An..3 C 7143 :QS = buyer’s measurements
Number, Identifier M C212
Number An..35 C 7140 +69 = measurements
Identification, encoded An..3 C 7143 :QS’ = buyer’s measurements
Example (in as far as the details are available and required):
PIA+1+0,063/1,0/ 22K:QS::92+77:QS+69:QS’
2.3.2.9.3 IMD – Product description – Status: C, 99
The IMD segment governs the input of a product description in a free format.
Description Format Status
UN
Status
abbino
DEG DE Legend
IMD C, 99 IMD
Type An..3 C 7077 +E = Text
Character An..3 C N 7081 +
Description C C273
C N 7009 +
C N 1131 :
C N 3055 :
Description An..35 C R 7008 :resistor’
Example:
IMD+E++:::resistor’
Channels of communication
Standard EDI Guidelines (D.97A) 20
© 2013 Nicando Software GmbH
2.3.2.9.4 QTY – Cumulative order quantity – Status: C, 99
The QTY segment governs the input of the entire order quantity in this line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
QTY C, 99 QTY
Amount qualifier M C186
Amount qualifier An..3 M 6063 +21 = order quantity
Amount n..15 M 6060 :20
Unit An..3 C R 6411 :PCE’
Example:
QTY+21:20:PCE’
2.3.2.10 SG32: PRI-CUX-APR-RNG-DTM – Status: C, 25
2.3.2.10.1 PRI – Price information – Status: M, 1
The PRI segment is used for the input of price information.
Description Format Status
UN
Status
abbino
DEG DE Legend
PRI M, 1 PRI
Price information An..3 C C509
Price qualifier An..3 M 5125 +AAA = Net price (incl. Discount and
surcharge)
Price n..15 C R 5118 :21,34
Price type An..3 C R 5375 :CA (according to catalogue)
Price type qualifier An..3 C N 5387 :
Price unit n..9 C R 5284 :100
Unit amount qualifier An..3 C 6411 :PCE’
Example:
PRI+AAA:21,34:CA::100:PCE’
Channels of communication
Standard EDI Guidelines (D.97A) 21
© 2013 Nicando Software GmbH
2.3.2.11 SG33: RFF-DTM – Status: C, 9999
2.3.2.11.1 RFF – Reference – Status: M, 1
The RFF segment governs the referencing of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
RFF M, 1 RFF
Reference M C506
Reference, Qualifier An..3 M 1153 +ACJ = Number of article
specification (from client)
Reference number An..35 C R 1154 :01’
Example:
RFF+ACJ:01’
2.3.2.11.2 DTM – Date/Time – Status: C, 5
In the header reference this segment governs the input of the date on which the message is
created.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM C, 5 DTM
Date/Time/Period M C507
Date, Qualifier An..3 M 2005 +ZZZ here is the date of the
specification (refer to previous
RFF)
Date An..35 C R 2380 :20070730
Date, Format, Qualifier,
encoded
An..3 C R 2379 :102’, Format = CCYYMMDD
Example:
DTM+ZZZ:20070730:102’
Channels of communication
Standard EDI Guidelines (D.97A) 22
© 2013 Nicando Software GmbH
2.3.2.12 SG53: SCC-FTX-RFF-SG54 – Status: C, 100
2.3.2.12.1 SCC – Delivery details – Status: M, 1
The SCC segment is used for the input of conditions concerning the disposition.
Description Format Status
UN
Status
abbino
DEG DE Legend
SCC M, 1 SCC
Delivery plan, Code An..3 M 4017 +1 = fixed order
Example:
SCC+1’
2.3.2.13 SG54: QTY-DTM – Status: C, 10
2.3.2.13.1 QTY – Order quantity – Status: M, 1
The QTY segment is used for the input of the order quantity for a line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
QTY M, 1 QTY
Amount qualifier M C186
Amount qualifier An..3 M 6063 +21 = order quantity
Amount n..15 M 6060 :2000’
Unit An..3 C N 6411
Example:
QTY+21:2000’
Channels of communication
Standard EDI Guidelines (D.97A) 23
© 2013 Nicando Software GmbH
2.3.2.13.2 DTM – Date/Time – Status: C, 5
The DTM segment governs the input of information on a date or period of time for a line
item.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM C, 5 DTM
Date qualifier M C507
Date qualifier An..3 M 2005 +2 = delivery date
(+158 = delivery date - start
+159 = delivery date -end) is used
when the delivery date is a
calendar week or month
Date An..35 C M 2380 :20060410
Date format An..3 C M 2379 :102’ = CCYYMMDD
Example: fixed date for delivery
DTM+2:20060410:102’
2.3.2.13.3 UNS – Section separator – Status: M, 1
The UNS segment governs the separation of details from the summary.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNS M, 1 UNS
Section separator A..1 M 0081 +S‘ = summary
Example:
UNS+S’
2.3.2.13.4 MOA – Monetary amount – Status: C, 12
The MOA segment shows the total value of the order.
Description Format Status
UN
Status
abbino
DEG DE Examples
MOA C, 12 MOA
Total value M C516
Monetary amount qualifier An..3 M 5025 +128 = total value
Monetary amount N..18 C R 5004 :237,93
Currency , encoded An..3 C R 6345 :EUR’
Example:
MOA+128:237,93:EUR’
Channels of communication
Standard EDI Guidelines (D.97A) 24
© 2013 Nicando Software GmbH
2.3.2.13.5 UNT – Message trailer – Status: M, 1
The UNT segment ends the message and gives the number of message segments.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNT M, 1 UNT
Number of segments in the
message
N..10 M 0074 +23
Message reference number An..14 M 0062 +1’
Example:
UNT+23+1’
2.3.2.13.6 UNZ – Data exchange trailer – Status: M, 1
The UNZ segment ends the exchange of data and gives the number of messages.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNZ M, 1 UNZ
Number of messages within
the message
N..6 M 0036 +1
Message reference number An..14 M 0020 +12344321’=corresponds to field
0020 in Segment: UNB
Example:
UNZ+1+12344321’
Channels of communication
Standard EDI Guidelines (D.97A) 25
© 2013 Nicando Software GmbH
2.3.3 Example of an UN/EDIFACT D97A-ORDERS message
UNB+UNOC:1+CLIENT::+SUPPLIER::+070627:1107+12344321+ORDERS’
UNH+1+ORDERS:D:97A:UN’
BGM+220+123456-0+9’
DTM+137:20070730:102’
RFF+IL:432’
NAD+BY+123456::92+CLIENT:+CLIENT:+client street 137::client
town:12345:DE’
CTA+PD+:Hans Testmann’
NAD+SE+0000031464::92’
NAD+DP+++Customer Ltd:Factory Client+client street
137+town++12345+DE’
CUX+2:EUR:3:+1.3478’
PAT+1+6:::payment 30 days net:Text’
TOD+6++ZZZ:::Text:Text’
LIN+10+1+1020988:BP::92’
PIA+1+0,063/1,0/ 22K:QS::92+77:QS+69:QS’
IMD+E++:::resistor’
QTY+21:20:PCE’
PRI+AAA:21,34:CA::100:PCE’
RFF+ACJ:01’
DTM+ZZZ:20070730:102’
SCC+1’
QTY+21:2000’
DTM+2:20060410:102’
UNS+S’
MOA+128:237,93:EUR’
UNT+23+1’
UNZ+1+12344321’
Channels of communication
Standard EDI Guidelines (D.97A) 26
© 2013 Nicando Software GmbH
2.4 UN/EDIFACT D97A ORDCHG
2.4.1 Composition of an EDIFACT-ORDCHG according to D.97A
UNH, Message header M 1
BGM, Beginning of message M 1
DTM, Date/time/period M 35
PAI, Payment instructions C 1
ALI, Additional information C 5
IMD, Item description C 1
FTX, Free text C 99
--- Segment group 1 ------------------------- C 99 --------+
RFF, Reference M 1 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 2 ------------------------- C 1 --------+
AJT, Adjustment details M 1 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 3 ------------------------- C 99 --------+
NAD, Name and address M 1 |
LOC, Place/location identification C 25 |
FII, Financial institution information C 5 |
|
--- Segment group 4 ------------------------- C 10 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 5 ------------------------- C 5 -------+|
DOC, Document/message details M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 6 ------------------------- C 5 -------+|
CTA, Contact information M 1 ||
COM, Communication contact C 5 ||
--- -------------------------------------------------------------+
--- Segment group 7 ------------------------- C 5 --------+
TAX, Duty/tax/fee details M 1 |
MOA, Monetary amount C 1 |
LOC, Place/location identification C 5 |
--- -------------------------------------------------------------+
--- Segment group 8 ------------------------- C 5 --------+
CUX, Currencies M 1 |
PCD, Percentage details C 5 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 9 ------------------------- C 10 --------+
Channels of communication
Standard EDI Guidelines (D.97A) 27
© 2013 Nicando Software GmbH
PAT, Payment terms basis M 1 |
DTM, Date/time/period C 5 |
PCD, Percentage details C 1 |
MOA, Monetary amount C 1 |
--- -------------------------------------------------------------+
--- Segment group 10 ------------------------ C 10 --------+
TDT, Details of transport M 1 |
|
--- Segment group 11 ------------------------ C 10 -------+|
LOC, Place/location identification M 1 ||
DTM, Date/time/period C 5 ||
--- -------------------------------------------------------------+
--- Segment group 12 ------------------------ C 5 --------+
TOD, Terms of delivery or transport M 1 |
LOC, Place/location identification C 2 |
--- -------------------------------------------------------------+
--- Segment group 13 ------------------------ C 10 --------+
PAC, Package M 1 |
MEA, Measurements C 5 |
|
--- Segment group 14 ------------------------ C 5 -------+|
PCI, Package identification M 1 ||
RFF, Reference C 1 ||
DTM, Date/time/period C 5 ||
GIN, Goods identity number C 10 ||
--- -------------------------------------------------------------+
--- Segment group 15 ------------------------ C 10 --------+
EQD, Equipment details M 1 |
HAN, Handling instructions C 5 |
MEA, Measurements C 5 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 16 ------------------------ C 10 --------+
SCC, Scheduling conditions M 1 |
FTX, Free text C 5 |
RFF, Reference C 5 |
|
--- Segment group 17 ------------------------ C 10 -------+|
QTY, Quantity M 1 ||
DTM, Date/time/period C 5 ||
--- -------------------------------------------------------------+
--- Segment group 18 ------------------------ C 25 --------+
APR, Additional price information M 1 |
DTM, Date/time/period C 5 |
RNG, Range details C 1 |
--- -------------------------------------------------------------+
--- Segment group 19 ------------------------ C 15 --------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 5 |
DTM, Date/time/period C 5 |
|
Channels of communication
Standard EDI Guidelines (D.97A) 28
© 2013 Nicando Software GmbH
--- Segment group 20 ------------------------ C 1 -------+|
QTY, Quantity M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 21 ------------------------ C 1 -------+|
PCD, Percentage details M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 22 ------------------------ C 2 -------+|
MOA, Monetary amount M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 23 ------------------------ C 1 -------+|
RTE, Rate details M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 24 ------------------------ C 5 -------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
--- -------------------------------------------------------------+
--- Segment group 25 ------------------------ C 100 --------+
RCS, Requirements and conditions M 1 |
RFF, Reference C 5 |
DTM, Date/time/period C 5 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 26 ------------------------ C 200000 --------+
LIN, Line item M 1 |
PIA, Additional product id C 25 |
IMD, Item description C 99 |
MEA, Measurements C 99 |
QTY, Quantity C 10 |
PCD, Percentage details C 5 |
ALI, Additional information C 5 |
DTM, Date/time/period C 35 |
MOA, Monetary amount C 10 |
GIN, Goods identity number C 1000 |
GIR, Related identification numbers C 1000 |
QVR, Quantity variances C 1 |
DOC, Document/message details C 5 |
PAI, Payment instructions C 1 |
FTX, Free text C 99 |
|
--- Segment group 27 ------------------------ C 999 -------+|
CCI, Characteristic/class id M 1 ||
CAV, Characteristic value C 10 ||
MEA, Measurements C 10 ||
--- ------------------------------------------------------------+|
|
--- Segment group 28 ------------------------ C 10 -------+|
PAT, Payment terms basis M 1 ||
DTM, Date/time/period C 5 ||
Channels of communication
Standard EDI Guidelines (D.97A) 29
© 2013 Nicando Software GmbH
PCD, Percentage details C 1 ||
MOA, Monetary amount C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 29 ------------------------ C 1 -------+|
AJT, Adjustment details M 1 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 30 ------------------------ C 25 -------+|
PRI, Price details M 1 ||
CUX, Currencies C 1 ||
APR, Additional price information C 1 ||
RNG, Range details C 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 31 ------------------------ C 999 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 32 ------------------------ C 10 -------+|
PAC, Package M 1 ||
MEA, Measurements C 5 ||
QTY, Quantity C 5 ||
DTM, Date/time/period C 5 ||
||
--- Segment group 33 ------------------------ C 1 ------+||
RFF, Reference M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 34 ------------------------ C 5 ------+||
PCI, Package identification M 1 |||
RFF, Reference C 1 |||
DTM, Date/time/period C 5 |||
GIN, Goods identity number C 10 |||
--- ------------------------------------------------------------+|
|
--- Segment group 35 ------------------------ C 9999 -------+|
LOC, Place/location identification M 1 ||
QTY, Quantity C 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 36 ------------------------ C 10 -------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
LOC, Place/location identification C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 37 ------------------------ C 99 -------+|
NAD, Name and address M 1 ||
LOC, Place/location identification C 5 ||
||
--- Segment group 38 ------------------------ C 5 ------+||
RFF, Reference M 1 |||
Channels of communication
Standard EDI Guidelines (D.97A) 30
© 2013 Nicando Software GmbH
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 39 ------------------------ C 5 ------+||
DOC, Document/message details M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 40 ------------------------ C 5 ------+||
CTA, Contact information M 1 |||
COM, Communication contact C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 41 ------------------------ C 99 -------+|
ALC, Allowance or charge M 1 ||
ALI, Additional information C 5 ||
DTM, Date/time/period C 5 ||
||
--- Segment group 42 ------------------------ C 1 ------+||
QTY, Quantity M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 43 ------------------------ C 1 ------+||
PCD, Percentage details M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 44 ------------------------ C 2 ------+||
MOA, Monetary amount M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 45 ------------------------ C 1 ------+||
RTE, Rate details M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 46 ------------------------ C 5 ------+||
TAX, Duty/tax/fee details M 1 |||
MOA, Monetary amount C 1 |||
--- ------------------------------------------------------------+|
|
--- Segment group 47 ------------------------ C 10 -------+|
TDT, Details of transport M 1 ||
||
--- Segment group 48 ------------------------ C 10 ------+||
LOC, Place/location identification M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 49 ------------------------ C 5 -------+|
TOD, Terms of delivery or transport M 1 ||
LOC, Place/location identification C 2 ||
--- ------------------------------------------------------------+|
|
--- Segment group 50 ------------------------ C 10 -------+|
EQD, Equipment details M 1 ||
Channels of communication
Standard EDI Guidelines (D.97A) 31
© 2013 Nicando Software GmbH
HAN, Handling instructions C 5 ||
MEA, Measurements C 5 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 51 ------------------------ C 100 -------+|
SCC, Scheduling conditions M 1 ||
FTX, Free text C 5 ||
RFF, Reference C 5 ||
||
--- Segment group 52 ------------------------ C 10 ------+||
QTY, Quantity M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 53 ------------------------ C 100 -------+|
RCS, Requirements and conditions M 1 ||
RFF, Reference C 5 ||
DTM, Date/time/period C 5 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 54 ------------------------ C 10 -------+|
STG, Stages M 1 ||
||
--- Segment group 55 ------------------------ C 3 ------+||
QTY, Quantity M 1 |||
MOA, Monetary amount C 1 |||
--- -------------------------------------------------------------+
UNS, Section control M 1
MOA, Monetary amount C 12
CNT, Control total C 10
--- Segment group 56 ------------------------ C 10 --------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 1 |
MOA, Monetary amount M 2 |
--- -------------------------------------------------------------+
UNT, Message trailer M 1
Channels of communication
Standard EDI Guidelines (D.97A) 32
© 2013 Nicando Software GmbH
2.4.2 Segment description
2.4.2.1 Payload header
2.4.2.1.1 UNB – Data interchange header – Status: M, 1
The purpose of the UNB segment is the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNB M, 1 UNB
Syntax, Identifier M S001
Syntax, Identifier A..4 M 0001 +UNOC = UN/ECE level: C
Syntax Version # N..1 M 0002 :1
Exchange Sender M S002
Sender, Identification An..35 M 0004 +CLIENT
Partner, Ident.-Code,
Qualifier
An..4 C N 0007 :
Address for fall-back routing An..14 C N 0008 :
Exchange receiver M S003
Receiver, Identification An..35 M 0010 +SUPPLIER
Partner, Ident.-Code,
Qualifier
An..4 C N 0007 :
Routing Address An..14 C N 0014 :
Date and time of provision M S004
Date of provision N..6 M 0017 +070627
Time of provision N..6 M 0019 :1107
Exchange control reference An..14 M 0020 +12344321
Query reference An..14 C R 0026 +ORDCHG’
Example:
UNB+UNOC:1+CLIENT::+SUPPLIER::+070627:1107+12344321+ORDCHG’
Channels of communication
Standard EDI Guidelines (D.97A) 33
© 2013 Nicando Software GmbH
2.4.2.2 Header
2.4.2.2.1 UNH – Message reference header – Status: M, 1
The UNH segment governs the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNH M, 1 UNH
Message reference # An..14 M 0062 +1
Message, Quali. M S009
Message type identifier An..6 M 0065 +ORDCHG=Purchase order change
message
Version # of message type An..3 M 0052 :D=Draft version
Release number of message
type
An..3 M 0054 :97A=Release 1997A=1.Version
Executive organisation An..2 M 0051 :UN’= United Nations Standard
Example:
UNH+1+ORDCHG:D:97A:UN’
2.4.2.2.2 BGM – Beginning of message – Status: M, 1
The BGM segment governs the identification of the message type.
Description Format Status
UN
Status
abbino
DEG DE Legend
BGM M, 1 BGM
Message name C C002
Encoded An..3 C R 1001 +230, Code=Order change
Message identification C C106
Message number An..35 C R 1004 +123456-0=order number
Message purpose An..3 M 1225 +9’, Code= Original
Example:
BGM+230+123456-0+9’
Channels of communication
Standard EDI Guidelines (D.97A) 34
© 2013 Nicando Software GmbH
2.4.2.2.3 DTM – Date/Time period – Status: M, 35
This segment serves the input of the date on which the message is created.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM M, 35 DTM
Date/Time/Period M C507
Date, Qualifier An..3 M 2005 +137 = Date on which the message
is created
Date An..35 C R 2380 :20070730Date
Date, Format, Qualifier,
encoded
An..3 C R 2379 :102’, Format = CCYYMMDD
Example:
DTM+137:20070730:102’
2.4.2.3 SG1: RFF-DTM – Status: C, 99
2.4.2.3.1 RFF – Reference – Status: M, 1
The RFF segment serves the referencing of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
RFF M, 1 M, 1 RFF
Reference M C506
Reference, Qualifier An..3 M 1153 +IL = Internal reference number
(This reference must be returned
with the order confirmations)
Reference number An..35 C R 1154 :432’
Example:
RFF+IL:432’
Channels of communication
Standard EDI Guidelines (D.97A) 35
© 2013 Nicando Software GmbH
2.4.2.4 SG2: AJT-FTX – Status: C, 1
2.4.2.4.1 AJT – Reference – Status: M, 1
The AJT segment controls the input of adjustment details in the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
AJT M, 1 AJT
Adjustment details An..3 M 4465 +57 = Price change (or +ZZZ =
agreed reference number)
Line item number N..6 C 1082 +10’
Example:
AJT+57+10’
Channels of communication
Standard EDI Guidelines (D.97A) 36
© 2013 Nicando Software GmbH
2.4.2.5 SG3: NAD-LOC-FII-SG4-SG5-SG6 – Status: C, 99
2.4.2.5.1 NAD – Name and address – Status: M, 1
The NAD segment governs the input of the identification of a partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
NAD M, 1 NAD
Participant, Qualifier An..3 M 3035 +BY = Buyer
+SE = Supplier
+DP= Delivery address
+IV = Invoice recipient
Participant ID Details C C082
Identification of participant An..35 M 3039 +123456 Debitor / Creditor number
An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C 3055 :91 = Identification is allocated by
supplier
:92 = Identification is allocated by
buyer
Name and address C C058
Name and address of
participant
An..35 M 3124 +CLIENT, Name of participant
Name and address of
participant
An..35 C 3124 :
Name of participant C C080
Name of participant M 3036 +CLIENT
Name of participant M 3036 :
Street C C059
Street and house
number/P.O. Box #
An..35 M 3042 +client street.137
Street and house
number/P.O. Box #
An..35 C 3042 :
Town An..35 C 3164 +client town
An..9 C N 3229 +
Postcode An..9 C 3251 +12345
Country An..3 C 3227 +DE’ = ISO country code
Example:
NAD+BY+123456::92+CLIENT:+CLIENT:+client street 137:+client
town+12345+DE’
Channels of communication
Standard EDI Guidelines (D.97A) 37
© 2013 Nicando Software GmbH
2.4.2.6 SG6: CTA-COM – Status: C, 5
2.4.2.6.1 CTA – Contact information – Status: M, 1
The CTA segment governs the input of a person or a department as contact partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
CTA M, 1 CTA
Position of contact partner An..3 C 3139 +PD = Purchasing department
C C056
Department or person,
Identification
An..17 C 3413 +
Department or person An..35 C 3412 :Hans Testmann’
Example:
CTA+PD+:Hans Testmann’
2.4.2.6.2 COM – Communication data – Status: C, 5
The COM segment is used for the communication details of a department or a person as
contact partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
COM C, 5 COM
Communication details M C076
Communication details An..512 M 3148 [email protected]
Means of communication,
Qualifier
An..3 M 3155 :EM’ = E-Mail
:FX’ = Fax number
:TE’ = Telephone
Example:
Channels of communication
Standard EDI Guidelines (D.97A) 38
© 2013 Nicando Software GmbH
2.4.2.7 SG8: CUX-PCD-DTM – Status: C, 5
2.4.2.7.1 CUX – Currency – Status: M, 1
The CUX segment governs the input of the currency unit.
Description Format Status
UN
Status
abbino
DEG DE Legend
CUX M, 1 CUX
Details of currency unit C C504
Details of currency unit,
encoded
An..3 M 6347 +2 = Reference currency. Currency
to be used for the order
Currency unit An..3 C R 6345 :EUR = Currency unit
Currency qualifier An..3 C 6343 :3 = National currency
Rate of exchange N..4 C 6348 :1 = rate of exchange
Rate of exchange N..12 C 5402 +1.3478’ = rate of exchange
Example (in as far as the details are available and required):
CUX+2:EUR:3:+1.3478’
2.4.2.8 SG9: PAT-DTM-PCD-MOA – Status: C, 10
2.4.2.8.1 PAT – Terms of payment – Status: M, 1
The PAT segment governs the input of information concerning the terms of payment.
Description Format Status
UN
Status
abbino
DEG DE Legend
PAT M, 1 PAT
Terms of payment, Qualifier An..3 M 4279 +1 = usual terms of payment
Terms of payment C C110
Method of payment,
description
An..17 M 4277 +6 = no change
List of abbreviations,
description
An..3 C 1131 :
List of abbreviations, party
responsible
An..3 C 3055 :
Terms of payment An..35 C 4276 :payment 30 days net
Terms of payment An..35 C 4276 :Text’
Example (in as far as the details are available and required):
PAT+1+6:::payment 30 days net:Text’
Channels of communication
Standard EDI Guidelines (D.97A) 39
© 2013 Nicando Software GmbH
2.4.2.9 SG12: TOD-LOC – Status: C, 5
2.4.2.9.1 TOD – Delivery and transport terms – Status: M, 1
The TOD segment is used for the input of terms for delivery and transport.
Description Format Status
UN
Status
abbino
DEG DE Legend
TOD M, 1 TOD
Terms of delivery An..3 C 4055 +6 = terms of delivery
Method of payment for
delivery
An..3 C 4215 +
Mode of delivery or
transport
C C100
Mode of delivery or
transport, description
An..3 C 4053 +ZZZ = as agreed
List of abbreviations,
description
An..3 C 1131 :
List of abbreviations, party
responsible
An..3 C 3055 :
Terms of delivery An..70 C 4052 :Text
Terms of delivery An..70 C 4052 :Text’
Example (in as far as the details are available and required):
TOD+6++ZZZ:::Text:Text’
2.4.2.10 SG26: LIN-PIA-IMD-MEA-QTY-PCD-ALI-DTM-MOA-GIN-GIR-QVR-
DOC-PAI-FTX-SG28-… – Status: C, 200000
2.4.2.10.1 LIN – Line items data – Status: M, 1
The LIN segment governs the input of information on line items.
Description Format Status
UN
Status
abbino
DEG DE Legend
LIN M, 1 LIN
Line item N..6 C R 1082 +10
Procedure An..3 C R 1229 +1 (1 Added This line item is added
to the referenced message. 2
Deleted This line item is deleted
from the referenced message. 3
Changed This line item is changed
in the referenced message).
Article number C C212
Article number An..35 C R 7140 +1020988
Type of article number An..3 C R 7143 :BP = article number of buyer
Code list, Qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :92’ = article number allocated by
client
Example:
LIN+10+1+1020988:BP::92’
Channels of communication
Standard EDI Guidelines (D.97A) 40
© 2013 Nicando Software GmbH
2.4.2.10.2 PIA – Additional product identification – Status: C, 25
The PIA segment governs the input of additional product identification information.
Description Format Status
UN
Status
abbino
DEG DE Legend
PIA C, 25 PIA
Purpose An..3 M 4347 +1 = additional identification
Number ,Identifier M C212
Number An..35 C 7140 +0,063/1,0/ 22K = measurements
Identification, encoded An..3 C 7143 :QS = measurements from buyer
An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C 3055 :92 = allocated by buyer
Number ,Identifier M C212
Number An..35 C 7140 +77 = measurements
Identification, encoded An..3 C 7143 :QS = measurements from buyer
Number ,Identifier M C212
Number An..35 C 7140 +69 = measurements
Identification, encoded An..3 C 7143 :QS’ = measurements from buyer
Example (in as far as the details are available and required):
PIA+1+0,063/1,0/ 22K:QS::92+77:QS+69:QS’
2.4.2.10.3 IMD – Product description – Status: C, 99
The IMD segment governs the input of a product description in a free format.
Description Format Status
UN
Status
abbino
DEG DE Legend
IMD C, 99 IMD
Type An..3 C 7077 +E = Text
Character An..3 C N 7081 +
Description C C273
An..17 C N 7009 +
An..3 C N 1131 :
An..3 C N 3055 :
Description An..35 C R 7008 :resistor’
Example:
IMD+E++:::resistor’
Channels of communication
Standard EDI Guidelines (D.97A) 41
© 2013 Nicando Software GmbH
2.4.2.10.4 QTY – Cumulative order quantity – Status: C, 10
The QTY segment governs the input of the entire order quantity for this line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
QTY C, 10 QTY
Quantity qualifier M C186
Quantity qualifier An..3 M 6063 +21 = order quantity
Quantity n..15 M 6060 :20
Unit An..3 C R 6411 :PCE’
Example:
QTY+21:20:PCE’
2.4.2.11 SG30: PRI-CUX-APR-RNG-DTM – Status: C, 25
2.4.2.11.1 PRI – Price information – Status: M, 1
The PRI segment is used for the input of price information.
Description Format Status
UN
Status
abbino
DEG DE Legend
PRI M, 1 PRI
Price information An..3 C C509
Price qualifier An..3 M 5125 +AAA = Net price (incl. discount
and surcharge)
Price n..15 C R 5118 : 21,34
Price type An..3 C R 5375 :CA (according to catalogue)
Price type qualifier An..3 C N 5387 :
Price unit n..9 C R 5284 :100
Quantity unit qualifier An..3 C 6411 :PCE’
Example:
PRI+AAA:21,34:CA::100:PCE’
Channels of communication
Standard EDI Guidelines (D.97A) 42
© 2013 Nicando Software GmbH
2.4.2.12 SG31: RFF-DTM – Status: C, 999
2.4.2.12.1 RFF – Reference – Status: M, 1
The RFF segment governs the referencing of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
RFF M, 1 RFF
Reference M M C506
Reference, Qualifier An..3 M 1153 +LI = Line item number in client’s
document
Reference number An..35 C R 1154 :01’
Example:
RFF+LI:01’
2.4.2.13 SG51: SCC-FTX-RFF-SG52 – Status: C, 100
2.4.2.13.1 SCC – Details of delivery – Status: M, 1
The SCC segment governs the input of information concerning the disposition.
Description Format Status
UN
Status
abbino
DEG DE Legend
SCC M, 1 SCC
Delivery plan, Code An..3 M 4017 +1‘ = fixed order,
+4‘ = Planning/Preview
Example:
SCC+1’
2.4.2.14 SG52: QTY-DTM – Status: C, 10
2.4.2.14.1 QTY – Order quantity – Status: M, 1
The QTY segment governs the input of order quantity information for a line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
QTY M, 1 QTY
Quantity qualifier M C186
Quantity qualifier An..3 M 6063 +21 = Order quantity
Quantity n..15 M 6060 :2000’
Unit An..3 C N 6411
Example:
QTY+21:2000’
Channels of communication
Standard EDI Guidelines (D.97A) 43
© 2013 Nicando Software GmbH
2.4.2.14.2 DTM – Date/Time – Status: C, 5
The DTM segment governs the input of information of a date or period of time for a line
item.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM C, 5 DTM
Date qualifier M C507
Date qualifier An..3 M 2005 +2 = Delivery date
(+158 = delivery date - start
+159 = delivery date - end),is used
when the delivery date is a
calendar week or month
Date An..35 C R 2380 :20060410
Date format An..3 C R 2379 :102’ = CCYYMMDD
Example: fixed delivery date
DTM+2:20060410:102’
2.4.2.14.3 UNS – Section separator – Status: M, 1
The UNS segment governs the separation of details from the summary.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNS M, 1 UNS
Section separator A..1 M 0081 +S‘ = Summary
Example:
UNS+S’
2.4.2.14.4 MOA – Monetary amount – Status: C, 12
The MOA segment gives the total value of the order.
Description Format Status
UN
Status
abbino
DEG DE Examples
MOA C, 12 MOA
Total value M C516
Monetary amount qualifier An..3 M 5025 +128 = total value
Monetary amount N..18 C R 5004 :237,93
Currency, encoded An..3 C R 6345 :EUR’
Example:
MOA+128:237,93:EUR’
Channels of communication
Standard EDI Guidelines (D.97A) 44
© 2013 Nicando Software GmbH
2.4.2.14.5 UNT – Message trailer – Status: M, 1
The UNT segment ends the message and gives the number of message segments.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNT M, 1 UNT
Number of segments in the
message
N..10 M 0074 +23
Message reference number An..14 M 0062 +1’
Example:
UNT+23+1’
2.4.2.14.6 UNZ – Data interchange trailer – Status: M, 1
The UNZ segment ends the exchange of data and gives the number of messages.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNZ M, 1 UNZ
Number of messages within
the message
N..10 M 0036 +1
Message reference number An..14 M 0020 +12344321’=corresponds to field
0020 in Segment: UNB
Example:
UNZ+1+12344321’
Channels of communication
Standard EDI Guidelines (D.97A) 45
© 2013 Nicando Software GmbH
2.4.3 Example of an UN/EDIFACT D97A-ORDCHG message
UNB+UNOC:1+CLIENT::+SUPPLIER::+070627:1107+12344321+ORDCHG’
UNH+1+ORDCHG:D:97A:UN’
BGM+230+123456-0+9’
DTM+137:20070730:102’
RFF+IL:432’
AJT+57+10’
NAD+BY+123456::92+CLIENT:+CLIENT:+client street 137:+client
town+12345+DE’
CTA+PD+:Hans Testmann’
NAD+SE+0000031464::92’
NAD+DP+++Client Ltd:Factory Porta+client street 137+client
town++12345+DE’
CUX+2:EUR:3:+1.3478’
PAT+1+6:::payment 30 days net:Text’
TOD+6++ZZZ:::Text:Text’
LIN+10+1+1020988:BP::92’
PIA+1+0,063/1,0/ 22K:QS::92+77:QS+69:QS’
IMD+E++:::resistor’
QTY+21:20:PCE’
PRI+AAA:21,34:CA::100:PCE’
RFF+LI:01’
SCC+1’
QTY+21:2000’
DTM+2:20060410:102’
UNS+S’
MOA+128:237,93:EUR’
UNT+23+1’
UNZ+1+12344321’
Channels of communication
Standard EDI Guidelines (D.97A) 46
© 2013 Nicando Software GmbH
2.5 UN/EDIFACT D97A ORDRSP
2.5.1 Composition of an EDIFACT-ORDRSP according to D.97A
UNH, Message header M 1
BGM, Beginning of message M 1
DTM, Date/time/period M 35
PAI, Payment instructions C 1
ALI, Additional information C 5
IMD, Item description C 1
FTX, Free text C 99
--- Segment group 1 ------------------------- C 99 --------+
RFF, Reference M 1 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 2 ------------------------- C 1 --------+
AJT, Adjustment details M 1 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 3 ------------------------- C 99 --------+
NAD, Name and address M 1 |
LOC, Place/location identification C 25 |
FII, Financial institution information C 5 |
|
--- Segment group 4 ------------------------- C 10 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 5 ------------------------- C 5 -------+|
DOC, Document/message details M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 6 ------------------------- C 5 -------+|
CTA, Contact information M 1 ||
COM, Communication contact C 5 ||
--- -------------------------------------------------------------+
--- Segment group 7 ------------------------- C 5 --------+
TAX, Duty/tax/fee details M 1 |
MOA, Monetary amount C 1 |
LOC, Place/location identification C 5 |
--- -------------------------------------------------------------+
--- Segment group 8 ------------------------- C 5 --------+
CUX, Currencies M 1 |
PCD, Percentage details C 5 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 9 ------------------------- C 10 --------+
Channels of communication
Standard EDI Guidelines (D.97A) 47
© 2013 Nicando Software GmbH
PAT, Payment terms basis M 1 |
DTM, Date/time/period C 5 |
PCD, Percentage details C 1 |
MOA, Monetary amount C 1 |
--- -------------------------------------------------------------+
--- Segment group 10 ------------------------ C 10 --------+
TDT, Details of transport M 1 |
|
--- Segment group 11 ------------------------ C 10 -------+|
LOC, Place/location identification M 1 ||
DTM, Date/time/period C 5 ||
--- -------------------------------------------------------------+
--- Segment group 12 ------------------------ C 5 --------+
TOD, Terms of delivery or transport M 1 |
LOC, Place/location identification C 2 |
--- -------------------------------------------------------------+
--- Segment group 13 ------------------------ C 10 --------+
PAC, Package M 1 |
MEA, Measurements C 5 |
|
--- Segment group 14 ------------------------ C 5 -------+|
PCI, Package identification M 1 ||
RFF, Reference C 1 ||
DTM, Date/time/period C 5 ||
GIN, Goods identity number C 99 ||
--- -------------------------------------------------------------+
--- Segment group 15 ------------------------ C 10 --------+
EQD, Equipment details M 1 |
HAN, Handling instructions C 5 |
MEA, Measurements C 5 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 16 ------------------------ C 10 --------+
SCC, Scheduling conditions M 1 |
FTX, Free text C 5 |
RFF, Reference C 5 |
|
--- Segment group 17 ------------------------ C 10 -------+|
QTY, Quantity M 1 ||
DTM, Date/time/period C 5 ||
--- -------------------------------------------------------------+
--- Segment group 18 ------------------------ C 25 --------+
APR, Additional price information M 1 |
DTM, Date/time/period C 5 |
RNG, Range details C 1 |
--- -------------------------------------------------------------+
--- Segment group 19 ------------------------ C 15 --------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 5 |
DTM, Date/time/period C 5 |
|
Channels of communication
Standard EDI Guidelines (D.97A) 48
© 2013 Nicando Software GmbH
--- Segment group 20 ------------------------ C 1 -------+|
QTY, Quantity M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 21 ------------------------ C 1 -------+|
PCD, Percentage details M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 22 ------------------------ C 2 -------+|
MOA, Monetary amount M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 23 ------------------------ C 1 -------+|
RTE, Rate details M 1 ||
RNG, Range details C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 24 ------------------------ C 5 -------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
--- -------------------------------------------------------------+
--- Segment group 25 ------------------------ C 100 --------+
RCS, Requirements and conditions M 1 |
RFF, Reference C 5 |
DTM, Date/time/period C 5 |
FTX, Free text C 5 |
--- -------------------------------------------------------------+
--- Segment group 26 ------------------------ C 200000 --------+
LIN, Line item M 1 |
PIA, Additional product id C 25 |
IMD, Item description C 99 |
MEA, Measurements C 99 |
QTY, Quantity C 10 |
PCD, Percentage details C 5 |
ALI, Additional information C 5 |
DTM, Date/time/period C 35 |
MOA, Monetary amount C 10 |
GIN, Goods identity number C 1000 |
GIR, Related identification numbers C 1000 |
QVR, Quantity variances C 1 |
DOC, Document/message details C 5 |
PAI, Payment instructions C 1 |
FTX, Free text C 99 |
|
--- Segment group 27 ------------------------ C 999 -------+|
CCI, Characteristic/class id M 1 ||
CAV, Characteristic value C 10 ||
MEA, Measurements C 10 ||
--- ------------------------------------------------------------+|
|
--- Segment group 28 ------------------------ C 10 -------+|
PAT, Payment terms basis M 1 ||
DTM, Date/time/period C 5 ||
Channels of communication
Standard EDI Guidelines (D.97A) 49
© 2013 Nicando Software GmbH
PCD, Percentage details C 1 ||
MOA, Monetary amount C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 29 ------------------------ C 1 -------+|
AJT, Adjustment details M 1 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 30 ------------------------ C 25 -------+|
PRI, Price details M 1 ||
CUX, Currencies C 1 ||
APR, Additional price information C 1 ||
RNG, Range details C 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 31 ------------------------ C 999 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 32 ------------------------ C 10 -------+|
PAC, Package M 1 ||
MEA, Measurements C 5 ||
QTY, Quantity C 5 ||
DTM, Date/time/period C 5 ||
||
--- Segment group 33 ------------------------ C 1 ------+||
RFF, Reference M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 34 ------------------------ C 5 ------+||
PCI, Package identification M 1 |||
RFF, Reference C 1 |||
DTM, Date/time/period C 5 |||
GIN, Goods identity number C 99 |||
--- ------------------------------------------------------------+|
|
--- Segment group 35 ------------------------ C 9999 -------+|
LOC, Place/location identification M 1 ||
QTY, Quantity C 1 ||
PCD, Percentage details C 1 ||
DTM, Date/time/period C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 36 ------------------------ C 10 -------+|
TAX, Duty/tax/fee details M 1 ||
MOA, Monetary amount C 1 ||
LOC, Place/location identification C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 37 ------------------------ C 99 -------+|
NAD, Name and address M 1 ||
LOC, Place/location identification C 5 ||
||
--- Segment group 38 ------------------------ C 5 ------+||
Channels of communication
Standard EDI Guidelines (D.97A) 50
© 2013 Nicando Software GmbH
RFF, Reference M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 39 ------------------------ C 5 ------+||
DOC, Document/message details M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 40 ------------------------ C 5 ------+||
CTA, Contact information M 1 |||
COM, Communication contact C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 41 ------------------------ C 99 -------+|
ALC, Allowance or charge M 1 ||
ALI, Additional information C 5 ||
DTM, Date/time/period C 5 ||
||
--- Segment group 42 ------------------------ C 1 ------+||
QTY, Quantity M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 43 ------------------------ C 1 ------+||
PCD, Percentage details M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 44 ------------------------ C 2 ------+||
MOA, Monetary amount M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 45 ------------------------ C 1 ------+||
RTE, Rate details M 1 |||
RNG, Range details C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 46 ------------------------ C 5 ------+||
TAX, Duty/tax/fee details M 1 |||
MOA, Monetary amount C 1 |||
--- ------------------------------------------------------------+|
|
--- Segment group 47 ------------------------ C 10 -------+|
TDT, Details of transport M 1 ||
||
--- Segment group 48 ------------------------ C 10 ------+||
LOC, Place/location identification M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 49 ------------------------ C 5 -------+|
TOD, Terms of delivery or transport M 1 ||
LOC, Place/location identification C 2 ||
--- ------------------------------------------------------------+|
|
--- Segment group 50 ------------------------ C 10 -------+|
Channels of communication
Standard EDI Guidelines (D.97A) 51
© 2013 Nicando Software GmbH
EQD, Equipment details M 1 ||
HAN, Handling instructions C 5 ||
MEA, Measurements C 5 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 51 ------------------------ C 100 -------+|
SCC, Scheduling conditions M 1 ||
FTX, Free text C 5 ||
RFF, Reference C 5 ||
||
--- Segment group 52 ------------------------ C 10 ------+||
QTY, Quantity M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 53 ------------------------ C 100 -------+|
RCS, Requirements and conditions M 1 ||
RFF, Reference C 5 ||
DTM, Date/time/period C 5 ||
FTX, Free text C 5 ||
--- ------------------------------------------------------------+|
|
--- Segment group 54 ------------------------ C 10 -------+|
STG, Stages M 1 ||
||
--- Segment group 55 ------------------------ C 3 ------+||
QTY, Quantity M 1 |||
MOA, Monetary amount C 1 |||
--- -------------------------------------------------------------+
UNS, Section control M 1
MOA, Monetary amount C 12
CNT, Control total C 10
--- Segment group 56 ------------------------ C 10 --------+
ALC, Allowance or charge M 1 |
ALI, Additional information C 1 |
MOA, Monetary amount M 2 |
--- -------------------------------------------------------------+
UNT, Message trailer M 1
Channels of communication
Standard EDI Guidelines (D.97A) 52
© 2013 Nicando Software GmbH
2.5.2 Segment description
2.5.2.1 Payload header reference
2.5.2.1.1 UNB – Data interchange header – Status: M, 1
The UNB segment governs the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNB M, 1 UNB
Syntax, Identifier M S001
Syntax, Identifier A..4 M 0001 +UNOC = UN/ECE level: C
Syntax Version # N..1 M 0002 :1
Exchange Sender M S002
Sender, Identification An..35 M 0004 +CLIENT
Partner, Ident.-Code,
Qualifier
An..4 C N 0007 :
Address for fall-back routing An..14 C N 0008 :
Exchange receiver M S003
Receiver, Identification An..35 M 0010 +SUPPLIER
Partner, Ident.-Code,
Qualifier
An..4 C N 0007 :
Routing address An..14 C N 0014 :
Date and time of provision M S004
Date of provision N..6 M 0017 +070627
Time of provision N..6 M 0019 :1107
Exchange control reference An..14 M 0020 +12344321
Query reference An..14 C R 0026 +ORDRSP’
Example:
UNB+UNOC:1+CLIENT::+SUPPLIER::+070627:1107+12344321+ORDRSP’
Channels of communication
Standard EDI Guidelines (D.97A) 53
© 2013 Nicando Software GmbH
2.5.2.2 Headers
2.5.2.2.1 UNH – Message header – Status: M, 1
The UNH segment serves the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNH M, 1 UNH
Message reference number An..14 M 0062 +1
Message, Quali. M S009
Message type identifier An..6 M 0065 +ORDRSP=Purchase order
response message
Version number of message
type
An..3 M 0052 :D=Draft version
Release number of message
type
An..3 M 0054 :97A=release 1997 A=1.Version
Executive Organisation An..2 M 0051 :UN’= United Nations Standard
Example:
UNH+1+ORDRSP:D:97A:UN’
2.5.2.2.2 BGM – Begin of message – Status: M, 1
The BGM segment serves the identification of the type of message.
Description Format Status
UN
Status
abbino
DEG DE Legend
BGM M, 1 BGM
Message name C C002
Encoded An..3 C R 1001 +231, Code=Order response
Message identification C C106
Message number An..35 C R 1004 +123456-0=order number
Message purpose An..3 M 1225 +9’, Code= Original
Example:
BGM+231+123456-0+9’
Channels of communication
Standard EDI Guidelines (D.97A) 54
© 2013 Nicando Software GmbH
2.5.2.2.3 DTM – Date/Time – Status: M, 35
In the header, this segment governs the input of the date on which the message is created.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM M, 35 DTM
Date/Time/Period M C507
Date, Qualifier An..3 M 2005 +137 = Date on which the message
is created
Date An..35 C R 2380 :20070730 =Date
Date, Format, Qualifier,
encoded
An..3 C R 2379 :102’, Format =CCYYMMDD
Example:
DTM+137:20070730:102’
2.5.2.3 SG1: RFF-DTM – Status: C, 99
2.5.2.3.1 RFF – Reference – Status: M, 1
The RFF segment governs the referencing of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
RFF M, 1 RFF
Reference M C506
Reference, Qualifier An..3 M 1153 +IL = Internal reference number
(This reference must be returned
with the order confirmations)
Reference number An..35 C R 1154 :432’
Example:
RFF+IL:432’
Channels of communication
Standard EDI Guidelines (D.97A) 55
© 2013 Nicando Software GmbH
2.5.2.4 SG2: AJT-FTX – Status: C, 1
2.5.2.4.1 AJT – Reference – Status: M, 1
The AJT segment governs the adjustment of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
AJT M, 1 AJT
Reason for variance An..3 M 4465 +57 = Price change (or+ZZZ =
agreed reference number)
Line item number N..6 C 1082 +10’
Example:
AJT+57+10’
Channels of communication
Standard EDI Guidelines (D.97A) 56
© 2013 Nicando Software GmbH
2.5.2.5 SG3: NAD-LOC-FII-SG4-SG5-SG6 – Status: C, 99
2.5.2.5.1 NAD – Name and address – Status: M, 1
The NAD segment controls the entry of the identification of a partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
NAD M, 1 NAD
Participant, Qualifier An..3 M 3035 +BY = Buyer
+SE = Supplier
+DP= Delivery address
+IV = Invoice recipient
Participant ID Details C C082
Identification of Participant An..35 M 3039 +123456 Debitor / Creditor number
An..35 C 1131 :
Party responsible for code
maintenance
An..3 C 3055 :91 = Identification allocated by
supplier
:92 = Identification allocated by
buyer
Name and address C C058
Name +address of
participant
An..35 M 3124 +CLIENT, name of participant
Name + address of
participant
An..35 C 3124 :
Name of participant C C080
Name of participant M 3036 +CLIENT
Name of participant C 3036 :
Street C C059
Street and house
number/P.O. Box #
An..35 M 3042 +Client street 137
Street and house
number/P.O. Box #
An..35 C 3042 :
Town An..35 C 3164 +Client town
An..9 C 3229 +
Postcode An..9 C 3251 +12345
Country An..3 C 3227 +DE’ = ISO country code
Example:
NAD+BY+123456::92+CLIENT:+CLIENT:+Client street 137:+Client
town+12345+DE’
Channels of communication
Standard EDI Guidelines (D.97A) 57
© 2013 Nicando Software GmbH
2.5.2.6 SG6: CTA-COM – Status: C, 5
2.5.2.6.1 CTA – Contact information – Status: M, 1
The CTA segment controls the entry of a person or a department as contact partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
CTA M, 1 CTA
Position of contact partner An..3 C 3139 +PD = Purchasing department
C C056
Department or person,
Identification
An..17 C 3413 +
Department or person An..35 C 3412 :Hans Testmann’
Example:
CTA+PD+:Hans Testmann’
2.5.2.6.2 COM – Communication data – Status: C, 5
The COM segment governs the input of a communication number of a department or a
person acting as contact partner.
Description Format Status
UN
Status
abbino
DEG DE Legend
COM C, 5 COM
Communication contact M C076
Communication number An..512 M 3148 [email protected]
Method of communication,
Qualifier
An..3 M 3155 :EM’ = E-Mail
:FX’ = Fax number
:TE’ = Telephone
Example:
Channels of communication
Standard EDI Guidelines (D.97A) 58
© 2013 Nicando Software GmbH
2.5.2.7 SG8: CUX-PCD-DTM – Status: C, 5
2.5.2.7.1 CUX – Currency – Status: M, 1
The CUX segment is used for the input of a currency unit.
Description Format Status
UN
Status
abbino
DEG DE Legend
CUX M, 1 CUX
Details on currency unit C C504
Details on currency unit,
encoded
An..3 M 6347 +2 = Reference currency. Currency
to be used for the order
Currency unit An..3 C R 6345 :EUR = currency unit
Currency qualifier An..3 C 6343 :3 = national currency
Rate of exchange N..4 C 6348 :1 = rate of exchange
Rate of exchange N..12 C 5402 +1.3478’ = rate of exchange
Example (in as far as the details are available and required):
CUX+2:EUR:3:1:+1.3478’
2.5.2.8 SG9: PAT-DTM-PCD-MOA – Status: C, 10
2.5.2.8.1 PAT – Terms of payment – Status: M, 1
The PAT segment is used for the input of the terms of payment.
Description Format Status
UN
Status
abbino
DEG DE Legend
PAT M, 1 PAT
Terms of payment, Qualifier An..3 M 4279 +1 = usual terms of payment
Terms of payment C C110
Mode of payment,
description
An..17 M 4277 +6 = no change
List of abbreviations,
description
An..3 C 1131 :
List of abbreviations, party
responsible
An..3 C 3055 :
Terms of payment An..35 C 4276 :payment 30 days net
Terms of payment An..35 C 4276 :Text’
Example (in as far as the details are available and required):
PAT+1+6:::payment 30 days net:Text’
Channels of communication
Standard EDI Guidelines (D.97A) 59
© 2013 Nicando Software GmbH
2.5.2.9 SG12: TOD-LOC – Status: C, 5
2.5.2.9.1 TOD – Terms for delivery and transport – Status: M, 1
The TOD segment is used for the input of terms for delivery and transport.
Description Format Status
UN
Status
abbino
DEG DE Legend
TOD M, 1 TOD
Terms of delivery An..3 C 4055 +6 = terms of delivery
Mode of payment for
delivery
An..3 C 4215 +
Mode of delivery or
transport
C C100
Mode of delivery or
transport, description
An..3 C 4053 +ZZZ = as agreed
List of abbreviations,
description
An..3 C 1131 :
List of abbreviations, party
responsible
An..3 C 3055 :
Terms of delivery An..70 C 4052 :Text
Terms of delivery An..70 C 4052 :Text’
Example (in as far as the details are available and required):
TOD+6++ZZZ:::Text:Text’
2.5.2.10 SG26: LIN-PIA-IMD-MEA-QTY-PCD-ALI-DTM-MOA-GIN-GIR-QVR-
DOC-PAI-FTX-SG27-SG28-... – Status: C, 200000
2.5.2.10.1 LIN – Line item data – Status: M, 1
The LIN segment determines the input of a line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
LIN M, 1 LIN
Line item # N..6 C R 1082 +10
Procedure An..3 C R 1229 +5 (5 Accepted without
amendment.
6 Accepted with amendment.
7 Not accepted.)
Article number C C212
Article number An..35 C R 7140 +1020988
Type of article number An..3 C R 7143 :BP = buyer’s article number
Code list, Qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :92’ = article number allocated by
client
Example:
LIN+10+5+1020988:BP::92’
Channels of communication
Standard EDI Guidelines (D.97A) 60
© 2013 Nicando Software GmbH
2.5.2.10.2 PIA – Supplementary product identification – Status: C, 25
The PIA segment determines the input of supplementary product identification.
Description Format Status
UN
Status
abbino
DEG DE Legend
PIA C, 25 PIA
Function An..3 M 4347 +1 = additional identification
Number,Identifier M C212
Number An..35 C 7140 +0,063/1,0/ 22K = measurements
Identification, encoded An..3 C 7143 :QS = measurements given by
buyer
An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C 3055 :92 = allocated by buyer
Number,Identifier M C212
Number An..35 C 7140 +77 = measurements
Identification, encoded An..3 C 7143 :QS = measurements given by
buyer
Number,Identifier M C212
Number An..35 C 7140 +69 = measurements
Identification, encoded An..3 C 7143 :QS’ = measurements given by
buyer
Example (in as far as the details are available and required):
PIA+1+0,063/1,0/ 22K:QS::92+77:QS+69:QS’
2.5.2.10.3 IMD – Product description – Status: C, 99
The IMD segment controls the entry of the production description in a free format.
Description Format Status
UN
Status
abbino
DEG DE Legend
IMD C, 99 IMD
Type An..3 C 7077 +E = text
Character An..3 C N 7081 +
Description C C273
An..17 C N 7009 +
An..3 C N 1131 :
An..3 C N 3055 :
Description An..35 C R 7008 :resistor’
Example:
IMD+E++:::resistor’
Channels of communication
Standard EDI Guidelines (D.97A) 61
© 2013 Nicando Software GmbH
2.5.2.10.4 QTY – Cumulative order quantity – Status: C, 10
The QTY segment controls the entry of the complete order quantity in this line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
QTY C, 10 QTY
Quantity qualifier M C186
Quantity qualifier An..3 M 6063 +21 = Order quantity
Quantity n..15 M 6060 :20
Unit An..3 C R 6411 :PCE’
Example:
QTY+21:20:PCE’
2.5.2.11 SG30: PRI-CUX-APR-RNG-DTM – Status: C, 25
2.5.2.11.1 PRI – Price information – Status: M, 1
The PRI segment is used for the entry of price information.
Description Format Status
UN
Status
abbino
DEG DE Legend
PRI M, 1 PRI
Price information An..3 C C509
Price qualifier An..3 M 5125 +AAA = Net price (incl. Discount
and surcharge)
Price n..15 C R 5118 : 21,34
Type of price An..3 C R 5375 :CA (according to catalogue)
Type of price qualifier An..3 C N 5387 :
Price unit n..9 C R 5284 :100
Unit quantity qualifier An..3 C 6411 :PCE’
Example:
PRI+AAA:21,34:CA::100:PCE’
Channels of communication
Standard EDI Guidelines (D.97A) 62
© 2013 Nicando Software GmbH
2.5.2.12 SG31: RFF-DTM – Status: C, 999
2.5.2.12.1 RFF – Reference – Status: M, 1
The RFF segment controls the referencing of the message.
Description Format Status
UN
Status
abbino
DEG DE Legend
RFF M, 1 RFF
Reference M C506
Reference, Qualifier An..3 M 1153 +LI = Client line item number
Reference number An..35 C R 1154 :01’
Example:
RFF+LI:01’
2.5.2.13 SG51: SCC-FTX-RFF-SG52 – Status: C, 100
2.5.2.13.1 SCC – Delivery details – Status: M, 1
The SCC segment controls the entry of conditions concerning the disposition.
Description Format Status
UN
Status
abbino
DEG DE Legend
SCC M, 1 SCC
Delivery plan, Code An..3 M 4017 +1‘ = fixed order
Example:
SCC+1’
2.5.2.14 SG52: QTY-DTM – Status: C, 10
2.5.2.14.1 QTY – Order quantity – Status: M, 1
The QTY segment controls the entry of the order quantity for a line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
QTY M, 1 QTY
Quantity qualifier M C186
Quantity qualifier An..3 M 6063 +21 = order quantity
Quantity n..15 M 6060 :2000’
Unit An..3 C N 6411
Example:
QTY+21:2000’
Channels of communication
Standard EDI Guidelines (D.97A) 63
© 2013 Nicando Software GmbH
2.5.2.14.2 DTM – Date/Time – Status: C, 5
The DTM segment controls the entry of a date or a period of time for a line item.
Description Format Status
UN
Status
abbino
DEG DE Legend
DTM C, 5 DTM
Date qualifier M C507
Date qualifier An..3 M 2005 +2 = delivery date
(+158 = delivery date - start
+159 = delivery date - end),is used
when the delivery date is a
calendar week or month
Date An..35 C R 2380 :20060410
Date format An..3 C R 2379 :102’ = CCYYMMDD
Example: fixed delivery date
DTM+2:20060410:102’
2.5.2.14.3 UNS – Segment separator – Status: M, 1
The UNS segment controls the separation of details from the summary.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNS M, 1 UNS
Section separator A..1 M, 1 0081 +S‘ = summary
Example:
UNS+S’
2.5.2.14.4 MOA – Monetary amount – Status: C, 12
The MOA segment gives the sum value of the order.
Description Format Status
UN
Status
abbino
DEG DE Examples
MOA C, 12 MOA
Sum value M C516
Monetary amount qualifier An..3 M 5025 +128 = sum value
Monetary amount N..18 C R 5004 :237,93
Currency, encoded An..3 C R 6345 :EUR’
Example:
MOA+128:237,93:EUR’
Channels of communication
Standard EDI Guidelines (D.97A) 64
© 2013 Nicando Software GmbH
2.5.2.14.5 UNT – Message trailer – Status: M, 1
The UNT segment ends the message and records the amount of message segments.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNT M, 1 UNT
Number of segments in the
message
N..10 M 0074 +23
Message reference number An..14 M 0062 +1’
Example:
UNT+23+1’
2.5.2.14.6 UNZ – Exchange data trailer – Status: M, 1
The UNZ segment ends the data interchange and indicates the number of messages.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNZ M, 1 UNZ
Number of messages within
the message
N..6 M 0036 +1
Message reference number An..14 M 0020 +12344321’=corresponds to field
0020 in Segment: UNB
Example:
UNZ+1+12344321’
Channels of communication
Standard EDI Guidelines (D.97A) 65
© 2013 Nicando Software GmbH
2.5.3 Example of an UN/EDIFACT D97A-ORDRSP message
UNB+UNOC:1+CLIENT::+SUPPLIER::+070627:1107+12344321+ORDRSP’
UNH+1+ORDRSP:D:97A:UN’
BGM+231+123456-0+9’
DTM+137:20070730:102’
RFF+IL:432’
AJT+57+10’
NAD+BY+123456::92+CLIENT:+CLIENT:+Client street 137:+Client
town+12345+DE’
CTA+PD+:Hans Testmann’
NAD+SE+0000031464::92’
NAD+DP+++Client Ltd:Factory Porta+Client street 137+Client
town++12345+DE’
CUX+2:EUR:3:1:+1.3478’
PAT+1+6:::payment 30 days net:Text’
TOD+6++ZZZ:::Text:Text’
LIN+10+5+1020988:BP::92’
PIA+1+0,063/1,0/ 22K:QS::92+77:QS+69:QS’
IMD+E++:::resistor’
QTY+21:20:PCE’
PRI+AAA:21,34:CA::100:PCE’
RFF+LI:01’
SCC+1’
QTY+21:2000’
DTM+2:20060410:102’
UNS+S’
MOA+128:237,93:EUR’
UNT+23+1’
UNZ+1+12344321’
Channels of communication
Standard EDI Guidelines (D.97A) 66
© 2013 Nicando Software GmbH
2.6 UN/EDIFACT D97A DELFOR
2.6.1 Composition of an EDIFACT-DELFOR according to D.97A
UNH, Message header M 1
BGM, Beginning of message M 1
DTM, Date/time/period M 10
FTX, Free text C 5
--- Segment group 1 ------------------------- C 10 --------+
RFF, Reference M 1 |
DTM, Date/time/period C 1 |
--- -------------------------------------------------------------+
--- Segment group 2 ------------------------- C 99 --------+
NAD, Name and address M 1 |
|
--- Segment group 3 ------------------------- C 10 -------+|
RFF, Reference M 1 ||
DTM, Date/time/period C 1 ||
--- ------------------------------------------------------------+|
|
--- Segment group 4 ------------------------- C 5 -------+|
CTA, Contact information M 1 ||
COM, Communication contact C 5 ||
--- -------------------------------------------------------------+
--- Segment group 5 ------------------------- C 10 --------+
TDT, Details of transport M 1 |
DTM, Date/time/period C 5 |
--- -------------------------------------------------------------+
--- Segment group 6 ------------------------- C 9999 --------+
GIS, General indicator M 1 |
|
--- Segment group 7 ------------------------- C 1 -------+|
NAD, Name and address M 1 ||
LOC, Place/location identification C 10 ||
FTX, Free text C 5 ||
||
--- Segment group 8 ------------------------- C 10 ------+||
RFF, Reference M 1 |||
DTM, Date/time/period C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 9 ------------------------- C 10 ------+||
DOC, Document/message details M 1 |||
DTM, Date/time/period C 10 |||
--- -----------------------------------------------------------+||
||
--- Segment group 10 ------------------------ C 5 ------+||
CTA, Contact information M 1 |||
COM, Communication contact C 5 |||
--- -----------------------------------------------------------+||
||
Channels of communication
Standard EDI Guidelines (D.97A) 67
© 2013 Nicando Software GmbH
--- Segment group 11 ------------------------ C 10 ------+||
TDT, Details of transport M 1 |||
DTM, Date/time/period C 5 |||
--- ------------------------------------------------------------+|
|
--- Segment group 12 ------------------------ C 9999 -------+|
LIN, Line item M 1 ||
PIA, Additional product id C 10 ||
IMD, Item description C 10 ||
MEA, Measurements C 5 ||
ALI, Additional information C 5 ||
GIN, Goods identity number C 999 ||
GIR, Related identification numbers C 999 ||
LOC, Place/location identification C 999 ||
DTM, Date/time/period C 5 ||
FTX, Free text C 5 ||
||
--- Segment group 13 ------------------------ C 10 ------+||
RFF, Reference M 1 |||
DTM, Date/time/period C 1 |||
--- -----------------------------------------------------------+||
||
--- Segment group 14 ------------------------ C 10 ------+||
TDT, Details of transport M 1 |||
DTM, Date/time/period C 5 |||
--- -----------------------------------------------------------+||
||
--- Segment group 15 ------------------------ C 10 ------+||
QTY, Quantity M 1 |||
DTM, Date/time/period C 2 |||
|||
--- Segment group 16 ------------------------ C 10 -----+|||
RFF, Reference M 1 ||||
DTM, Date/time/period C 1 ||||
--- -----------------------------------------------------------+||
||
--- Segment group 17 ------------------------ C 999 ------+||
SCC, Scheduling conditions M 1 |||
|||
--- Segment group 18 ------------------------ C 999 -----+|||
QTY, Quantity M 1 ||||
DTM, Date/time/period C 2 ||||
||||
--- Segment group 19 ------------------------ C 10 ----+||||
RFF, Reference M 1 |||||
DTM, Date/time/period C 1 |||||
--- -----------------------------------------------------------+||
||
--- Segment group 20 ------------------------ C 99 ------+||
PAC, Package M 1 |||
MEA, Measurements C 10 |||
QTY, Quantity C 5 |||
DTM, Date/time/period C 5 |||
|||
--- Segment group 21 ------------------------ C 10 -----+|||
PCI, Package identification M 1 ||||
GIN, Goods identity number C 10 ||||
--- -----------------------------------------------------------+||
Channels of communication
Standard EDI Guidelines (D.97A) 68
© 2013 Nicando Software GmbH
||
--- Segment group 22 ------------------------ C 999 ------+||
NAD, Name and address M 1 |||
LOC, Place/location identification C 10 |||
FTX, Free text C 5 |||
|||
--- Segment group 23 ------------------------ C 10 -----+|||
DOC, Document/message details M 1 ||||
DTM, Date/time/period C 1 ||||
--- ----------------------------------------------------------+|||
|||
--- Segment group 24 ------------------------ C 5 -----+|||
CTA, Contact information M 1 ||||
COM, Communication contact C 5 ||||
--- ----------------------------------------------------------+|||
|||
--- Segment group 25 ------------------------ C 10 -----+|||
QTY, Quantity M 1 ||||
DTM, Date/time/period C 2 ||||
||||
--- Segment group 26 ------------------------ C 10 ----+||||
RFF, Reference M 1 |||||
DTM, Date/time/period C 1 |||||
--- ----------------------------------------------------------+|||
|||
--- Segment group 27 ------------------------ M 999 -----+|||
SCC, Scheduling conditions M 1 ||||
||||
--- Segment group 28 ------------------------ M 999 ----+||||
QTY, Quantity M 1 |||||
DTM, Date/time/period C 2 |||||
|||||
--- Segment group 29 ------------------------ C 10 ---+|||||
RFF, Reference M 1 ||||||
DTM, Date/time/period C 1 ||||||
--- ----------------------------------------------------------+|||
|||
--- Segment group 30 ------------------------ C 10 -----+|||
TDT, Details of transport M 1 ||||
DTM, Date/time/period C 5 ||||
--- -------------------------------------------------------------+
UNT, Message trailer M 1
Channels of communication
Standard EDI Guidelines (D.97A) 69
© 2013 Nicando Software GmbH
2.6.2 Segment descriptions
2.6.2.1 Reference headings
2.6.2.1.1 UNH – Message header – Status: M, 1
The UNH segment controls the identification of the message.
Description Format Status
UN
Status
abbino
DEG DE Examples
UNH M, 1 UNH
Message reference number An..14 M 0062 Unambiguous message reference
from sender.
Message M S009 +1
Type of message, identifier An..6 M 0065 +DELFOR
Version number of message
type
An..3 M 0052 :D
Release number of message
type
An..3 M 0054 :97A
Executive organisation An..2 M 0051 :UN
Application code of
executive organisation
An..6 C R 0057 :EDFF04‘
Example:
UNH+1+DELFOR:D:97A:UN:EDFF04’
2.6.2.1.2 BGM – Start of the message – Status: M, 1
The BGM segment controls the display of the type and purpose of a message.
Description Format Status
UN
Status
abbino
DEG DE Examples
BGM M, 1 BGM
Message name C R C002
Message name An..3 C R 1001 +D = call-off (orders)
An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :8 = EDIFICE
Message identification C R C106
Message number An..35 C R 1004 +5678
Message function An..3 C R 1225 +9’ = original
Example:
BGM+D::8+5678+9’
Channels of communication
Standard EDI Guidelines (D.97A) 70
© 2013 Nicando Software GmbH
2.6.2.1.3 DTM – Start of the message – Status: M, 10
In the heading references, this segment controls the entry of the date on which the message
was created.
Description Format Status
UN
Status
abbino
DEG DE Examples
DTM M, 10 DTM
Date/time/periode M C507
Date, qualifier An..3 M 2005 +137 = Date on which the message
was created
Date An..35 C R 2380 :200604051431 = date/time
Date, format An..3 C R 2379 :102‘ = YYYYMMDD
:201‘ = YYYYMMDDHHMM
Example:
DTM+137:200604051431:201’
2.6.2.2 SG1 RFF-DTM – Status: C, 10
2.6.2.2.1 RFF – Reference entry – Status: M, 1
The RFF segment controls the entry of a reference to a framework contract.
Description Format Status
UN
Status
abbino
DEG DE Examples
RFF M, 1 RFF
Reference M C506
Qualifier An..3 M 1153 +CT = Framework contract
Reference number C R 1154 :0055068995‘ = Framework
contract number
Example:
RFF+CT:0055068995’
Channels of communication
Standard EDI Guidelines (D.97A) 71
© 2013 Nicando Software GmbH
2.6.2.3 SG2: NAD-SG3-SG4 – Status: C, 99
2.6.2.3.1 NAD – Name and address – Status: M, 1
The NAD segment controls the entry of the identification of a partner.
Description Format Status
UN
Status
abbino
DEG DE Examples
NAD M, 1 NAD
Participant, qualifier An..3 M 3035 +BY = Buyer
+SE = Supplier
+DP = Delivery address
+IV = Invoice recipient
Identification of participant C R C082
Identification of participant An..35 M 3039 +1234
Qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :91 = Identification is allocated by
supplier
:92 = Identification is allocated by
buyer
Name and address C C058
Line for name and address An..35 C 3124 +
C N C080 +
Street C C059
Street and house
number/P.O. Box
An..35 C 3042 +Street no. 5
Town An..35 C 3164 +town
Country code An..9 C N 3229 +
Postcode An..9 C 3251 +12345
Country An..3 C 3207 ISO country code
+DE‘ = Germany
Example 1: Client
NAD+BY+1234::91’
Example 2: Supplier
NAD+SE+0000407600::92’
Channels of communication
Standard EDI Guidelines (D.97A) 72
© 2013 Nicando Software GmbH
2.6.2.4 SG3: RFF – Status: C, 10
2.6.2.4.1 RFF – Status: M, 1
The RFF segment controls the entry of the buyer’s VAT number (Vaillant).
Description Format Status
UN
Status
abbino
DEG DE Examples
RFF M, 1 RFF
Reference M C506
Reference, qualifier An..3 M 1153 +VA = VAT number
Reference number An..35 C R 1154 :DE811142240‘ = VAT number
Example:
RFF+VA:DE811142240’
2.6.2.5 SG4: CTA-COM – Status: C, 5
2.6.2.5.1 CTA – Status: M, 1
The CTA segment governs the input information of a person or department as contact
partner.
Description Format Status
UN
Status
abbino
DEG DE Examples
CTA M, 1 CTA
Position of contact partner An..3 C R 3139 +PD = Buying department
Department/Person details C R C056
Department or position,
identification
An..17 C R 3413 +1013402000
Department or person An..35 C 3412 :Thomas Wagner‘
Example:
CTA+PD+1013402000:Thomas Wagner’
Channels of communication
Standard EDI Guidelines (D.97A) 73
© 2013 Nicando Software GmbH
2.6.2.5.2 COM – Status: C, 5
The COM segment controls the entry of a communication number for a department or a
contact partner.
Description Format Status
UN
Status
abbino
DEG DE Examples
COM C, 5 COM
Communication contact M C076
Communication number An..512 M 3148 [email protected]
Method of communication,
qualifier
An..3 M 3155 :EM‘ = E-Mail
:FX‘ = Fax number
:TE‘ = Telephone
Example:
COM+4967843653:TE’
2.6.2.6 SG12: LIN-PIA-IMD-GIN-SG13-SG15-SG17-SG20-SG22 – Status: C, 9999
2.6.2.6.1 LIN – Line item data – Status: M, 1
The LIN segment controls the entry of a line item.
Description Format Status
UN
Status
abbino
DEG DE Examples
LIN M, 1 LIN
Line item number An..6 C R 1082 +1
An..3 C N 1229 +
Article numer C R C212
Article number An..35 C R 7140 +03452
Type of article number An..3 C R 7143 :BP = Article number allocated by
purchaser
Code maintenance qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :92‘ = Article number allocated by
client
Example:
LIN+1++03452:BP::92’
Channels of communication
Standard EDI Guidelines (D.97A) 74
© 2013 Nicando Software GmbH
2.6.2.6.2 PIA – Supplementary product identification information – Status: C,
10
The PIA segment controls the entry of supplementary product identification information.
Description Format Status
UN
Status
abbino
DEG DE Example
PIA C, 10 PIA
Function An..3 M 4347 +1 = supplementary identification
Article number identification M C212
Number An..35 C R 7140 +0,063/1,0/ 22K = measurements
Identification, encoded An..3 C R 7143 :QS = measurements
Code maintenance qualifier An..3 C N 1131 :
Party responsible for code
maintenance
An..3 C R 3055 :92‘ = allocated by buyer
Example:
PIA+1+0,063/1,0/ 22K:QS::92’
2.6.2.6.3 IMD – Product description – Status: C, 10
The IMD segment controls the entry of the product description in a free format.
Description Format Status
UN
Status
abbino
DEG DE Examples
IMD C, 10 IMD
Type An..3 C R 7077 +F = free text
An..3 C N 7081 +
Article description C R C273
C N 7009 +
C N 1131 :
C N 3055 :
Description An..35 C R 7008 :resistor‘ = description
Example:
IMD+F++:::resistor’
Channels of communication
Standard EDI Guidelines (D.97A) 75
© 2013 Nicando Software GmbH
2.6.2.7 SG15: QTY-DTM-SG16 – Status: C, 10
2.6.2.7.1 QTY – cumulative order quantity – Status: M, 1
The QTY segment controls the entry of the complete order quantity in this line item.
Description Format Status
UN
Status
abbino
DEG DE Examples
QTY M, 1 QTY
Quantity details M C186
Quantity qualifier An..3 M 6063 +3 = cumulative order quantity
Quantity n..15 M 6060 :20 = quantity
Unit An..3 C R 6411 :PCE‘ = unit
Example:
QTY+3:20:PCE’
2.6.2.8 SG17: SCC-SG18 – Status: C, 999
2.6.2.8.1 SCC – Status: M, 1
The SCC segment controls the entry of conditions concerning the disposition.
Description Format Status
UN
Status
abbino
DEG DE Examples
SCC M, 1 SCC
Code An..3 M 4017 +1‘ = fixed order,
+2‘ = release for production,
+3‘ = release for material,
+4‘ = planning
Example:
SCC+4’
SCC+2’ and SCC+3’, only if the client gives the information.
Channels of communication
Standard EDI Guidelines (D.97A) 76
© 2013 Nicando Software GmbH
2.6.2.9 SG18: QTY-DTM-SG19-SG20-SG21 – Status: C, 999
2.6.2.9.1 QTY – Status: M,1
The QTY segment controls the entry of the order quantity for a disposition.
Description Format Status
UN
Status
abbino
DEG DE Examples
QTY M, 1 QTY
Quantity details M C186
Quantity qualifier An..3 M 6063 +131 = order quantity
Quantity n..15 M 6060 :2000 = quantity
Unit An..3 C R 6411 :PCE‘ = unit
Example:
QTY+131:2000:PCE’
2.6.2.9.2 DTM – Status: C, 2
The DTM segment controls the entry of a date or a period of time for a disposition.
Description Format Status
UN
Status
abbino
DEG DE Examples
DTM C, 2 DTM
Date/time/period M C507
Date qualifier An..3 M 2005 +2 = Delivery date
+158 = Date from which the
disposition is valid
+159 = Date until which the
disposition is valid
Date An..35 C R 2380 :20060601 = Date
Date format An..3 C R 2379 :102‘ = CCYYMMDD
Example 1: fixed delivery date
DTM+2:20060410:102’
Example 2: weekly delivery scheduling (Calendar week # 18)
DTM+158:20060601:102’
DTM+159:20060607:102’
Channels of communication
Standard EDI Guidelines (D.97A) 77
© 2013 Nicando Software GmbH
2.6.3 Example of an UN/EDIFACT D97A-DELFOR message
UNH+1+DELFOR:D:97A:UN:EDFF04’ The reference number of the DELFOR message
is 1.
BGM+D::8+5678+9’ The delivery order number is 5679.
DTM+137:20060217:102' The delivery order was created on 17th
February 2006.
RFF+CT:999456' The delivery order refers to the framework
contract number 999456.
NAD+BY+1234::91' The supplier has allocated the buyer the
number 1234.
NAD+SE+0554566::92' The buyer has allocated the supplier the
number 0554566.
CTA+PD+:PETER SMITH' Buyer’s contact partner is Peter Smith.
COM+0756-551459:TE' Peter Smith’s telephone number is 0756-
551459.
GIS+ZZZ'
NAD+DP+MAGIMAX STORES LTD::92'
Consignee.
LIN+1++ABC00071:BP::92' The article on order in line item 1 has the
article number ABC00071 allocated by the
buyer.
PIA+1+0,063/1,0/ 22K:QS::92’ The article on order has the following
measurements: 0,063/1,0/ 22K.
QTY+3:1500:PCE' The cumulative order is for 1500 articles.
SCC+1' Definite order.
QTY+131:500:PCE'
DTM+2:20060225:102'
500 articles should be delivered on
25.02.2006.
RFF+ON:6785432:1'
SCC+4'
Preview.
QTY+131:500:PCE'
DTM+158:20060316:102'
DTM+159:20060322:102'
500 articles should be delivered between
16.03.2006 and 22.03.2006.
SCC+4' Preview.
QTY+131:500:PCE'
DTM+158:19980323:102'
DTM+159:19980329:102'
UNT+27+1'
The message contains 27 segments.