The EGSF settlement file format has many amount fields within it. The amount fields are just a string of numbers. The EGSF is a global format supporting multiple currencies; decimal placement can vary within the file for specific fields. If the file contains only U.S. and Canadian activity two decimals will always be implied. Other countries have varying decimal placement.
When populating the Transaction Amount field, the decimal placement should be determined using the transaction currency code in conjunction with the number of minor units (decimals) according to the International Standards Organization (ISO).
For example:
- If submitting a transaction for $235.68 US Dollars where the decimal placement is 2, the transaction amount field would contain 0000000023568 and the transaction currency code field would contain 840.
- If submitting a transaction for $74.36 Canadian Dollars where the decimal placement is 2, the transaction amount field would contain 0000000007436 and the transaction currency code field would contain 124.
- If submitting a transaction for 15 Japanese Yen where the decimal placement is 0, the transaction amount field would contain 0000000000015 and the transaction currency code field would contain 392.
- If submitting a transaction for 35 Jordanian Dollars where the decimal placement is 3, the transaction amount field would contain 0000000035000 and the transaction currency code field would contain 400.