Invoice message
5. Segments Layout
 
Segment number:
9
-
C
99999
-
A group of segments for giving references and where necessary, their dates, relating to the whole message, e.g. contract number, import/export license number, despatch advice number.
-
M
1
-
 
Function:
 
To specify a reference.
 
EDIFACT
EAN
*
Description
C506
REFERENCE
M
M
   
Reference code qualifier
M
an..3
M
 
=
Proforma invoice number
=
Delivery order number
=
Despatch advice number
=
Beneficiary's reference
=
Message batch number
=
Consolidated invoice number
=
Goods and Services Tax identification number
=
Commercial account summary reference number
=
Credit note number
=
Customer reference number
=
Debit note number
=
Delivery note number
=
Invoice number
=
Order number (buyer)
=
Price list number
=
Export reference number
=
Order number (supplier)
1154
Reference identifier
C
an..70
R
   
1156
Document line identifier
C
an..6
N
   
4000
Reference version identifier
C
an..35
N
   
1060
Revision identifier
C
an..6
N
   
Segment Notes:
This segment is used to specify references which relate to the whole invoice, for example, Purchase Order Numbers, Delivery Numbers, etc.
The message batch number (ALL) is included in this segment. This number is used to provide a link between a batch of invoice messages and a TAXCON message.
If the document type is a credit note the invoice to which it relates may need to be specified. This is done using the 'IV' qualifier for DE 1153.

Example:
RFF+ALL:252'
RFF+ON:ORD9523'
© Copyright GS1
Edition 2016