Skip to main content

Bank Transactions

Connectorly provides an enriched set of Bank Transaction records when compared to the data available from Xero's Bank Transactions API endpoint so that financial information necessary for accurate and meaningful reporting is readily available.

Written by Laszlo Molnar

Overview

Rather than simply providing access to Xero's raw API data, Connectorly reconstructs the financial information necessary for accurate and meaningful reporting.

Xero's Bank Transactions API endpoint does not return all transactions

Missing Cash Movements

Despite its name, Xero's Bank Transactions API endpoint does not return all transactions that have been posted to bank accounts.

Xero states in its API documentation:

“This endpoint includes spend and receive money transactions, overpayments and prepayments.”

The important distinction is that Xero does not include payments against invoices in the Xero Bank Transactions API endpoint; these are treated as different types of accounting transactions when it comes to its API.

For example, if a customer pays a sales invoice, or a business pays a supplier's bill, that payment is only recorded as a Payment in Xero. It is not recorded as a Bank Transaction, even though money has moved into or out of the bank account.

This means that if you rely on the Xero endpoint alone, it will significantly understate both cash receipts and cash payments, resulting in inaccurate cash flow reporting and bank balance calculations.

Missing Currency Revaluations

Changes in the base currency value of foreign currency bank balances, are also not returned from the Xero API.

Xero calculates foreign currency bank revaluations dynamically for its financial reports. Rather than generating a conventional journal for every change in exchange rate, Xero calculates the base currency value of foreign currency balances as at the reporting date.

Xero's own documentation explains that its Bank Revaluation system account is used to reflect currency movements in its Profit and Loss and other financial reports.

However, these dynamically calculated revaluation adjustments are not returned as individual transactions through either the Bank Transactions or Journals API endpoints.

How Connectorly solves this

Cash Movements

Connectorly reconstructs Bank Transactions from Xero's underlying general ledger journals, identifying accounting entries posted to bank accounts regardless of the type of transaction that generated them.

This captures all Bank Account movements meaning direct Spend and Receive Money transactions, invoice payments, supplier payments, bank transfers, refunds and other accounting entries affecting bank account balances are all included in the Connectorly Bank Transactions table.

In practice, this means that as long as the Bank Accounts are reconciled in Xero, the Bank Account balances in your reports should reflect reality.

A real-world example

For 24 March 2026, the Xero Bank Transactions API returns six transactions for Connectorly's own Xero organisation. However, the underlying accounting journals show ten bank account movements.

The four missing transactions are customer and supplier invoice payments, netting to £157.75. Using the Bank Transactions API alone would suggest a net cash outflow of £7.32. In reality, the underlying accounting records show a net cash inflow of £150.43.

By calculating bank transactions directly from the journals, Connectorly provides a comprehensive view of recorded bank account activity that can be reconciled against Xero's general ledger bank balances.

Currency Revaluations

When currency rates change, the value of any Foreign Exchange amount held in a Bank acount will change relative to the reporting currency of an Organisation.

Although Xero calculates these amounts for its reports, it doesn't return these amounts from the API.

To solve this, Connectorly calculates daily Bank Revaluation accounting adjustment amounts that are not supplied as ordinary bank transactions.

These are explicitly labelled REVALUATION and provide details of the exchange rate calculations in the Reference; for example:

