Edition 2016 Upd. 2021
Remittance advice message
5. Segments Layout
 
Segment number:
31
-
C
999999
-
A group of segments providing details of all documents, e.g. invoices, statements, despatch advices, etc, to which the Remittance Advice refers. It includes information on the monetary amounts for each document and on any adjustments (with an indication of the reason for adjustments) and discounts. For information purposes an indication of the tax element can be provided.
-
C
9999
-
A group of segments which may be used when required to provide details of individual line items in the reference document.
-
C
5
-
A group of segments identifying the currency and the related dates/periods of the line item where different to the remittance and document currency.
-
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 code
Currency type code qualifier
C
an..3
R
*
=
Payment 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 code
Currency type code qualifier
C
an..3
R
 
=
Invoicing currency
=
Price list currency
=
Order currency
=
Quotation currency
6348
Currency rate value
C
n..4
N
   
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 provide currency rate of exchange information to convert monetary amounts in the MOA segment, following the DLI segment, to an amount expressed in terms of the remittance/payment currency. This CUX segment will only be used when the currency or its rate of exchange is different for the line item to that expressed as a default currency in the CUX segment at DOC level.
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 rate of exchange is as follows:
Reference Currency multiplied by Rate = Target Currency.

Example:
CUX+2:EUR:11+3:USD:4+0.90243'
© Copyright GS1
Edition 2016 Upd. 2021