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

# Xero Invoices Payment

> Integrate HitPay payment gateway into your Xero Invoices

## Overview

This section elaborates on how you can integrate HitPay payments into your Xero invoices. With this integration, your customers can pay your Xero invoices using HitPay payment methods like PayNow, Credit Card, etc. To get started, make sure you have the following:

1. Fully verified [HitPay](/setup/account_creation) account.
2. Make sure the payment methods you want to offer are [enabled](/payments/online_payments#how-to-enable-payment-methods) in your HitPay account.

## Integration Guide

Follow these steps to seamlessly integrate HitPay payments into your Xero Invoice:

1. Log in to your **Xero Dashboard**, navigate to **Accounting > Chart of Accounts > Add Account**, and enable the option "Enable payments to this account".
   <img src="https://mintcdn.com/hitpay/oHF66ce96akmC0Fe/images/xero/xero_enable.png?fit=max&auto=format&n=oHF66ce96akmC0Fe&q=85&s=df82837cd9c619091a0539f7cb2a0b45" alt="Enable Xero" width="1440" height="809" data-path="images/xero/xero_enable.png" />

2. Log in to your [HitPay Dashboard](https://dashboard.hit-pay.com), go to **Others > Integrations**, and click the **Xero (Payment Gateway)** card under the **Payments** section.

3. Click the **Connect to Xero** button. This will navigate you to the Xero Login screen. Enter your Xero credentials, select your organisation, and continue.

4. After you authorise, you are returned to the HitPay dashboard with a **"Successfully authorized"** confirmation — your Xero connection is now active.

5. Next, set up the payment integration. Go to the **Integrations** page, switch to the **Available** tab, and select **Xero (Payment Gateway)**:
   <img src="https://mintcdn.com/hitpay/oHF66ce96akmC0Fe/images/xero/xero_integration_payment.png?fit=max&auto=format&n=oHF66ce96akmC0Fe&q=85&s=35d87c596867f69e993f05abb0852468" alt="Xero Integration Payment page" width="1911" height="930" data-path="images/xero/xero_integration_payment.png" />
   * **Payment methods**: choose the payment methods you want to offer on your Xero invoices
   * Click **Create**

That's it! Your Xero invoices can now be paid using HitPay payment methods 🎉 Your customers will see a payment button (e.g. "PayNow") on your Xero online invoices:

<img src="https://mintcdn.com/hitpay/oHF66ce96akmC0Fe/images/xero/xero_invoice.png?fit=max&auto=format&n=oHF66ce96akmC0Fe&q=85&s=895ea8e3d93e56fc04ca9ab749153d0e" alt="Xero invoice with HitPay payment button" width="1440" height="809" data-path="images/xero/xero_invoice.png" />

<Note>You can customise the payment button label in your Xero sync settings (the **Xero PayNow button text** field). See [Xero Sync settings](/connections/xero#configuring-sync-settings).</Note>

<Warning>
  Please note: There will be a 0.2% surcharge in the fees when payments are processed using this plugin, in addition to the existing pricing.
</Warning>

## Feed Sales Data to Xero

The same Xero connection can also feed your HitPay sales, fees, and refund data into Xero automatically once a day — including a **HitPay Clearing Account** (created when you first save your sync settings) and a daily settlement transfer to your bank account for easy reconciliation.

See [Xero Sync](/connections/xero) for the full setup and configuration guide.

<Note>Payments made on Xero invoices through this plugin are reconciled against the invoice itself, so the sales feed intentionally excludes them — no double counting.</Note>

## FAQs

<AccordionGroup>
  <Accordion title="Does HitPay send an email after the Xero invoice is paid?">
    No — HitPay does not send an email confirmation to your customer when the payment is made through Xero. Xero handles invoice communication.
  </Accordion>

  <Snippet file="checkout-faq.mdx" />
</AccordionGroup>
