> ## Documentation Index
> Fetch the complete documentation index at: https://endclose.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Xero integration

> Connect your Xero organization to End Close with read-only access to its accounting transactions, using Xero's OAuth sign-in.

Connecting Xero gives End Close read-only access to your Xero organization's accounting transactions, so your ledger can be reconciled against bank and processor data in End Close. You connect with Xero's own sign-in, and End Close never sees your Xero password.

## At a glance

| | |
| - | - |
| **Connects as** | Xero OAuth 2.0, scope `accounting.transactions.read` |
| **Access** | Read-only. End Close can't create or change anything in Xero. |
| **Who can set it up** | Admins |
| **Per environment** | Yes. One Xero connection per End Close environment. |

## Prerequisites

* An End Close admin.
* A Xero user who can authorize apps for the organization.

## Connect Xero

**1. Open Xero in End Close**

Go to **Settings → Integrations** and choose **Xero** under **ERP and accounting**.

**2. Authorize End Close in Xero**

Choose **Connect**. End Close sends you to Xero. Sign in, choose the organization, and allow access.

**3. Return to End Close**

Xero sends you back to End Close, and the Xero dialog shows **Connected**.

## Get Xero data into streams

After you connect, End Close sets up the data streams your Xero data lands in with you. Contact [founders@endclose.com](mailto:founders@endclose.com) to start. You can also push ledger lines to an API data stream yourself; see the [API overview](https://endclose.com/docs/api-reference/overview.md).

## FAQ

> [accordion] Can End Close post journal entries to Xero?
>
> No. The Xero connection is read-only. Writing journal entries from the close is available for [QuickBooks Online](https://endclose.com/docs/integrations/quickbooks.md) and [Campfire](https://endclose.com/docs/integrations/campfire.md) on request.

> [accordion] Can I connect more than one Xero organization?
>
> Each End Close environment holds one Xero connection. Connect another organization in a separate environment.

## Related

> [card] [How connections work](https://endclose.com/docs/integrations/how-connections-work.md)
>
> Streams, environments and who can connect.

> [card] [Reconciliations](https://endclose.com/docs/concepts/reconciliations.md)
>
> Match ledger records against your bank.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.