# Accounts

## Overview

For the best experience, we recommend having your Xero integration set as below for your account sync behaviour and direction:

* Xero Resource: Accounts "Toggled on"
* Sync Direction: "StayOnHire receives"
* StayOnHire Edibility: "Cannot be edited"

<figure><img src="/files/lovB9PUDEgyhsk5RXasb" alt=""><figcaption><p>This configuration page is accessible in the settings of your StayOnHire account</p></figcaption></figure>

## Configuration & Setup

To ensure your integration is setup correctly, complete the following checklist:

1. Complete the Xero [Getting Started](/integrations/xero/getting-started.md) guide

## How it Works

A simple overview of how this will look in your business:

1. StayOnHire imports accounts from your Xero account
2. Accounts can be set on newly drafted invoices
3. Invoices sent from StayOnHire will have accounts mapped for Xero to receive

## Testing your integration

### Confirm StayOnHire Receives

As detailed in your [integration setup](https://app.stayonhire.com/pages/xero-wizard/sync-behaviour), accounts are locked to 'StayOnHire receives' and 'Cannot be edited':

<figure><img src="/files/X5IRNLYBqGo9KQIIOHha" alt=""><figcaption></figcaption></figure>

#### Manual sync from the settings page

With this in mind, navigate to [Settings > Accounting](https://app.stayonhire.com/org/accounting) and click the 'Manage Chart of Accounts' option:

<figure><img src="/files/4pXQGdMZU7hfAKT8Tcaw" alt=""><figcaption></figcaption></figure>

Accounts imported from Xero should fill this table as pictured below.&#x20;

If you've recently added a new account in Xero and would like to see it in your StayOnHire account, click the sync icon on the top right-hand side of the page:

<figure><img src="/files/fk3WYApBHbS67KgoL8VE" alt=""><figcaption></figcaption></figure>

### Confirm StayOnHire Sends

StayOnHire **does not send** accounts to Xero in any circumstance or configuration.

Xero is your source of truth for accounting-related data like accounts.

Our goal is to help your scheduling team execute jobs and have your billing team use this integration to send approved invoices to Xero, to remove the manual data entry and potential for human error.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stayonhire.com/integrations/xero/accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