Wise EUR 485.28 balance revalued at GBP 422.76 using latest rate of GBP:EUR 1.1478815458246 on 2026-07-20 Difference of GBP -6.72 from previous valuation (latest rate up to and including 23:59:59 UTC, source https://openexchangerates.org)

A simple example

Imagine a UK business holding €10,000 in a euro bank account, with no transactions taking place between two reporting dates.

Day 1 — GBP/EUR 1.25

Day 2 — GBP/EUR 1.20

£8,000.00

Bank balance: €10,000

£8,333.33

Bank balance: €10,000

Change in base currency valuation

+£333.33

Actual movement of money: €0.00

Transactions returned by the API: 0

Connectorly calculated revaluation: +£333.33

The business hasn't received any money, but its cash holdings are now worth £333.33 more in its base currency and this is reflected in the values returned by Connectorly.

Without calculating this adjustment, a running balance constructed from the journals would continue to show £8,000, whereas the Balance Sheet would show £8,333.33.

The result

Connectorly provides an enriched bank transactions dataset that accounts for both actual movements of money and changes in the valuation of foreign currency balances. This enables customers to:

  • Report on all recorded cash receipts and payments.

  • Calculate historical running bank balances.

  • Report on bank balances in both their original and base currencies.

  • Identify foreign exchange gains and losses on cash holdings.

  • Distinguish actual cash flows from currency revaluations.

  • Reconcile calculated bank balances against Xero's financial reports, subject to exchange rate differences.

Simplified Forecasting with Bank Transactions

To simplify forecasting and budgeting, Connectorly automatically creates additional Bank Transaction entries (which can be filtered by Bank Transaction Status).

Forecast Invoice value created and added to the Actual Bank Transactions that come from Xero. The Bank Transaction Status field is used to distinguish them as follows:

Bank Transaction Status

Notes

AUTHORISED

Actual Bank Transaction

FORECAST INVOICE

These are calculated so that the effect of future REPEATING Invoices on forecasts and budgets can be seen.

Multi-Currency Xero Support

As well as providing the Amount values of the original Bank Transaction, values for your chosen Reporting Currency are calculated. These are signified by (RC) after their name.

If you are working with Xero Bank Transaction data from multiple organisations, use the Reporting Currency (RC) values for any calculations, to avoid adding amounts that are in different currencies.

Data Dictionary

Field

Type

Notes

Amount

Number

The amount of the bank transaction in the currency that Xero reports in. For example, if the Xero Organisation reports in USD, even if this was a EUR bank account, this would be in USD. Amounts are signed, so that credits are positive; and debits are negative. If you have grouped multiple Xero Organisations which report in different currencies, it doesn't make sense to sum this field.

Amount (Currency)

Number

The amount of the bank transaction in the currency that it was transacted in. For example for a EUR bank account, this would be in EUR and for a USD it would be in USD. Amounts are signed, so that credits are positive; and debits are negative. If there are multiple bank accounts with different currencies it doesn't make sense to sum this field as these would be summing different currencies.

Amount (RC)

Number

The amount of the bank transaction in the reporting currency set for Connectorly(s). For example, if the Xero Organisation reports in USD and you have set your reporting currency to be GBP, for a EUR bank account, this would be in GBP. Amounts are signed, so that credits are positive; and debits are negative. You can safely sum this field as the transactions are converted to the same reporting currency, even if there are multiple bank accounts with different currencies, across multiple, grouped Xero Organisations.

Bank Account Code

Text

Bank account code in Xero

Bank Account ID

Text

Bank Account ID. This is unique within a Xero Organisation.

Bank Account Name

Text

Bank account name in Xero

Bank Currency Code

Text

The Bank Transaction currency

Bank Transaction ID

Text

Bank Transaction Status

Text

{'AUTHORISED', 'DELETED', 'FORECAST INVOICE'}

Connection Name

Text

The name of the Connection. Typically the name of the Xero Organisation.

Contact ID

Text

The unique identifier for the Contact. This is guaranteed to be unique within a Xero Organisation.

Contact Name

Text

The name of the Contact (Supplier or Customer).

Credit Amount

Number

The amount credited (received or paid in) in the currency that Xero reports in. For example, if the Xero Organisation reports in USD, even if this was a EUR bank account, this would be in USD. If the bank was debited, then no value will be given here. Amounts are positive. If you have grouped multiple Xero Organisations which report in different currencies, it doesn't make sense to sum this field.

Credit Amount (Currency)

Number

The amount credited (received or paid in) in the currency that it was transacted in. For example for a EUR bank account, this would be in EUR and for a USD it would be in USD. If the bank was credited, then no value will be given here. Amounts are positive. If there are multiple bank accounts with different currencies it doesn't make sense to sum this field.

Credit Amount (RC)

Number

The amount credited (received or paid in) in the reporting currency set for Connectorly(s). For example, if your Organisation reports in USD and you have set your reporting currency to be GBP, for a EUR bank account, this would be in GBP (not EUR). For USD transactions they would also be in GBP. If the bank was debited, then no value will be given here. Amounts are positive. You can safely sum this field as the transactions are converted to the same reporting currency, even if there are multiple bank accounts with different currencies, across multiple, grouped Xero Organisations.

Currency Code

Text

The Reporting Currency Code

Data current as of

Datetime

When the Data was taken from Xero.

Debit Amount

Number

The amount debited (spent or withdrawn) in the currency that Xero reports in. For example, if the Xero Organisation reports in USD, even if this was a EUR bank account, this would be in USD. If the bank account was credited, no value will be given here. Amounts are positive. If you have grouped multiple Xero Organisations, and are multiple bank accounts with different currencies it doesn't make sense to sum this field.

Debit Amount (Currency)

Text

The amount debited (spent or withdrawn) in the currency that it was transacted in. For example for a EUR bank account, this would be in EUR and for a USD it would be in USD. If the bank was credited, then no value will be given here. Amounts are positive. If there are multiple bank accounts with different currencies it doesn't make sense to sum this field.

Debit Amount (RC)

Number

The amount debited (spent or withdrawn) in the reporting currency set for Connectorly(s). For example, if your Organisation reports in USD and you have set your reporting currency to be GBP, for a EUR bank account, this would be in GBP (not EUR). For USD transactions they would also be in GBP. If the bank was credited, then no value will be given here. Amounts are positive. You can safely sum this field as the transactions are converted to the same reporting currency, even if there are multiple bank accounts with different currencies, across multiple, grouped Xero Organisations.

Description

Text

Reference

Text

The Reference (if any) from the Invoice that created the Bank Transaction. For a forecast bank transaction, the invoice the bank transaction forecast is based on.

Reporting Currency Rate

Number

Source Type

Text

One of 'ACCPAY', 'ACCPAYCREDIT', 'ACCPAYPAYMENT', 'ACCREC', 'ACCRECCREDIT', 'ACCRECPAYMENT', 'APCREDITPAYMENT', 'APOVERPAYMENT', 'APPREPAYMENT', 'ARCREDITPAYMENT', 'AROVERPAYMENT', 'CASHPAID', 'CASHREC', 'DIRECTCOSTS', 'EXPCLAIM', 'EXPPAYMENT', 'MANJOURNAL', 'OVERHEADS', 'SALES', 'REVALUATION' or 'TRANSFER'

Transaction Date

Datetime

The date of the Bank Transaction

Did this answer your question?