Edition 2016 Upd. 2021
Direct debit message
5. Segments Layout
 
Segment number:
15
-
M
9999
-
A group of segments containing information regarding the credit side of the transaction and details which are pertinent to all direct debits specified within the group. Certain payment details may be provided either in segment group 4 or in segment group 11, but not in both.
-
C
1
-
A group of segments containing the currency of the single amounts on the debit side of the transaction (C level), currency to be collected, plus the total of all single amounts of the debit side of the transaction (C level).
-
C
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 currency code
Currency type code qualifier
C
an..3
N
   
6348
Currency rate value
C
n..4
D
 
This data element is only used when a rate of exchange is provided in data element 5402. When a rate of exchange is provided then at least one currency rate base must be specified.
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 currency code
Currency type code qualifier
C
an..3
N
   
6348
Currency rate value
C
n..4
D
 
This data element is only used when a rate of exchange is provided in data element 5402. When a rate of exchange is provided then at least one currency rate base must be specified.
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
O
   
Segment Notes:
This segment is used to specify the currency of the monetary amount detailed in the previous MOA segment.  The CUX segment is only used if code 57 (Equivalent amount) has been used in data element 5025 of the previous MOA segment.
When specifying the 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+3:USD+0.90243'
© Copyright GS1
Edition 2016 Upd. 2021