> For the complete documentation index, see [llms.txt](https://apidocs.arionbanki.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.arionbanki.is/b2b-2013-schema/b2b-services/b2b-foreign-statements-service/fields.md).

# Fields

The following sections cover individual aspects of the service and describe how the information is presented in the messages.

## Contents of service <a href="#toc413067910" id="toc413067910"></a>

The functions available through the service plus their input and output can be seen in the following table. In the case of input and output it involves names of the classes which the service receives and produces.

<table data-full-width="true"><thead><tr><th>Function</th><th>Input</th><th>Description</th><th>Output</th></tr></thead><tbody><tr><td>GetForeignAccountTransactions</td><td><a href="#_toc429742694">ForeignAccountTransactionQuery</a></td><td>Gets overview of the users´s foreign account movements</td><td><a href="#foreignaccounttransactionsresult">ForeignAccountTransactionsResult</a></td></tr><tr><td>GetForeignAccountStatements</td><td><a href="#_toc429742694">ForeignAccountTransactionQuery</a></td><td>Gets overview of the users´s foreign account statement</td><td><a href="#foreignaccounttransactionsresult">ForeignAccountTransactionsResult</a></td></tr><tr><td>GetForeignAccounts</td><td><a href="#foreignaccountsquery">ForeignAccountsQuery</a></td><td>Gets overview of the user´s foreign accounts</td><td><a href="#_ref429666125">ForeignAccountsResult</a></td></tr></tbody></table>

## ForeignAccountStatementQuery <a href="#toc429742694" id="toc429742694"></a>

The class ForeignAccountStatementQuery contains input for the function GetForeignAccountStatements.

| Input      | Description      |
| ---------- | ---------------- |
| Account    | Account Number   |
| DateFrom   | Date from        |
| DateTo     | Date to          |
| PageNumber | Page number      |
| PageSize   | Records Per page |

## ForeignAccountStatementResult <a href="#toc429742695" id="toc429742695"></a>

The class ForeignAccountStatementsResult is produced as output from function GetForeignAccountStatements. The class contains information about account and statements.

| Output         | Description                                                                        |
| -------------- | ---------------------------------------------------------------------------------- |
| ForeignAccount | Information for account. See [ForeignAccount](#_ref429661378)                      |
| Transactions   | Collection<[ForeignAccountStatement](#_toc429742694)> Transactions of the account. |
| TotalCount     | The total number of statements of the account.                                     |

## ForeignAccount <a href="#ref429661378" id="ref429661378"></a>

The class ForeignAccount contains information for the account.

<table data-full-width="false"><thead><tr><th>Output</th><th>Description</th></tr></thead><tbody><tr><td>AccountNumber</td><td>Account number</td></tr><tr><td>AccountType</td><td>Type of the account</td></tr><tr><td>OwnerName</td><td>Owner of the account</td></tr><tr><td>OwnerPersonId</td><td>PersonId of the account owner</td></tr><tr><td>Currency</td><td>Currency of the account</td></tr><tr><td>Balance</td><td>Balance (Latest Closing balance)</td></tr><tr><td>Details</td><td>Details for the account. See <a href="#_toc429742697">ForeignAccountDetails</a></td></tr></tbody></table>

## ForeignAccountDetails <a href="#toc429742697" id="toc429742697"></a>

The class ForeignAccountDetails contains details for account.

| Output      | Description  |
| ----------- | ------------ |
| SwiftNumber | Swift number |

## ForeignAccountStatement <a href="#ref433879084" id="ref433879084"></a>

The class ForeignAccountStatement is produced as output from function GetForeignAccountStatements.

| Output           | Description                                     |
| ---------------- | ----------------------------------------------- |
| ReferenceNumber  | Reference number                                |
| RelatedReference | Related reference number                        |
| StatementNumber  | Statement number                                |
| SequenceNumber   | Running number / Sequence number                |
| StatementDate    | Statement date and time                         |
| OpeningBalance   | Opening balance                                 |
| InterimBalance   | Current Accounting Balance                      |
| StatementData    | Information about the Statement in MT940 format |
| CreatedTimestamp | Creation date and time of the statement record. |

## ForeignAccountTransaction <a href="#toc429742699" id="toc429742699"></a>

The class ForeignAccountTransaction is produced as output from function GetForeignAccountTransactions.

| Output                   | Description                                                                                       |
| ------------------------ | ------------------------------------------------------------------------------------------------- |
| ReferenceNumber          | Reference number                                                                                  |
| RelatedReference         | Related reference number                                                                          |
| StatementNumber          | Statement number                                                                                  |
| SequenceNumber           | Running number / Sequence number                                                                  |
| StatementDate            | Statement date and time                                                                           |
| OpeningBalance           | Opening balance                                                                                   |
| ValueDate                | Value Date                                                                                        |
| EntryDate                | Entry date/Transaction date/Registration date                                                     |
| DebitCreditMark          | Debit Credit mark C (Credit) or D (Credit)                                                        |
| IsPaymentReversed        | Adjustment transaction                                                                            |
| FundsCode                | 3 character of the Currency Code                                                                  |
| Amount                   | Amount – negative for Deposit (D or RC), positive for C or RD)                                    |
| Currency                 | Currency of the account                                                                           |
| TransactionType          | Transaction type (e. 940)                                                                         |
| CustomerReference        | Customer Reference                                                                                |
| BankReference            | Bank reference                                                                                    |
| Closing Balance          | Closing balance (negative for deposit) Opening balance + sum of the transaction amount            |
| Description              | Supplementary details. Information for deposit, manual entry, (Can contain customer reference)    |
| InterimBalance           | Current Accounting Balance                                                                        |
| ClosingAvailableBalance  | Closing Available Balance                                                                         |
| ForwardAvailableBalanace | Forward Available Balance                                                                         |
| ExtraDescription         | Supplementary details. Information for withdrawal, manual entry, (Can contain customer reference) |
| CreatedTimestamp         | Creation date and time of the transaction record.                                                 |

## ForeignAccountsQuery

The class ForeignAccountQuery contains input for function GetForeignAccounts.

| Input      | Description      |
| ---------- | ---------------- |
| PageNumber | Page number      |
| PageSize   | Records per page |

## ForeignAccountsResult <a href="#ref429666125" id="ref429666125"></a>

The class ForeignAccountsResult is produced as output for function GetForeignAccounts. The class contains information for all accounts for the logged in user.

| Output     | Description                                                |
| ---------- | ---------------------------------------------------------- |
| Accounts   | Collection<[ForeignAccount](#_ref429661378)> all accounts. |
| TotalCount | Total number of accounts of the logged in user.            |

## ForeignAccountTransactionQuery <a href="#toc429742701" id="toc429742701"></a>

The class ForeignAccountTransactionQuery contains input for the function GetForeignAccountTransactions.

| Input      | Description      |
| ---------- | ---------------- |
| Account    | Account Number   |
| DateFrom   | Date from        |
| DateTo     | Date to          |
| PageNumber | Page number      |
| PageSize   | Records Per page |

## ForeignAccountTransactionsResult

The class ForeignAccountTransactionsResult is produced as output from function GetForeignAccountTransactions. The class contains information about account and transactions.

| Output         | Description                                                                          |
| -------------- | ------------------------------------------------------------------------------------ |
| ForeignAccount | Information for account. See [ForeignAccount](#_ref429661378)                        |
| Transactions   | Collection<[ForeignAccountTransaction](#_toc429742699)> Transactions of the account. |
| TotalCount     | The total number of movements of the account.                                        |

## BankErrorFault

The class BankErrorFault contains information on errors which may occur when calling the service.

| Output           | Description                        |
| ---------------- | ---------------------------------- |
| GeneralErrorCode | General error code                 |
| GeneralErrorText | General error text                 |
| SourceErrorCode  | Source error code. Not implemented |
| SourceErrorText  | Source error text. Not implemented |
| BanksErrorCode   | Technical error code               |
| BanksErrorText   | Technical error text               |

### &#x20;<a href="#toc429742702" id="toc429742702"></a>
