User Guide - Exporting Data in SAP MT940.
User Guide - Exporting Data in SAP MT940.
Confidentiality Statement
The information contained in this document (and any additional information provided subsequently
in connection with this document) is confidential to Citi and is intended solely for the use of your
organization and its employees. This information may not be disclosed outside of your
organization, other than to professional advisers engaged specifically by your organization to
evaluate the document, and shall not be duplicated, used or disclosed in whole or in part for any
purpose other than to evaluate this document. If your organization discloses any information to
such professional advisers, it shall ensure that such persons maintain the confidential nature of
this document.
The information contained in this document is believed to be accurate, but Citi makes no
representation with regard to the accuracy or completeness of any information contained herein.
Citi is not acting in any advisory role in relation to legal, tax or accounting issues relating to this
document. You should obtain your own legal, tax or accounting advice.
Citi
For the purposes of this document “Citi” means Citigroup Inc and its immediate and subsequent
subsidiaries and affiliates.
© 2014 Citibank N.A. All rights reserved. CitiDirect, Citi and the Citi and Arc Design are
trademarks and service marks of Citigroup Inc. or its affiliates and are used and registered
throughout the world. Citibank, N.A. is incorporated with limited liability under the National Bank
Act of the USA and has its principal business office at 399 Park Avenue, New York, NY 10043,
USA.
All other brands, products, and service names mentioned in this document are trademarks or
registered trademarks of their respective owners.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 2 of 76
Table of Contents
1. Overview ........................................................................................ 5
2. SAP MT940 Format Rules ............................................................. 6
2.1. Record Tags ...................................................................................... 6
2.2. Record Structure and Sort Order ....................................................... 7
2.3. Field Lengths ..................................................................................... 8
2.4. Field Types ........................................................................................ 8
2.5. Delimiters .......................................................................................... 9
2.6. Character Set .................................................................................. 11
3. SAP MT940 Data Map .................................................................. 12
3.1. SWIFT Header Block ....................................................................... 12
3.2. Tag 20 - Transaction Reference Number ......................................... 15
3.3. Tag 25 - Account Identification ........................................................ 16
3.4. Tag 28C - Statement Number .......................................................... 17
3.5. Tag 60 - Opening Balance ............................................................... 18
3.6. Tag 61 - Statement Line .................................................................. 19
3.7. Tag 86 - Information to Account Owner ........................................... 24
3.8. Tag 62 - Closing Balance ................................................................ 29
3.9. Tag 64 - Closing Available Balance ................................................. 30
3.10. Tag 65 - Forward Available Balance ................................................ 31
3.11. Statement Terminator ...................................................................... 32
3.12. SWIFT Trailer Block......................................................................... 33
3.13. Sample File ..................................................................................... 34
4. SAP MT940 Code Reference Tables .......................................... 35
4.1. Entry Reason - Tag 61 Sub-Field 6.................................................. 35
4.2. Further Payment Description - Tag 86 Sub-Fields 3 to 12 ............... 37
5. SAP MT940 Configuration Options ............................................ 49
5.1. Overview ......................................................................................... 49
5.2. Controlling What Data Will Be Exported........................................... 50
5.2.1. Date Range............................................................................. 50
5.2.2. Date Type ............................................................................... 51
5.2.3. Data Filters ............................................................................. 54
5.3. Controlling When Data Will Be Exported.......................................... 55
5.3.1. Business Days ........................................................................ 55
5.3.2. Activity .................................................................................... 55
5.3.3. Wait for Data ........................................................................... 56
5.3.4. Incremental Options ................................................................ 57
5.4. Controlling Where Data Will Be Exported ........................................ 58
5.4.1. In Session Output ................................................................... 58
5.4.2. Automated Output ................................................................... 58
5.5. Controlling How Data Will Be Exported ............................................ 59
5.5.1. Transaction Codes .................................................................. 59
5.5.2. Branch and Account Identification ........................................... 61
5.5.3. Code Pages and Character Set .............................................. 62
5.5.4. Transaction Details ................................................................. 66
5.5.5. Field Labels ............................................................................ 71
5.5.6. Balances ................................................................................. 71
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 3 of 76
6. Glossary of Terms ....................................................................... 72
Index .................................................................................................... 74
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 4 of 76
1. Overview
Data can be stored in a wide variety of application programs and data formats. Exchanging
information between Citi and your local environment in a transparent and secure manner is
essential in today’s database driven world.
Data Export, a Channel & Enterprise Services feature provided by Citi Transaction Services
(CTS), allows you to export data from Citi and write that information to a file in a selected format
so that it is available to you on your system.
CTS Channel & Enterprise Services supports a wide variety of standard file formats. This
document describes the SAP MT940 format for Customer Statements. Please contact your usual
Citi representative for details of other formats available from CTS.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 5 of 76
2. SAP MT940 Format Rules
SAP provides collaborative business solutions for all types of industries; SWIFT (Society for
Worldwide Interbank Financial Telecommunication) is a worldwide community of financial
institutions that agree on comprehensive messaging standards to communicate financial data that
can be used across different technology platforms.
SWIFT defines data specifications for many types of financial datasets; SWIFT MT940 is the
SWIFT standard for Customer Statements. SAP MT940 is SAP’s implementation of the SWIFT™
MT940 standard. This document describes the Citi implementation of the SAP/SWIFT standard.
Note particularly that the Citi implementation deviates from the standard in three key areas:
Tag 60 - Opening Balance
The SWIFT standard for this tag specifies that the Booking Date sub-field should carry the
same date as the Booking Date sub-field of Tag 62 from the previous day’s statement.
The Citi implementation of the standard does not match the date to the previous Tag 62.
Instead, the Booking Date in Tag 60 will be matched to the Booking Date field of Tag 62 in
the same day’s statement.
SAP MT940 uses standard rules in a number of areas to describe exported data and render it
usable by SAP workstations and applications. These rules, as implemented by Citi, are described
in the following sections.
Several sub-fields can appear after a single tag. An SAP workstation that reads the exported file
can interpret the data following each tag using the SAP MT940 standard definition for that tag.
Individual fields or tags may or may not be required. A required field or tag is always present in
the export file. If a tag is not required, it may not appear within a particular record. In SAP MT940
format, fields that are not required are at the end of the field sequence in the tag. If a non-
required field is not present, the next character will be a CRLF, followed by the next tag.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 6 of 76
2.2. Record Structure and Sort Order
There will be one set of records for each Branch/Account Number/Statement Date combination in
the export. The record order and structure for the export file are shown in detail in the SAP
MT940 Data Map section of this document.
The table below shows, at a high-level, what constitutes a complete set of records, and the order
in which they will appear in your files.
Where the export covers multiple Branches/Accounts/Statement Dates, records will be grouped by
Branch, by Account Number within each Branch, and then by Statement Date within each Account
Number.
Taking an example of an export that includes four accounts (two for Branch A and two for Branch
B) with data exported for two statement dates, the records will be grouped in the file as follows.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 7 of 76
2.3. Field Lengths
SAP MT940 field lengths can be either fixed or variable.
Fixed-length fields are always the same number of characters in length. For example,
currency codes are always three characters long, in accordance with the SWIFT standard.
Variable-length fields can be of different lengths. With variable-length fields, there will be a
delimiter or some other logical indicator to designate the end of the field.
In SAP MT940 format, all fields have a maximum length of 65 characters. If the data is longer
than 65 characters, it is split at that point and continued in the subsequent field.
Type Description
Numeric fields consist of numbers only, and may or may not contain
decimal places. When present, decimals are separated by a comma.
The number of decimal places varies. For example, the number of
Numeric decimal places in a currency amount is determined by SWIFT standards.
Amounts are unsigned, that is not preceded by “-“ for negative numbers
or “+” for positive numbers. All amounts are associated with a code that
denotes whether they are positive (such as a credit) or negative (debit).
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 8 of 76
2.5. Delimiters
Delimiters are characters that separate data so that other applications can understand and use
the data in the exported text file.
Field delimiters mark the end of a value for a particular field, indicating that whatever follows it
belongs to the next field. Record delimiters indicate where one record ends and a new one
begins.
The following table provides a description of the characters used to delimit data within SAP
MT940 data files.
Delimiter Function
CRLF is a tag separator and always appears at the end of each tag. It
Carriage Return can also appear within a tag to separate optional “further reference”
Line Feed values appearing at the end of the tag, or if the line is greater than 65
(CRLF) characters in length. CRLF creates a line break and causes the next
character to start at the left margin of the page.
A hyphen followed by carriage return line feed marks the end of data for
Hyphen CRLF an account/date. Any tag following the hyphen belongs to a new
account/date.
Double Slash Where there is no other logical means to determine the end of a variable-
(//) length field, the double slash is used.
Single Slash A single slash is used in some cases where the value of a character field
(/) can be further broken down into separate sub-fields.
Question Mark
Used to introduce codes for certain sub-fields.
(?)
In SAP MT940 format, field delimiters are not always necessary. They are not required in the
cases described below.
For fixed-length fields, the location of the end of the field is already known.
In some variable-length fields, a delimiter is not required because, although the possible
values for that field are different lengths, there are only a few known possible values. In
this case, when one of those values is identified, it is known that the next character
belongs to the next field.
Amount fields always end with a decimal separator, represented by a comma, which will
then be followed by the number of digits specified by SWIFT as decimal places for the
related currency. For example, 123, for a currency that does not support decimal places,
or 123,45 for a currency that supports two decimal places. Since this format is how all
amount fields end, this sequence sufficiently indicates the end of the field.
As with fields, the maximum number of characters in a record line is 65. If a record is longer than
65 characters, the CRLF character is inserted, and the data is continued on the next line.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 9 of 76
Example of Delimiter Usage
To illustrate the delimiters, the following is an example of one SAP MT940 tag, with a description
of each element.
This example uses Tag 61, the Statement Line tag. There are other optional values that can
appear at the end of Tag 61 that are not shown in this example. For an explanation of all possible
fields that can be present here, please refer to the SAP MT940 Data Map section of this guide.
Example Segment
A variable length character field, allowing only four possible values and
4 D
therefore no field delimiter is required.
A fixed length character field consisting of two sub-fields, the first of one
7 NMSC
character in length and the second of two characters.
A variable-length character field; this field can contain up to 16
8 NONREF// characters. Since it can contain fewer than 16 characters, the end of
the field is marked by a double slash (//) delimiter.
A variable length character field the end of which is marked with a
9 1002
carriage return line feed.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 10 of 76
2.6. Character Set
The character set that will be used in your output file will depend on the transactions being
exported and the code page that you are using.
The file will contain whatever characters are present in the underlying transaction data (which can
vary from country-to-country) subject to those characters being supported by your selected code
page.
For example, transactions in some countries may include local language characters (Cyrillic, for
example). Therefore, if you are using a code page for the export file that supports such local
language characters, they will be included in your file. Otherwise, they will be replaced with
question mark characters (“ ? “).
This means that your file can include any character that is supported by your selected code page.
Please refer to the Code Pages section of this document for more information on selecting a code
page for your output file.
Note that an additional option is available to control the character set that will be used in your files.
The Apply SWIFT Character Set X option can be used to ensure that your files include only those
characters that are supported by SWIFT Character Set X (shown in the table below). Any
character present in the underlying data but not shown in the table below will be converted to a
period character ( . ).
SWIFT Character Set X
Type Character
A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z
Alphabetical
a b c d e f g h i j l ; M
n o p q r s t u v w x y z
Numeric 0 1 2 3 4 5 6 7 8 9
* Note that the Apply SWIFT Character Set X option will not remove forward slash characters
in Tag 61 sub-fields 7 and 8. Refer to the Remove Tag 61 Forward Slash and Space
Characters configuration option for details of how to apply SWIFT character set rules to
these sub-fields.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 11 of 76
3. SAP MT940 Data Map
The tables below provide a description of the tags found in data files exported in SAP MT940 format. In cases where tags contain multiple sub-
fields, the sub-field elements and the means of identifying them are defined below the tag. Each table also contains example data for the tag
together with a sub-field by sub-field breakdown of the example. Note that all sample data is for illustrative purposes only and does not necessarily
represent data that will actually be present in live output files.
Notes:
The Required/Optional status shown for each sub-field applies only when the main tag is present.
The Field Length shown in the table does not include the length of the tag identifier
Start of Block Alphanumeric 1 Fixed Required This field will always be populated with {
Block Identifier Numeric 1 Fixed Required This field will always be populated with 1
SWIFT Header Block
Delimiter Alphanumeric 1 Fixed Required This field will always be populated with :
Application Identifier Alphabetic 1 Fixed Required This field will always be populated with F
Service Identifier Numeric 2 Fixed Required This field will always be populated with 01
By default this field will be populated with spaces, but you can
LT Address Alphanumeric 12 Fixed Required specify an LT Address to be used in your exports; please contact
your Citi representative for more information.
Session / Sequence Number Numeric 10 Fixed Required This field will be populated with ten zeroes.
End of Block Alphanumeric 1 Fixed Required This field will always be populated with }
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 12 of 76
Tag Field Name Type Length Status Comments
Start of Block Alphanumeric 1 Fixed Required This field will always be populated with {
Block Identifier Numeric 1 Fixed Required This field will always be populated with 2
Delimiter Alphanumeric 1 Fixed Required This field will always be populated with :
Input/Output Identifier Alphabetic 1 Fixed Required This field will always be populated with O
SWIFT Header Block (continued)
Message Type Numeric 3 Fixed Required This field will always be populated with 940
Input Time Numeric 4 Fixed Required This field will always be populated with 00000
This field will be populated with the date on which the export file was
Input Date Date 6 Fixed Required
generated in YYMMDD format.
By default this field will be populated with spaces, but you can
Sender's Address Alphanumeric 12 Fixed Required specify a Sender’s Address to be used in your exports; please
contact your Citi representative for more information.
Session Number and ISN Numeric 10 Fixed Required This field will be populated with the ten zeroes.
This field will be populated with the date and time at which the
Output Date and Time Numeric 10 Fixed Required
export file was generated in the format YYMMDDHHMM.
Message Priority Alphabetic 1 Fixed Required This field will always be populated with N
End of Block Alphanumeric 1 Fixed Required This field will always be populated with }
Start Block Alphanumeric 1 Fixed Required This field will always be populated with {
Block Identifier Numeric 1 Fixed Required This field will always be populated with 4
Delimiter Alphanumeric 1 Fixed Required This field will always be populated with :
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 13 of 76
Tag Field Name Example Data Comments
{1:F01 0000000000}{2:O9400000080213 00000000000
Complete Tag
802131627N}{4:
Start of Block {
Block Identifier 1
Delimiter :
Application Identifier F
Service Identifier 01
LT Address Spaces
Session & Sequence Number 0000000000
}
SWIFT Header Block
End of Block
Start of Block {
Block Identifier 2
Delimiter :
Input/Output Identifier O
Message Type 940
Input Time 0000
Input Date 080213
Sender's Address Spaces
Session Number & ISN 0000000000
Output Date and Time 0802131627
Message Priority N
End of Block }
Start Block {
Block Identifier 4
Delimiter : Followed by CRLF
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 14 of 76
3.2. Tag 20 - Transaction Reference Number
Always present in your export file, this tag marks the start of the data for an account and carries a reference to uniquely identify the statement.
There will only be one Tag 20 per account/statement date combination.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 15 of 76
3.3. Tag 25 - Account Identification
Following Tag 20 and always present in your export file, Tag 25 identifies the account to which the statement relates. There will only be one Tag 25
per account/statement date combination.
This field contains the account number for which balances and
transactions are being exported. You can elect for the account
number to be in IBAN or non-IBAN format. Please refer to the
Account Output Format Library configuration option for full details.
Additionally, for all third party bank accounts and Citi account
numbers in non-IBAN format, you can elect for the account number
to be prefixed with the SWIFT code of the third party bank or the
35
Account Identification Alphanumeric Required appropriate Citi branch code (ABA routing code for branches in the
Variable
United States of America and the SWIFT code for branches
elsewhere). A forward slash character ( / ) will separate the branch
code and account number. Refer to the Prefix Citi Account with
:25: Branch Code and Prefix Third Party Account with Branch Code
sections for further details.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 16 of 76
3.4. Tag 28C - Statement Number
Following Tag 25 and always present in your export file, Tag 28C carries a sequential Statement Number to identify the position of this statement in
the order of statements for this account. There will only be one Tag 28C per account/statement date combination.
:28C:
Note that a configuration option is available to control whether the tag for this field should be output as :28: or :28C:. Please refer to the Field
Labels section for further details.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 17 of 76
3.5. Tag 60 - Opening Balance
Following Tag 28C and always present in your export file, Tag 60 carries the opening balance of the account on the statement date. There will only
be one Tag 60 per account/statement date combination.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 18 of 76
3.6. Tag 61 - Statement Line
This tag contains transaction information and is optional. There will be one Tag 61 for each transaction exported; if there are no transactions
exported, Tag 61 will not be present in your export file. Optionally, each Tag 61 may be followed by an associated Tag 86. The entire repeating
group of Tag 61/Tag 86 pairs will always precede Tag 62.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 19 of 76
Tag Field Name Type Length Status Comments
:61:
(Cont) This sub-field carries the amount of the transaction and always
ends with a comma followed by the number of decimal places
15
Sub-Field 5 Amount Numeric Required designated for the currency code in SWIFT standards. Note that
Variable
the comma separator will be present even if the amount (or the
currency in which it is expressed) does not have decimal places.
Entry Method Alphabetic 1 Fixed Required This sub-field will be populated with the value N.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 20 of 76
Tag Field Name Type Length Status Comments
This sub-field contains any Transaction Reference Number
assigned to the transaction either by you for debits, or the sender
for credits. If no reference available, the field is filled with NONREF
(or NOTPROVIDED for SEPA transactions).
Note that if the original reference exceeds 16 characters in length,
this field will be populated with EREF. The full reference will be
output in Tag 86 using the codeword /ROC/.
The // delimiter marks the end of this sub-field. If sub-field 8 is not
Reference for the 16 populated, the CRLF character follows the // delimiter. If neither
Sub-Field 7 Alphanumeric Required
Account Owner Variable sub-field 8 nor sub-field 9 are populated, this CRLF signifies the
end of this tag.
Note that, by default, the reference output in this sub-field can start
and end with a forward slash character, as well as contain
embedded double forward slash characters. If this default
:61: behaviour is not suitable for your business needs, please refer to
(Cont) the Remove Tag 61 Forward Slash and Space Characters
configuration option for details of how to suppress these
characters.
This sub-field contains a reference assigned to the transaction by
Citi, or the third party bank for statements reported using Citi’s 3rd
party bank reporting service.
The CRLF character marks the end of this sub-field. If sub-field 9
is not populated it also marks the end of this tag.
Account Servicing
16
Sub-Field 8 Institution’s Alphanumeric Optional Note that, by default, the reference output in this sub-field can start
Variable
Reference and end with a forward slash character, as well as contain
embedded double forward slash characters. If this default
behaviour is not suitable for your business needs, please refer to
the Remove Tag 61 Forward Slash and Space Characters
configuration option for details of how to suppress these
characters.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 21 of 76
Tag Field Name Type Length Status Comments
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 22 of 76
Tag Field Name Example Data Comments
:61:0405230528DK418,86NTRFNONREF//10002
Complete Tag
/OCMT/EUR58603,50
Sub-Field SAP Tag ID :61: To indicate the Statement Line tag
1 Value Date 040523 May 23, 2004
2 Entry Date 0528 May 28, 2004
3 Credit / Debit ID D To indicate a debit amount
4 Funds Code K The third character of the Currency Code (DKK)
5 Amount 418,86 418.86
Entry Method N
:61: 6
(Cont) Entry Reason TRF Transfer
Reference for the NONREF Followed by the // delimiter
7
Account Owner
Account Servicing
8 Institution’s 10002 Followed by CRLF
Reference
Followed by CRLF. This sub-field is further divided as follows:
/OCMT/ Indicates original currency and amount
EURO Related /OCMT/EUR58603,50 data will follow
9
Information EUR The original currency
58603,50 The original amount, followed by
CRLF
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 23 of 76
3.7. Tag 86 - Information to Account Owner
This tag is optional and contains any further information on the transaction detailed in Tag 61, and will always follow the Tag 61 to which it relates.
Tag 86 will never be exported without an associated Tag 61. Note that Tag 86 will not be output if there is no additional information to populate in
sub-field 3.
2187 This field contains any additional information available for the
Information to Account Owner Alphanumeric Optional
Variable transaction and consists of the sub-fields listed below.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 24 of 76
Tag Field Name Type Length Status Comments
?00 Where you have selected to receive SAP Standard Export with
:86: Business 34 BAI Codes, the sub-field will contain “?00” followed by a
Sub-Field 2 Alphanumeric Optional
(Cont) Transaction Code Variable description related to the BAI code exported in sub-field 1.
Description
Where you have selected to receive SAP Non-Standard Export
with BAI Codes, this sub-field will contain “?00/BAI/” followed
by a BAI Code and a description for that code.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 25 of 76
Tag Field Name Type Length Status Comments
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 26 of 76
Tag Field Name Type Length Status Comments
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 27 of 76
Tag Field Name Example Data Comments
:86:271?00CREDIT TRANSFER RECD?20/PY/PAYMENT DETAILS INFORMATION
FOR THE BENEFICIARY OF THE TRA?21NSACTION?22/BN/BENEFICIARY NAME?
23/BI/1234567890?24/BO/THE ORDERING PARTY NAME AND ADDRESS INFORM
Complete Tag
ATION CODEWORD?25/RI/N?26/CHGS/EUR123,00?27/IB/AN INTERMEDIARY BA
NK?30/OB/ORDERING BA?31GB123456789012345?32/BO/THE ORDERING PARTY
NAME AND ADDRESS INFORMATION COD
Sub-Field SAP Tag ID :86: To indicate the Information to Account Owner tag
Business 271
1 Business Transaction Code
Transaction Code
2 ?00 ?00CREDIT TRANSFER RECD Business Transaction Code Description
?20/PY/PAYMENT DETAILS
3 ?20 INFORMATION FOR THE Payment Details codeword – 1st 65 characters
BENEFICIARY OF THE TRA
:86: 4 ?21 ?21NSACTION Payment Details codeword – remaining characters
(Cont)
5 ?22 ?22/BN/BENEFICIARY NAME Beneficiary Name codeword
6 ?23 ?23/BI/1234567890 Beneficiary Account ID codeword
?24/BO/THE ORDERING PARTY
7 ?24 NAME AND ADDRESS INFORMATION Ordering Party Name codeword
CODEWORD
8 ?25 ?25/RI/N Reversal Indicator codeword
9 ?26 ?26/CHGS/EUR123,00 Charges codeword
10 ?27 ?27/IB/AN INTERMEDIARY BANK Intermediary Bank codeword
11 ?30 ?30/OB/ORDERING BA Ordering Bank
12 ?31 ?31GB123456789012345 Ordering Party Account Number
?32/BO/THE ORDERING PARTY
13 ?32 NAME AND ADDRESS INFORMATION Ordering Party, followed by CRLF
COD
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 28 of 76
3.8. Tag 62 - Closing Balance
Always present in your export file, this tag follows the final Tag 86 (or the final Tag 61 if Tag 86 was not exported). If no Tag 61s were exported, this
tag follows Tag 60. Tag 62 carries the closing balance of the account on the statement date. There will only be one Tag 62 per account/statement
date combination.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 29 of 76
3.9. Tag 64 - Closing Available Balance
This tag is optional; if present it follows Tag 62. Tag 64 carries the closing available balance of the account on the statement date. There will only
be one Tag 64 per account/statement date combination. Note that, by default, this tag will be output whenever Citi holds data to populate it.
However, if required, you can select for the tag to be suppressed using the Output Tag 64 – Closing Available Balance configuration option.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 30 of 76
3.10. Tag 65 - Forward Available Balance
Tag 65 carries the available balance of the account on the future date specified within the tag, and is optional. Used where funds become available
on dates after the date of the Closing Available Balance, if present it follows Tag 64 (or Tag 62 if Tag 64 was not exported). There may be multiple
Tag 65s on your statement, one for each future date on which a forward available balance is known. By default, this tag will be output whenever Citi
holds data to populate it. However, you can select for it to be suppressed using the Output Tag 65 – Forward Available Balance configuration.
Note that all sample data is for illustrative purposes only and does not necessarily represent data that will actually be present in live output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 31 of 76
3.11. Statement Terminator
Always present in your export file, this tag marks the end of the data for an account/statement date combination.
Statement Terminator Alphanumeric 1 Fixed Required A hyphen is always present to indicate the end of the Statement.
Terminator
Statement
Complete Tag -
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 32 of 76
3.12. SWIFT Trailer Block
The SWIFT Trailer Block will be present where the Add SWIFT Header configuration option has been selected. Where present, this block marks the
end of the data for an account. There will be one SWIFT Trailer Block per account/statement date combination. Where the Add SWIFT Header
configuration option has not been selected, the Statement Terminator will be the last record for the account.
End of Block Alphanumeric 1 Fixed Required This field will always be populated with }
Complete Tag }
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 33 of 76
3.13. Sample File
The sample below illustrates how the individual tags described above are combined to form a file.
The following sections provide descriptions for the codes used in tags of the SAP MT940 export
format.
Code Description
BNK Securities Related Item - Bank Fees
BOE Bill of Exchange
BRF Brokerage Fee
CAR Securities Related Item - Corporate Actions Related
CAS Securities Related Item - Cash in Lieu
CHG Charges and Other Expenses
CHK Cheques
CLR Cash Letters/Cheques Remittance
CMI Cash Management Item - No Detail
CMN Cash Management Item - Notional Pooling
CMP Compensation Claims
CMS Cash Management Item - Sweeping
CMT Cash Management Item -Topping
CMZ Cash Management Item - Zero Balancing
COL Collections (used when entering a principal amount)
COM Commission
CPN Securities Related Item - Coupon Payments
DCR Documentary Credit (used when entering a principal amount)
DDT Direct Debit Item
DIS Securities Related Item - Gains Disbursement
DIV Securities Related Item - Dividends
EQA Equivalent Amount
EXT Securities Related Item - External Transfer for Own Account
FEX Foreign Exchange
INT Interest
LBX Lockbox
LDP Loan Deposit
MAR Securities Related Item - Margin Payments/Receipts
MAT Securities Related Item - Maturity
MGT Securities Related Item - Management Fees
MSC Miscellaneous
NWI Securities Related Item - New Issues Distribution
ODC Overdraft Charge
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 35 of 76
Code Description
OPT Securities Related Item - Options
PCH Securities Related Item - Purchase
POP Securities Related Item - Pair-Off Proceeds
PRN Securities Related Item - Principal Pay-Down/Pay-Up
REC Securities Related Item - Tax Reclaim
RED Securities Related Item - Redemption/Withdrawal
RIG Securities Related Item - Rights
RTI Returned Item
SAL Securities Related Item - Sale
SEC Securities (used when entering a principal amount)
SLE Securities Related Item - Securities Lending Related
STO Standing Order
STP Securities Related Item - Stamp Duty
SUB Securities Related Item - Subscription
SWP Securities Related Item - SWAP Payment
TAX Securities Related Item - Withholding Tax Payment
TCK Travellers Cheques
TCM Securities Related Item - Tripartite Collateral Management
TRA Securities Related Item - Internal Transfer for Own Account
TRF Transfer
TRN Securities Related Item - Transaction Fee
UWC Securities Related Item - Underwriting Commission
Value Date Adjustment (used with an entry made to withdraw an
VDA incorrectly dated entry; this is followed by the correct entry with the
relevant code)
WAR Securities Related Item - Warrant
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 36 of 76
4.2. Further Payment Description - Tag 86 Sub-Fields 3 to 12
The table below provides details of the codewords and descriptions that are used in the Further Payment Description sub-field 3 to 12 sequence of
Tag 86.
As well as showing all the available codewords, the table also shows for which type of product each codeword is available.
A D in a Product Type column indicates that the codeword is available for the product type and will automatically appear in your files whenever data
is available (i.e. it is a Default codeword). This assumes that you have not selected to suppress the codeword with a Transaction Details
Configuration Library entry,
An L in a Product Type column indicates that the codeword is available for the product type, but will not appear in your files unless you create a
Transaction Details Configuration Library entry that includes the codeword (i.e. it is a Library only codeword).
Note that the Transaction Details Configuration Library can be used to control all codewords in the table below, whether they are Default or Library
only. However, regardless of the settings in your configuration library, a codeword will not be output in your files unless there is relevant data
available to follow it. For example, if the Ultimate Beneficiary Name is not available for a transaction, the codeword /UB/ will not be output in your
files, even if specifically requested with a configuration library entry.
Please contact your usual Citi representative for more information on the Transaction Details Configuration Library option.
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
/1F/ One Day Float Amount N 15 D
/2F/ Two Day Float Amount N 15 D
/3F/ Three Day Float Amount N 15 D
/4F/ Four Day Float Amount N 15 D
Beneficiary Bank Account ID / 34
/AB/ Name / AN or L L L D L L L
Address 70
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 37 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 38 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
Applicants’ Letter of Credit
/ALCR/ AN 16 D D
Reference
/AO/ Amount Bought A+N 3 + 15 D Amount follows the currency code.
/AR/ Additional Requisite AN 57 D
/AS/ Actual Settlement Date Date 8 D
/BA/ Payment Condition AN 90 D
/BB/ Repayment Condition AN 90 D
/BBLR/ Citi Billing Reference AN 16 D
Remitting Bank code in the case of an
incoming payment to a Citi account, or the
Collecting bank code in the case of a direct
debit to a Citi account. Note that a CitiDirect
/BC/ Remitting Bank Code AN 30 D L
client configuration setting can be used to
select for the bank code to be prefixed with
the text BL; please contact your usual Citi
representative for more information.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 39 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
/BLCR/ Citi Letter of Credit Reference AN 16 D D
35
/BN/ Beneficiary Name / Address AN or L L L D L L L
5 x 35
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 40 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
Note that the type of ID (up to 35 characters)
Ordering Party (Debtor) ID
/BOC/
Type and ID
AN 71 L L L D* L L L and a plus sign will be shown before the ID
Code.
/BR/ Bought Remitting Instruction AN 125 D
/BTC/ Tax Code AN 12 D
/CA/ Charges Account AN 35 D
/CBLR/ Remitter/Drawer Bill Reference AN 16 D
/CD/ Contractual Settlement Date Date 8 D
/CDT/ Cheque Issuance Date Date 8 L
/CE/ Contract Rate N 15 D
/CF/ Contract Period From Date Date 8 D
Valid values:
LCA - Letter of Credit Amendment Charge
/CH/ Charge Type A 3 D LCO - Letter of Credit Opening Charge
BOA - Bills Original Amount
BCA - Bills Charge Amount
/CHGS/ Charges Currency and Amount AN 3 + 15 L D Amount follows the currency code.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 41 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
/CPC/ Category Purpose Code AN 35 L For CEEMEA Mass Payments
/CR/ Confirmation Reference AN 35 D
/CY/ Company Name AN 35 D
/DC/ Company Description AN 105 D
For SEPA Direct Debit transactions, this is
/DSEQ/ Transaction Type AN 34 L L
the Direct Debit Sequence.
/DV/ Dividend Rate N 15 D
/ED/ Entitlement Date D 8 D
Where available, the first 160 characters of
/EI/ Extra Information AN 160 D D D D any Payment Details for the transaction will
follow this code.
/ER/ Exchange Rate N 15 L D D
/FXCM/ FX Commission N 10 L
/FXREF/ FX Contract Reference AN 35 L L L L L L L
34
/IB/ Intermediary Bank Account/ID AN or D
70
/IP/ Interest Payment Condition AN 90 D
/IR/ Interest Rate N 15 D
A unique ID, as assigned by the instructing
/IREF/ Instruction ID AN 35 L L L L L L L party, to unambiguously identify the
instruction.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 42 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
Valid values:
P - Principal
I - Income
/LOC/ Location Code Securities A 1 D R - Represented by receipt
Y - Held Elsewhere
D - Represented by due bill
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 43 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
Originating Bank Account ID / 34
/OK/ Name / AN or D
Address 70
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 44 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
/PI/ Principal Income A 1 D P = Principal, I = Income.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 45 of 76
Product Type
Codeword Description Type Length
BL DE FX FT LC MM SC Comments
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 47 of 76
Keys: Type
A = Alphabetic
N = Numeric
AN = Alphanumeric
D = Date (YYYYMMDD format)
* Note that a red asterisk next to a D indicates that, for Funds Transfers,
the codeword is only output by default if the transaction is a SEPA Credit
Transfer. For other types of Funds Transfer, the codeword is only
available via the configuration library.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 48 of 76
5. SAP MT940 Configuration Options
5.1. Overview
Citi provides a number of configuration options for your SAP MT940 exports. These options can
be used to expand or restrict the dataset that will be present in your output files as well as to
control the format of certain fields and sub-fields.
The configurations, individually or in combination, provide a powerful mechanism for tailoring the
content and presentation of your files, allowing them to integrate with your operational processes
and meet your business needs.
Collectively, the configuration settings associated with each export file you receive are known as
an Export Profile. You will receive one output file for each export profile and there is no limit to the
number of export profiles that can be created for you.
Therefore, this export profile facility allows you to select different configurations for different
datasets you receive, reflecting the business context of the data and how it is integrated into your
reconciliation and account posting processes.
The configurations that are available fall into four categories - What, When, Where and How.
The configurations in each category are described in full in the following sections.
Please contact your usual Citi representative for further details or for assistance with setting or
changing any of these configuration options.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 49 of 76
5.2. Controlling What Data Will Be Exported
The sections below describe the configuration options that can be used to govern the extent of the
dataset that will be exported in your output file. These configurations allow you to specify, for
example, the period of time that the export should cover, which of your accounts should be
included and so on.
Note that an export file cannot contain more than 40,000 records; if the dataset to be exported
contains more than this limit, no file will be produced. If your dataset is likely to include more than
40,000 records, please contact your Citi representative so that your ‘what’ configuration options
can be set in such a way that the limit is not exceeded.
As part of creating your export profile, a start date and an end date will be set
that together define the period for which data will be retrieved.
Select by
Relative / Each output file you receive will contain only those items of business data that
Absolute Dates have a key business date that falls within the retrieval date range set for the
export profile. Please refer to the Date Type configuration for details of key
business dates.
You can specify the retrieval date range using either relative or absolute dates.
Select by A relative date or date range is most suited to output files that are delivered to
Start Date / you at regular intervals. Relative dates reflect a day, or number of days,
End Date relative to the date on which the file is delivered to you.
For example, if you perform account reconciliations each day you may want to
always receive the previous day’s business data in your daily output file. In this
case, the retrieval date range would be set with a start date of -1 day and an
end date of -1 day. On the other hand, weekly business data can be delivered
Select by to you using an export profile with a start date of -7 days and an end date of -1
Start Time / day.
End Time
An absolute date or date range is best suited to a one-off delivery of data and
reflects a specific calendar date or range of dates.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 50 of 76
5.2.2. Date Type
The table below describes the Date Type configuration options.
Each output file you receive will contain only those items of business data that
have a key business date that falls within the retrieval date range set for the
export profile.
A configuration option covers which business date type should be used for
Select by retrieving data. Your export profile can be set with the option that provides
Statement Date results to best suit how you will be using the data delivered in your output files.
The three options are shown below.
Statement Date
Your file will contain statement-level information (e.g. balances) for each
Statement Date in the date range, together with transaction-level
information for all transactions that appeared on the selected
statements, regardless of transaction Entry Date and Value Date
(Statement Date will be taken from the Booking Date field of Tag 60).
Entry Date
Select by
Entry Date Your file will contain transaction-level information for every transaction
with an Entry Date in the date range, regardless of transaction Value
Date. Statement-level information will be output from each statement
on which those transactions originally appeared.
Value Date
Note that where either Entry Date, Value Date or Value Date including Back
Values have been selected, balances present in your file will not be
recalculated to reflect the fact that the file may only contain a sub-set of the
Select by
transactions from the original statement. In other words, the opening balance
Value Date exported for an account, plus the sum of the transactions present in the file,
including
may not equal the exported closing balance.
Back Values
More details of the Entry Date, Value Date and Value Date including Back
Values selection criteria are given below, however Citi generally recommends a
selection of Statement Date for your output files.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 51 of 76
Configuration Option Details
Therefore, Citi recommends that you do not select a business date type of
Entry Date for any export profiles that will contain third party bank
accounts.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 52 of 76
Configuration Option Details
However, where Value Date (or Value Date including Back Values) has
been selected, this may not remain the case. Your output file will contain
any transactions with a Value Date in your chosen date range, divided into
the statements to which those transactions are related. Each statement
will show its original ledger and available balances; they will not be
updated to reflect the fact that your file may only contain a sub-set of the
Business transactions from the original statement.
Date Type
Comparison For example, with two transactions both with Value Date T, but one from
Statement Date T-1 and the other from Statement Date T-2, a Value Date
Value Date export requested for date Value Date T will contain –
versus
Statement Date A complete set of records for Statement Date T-1
i.e. the following tags will be present:
:20:
:25:
:28C:
:60: (with Opening Ledger Balance for T-1)
:61: / :86: (with Transaction 1)
:62: (with Closing Ledger Balance for T-1)
:64: (with Closing Available Balance for T-1)
A complete set of records for Statement Date T-2
:20:
:25:
:28C:
:60: (with Opening Ledger Balance for T-2)
:61: / :86: (with Transaction 2)
:62: (with Closing Ledger Balance for T-2)
:64: (with Closing Available Balance for T-2)
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 53 of 76
5.2.3. Data Filters
The table below describes the Data Filter configuration options.
The retrieval date range defines the high-level dataset that will be included in
your output file.
You can further refine the dataset by applying one or more data filters that will
Restrict by limit the scope of your export.
Bank Branch Number
You can select to filter your dataset by any combination of:
Account Number
Account Currency
Bank Branch Number
For example, you may wish to receive separate files for certain accounts or
account currencies. In this situation multiple export profiles can be created and
you will receive one file for each export profile. The profiles would each use
different Account Number filters to restrict the file contents to just the required
Restrict by
accounts.
Account Number
If no filters are selected, the export will include all data with a key business date
within the date range specified, for all accounts, branches and currencies
available.
Data filters are often used to mitigate the issues that can arise if you hold
accounts across different time zones.
For example, there is a two hour time difference between the United Kingdom
Restrict by and Greece. Therefore, account statements for Greek accounts will not
Account Currency become available until approximately two hours after those for UK accounts.
Including both UK and Greek accounts in the same file can therefore mean a
delay of two hours for the UK statements. In this situation, data filters would be
used to produce separate files for each location, allowing each country’s
statements to be delivered as soon as they are available.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 54 of 76
5.3. Controlling When Data Will Be Exported
The sections below describe the configuration options that can be used to govern when an export
file will be generated. These configurations allow you to specify, for example, that a file should be
generated only once all account processing has been completed for a given day, ensuring that
you never receive partial data for your accounts.
This option can be used to align the contents of your files with your business’s
working week. The configuration lets you select whether an export file should
be produced for all days, or only for business days.
When selected, the start date and end date of your export profile will be
Output for evaluated for business days only.
Business Days
Only For example, a file delivered on Monday from an export profile with a retrieval
date range of -1 to -1 will deliver data from Friday (assuming that Saturday and
Sunday are non-working days for the country). This is because, in this
example, Friday represents -1 business day from the delivery date. Without the
option selected, Monday’s file will deliver (or attempt to deliver) data for Sunday
as that is -1 calendar day from the delivery date.
5.3.2. Activity
The table below describes the Activity configuration option.
This configuration option is generally used where export files are based on
statement-level data (i.e. a Date Type of Statement Date) and you have any
business or technical processes that will fail if a file is delivered that does not
Output When
contain transactions.
Activity Only
With the option selected, a file will only be delivered on days when there are
transactions across the accounts associated with the export profile.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 55 of 76
5.3.3. Wait for Data
The table below describes the Wait for Data configuration option.
With the option set, an output file will only be delivered if end of day statement
data is available for all the accounts associated with the export profile; this is
an ‘all or nothing’ configuration option.
If you access the CitiDirect online banking platform to obtain your files (i.e. they
are not delivered to you automatically), if one or more MT940s are not
available, the export profile will go to an incomplete status and no data will be
delivered.
For automated exports (AFRD), if at the usual delivery time of your file, end of
Wait for
day statement data is not available for one or more accounts, delivery will be
All End of Day
held for 30 minutes. If all data is available after 30 minutes, a file will be
Statement Data
delivered to you otherwise delivery will be held for a further 30 minutes. This
process will repeat for a maximum of eight hours.
At the end of eight hours, if end of day statement data for one or more accounts
is still unavailable, your file delivery for that day will be suspended and no
export file will be generated
Note that because this configuration option is related to all end of day
statement data rather than being restricted to transaction-level data, it is only
available if you have selected a Date Type of Statement Date for your export
profile.
Additionally, note that this option only applies to Citibank accounts; it does not
apply to statement delivery on third party bank accounts.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 56 of 76
5.3.4. Incremental Options
The table below describes the Incremental Options configuration options.
This configuration option is used if you are exporting end of day (EOD) data
and your reconciliation and posting processes do not rely on having a single
file for all your selected accounts for each date, but do rely on data for
individual accounts being presented in a single file rather than being split
across multiple files.
With the option set, at an account level, only full and final EOD data will be
included in your file. If the EOD statement for an account is not available at the
usual delivery time of your file, that account will be entirely excluded from the
export.
Incremental
Additionally, the option ensures that no statement will be output more than
End of Day Option
once no matter how many times a file is delivered to you.
With this option selected, the first file delivered will include EOD data for the
previous day. Subsequent files will export any EOD data that has been
received since the previous delivery up to a maximum of fourteen calendar
days in the past.
Note that this configuration is not an ‘all or nothing’ option, the unavailability of
EOD data for one or more accounts will not impact the delivery of data for other
accounts (i.e. EOD data for an account will be delivered whether or not EOD
data is available for all accounts covered by the export profile).
This configuration option is used if you are exporting intra-day (INT) data and
your reconciliation and posting processes do not rely on having a single file for
all your selected accounts for each date, but do rely on data for individual
accounts being presented in a single file rather than being split across multiple
files.
Incremental
The option ensures that no data will be output more than once no matter how
Intra-Day Option
many times a file is delivered to you.
With this option selected, the first file delivered will include all intra-day data for
the current date, available up to the point at which the file is generated.
Subsequent files will export any intra-day data, for the same date, which has
been received since the previous file was delivered.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 57 of 76
5.4. Controlling Where Data Will Be Exported
The sections below describe the configuration options that are used to govern the location to
which the export file will be delivered.
In Session For in session profiles you can specify the directory and filename to which the
Download exported data file will be saved when downloaded after running the export
Destination profile.
The automated delivery option configuration allows you to select exactly how
and where the file should be delivered when it is automatically executed.
Automated
Delivery Option
Delivery vehicles include E-mail and delivery via Citi’s CitiConnect for Files
gateway, with full details available from your usual Citi representative.
Automated Where you have selected S/MIME encryption for your automated files, this
Delivery Certificate configuration option allows you to specify the digital certificate that should be
Name used to encrypt the file.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 58 of 76
5.5. Controlling How Data Will Be Exported
The sections below describe the configuration options that can be used to govern the exact format
of certain fields in your output file.
As a default, your file will contain proprietary Citi Transaction Code (CTC) Type
Codes in sub-field 1 of Tag 86 (known as Standard Export), except for
accounts held at Citibank Delaware or New York (Citi branches 920, 930 and
940). For these accounts, the sub-field will contain the SWIFT Entry Reason
Output (i.e. the same three-letter code output in Tag 61 sub-field 6).
Citi Transaction
Codes The CTC type code output for a transaction will be set by the Citi branch
through which the transaction was processed and cannot be customised.
Because the code is set at branch level, if you hold accounts with several
branches your account posting processes may need to handle a large number
of different codes.
A configuration option allows you to elect for the CTC type codes to be
replaced with BAI type codes. The BAI type code can be output either in sub-
field 1 of Tag 86 (known as SAP Standard Export with BAI Codes) or in sub-
field 2 of Tag 86 (known as SAP Non-Standard Export with BAI Codes).
BAI type codes are more standardised and generally fewer in number since
they do not necessarily need to support the granularity that Citi requires for
CTC type codes.
Additionally, BAI type codes are fully customisable. Should the standard codes
not meet your specific needs, Citi can customise them in a range of ways to
meet your processing requirements.
Please contact your usual Citi representative for listings of the standard BAI
type codes used and any further assistance with customisation.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 59 of 76
Configuration Option Details
This option allows for the process of deriving BAI codes on transactions across
Third Party Bank third party bank accounts to be refined, reducing the likelihood of the default
Type Code BAI codes (399 and 699) being output.
Mapping Library. Please contact your usual Citi representative for assistance with this
configuration option.
Please contact your usual Citi representative for further assistance with
customisation of these codes.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 60 of 76
5.5.2. Branch and Account Identification
The table below describes the Branch and Account Identification configuration options.
This configuration option governs how account numbers are formatted in Tag
25 of your files.
Please contact your usual Citi representative for assistance with this
configuration option.
This configuration option governs how account numbers are formatted in Tag
25 of your files.
If selected, your Citi account numbers will be prefixed with the branch code of
the Citi branch that holds the account. As standard, the branch code will be the
ABA routing code for branches in the United States of America and the SWIFT
Prefix Citi Account
code for branches elsewhere. Note that the branch code output in your files is
with Branch Code
fully customisable; you can select any twelve-character code required for
integrating with your accounting processes.
Note that this configuration only applies to your account numbers in Tag 25
when they are output in Citi proprietary format; IBAN and BBAN formatted
account numbers will not be prefixed.
This configuration option governs how third party bank account numbers are
formatted in Tag 25 of your files.
Prefix Third Party
Account with Branch
If selected, your third party bank account numbers will be prefixed with the
Code
SWIFT code of the third party bank. A forward slash character will separate the
SWIFT code and account number.
For certain fields, Citi branch codes may be exported in your files. These
codes are fully customisable; you can select any twelve-character code
Customisable required for integrating with your accounting processes.
Branch Code Library
Please contact your usual Citi representative for assistance with this
configuration option.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 61 of 76
5.5.3. Code Pages and Character Set
The table below describes the Code Pages and Character Set configuration options.
This option is used to restrict the characters that will be present in your files so
Apply SWIFT
that the character set complies with SWIFT Character Set X. Please refer to
Character Set X
the Character Set section for full details of this option.
This option is used to control the presence of forward slash and space
characters in Tag 61 sub-fields 7 and 8 (Reference for the Account Owner and
Account Servicing Institution’s Reference respectively).
By default, the two reference fields can begin and end with a forward slash
character ( / ) as well as contain embedded double forward slashes ( // ) and
spaces. In other words, if the underlying reference contains forward slash or
space characters they will not be suppressed in your output files.
Whilst this behaviour provides flexibility it is not in line with SWIFT guidelines
for the use of forward slash and space characters in these fields.
Remove Tag 61
With this configuration option set, SWIFT rules will be applied, with the
Forward Slash and
following being removed from both Tag 61 sub-field 7 and sub-field 8:
Space Characters
A forward slash in the first position within the sub-fields
E.g. /CUSTOMERREF becomes CUSTOMERREF
A forward slash in the last position within the sub-fields
E.g. CUSTOMERREF/ becomes CUSTOMERREF
A double slash in any position within the sub-fields
E.g. CUSTOMER//REF becomes CUSTOMERREF
Any space characters embedded in any position within the sub-fields
E.g. CUSTOMER REF becomes CUSTOMERREF
Note that in a situation where either sub-field contains only forward slashes, the
reference will be completely replaced with the text NONREF.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 62 of 76
Configuration Option Details
This configuration setting is used to ensure that the characters present in your
business data are displayed correctly and can be uploaded to your accounting
platform. The character set that will be used in your output file will depend on
the transactions being exported and the code page in which the export file is
generated.
Also known as an encoding set, a code page is a character encoding table that
associates characters with specific numeric values. This facilitates the transfer
of data between computer systems, providing a method of encoding characters
that is independent of the way in which those characters are represented
graphically. For example, a code page may be used to encode traditional
Chinese characters, thereby allowing these characters to be output by, or read
by, different software applications
However, with a code page selected using this configuration option, the range
of characters will depend on the specific code page selected. Your files will
contain whatever characters are present in the underlying transaction data
(which can vary from country-to-country) subject to those characters being
Export File Code supported by the code page of the file.
Page Selection
For example, transactions in some countries may include local language
characters (e.g. Cyrillic). Therefore, if the export file is created in a code page
that supports such local language characters, they will be included in your file.
Otherwise, they will be replaced with a question mark character ( ? ).
This means that your file could include any character that is supported by the
file’s code page. A range of code pages is available that includes Arabic,
Chinese, Cyrillic, Greek and Hebrew, each supporting a different set of
characters.
The most frequently used code page is CP1252 (Windows Latin -1). This is a
character encoding of the Latin alphabet and, as such, supports only a limited
range of local language characters and diacrits.
Please contact your Citi representative if your business data may include non-
Latin characters so that an appropriate code page can be selected.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 63 of 76
Configuration Option Details
The following table details the code pages in which your output files can be
delivered. You Citi representative can assist you in selecting the appropriate
code page for your data.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 64 of 76
Configuration Option Details
If you access the CitiDirect online banking platform to obtain your files (i.e. they
are not delivered to you automatically), it is possible to arrange for the code
page of your files to change dynamically according to the language that you
use when logging-on to CitiDirect.
When the code page of your export profile is set to User Login Language
Code Page, the code page used for your export file becomes linked to the log-
on language of whichever user runs the export.
The table below shows the relationship between the user’s log-on language
and the code page in which the export file will be generated.
User Log-On
File Code Page Code Page Description
Language
Arabic CP1256 Windows Arabic
Bulgarian CP1251 Windows Cyrillic
Czech CP1250 Windows Eastern European
Dutch CP1252 Windows Latin -1
English CP1252 Windows Latin -1
French CP1252 Windows Latin -1
German CP1252 Windows Latin -1
Greek CP1253 Windows Greek
Export File Code
Page Selection Hebrew CP1255 Windows Hebrew
(cont.) Hungarian CP1250 Windows Eastern European
Italian CP1252 Windows Latin -1
Dynamic Code Page Japanese Shift JIS (Windows 932) Japanese Shift JIS
Selection Kazakh CP1251 Windows Cyrillic
Korean CP949 Korean
Polish CP1250 Windows Eastern European
Portuguese CP1252 Windows Latin -1
Romanian CP1250 Windows Eastern European
Russian CP1251 Windows Cyrillic
Simplified Chinese GBK (Windows 936) Simplified Chinese
Slovak CP1250 Windows Eastern European
Spanish CP1252 Windows Latin -1
Thai CP874 IBM Thai
Traditional Chinese Big5 (Windows 950) Traditional Chinese
Turkish CP1254 Windows Turkish
Ukrainian CP1251 Windows Cyrillic
Note that if a CitiDirect export profile that uses the login-language code page
option is set to run automatically (i.e. using the CitiDirect AFRD functionality),
the code page used for the file will be linked to the log-on language of the user
who last submitted the AFRD schedule (this person is known as the Schedule
Owner). This remains the case even when the AFRD schedule is manually
triggered using the Run Now button.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 65 of 76
5.5.4. Transaction Details
The table below describes the Transaction Details configuration options.
Ordinarily, the data presented in your statements and advices will be sourced
from the book-keeping system that has processed the underlying
transaction(s). This may mean that some elements of the data you supplied
with the original transaction instruction are either not present in your file, or are
truncated or otherwise changed. This may happen, for example, if a book-
keeping system has reformatted or trimmed data to meet the requirements of a
local clearing system. In some cases, this difference between your original
instruction and the data returned with statements and advices may lead to
operational difficulties for you when reconciling transactions.
To address this, when you select the Export Enhanced Transaction Details
configuration option, the data in your file will be augmented using data from
your original transaction instruction (where available), thereby facilitating
transaction reconciliation.
Straight Through The specific data items that will be augmented are listed below, together with
Reconciliation the transaction detail labels that are used to identify them:
Library – /AB/ to /AB4/ Beneficiary Bank Details
/BI/ Beneficiary (Creditor) Account Number
Export Enhanced /BN/ to /BN4/ Beneficiary (Creditor) Name and Address
Transaction Details /BNC/ Beneficiary (Creditor) ID Type and ID
/BO/ to /BO4/ Ordering Party (Debtor) Name and Address
/BOC/ Ordering Party (Debtor) ID Type and ID
/IREF/ Instruction ID
/PREF/ Payment Information ID (Batch Reference)
/PYO/ Original Remittance Information (Payment Details)
/ROC/ Original Customer Reference
/UB/ Ultimate Beneficiary (Ultimate Creditor) Name
/UBC/ Ultimate Beneficiary (Ultimate Creditor) ID Type and ID
/UR/ Ultimate Debtor Name
/URC/ Ultimate Debtor ID Type and ID
Note that by default, this option will not be available. Please contact your usual
Citi representative in order to have your CitiDirect client configuration set to
enable the selection of this option.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 66 of 76
Configuration Option Details
Some transaction types will be posted to your account in bulk. For example,
ACH payments of the same type with the same value date are likely to be
grouped into a single posting on your account. This will mean that the data
associated with each of the individual underlying transactions will not be
available to you in the consolidated account movement, and this may lead to
operational difficulties for you when reconciling such transactions and account
movements.
When you select Transaction Itemization, where possible, the bulked account
movement will be split into its constituent transactions and those individual
transactions will appear in your file instead of the consolidated account
movement. Where data is available, the information reported for the
constituent transactions will also be augmented using data from your original
transaction instructions, thereby facilitating transaction reconciliation.
The specific data items that will be augmented for constituent transactions are
listed below, together with the codewords/labels that are used to identify them:
Straight Through /AB/ to /AB4/ Beneficiary Bank Details
Reconciliation /BI/ Beneficiary (Creditor) Account Number
Library – /BN/ to /BN4/ Beneficiary (Creditor) Name and Address
/BNC/ Beneficiary (Creditor) ID Type and ID
Transaction /BO/ to /BO4/ Ordering Party (Debtor) Name and Address
Itemization /BOC/ Ordering Party (Debtor) ID Type and ID
/IREF/ Instruction ID
/PREF/ Payment Information ID (Batch Reference)
/PYO/ Original Remittance Information (Payment Details)
/ROC/ Original Customer Reference
/UB/ Ultimate Beneficiary (Ultimate Creditor) Name
/UBC/ Ultimate Beneficiary (Ultimate Creditor) ID Type and ID
/UR/ Ultimate Debtor Name
/URC/ Ultimate Debtor ID Type and ID
Note that this configuration option is only applicable to bulk posted transactions
(i.e. groups of transactions posted to your account as a single movement).
Please contact your usual Citi representative for more information about the
types of transactions that can be augmented with this option.
Note also that where Transaction Itemization is selected for your bulked
account movements, the Export Enhanced Transaction Details configuration
will be automatically applied to individually posted account movements, and
cannot be deselected.
Note that by default, this option will not be available. Please contact your usual
Citi representative in order to have your CitiDirect client configuration set to
enable the selection of this option.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 67 of 76
Configuration Option Details
For statement entries that relate to payroll payments, this configuration option
allows you to suppress sensitive beneficiary information in your statements,
allowing you to maintain confidentiality without compromising your ability to
reconcile account movements.
Note that movements and transactions that are not identified as payroll will be
entirely unaffected by the selection of this option.
Straight Through Please note that in order for a transaction to be identified as payroll, it must
Reconciliation have been instructed using Citi’s CitiConnect for Files application using one of
Library – the payroll-specific payment instruments (known as PIUIDs). The supported
PIUIDs are shown in the table below.
Suppress Payroll
Data
Country Currency Payment Method PIUID
Note that by default, this option will not be available. Please contact your usual
Citi representative in order to have your CitiDirect client configuration set to
enable the selection of this option.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 68 of 76
Configuration Option Details
This configuration option allows you to select for movements in your file to be
augmented with the original batch reference you supplied when initiating the
underlying transaction(s).
With this option selected, the batch reference will be output in the sub-field 3 to
10 sequence of Tag 86, using the Further Payment Description code /PREF/.
Output Batch Details In addition to the /PREF/ code, where this option is selected and data is
available, the /TCOUNT/ code will also be output, followed by a count of the
number of underlying transactions that make-up the movement.
Note that the Transaction Itemization option will not be available if the Output
Batch Details option has been selected.
By default, this option will not be available. Please contact your usual Citi
representative in order to have your CitiDirect client configuration set to enable
the selection of this option.
The range of data items available is shown in the Further Payment Description
section.
Note that there is no limit to the number of configuration library entries that can
be created. You can therefore set different orders and suppression rules for
each of your export profiles, reflecting the business context in which the data is
used.
Please contact your usual Citi representative for assistance with creating
transaction detail configurations.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 69 of 76
Configuration Option Details
As standard, when enabled, BAI Type Codes are output in Tag 86 of your files.
However, you can use this configuration option to select for BAI Type Codes to
Amend be also output in sub-field 6 of Tag 61.
SWIFT / SAP
Tag 61 If you would like to receive BAI Type Codes in both Tag 86 and Tag 61, please
contact your usual Citi representative so that you client preference settings can
be updated accordingly.
As standard, data received by Citi in Tag 86 of an MT940 for a third party bank
account will be re-formatted in line with the rules set out in the Tag 86 -
Information to Account Owner section of this document. This ensures a
consistent treatment for Tag 86 on both your third party and Citi accounts.
Retain Third Party However, the Retain Third Party Bank Tag 86 Format configuration option
Bank Tag 86 Format allows you to receive Tag 86 data in the format originally sent by the other
bank.
With this option selected, Tag 86 for your Citi accounts will be formatted in line
with the Tag 86 - Information to Account Owner section whilst Tag 86 for your
third party bank accounts will be output unchanged by Citi.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 70 of 76
5.5.5. Field Labels
The table below describes the Field Labels configuration options.
This configuration option governs whether a SWIFT header and trailer block will
be output in your files.
With this option selected, the output for each account/statement date
Add SWIFT Header combination will begin with a SWIFT header and end with the End of Block
character ( } ).
Please refer to the SWIFT Header Block and SWIFT Trailer Block sections for
details of the structure and content of the SWIFT header and trailer.
This configuration option governs how the field label is formatted in Tag 28C of
your files.
Customisable Field
28 Label
As standard, the label will be output as :28: in your files. However you can
arrange for the label to be output as :28C: if required.
This configuration option governs whether the ?31 (Ordering Account Number)
sub-field will be output in Tag 86 of your files.
Output ?31
Sub-Field As standard, the sub-field will not be output. If you would like to receive this
sub-field in your SAP files, please contact your usual Citi representative so
that you client preference settings can be updated accordingly.
5.5.6. Balances
The table below describes the Balances configuration options.
Output Tag 64 – This configuration option governs whether Tag 64 (Closing Available Balance)
Closing Available is output in your files. As standard, Tag 64 will be output where data is
Balance available, however you can arrange for it to be suppressed, if required.
Output Tag 65 – This configuration option governs whether Tag 65 (Forward Available Balance)
Forward Available is output in your files. As standard, Tag 65 will be output where data is
Balance available, however you can arrange for it to be suppressed, if required.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 71 of 76
6. Glossary of Terms
The table below provides definitions for terms, abbreviations and acronyms used in this document.
Term Description
A balance that reflects funds in your account that are available for
Available Balance
immediate use.
Channel & Enterprise A division of CTS, offering secure electronic access to a wide range of
Services cash management, trade, fund and securities services data.
Entry Date Date on which entries are made in the records of an account
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 72 of 76
Term Description
The date to which a Customer Statement relates (i.e. the date of the
Statement Date
opening and closing balances).
Third Party Bank An arrangement for using Citi to obtain Customer Statements for
Reporting Service your accounts held at third party banks.
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 73 of 76
Index
A
Account Number ..........................................................................................................................................7, 16
Account Output Format Library .......................................................................................................................61
Activity Only ........................................................................................................................................ 52, 53, 55
Add SWIFT Header .........................................................................................................................................71
Amend SWIFT / SAP Tag 61 ..........................................................................................................................70
Available Balance
Closing .......................................................................................................................................... 7, 30, 31
Forward ................................................................................................................................................7, 31
B
BAI Type Codes ..................................................................................................................... 23, 24, 59, 72, 73
Bank Reference ........................................................................................................................................ 21, 23
Batch References ............................................................................................................................................69
Branch Code Library .......................................................................................................................................61
Business Date Type ........................................................................................................................... 50, 55, 56
Entry Date versus Statement Date ..........................................................................................................52
Value Date versus Statement Date ..........................................................................................................53
Business Days Only ........................................................................................................................................55
C
Channel & Enterprise Services .............................................................................................................. 1, 5, 72
CitiDirect
AFRD........................................................................................................................................................65
Users ........................................................................................................................................................65
Code Pages ........................................................................................................................................ 63, 64, 65
Dynamic Code Page Selection ................................................................................................................65
Configuration Options
Account Output Format Library ................................................................................................................61
Activity Only................................................................................................................................. 52, 53, 55
Add SWIFT Header ..................................................................................................................................71
Amend SWIFT / SAP Tag 61 ...................................................................................................................70
Apply SWIFT Character Set X .................................................................................................................62
Branch Code Library ................................................................................................................................61
Business Date Type .................................................................................................................... 50, 55, 56
Business Date Type Comparison ..................................................................................................... 52, 53
Business Days Only .................................................................................................................................55
Controlling how data will be exported ......................................................................................................49
Controlling what data will be exported .....................................................................................................49
Controlling when data will be exported ....................................................................................................49
Controlling where data will be exported ...................................................................................................49
Customisable Field 28 Label ....................................................................................................................71
Dynamic Code Page Selection ................................................................................................................65
Encoding Set ............................................................................................................................................63
Export Enhanced Transaction Details ......................................................................................................66
Export File Code Page Selection ................................................................................................ 63, 64, 65
Export IBANs ............................................................................................................................................61
Export Profiles ..........................................................................................................................................49
Incremental End of Day Option ................................................................................................................57
Incremental Intra Day Option ...................................................................................................................57
Output ?31 Sub-Field ...............................................................................................................................71
Output Batch Details ................................................................................................................................69
Output Tag 64 – Closing Available Balance ............................................................................................71
Output Tag 65 – Forward Available Balance ...........................................................................................71
Populate BAI Code in Tag 61/6 ...............................................................................................................70
Prefix Account with Branch Code ............................................................................................................61
Prefix Third Party Account with Branch Code ..........................................................................................61
Remove Duplicate Number ......................................................................................................................70
Remove Tag 61 Forward Slash Characters .............................................................................................62
Restrict by Account Currency...................................................................................................................54
Restrict by Account Number ....................................................................................................................54
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 74 of 76
Restrict by Bank Branch Number .............................................................................................................54
Retain Third Party Bank Tag 86 Format ..................................................................................................70
Select by Value Date ...............................................................................................................................51
Select by Entry Date ................................................................................................................................51
Select by Relative/Absolute Dates ...........................................................................................................50
Select by Statement Date ........................................................................................................................51
Select By Value Date including Back Values ...........................................................................................51
Start Date/End Date .................................................................................................................................50
Start Time/End Time ................................................................................................................................50
Straight Through Reconciliation Library ................................................................................ 66, 67, 68, 69
Suppress Empty Sub Fields .....................................................................................................................70
Suppress Payroll Data .............................................................................................................................68
SWIFT Entry Codes .................................................................................................................................60
Third Party Bank Type Code Mapping Library .........................................................................................60
Transaction Details Configuration Library ................................................................................................69
Transaction Itemization ............................................................................................................................67
User Login Language Code Page ............................................................................................................65
Wait for all EOD Statement Data ................................................................................................ 52, 53, 56
Controlling how data will be exported .............................................................................................................49
Controlling what data will be exported ............................................................................................................49
Controlling when data will be exported ...........................................................................................................49
Controlling where data will be exported ..........................................................................................................49
CTC Codes ......................................................................................................................................................59
Customer Reference .......................................................................................................................... 21, 23, 46
D
Delimiters...........................................................................................................................................................9
Deviations from SWIFT Standard......................................................................................................................6
E
Entry Date................................................................................................................... 19, 23, 51, 52, 55, 70, 72
Export Enhanced Transaction Details .............................................................................................................66
Export IBANs ...................................................................................................................................................61
Export Profiles .................................................................................................................................................49
F
Field 28 Label ..................................................................................................................................................71
Field Lengths .....................................................................................................................................................8
Field Types ........................................................................................................................................................8
I
IBAN ......................................................................................................................................................... 16, 73
Incremental End of Day Option .......................................................................................................................57
Incremental Intra Day Option ..........................................................................................................................57
Itemized Reporting ..........................................................................................................................................67
L
Ledger Balance
Closing .......................................................................................................................................... 7, 29, 53
Opening ......................................................................................................................................... 7, 18, 53
O
Output ?31 Sub-Field ......................................................................................................................................71
Output Batch Details .......................................................................................................................................69
Output Tag 64 – Closing Available Balance ....................................................................................................71
Output Tag 65 – Forward Available Balance ..................................................................................................71
P
Payroll Data Suppression/Masking .................................................................................................................68
Payroll Indicator ...............................................................................................................................................68
Populate BAI Code in Tag 61/6 .......................................................................................................................70
Prefix Account with Branch Code ....................................................................................................................61
Prefix Third Party Account with Branch Code .................................................................................................61
R
Record Structure ...............................................................................................................................................7
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 75 of 76
Record Tags ......................................................................................................................................................6
Remove Duplicate Number .............................................................................................................................70
Retain Third Party Bank Tag 86 Format .........................................................................................................70
S
Sample Data ........................................................................... 14, 15, 16, 17, 18, 23, 28, 29, 30, 31, 32, 33, 34
SAP MT940 Code Reference Tables ....................................................................................... 5, 20, 26, 35, 60
SAP MT940 Configuration Options .............................................................................................................5, 49
SAP MT940 Data Map ..................................................................................................................... 5, 7, 10, 12
SAP MT940 Format Rules ............................................................................................................................5, 6
SEPA ........................................................................................................................................................ 21, 73
Sort Order ..........................................................................................................................................................7
Statement Date............................................................................................................. 7, 51, 52, 53, 56, 72, 73
Statement Number ..........................................................................................................................................17
Straight Through Reconciliation Library ....................................................................................... 66, 67, 68, 69
Suppress Empty Sub Fields ............................................................................................................................70
Suppress Payroll Data .....................................................................................................................................68
SWIFT Character Set ......................................................................................................................................62
SWIFT Header.................................................................................................................................................71
T
Third Party Bank Type Code Mapping Library ................................................................................................60
Transaction Amount ........................................................................................................................................20
Transaction Details Configuration Library .......................................................................................................69
Transaction Itemization ...................................................................................................................................67
V
Value Date ...................................................................................................... 19, 20, 23, 36, 51, 53, 55, 72, 73
Value Date including Back Values ..................................................................................................................51
W
Wait for all EOD Statement Data ........................................................................................................ 52, 53, 56
® th
Exporting Data in SAP MT940 Format 4 December 2014 #18 Page 76 of 76