GUIA PARA EL MENSAJE DE REPORTEDE INVENTARIOS EN FORMATO EANCOM
DETALLE DE LOS SEGMENTOS
www.gs1co.org
Identificador del Documento Guía EANCOM INVRPT
Nombre del documento Guía para el mensaje EANCOM INVRPT Detalle de los Segmentos.doc
Estado del documento Modificación
Responsables Equipo EDI IAC Colombia
Equipo está[email protected]
Control de Versiones del Documento
Versión Creación Autor Descripción Cambio
1.0 25/05/2004 Giovanni Biffi
Cambios aprobados en el comité EDI de Mayo 11 y 12 de 2004. Por favor referirse al acta del Comité para detalle de los cambios.
UNH - M 1 - MESSAGE HEADER
Function : To head, identify and specify a message.
Segment number : 1
EDIFACT EAN * Description
0062 Message reference number M an..14 M Senders unique message reference. Sequence
number of the messages in the interchange.
DE 0062 in the UNT will be identical.
Sender generated.
S009 MESSAGE IDENTIFIER M M
0065 Message type identifier M an..6 M * INVRPT = Inventory report message
0052 Message type version number M an..3 M * D = Draft directory
0054 Message type release number M an..3 M * 96A = Version 96A
0051 Controlling agency M an..2 M * UN = UN/ECE/TRADE/WP.4, United
Nations Standard Messages (UNSM)
0057 Association assigned code C an..6 R * EAN004 = EAN version control number.
0068 Common access reference C an..35 N
S010 STATUS OF THE TRANSFER C N
0070 Sequence message transfer number M n..2
0073 First/last sequence message transfer
indication
C a1
Segment Notes.
This segment is used to head, identify and specify a message.
DE's 0065, 0052, 0054, and 0051: Indicate that the message is a UNSM Inventory Report based on the D.96A
directory under the control of the United Nations.
DE 0057: Indicates that the message is the EANCOM version 004 of the UNSM Inventory Report.
Example :
UNH+ME000001+INVRPT:D:96A:UN:EAN004'
BGM - M 1 - Beginning of message
Function : To indicate the type and function of a message and to transmit the identifying number.
Segment number : 2
EDIFACT EAN * Description
C002 DOCUMENT/MESSAGE NAME C R
1001 Document/message name, coded C an..3 R * 35 = Inventory report
1131 Code list qualifier C an..3 N
3055 Code list responsible agency, coded C an..3 D 9 = EAN (International Article Numbering
association)
1000 Document/message name C an..35 O
1004 Document/message number C an..35 R Inventory Report number assigned by the
document sender.
1225 Message function, coded C an..3 R * 9 = Original
5 Replace
4343 Response type, coded C an..3 N
Segment Notes.
This segment is used to indicate the type and function of a message and to transmit the identifying number.
All references other than the document number DE 1004 are to be put in the RFF segment.
DE 1001: Code value 35 is used to report on the actual inventory held at the time the report is produced. Code value
78 is used to identify movements to and from inventory during the validity period defined.
DE 1004: It is recommended that the length of the document number be restricted to a maximum of 17 characters.
DE 1225: The message function, coded is a critical data element in this segment. It applies to all data indicated in the
message. The following definition apply for the restricted code:
9 = Original - An original transmission of an inventory report.
Example :
BGM+35+INVR21599+9'
Dependency Notes :
DE 3055: This data element is only used if an EAN code has been used in DE 1001.
DTM - M 10 - Date/time/period
Function : To specify date, and/or time, or period.
Segment number : 3
EDIFACT EAN * Description
C507 DATE/TIME/PERIOD M M
2005 Date/time/period qualifier M an..3 M 137 = Fecha y Hora del Documento
194 = Fecha de inicio del reporte
206 = Fecha de fin del reporte
2380 Date/time/period C an..35 R
2379 Date/time/period format qualifier C an..3 R 102 = CCYYMMDD
Segment Notes.
This segment is used to specify any dates relevant to the complete Inventory Report.
DE 2005: Identification of the 'Document/message date/time' (code value 137) is mandatory in the inventory report.
Example :
DTM+137:19971101:102'
SG2 - C 20 - NAD-SG3-SG4
NAD - M 1 - Name and address
Function : To specify the name/address and their related function, either by CO82 only and/or
structured by CO80 thru 3207.
Segment number : 4
EDIFACT EAN * Description
3035 Party qualifier M an..3 M BY = Comprador
SU = Proveedor
C082 PARTY IDENTIFICATION
DETAILS
C A
3039 Party id. identification M an..35 M EAN Location Number - Format n13
1131 Code list qualifier C an..3 N
3055 Code list responsible agency, coded C an..3 R * 9 = EAN (International Article Numbering
association)
C058 NAME AND ADDRESS C N
3124 Name and address line M an..35
3124 Name and address line C an..35
3124 Name and address line C an..35
3124 Name and address line C an..35
3124 Name and address line C an..35
C080 PARTY NAME C D
3036 Party name M an..35
3036 Party name C an..35
3036 Party name C an..35 O
3036 Party name C an..35 O
3036 Party name C an..35 O
3045 Party name format, coded C an..3 O
C059 STREET C D
3042 Street and number/p.o. box M an..35 M
3042 Street and number/p.o. box C an..35 O
3042 Street and number/p.o. box C an..35 O
3042 Street and number/p.o. box C an..35 O
3164 City name C an..35 D
3229 Country sub-entity identification C an..9 D
3251 Postcode identification C an..9 D
3207 Country, coded C an..3 D
Segment Notes.
This segment is used to identify the trading partners involved in the Inventory Report message. Identification of the
parties exchanging the message is mandatory in EANCOM.
SG2 - C 20 - NAD-SG3-SG4
NAD - M 1 - Name and address
Function : To specify the name/address and their related function, either by CO82 only and/or
structured by CO80 thru 3207.
Segment number : 4
If coded address information can not be used it is recommended to use a structured address (C080 through 3207).
DE 3039: For identification of parties it is recommended to use EAN location numbers.
Example :
NAD+MF+5412345000013::9'
NAD+BY+5412345000020::9'
Dependency Notes :
The following composites and data elements are only used when a coded name and address can not be used. The
affected composites and data elements are as follows:
C080 - C059 - 3164 - 3229 - 3251 - 3207
SG9 - C 9999 - LIN-PIA-IMD-SG11
LIN - M 1 - Line item
Function : To identify a line item and configuration.
Segment number : 5
EDIFACT EAN * Description
1082 Line item number C n..6 R Consecutivo de ítems
1229 Action request/notification, coded C an..3 N
C212 ITEM NUMBER
IDENTIFICATION
C R
7140 Item number C an..35 R Código de Identificacion del ítem (GTIN)
7143 Item number type, coded C an..3 R * EN = International Article Numbering
Association (EAN)
UP = UPC (Universal product code)
1131 Code list qualifier C an..3 N
3055 Code list responsible agency, coded C an..3 O
C829 SUB-LINE INFORMATION C D
5495 Sub-line indicator, coded C an..3 R *
1082 Line item number C n..6 R
1222 Configuration level C n..2 N
7083 Configuration, coded C an..3 D
Segment Notes.
This segment is used to identify a specific line item in the inventory report.
The detail section of the Inventory Report is formed by a repeating group of segments, always starting with the LIN
segment.
In a simple Inventory Report covering one location, the LIN segment will contain the product identification with
related stock quantities specified using only the QTY and LOC segments in segment group 11.
In an extended Inventory Report covering multiple locations, an available option is to provide total stock quantities
for all locations using the QTY and LOC segments in segment group 11, with the quantities per location further
broken down using the full range of segments available in segment group 11.
Example :
LIN+1++5412345111115:EN'
Dependency Notes :
DE C829 and 7083: These data elements are only used when sub-lines are required.
FOR A COMPLETE DESCRIPTION ON THE USAGE OF SUB-LINES PLEASE REFER TO PART I, SECTION
4.11.
SG9 - C 9999 - LIN-PIA-IMD-SG11
SG11 - C 9999 - QTY-INV-GIN-LOC-DTM-STS-SG13-SG14-SG15
QTY - M 1 - Quantity
Function : To specify a pertinent quantity.
Segment number : 6
EDIFACT EAN * Description
C186 QUANTITY DETAILS M M
6063 Quantity qualifier M an..3 M 97 = Inventario Mínimo
98 = Inventario Máximo
124 = Bienes Dañados
145 = Inventario Actual
197 = Nivel de Reorden
198 = Cantidad en Transito
31E = Stock Promocional
6060 Quantity M n..15 M
6411 Measure unit qualifier C an..3 D NAR Numero de Articulos
Segment Notes.
This segment is used to express the quantities related to the current line item.
Example :
QTY+145:148'
Dependency Notes :
DE 6411: This DE is only used if the current line item is a variable quantity product.
SG9 - C 9999 - LIN-PIA-IMD-SG11
SG11 - C 9999 - QTY-INV-GIN-LOC-DTM-STS-SG13-SG14-SG15
LOC - C 5 - Place/location identification
Function : To identify a country/place/location/related location one/related location two.
Segment number : 7
EDIFACT EAN * Description
3227 Place/location qualifier M an..3 M 14 = Localizacion de los bienes
C517 LOCATION IDENTIFICATION C A
3225 Place/location identification C an..25 A Número de localización EAN
1131 Code list qualifier C an..3 O
3055 Code list responsible agency, coded C an..3 O * 9 = EAN (International Article Numbering
association)
3224 Place/location C an..70 O
C519 RELATED LOCATION ONE
IDENTIFICATION
C O
3223 Related place/location one
identification
C an..25 R
1131 Code list qualifier C an..3 O
3055 Code list responsible agency, coded C an..3 O
3222 Related place/location one C an..70 O
C553 RELATED LOCATION TWO
IDENTIFICATION
C O
3233 Related place/location two
identification
C an..25 R
1131 Code list qualifier C an..3 O
3055 Code list responsible agency, coded C an..3 O
3232 Related place/location two C an..70 O
5479 Relation, coded C an..3 N
Segment Notes.
This segment is used to identify the location of inventoried goods specific to the quantity reported in the QTY
segment.
When identifying locations it is recommended to use EAN location numbers.
Example :
LOC+18+5412345000013::9'
SG9 - C 9999 - LIN-PIA-IMD-SG11
SG11 - C 9999 - QTY-INV-GIN-LOC-DTM-STS-SG13-SG14-SG15
SG13 - C 5 - PRI
PRI - M 1 - Price details
Function : To specify price information.
Segment number : 8
EDIFACT EAN * Description
C509 PRICE INFORMATION C R
5125 Price qualifier M an..3 M AAB = Precio de Lista: no incluye
descuentos, cargos ni impuestos
AAA = Precio Neto: incluye descuentos y
cargos, excluye impuestos
5118 Price C n..15 R
5375 Price type, coded C an..3 O
5387 Price type qualifier C an..3 O
5284 Unit price basis C n..9 D
6411 Measure unit qualifier C an..3 D
5213 Sub-line price change, coded C an..3 N
Segment Notes.
The segment is used to specify the price information for the current line item.
Example :
PRI+AAB:650:CA:RTP'
Note 1 : The price stated is the gross price excluding all allowances, charges and taxes. Allowances and charges must
be stated for net calculation purposes.
Dependency Notes :
Data elements 5284 and 6411 are used when a product is a variable quantity product, e.g. price per 200 kilos, or
when the unit of measure for purchasing, delivery, and invoicing are different for a product, e.g. sugar is not a
variable quantity product but ordered and delivered in packs, and invoiced in kilos or tonnes.
UNT - M 1 - MESSAGE TRAILER
Function : To end and check the completeness of a message.
Segment number : 9
EDIFACT EAN * Description
0074 Number of segments in a message M n..6 M The total number of segments in the message
is detailed here.
0062 Message reference number M an..14 M The message reference numbered detailed
here should equal the one specified in the
UNH segment.
Segment Notes.
The UNT segment is a mandatory UN/EDIFACT segment. It must always be the last segment in the message.
Example :
UNT+25+ME000001'