Getting Started

Building Blocks

Subscription Features

Custom Fields




Order Management

Billing Features


Payment Methods

Direct Debit Payments

Configuring Gateways

Revenue Recovery


Self-Serve Portal


Reports and Analytics

Data Privacy & Security

Fraud Management


Other Features


Third Party Integrations

Xero Reconciliation 


Reconciliation is the process of confirming that the balance in the Accounting books matches the balance in the Statement [gateway statement, bank statement etc].

Reconciliation helps your accounting team confirm that all the amounts appearing in the statement are brought to record into the books of accounts and a clear explanation emerges for the unreconciled items.


Only Chargebee sites with Stripe gateway configured are supported.

Problem Statement 

Imagine that you have a number of invoices processed on a daily basis. The payments are initiated from Chargebee and processed by your gateway. The gateway transfers the final amount (as a lump sum) at the end of the day or after a few days depending on the gateway, with no correlation to the original Invoices for which payments are processed. The problem statement is as follows:

How do we reconcile the invoices/transactions with the bank statement when one lump sum amount is deposited in the Bank Account (when you do not know which individual invoices make up the lump sum amount)?

Bank Transaction Invoices/Transactions
Sum of $490 credited to the Bank Account on 4th Jan Customer 1 - Invoice 001 - $99 (Paid on 2nd Jan)
Customer 2 - Invoice 002 - $99 (Paid on 2nd Jan)
Customer 3 - Invoice 003 - $99 (Paid on 2nd Jan)
Customer 4 - Invoice 004 - $99 (Paid on 2nd Jan)
Customer 5 - Invoice 005 - $99 (Paid on 2nd Jan)

Stripe can be linked to Xero as a payment processor. But Stripe cannot be connected to Xero to download the statement from Stripe (as you can do with your bank accounts)

The Reconciliation process can be simplified by following the steps mentioned below [this is a recommendation from Chargebee and may vary based on different accounting practices]:

  • Create an individual clearing account for every gateway in your Xero Chart of Accounts exclusively for transactions processed by a gateway
  • Download a Gateway statement from Chargebee
  • Upload the statement into the clearing account in Xero

Mapping payments between the Gateway statement, Invoices/transactions and your Bank statement becomes easy.


Currently, Chargebee only supports downloading and pushing account statements from Stripe Gateway.

Invoices/ Transactions Gateway Statement Bank Transaction
Customer 1 - Invoice 001 - $99 (Paid on 2nd Jan) Transaction processed, for $99
Customer 2 - Invoice 002 - $99 (Paid on 2nd Jan) Transaction processed, for $99
Customer 3 - Invoice 003 - $99 (Paid on 2nd Jan) Transaction processed, for $99
Customer 4 - Invoice 004 - $99 (Paid on 2nd Jan) Transaction processed, for $99
Customer 5 - Invoice 005 - $99 (Paid on 2nd Jan) Transaction processed, for $99
Processing Fee - $5.00
Transfer $490 to Bank account on 4th Jan
Sum of $490 credited to the Bank Account on 4th Jan

The gateway processing fees may be aggregated in case the fees was applied multiple times.

Steps to Reconcile Payments 

Step 1: Download Gateway Statement from Chargebee

  • Connect your Chargebee and Xero accounts
  • Navigate to the Xero Integration sync settings from Settings > Third Party Integrations > Xero > Reconciliation tab > Download gateway statement
  • Select the date range for which the statement should be downloaded
  • You can optionally select Include pending transactions for charges, payments and refunds that are in in-progress status to be included in the reconciliation statement
  • Similarly, select Include unsettled payouts to include settlements and bank transfers that are in in-progress status to be included in the reconciliation statement
  • You will be notified when the statement is available for download and once you receive the notification, download the statement

Step 2: Upload Gateway Statement in Xero

  • If you have an existing gateway account in Xero with Type as Bank to manage gateway statement, you can use that, else create a new gateway Account with Type as Bank to import the Gateway statement

All Paid Invoices shall be integrated from Chargebee to Xero into the Gateway account in Xero with Type as Bank.

Step 3 Run browser extension to reconcile

  • Download and install the browser extension - for Chrome.
  • Run the Reconciliation plugin
  • The plugin will start searching for transactions and find matches automatically
  • If a match is not found, the extension will skip the entry and proceed to the next transaction
  • The extension will not match Gateway Fees and Settlements to Bank Accounts, these should be matched automatically (as explained in the following steps)

Step 4: Map the Gateway Processing Fees Manually
Map the Gateway Processing fees to a specific expense account in Xero


You can also create a Reconciliation rule so Xero can match the conditions next time and automatically display as a match. Read more about Xero Reconciliation rules.

Step 5: Transfer settlement amount to a Bank Account

After the Payments and refunds are reconciled between the Gateway Statement and Gateway Bank account, the lump sum amount pending to be transferred in the Gateway Statement shall be transferred from the Gateway Bank Account to your actual Bank Account.

Step 6: Reconcile Bank statement

The gateway transfer should be reconciled against the bank statement entry to complete the Reconciliation process

Reconciling Multi-currency invoices

  1. If you have multiple bank accounts linked to Stripe and in Xero, you can generate separate statements per currency and upload them in currency-specific clearing accounts in Xero. Contact  to generate multi-currency statements.
  2. If you have multiple currencies in Chargebee and a single bank account in Stripe, Stripe will apply the exchange rate while processing payments. Chargebee will sync the exchange rate used in Stripe to Xero. You should manually reconcile such transactions.


1. How will the gateway statement be converted into Xero understandable format?

When you download the statement from Chargebee, Chargebee will understand the type of gateway and convert it to a format accepted by Xero.

2. How are multi-currency invoices managed?

For Multi currency users, the exchange rate will be derived from the Gateway (by calculating the exchange rate from the original and converted amount)

3. Why should I enable Include pending transactions and Include unsettled payouts?

Payment transactions and payment gateway payouts between your bank and gateway accounts do not happen in real-time. Let's say you are using the Stripe payment gateway for payment processing and you have a few transactions initiated via Stripe for the last week of May. You might actually see these amounts credited in your bank account only in the first week of June, until when they are marked "in progress" in your gateway statement. Similarly, Stripe payouts towards your bank account that includes settlements might take a while to be processed and does not happen in real time with every transaction.

Some businesses may find this sort of time lag difficult because, it could come in the way of the reconciliation process. To address this time lag and to help you with successful reconciliation during any given period of time, you can enable Include pending transactions and Include unsettled payouts. This will help reconcile all amounts successfully, even those that are in pending status.

Was this article helpful?