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

# Xero Invoicing

> Learn how to connect Xero Invoicing with Alguna

This page explains how to use **Xero** as an invoicing platform with Alguna.

Please [click here](/integrations/accounting/xero) for a guide on how to set up an acounting integration.

***

## Connecting Xero

To connect your Xero account to Alguna, follow these steps:

1. Go to the [Integration View](https://app.alguna.io/settings/integrations) in Alguna.
2. Click **Connect** on the tile with Xero.
3. Choose the Xero organization you wish to connect to Alguna.
   * If you're testing in the **sandbox environment**, we recommend connecting to a **Xero Demo Company**.
     * *Tip: The Xero Demo Company automatically disconnects every 30 days*.
4. Authorize the connection between Xero and Alguna.
5. Set **Alguna** as your source of truth for customer and invoice creation.
6. Optionally, import existing customers from Xero into Alguna (this can be done at a later date as well).
7. Set up your **accounting ledger** and **payment accounts** for proper ledger entry mapping.

***

## Sending Invoices

When the default invoicing flow for customers is set to Xero, all invoices approved for customer issuing are created in Xero. Then, depending on your settings, they will be sent for payment collection.
You can set this process up in Alguna if you want invoices to be automatically released or if you want to review them manually first.
<Note>You can find how to set these preferences [here](/invoices/invoicing-config).</Note>

## Automatic Payment Reconciliation

If payments are collected through **Xero**, the reconciliation is automatically synced to Alguna. This means that the original payment source and the payment record are matched in both systems, keeping your invoicing reconcilation accurate in both systems.

***
