> This page is for version 2025-09-18 (default).
> For other versions, use one of these documentation indexes:
> - 2025-09-18 (default): https://apidocs.polytomic.com/2025-09-18/llms.txt
> - 2024-02-08: https://apidocs.polytomic.com/2024-02-08/llms.txt
> - 2023-04-25: https://apidocs.polytomic.com/2023-04-25/llms.txt
> - 2022-12-12: https://apidocs.polytomic.com/2022-12-12/llms.txt
> - 2021-05-23: https://apidocs.polytomic.com/2021-05-23/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# Xero

Supports:
* ✅ Bulk sync source
* ✅ Connection Proxy


## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>connect_mode</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Connection method<br/><br/>Select client credentials to use a Xero custom connection. Accepted values: `browser`, `clientcredentials` <a href="#connect-mode-clientcredentials">↓</a></td>
<td><code>required</code></td>
</tr>
</tbody>
</table>

<table>
<thead>
<tr>
<th>Read-only property</th><th>Type</th><th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>tenant_name</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Organization name</td>
</tr>
<tr>
<td><code>tenant_type</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Organization type</td>
</tr>
</tbody>
</table>

<a id="connect-mode-clientcredentials"></a>

#### `connect_mode`

When `connect_mode` is `clientcredentials`:

<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>client_id</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Client ID</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>client_secret</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Client secret</td>
<td><code>required</code></td>
</tr>
</tbody>
</table>

```json
{
  "name": "Xero connection",
  "type": "xero",
  "configuration": {
    "client_id": "your-client-id",
    "client_secret": "your-client-secret",
    "connect_mode": "clientcredentials"
  }
}
```


#### Example

```json
{
  "name": "Xero connection",
  "type": "xero",
  "configuration": {
    "connect_mode": "browser"
  }
}
```




## Bulk Sync
### Source
Xero connections may be used as a bulk sync source. No additional configuration options are required.