Purchase order message
5. Segments Layout
 
Segment number:
20
-
C
5
-
A group of segments specifying the currencies and related dates/periods valid for the whole order.
-
M
1
-
 
Function:
 
To specify currencies used in the transaction and relevant details for the rate of exchange.
 
EDIFACT
EAN
*
Description
C504
CURRENCY DETAILS
C
R
   
Currency usage code qualifier
M
an..3
M
*
=
Reference currency
Currency identification code
C
an..3
R
 
ISO 4217 three alpha.
Currency type code qualifier
C
an..3
R
*
=
Invoicing currency
=
Order currency
=
Pricing currency
=
Payment currency
=
Quotation currency
6348
Currency rate value
C
n..4
N
   
C504
CURRENCY DETAILS
C
D
 
The second occurrence of this composite is only used if a target currency is being specified.
Currency usage code qualifier
M
an..3
M
*
=
Target currency
Currency identification code
C
an..3
R
 
ISO 4217 three alpha.
Currency type code qualifier
C
an..3
R
*
=
Invoicing currency
=
Order currency
=
Pricing currency
=
Payment currency
=
Quotation currency
6348
Currency rate value
C
n..4
O
   
5402
Currency exchange rate
C
n..12
D
 
The rate of exchange is only used if a target currency has been identified in the second occurrence of C504.
Exchange rate currency market identifier
C
an..3
N
   
Segment Notes:
This segment is used to specify currency information for the complete order.
The CUX segment is mandatory for international exchanges.
When specifying Reference and Target Currencies for international trade, one occurrence of CUX is all that is required. The reference currency is identified in the first occurrence of composite C504, with the target currency specified in the second occurrence of C504. The rate of exchange between the two is detailed in DE 5402.
The general rule for calculating the rate of exchange is as follows:
Reference Currency multiplied by Rate = Target Currency.

Example:
CUX+2:EUR:9'

CUX+2:EUR:9+3:USD:4+0.90243'
© Copyright GS1
Edition 2016