CUX
Currencies. The EDIFACT segment that sets the currency or currencies applicable to the message and, when needed, the conversion rate between them.
Definition
The UN/EDIFACT D.96A function statement defines CUX as "to identify the currencies used in the transaction and the related exchange rate". The structure:
- C504 — Currency details (1): primary currency and usage (qualifier 6347, ISO 4217 code 6345, rate qualifier 6343, market 6348).
- C504 — Currency details (2): secondary currency (for pairs).
- 5402 — Rate of exchange: primary to secondary rate.
- 6341 — Currency market exchange code: market reference.
The most common 6347 (Currency usage qualifier) values: 2
Reference currency, 3 Target/invoicing currency, 4
Pricing currency, 10 Pricing currency, 11 Payment
currency.
Origin
CUX is defined since the first EDIFACT directives. Its current structure dates back to D.93A and has not changed since. The segment relies on ISO 4217 (the ISO international standard for currency codes, first published in 1973, latest revision 2015), which makes it one of the few EDIFACT segments whose values come from an external standard rather than an internal UNCL.
Example in context
USD invoice with EUR conversion for VAT reporting:
Reading: USD is the pricing (4) and reference (2)
currency, EUR is the payment (11) and invoicing (3)
currency, the rate is 1 USD = 1.0875 EUR.