# Xero datasets and fields

> The 3 datasets Maven lands from Xero, every field in them, and how the connection syncs.

Source: https://mavendata.ai/docs/integrations/xero

Maven lands 3 datasets from Xero in each client workspace. This page lists every one with all of its fields. For the metrics, reports and setup steps, see the [Xero integration page](https://mavendata.ai/integrations/xero).

## Connection and sync

You connect Xero by signing in to it and approving access, so nobody shares a password.

The first Xero sync pulls the most recent 30 days so the workspace fills quickly. A follow-up backfill then adds older history, up to 12 months in total. After that, each scheduled sync re-reads the last 3 days, so late changes are picked up.

## Datasets

### Invoices

| Field | Type |
| --- | --- |
| date | Date |
| account ID | Text |
| account name | Text |

### Payments

| Field | Type |
| --- | --- |
| date | Date |
| account ID | Text |
| account name | Text |

### Accounts

| Field | Type |
| --- | --- |
| date | Date |
| account ID | Text |
| account name | Text |
