Skip to main content
The XML I-file is the recommended transaction import format for all new integrations.
This page is the complete field reference for the XML Information file (I-file), the transaction file format used by Automated Teller Machine (ATM) operators, acquirers, and payment service providers (PSPs) to report daily Dynamic Currency Conversion (DCC) and domestic transactions to Fexco. Use it alongside the Build and submit an XML I-file guide, which covers file construction, encryption, and submission.
All element and attribute names are case-sensitive. Use camelCase exactly as shown in this reference to prevent upload errors.

File structure

The XML I-file uses a four-level hierarchy. The following table describes each level.

iFile attributes

The iFile root element accepts the following attributes. Fexco validates the file against the XSD version identified by schemaVersion.

merchant attributes

Each merchant element groups all transactions for one merchant ID. The following table describes the supported attributes.

Device attributes

Each merchant element contains one or more device elements: atm, terminal, or eComm. All three device types support the same attributes, shown in the following table.

transaction attributes

Each transaction element carries optional attributes that identify the transaction and its conversion type. The following table describes the supported attributes.

transaction elements

Each transaction element contains child elements that describe the transaction amounts, currency, and entry method. Elements must appear in the order shown in the following table.
The three NE2E settlement fields (schemeNE2ESettlementAmount, schemeNE2ESettlementRate, and SchemeNE2ESettlementCurrency) must all be present or all be absent. Providing only one or two of the three fields results in rejection code R04.
Elements must appear in exactly the order shown in the table above. For example, authorisationCode must come after customerInstructions. Placing elements out of order causes an S3 rejection (InvalidXml). If you include optional elements, insert them in the position shown in the table.

Currency precision

Transaction amount fields must use the number of decimal places defined by ISO 4217 for the transaction currency. The following table lists the decimal places for currencies commonly used in DCC transactions. For currencies not listed above, apply the decimal places defined by ISO 4217.

Confirmation file format

Fexco generates confirmation files each time a transaction XML file is submitted. The following table describes each confirmation file.

Status file format

The status file contains three lines in the following format.
If the file has an S3 status (invalid XML format), an additional line appears below the status line in the following format.

Rejections file format

The rejections file uses the same XML structure as the submitted I-file, with a rejectionReason element added to each rejected transaction. The rejections file is encrypted using GPG under the same Payment Card Industry Data Security Standard (PCI DSS) requirement as the submitted file.

Status codes

Fexco returns one of the following status codes in the .status confirmation file after processing a submitted XML I-file.

Rejection codes

Fexco includes a rejectionReason code in the rejections file for each rejected transaction. The following table describes each rejection code.

Sample XML

The following example shows an XML I-file with an ATM DCC transaction, a POS DCC transaction (opt-in), and a POS domestic transaction (opt-out) submitted by two merchants under the same file. The ATM transaction uses a Japanese Yen (JPY) cardholder currency (zero decimal places). The POS transactions show the difference between an accepted and a declined DCC offer.
Download a sample XML I-file to see a complete working example. Use it as a starting point for your own file.

Scheme field mapping

When building an I-file, you need to know which card scheme data elements (Visa and Mastercard) map to each I-file field. Use the mapping page for your channel:

Next steps

Use the following resources to continue after reviewing this reference.