Getting your data
![Xero](https://www.synchub.io/i/logos/xero.png)
Looking to free your Xero data? Good, you’ve come to the right place.
## Getting connected
1. Select **Connections** from the main menu
2. Click the **New** button
3. Select **Xero**
4. Give it a name (this is especially useful if you’re creating multiple Xero connections)
5. Authorise the connection by following the prompts to sign in to your Xero account
6. Done. Now watch as SyncHub begins retrieving your historical data.
To connect multiple Xero accounts, simply follow the steps above for each one. Just make sure to check that your SyncHub plan allows for multiple API connections.
## Available endpoints
SyncHub works by regularly querying each endpoint in the Xero API, checking for new and modified data. For each endpoint SyncHub produces a corresponding data table in your reporting tool. These are the endpoints currently available:
- Account
- Bank transaction
- Bank transaction line item tracking category
- Bank transfer
- Batch payment
- Budget
- Contact
- Contact group
- Credit note
- Credit note item
- Credit note item tracking category
- Employee
- Contact history
- Bank transaction history
- Bank transfer history
- Credit note history
- Manual journal history
- Invoice history
- Item history
- Payment history
- Purchase order history
- Repeating invoice history
- Quote history
- Overpayment history
- Prepayment history
- Batch payment history
- Invoice
- Invoice item
- Invoice item tracking category
- Item
- Journal
- Journal item
- Expense claim
- Manual journal
- Organisation
- Overpayment
- Overpayment item
- Payment
- Prepayment
- Prepayment item
- Prepayment item tracking category
- Purchase order
- Purchase order item tracking category
- Quote
- Quote item
- Quote item tracking category
- Repeating invoice
- Repeating invoice item
- Repeating invoice item tracking category
- Tax rate
- Tracking category
- User
- Balance sheet report
- Profit and loss report by fiscal year
- Profit and loss report by fiscal year and tracking category
- Profit and loss report by month
- Profit and loss report by month and tracking category
- Trial balance report
- Bank transaction line item
- Batch payment payment
- Budget tracking category
- Contact contact group
- Contact address
- Contact phone
- Credit note allocation
- Journal item tracking category
- Manual journal line item
- Over payment allocation
- Purchase order line item
- Tracking category option
- Report row cell
- Report row
- Budget account balance
- Manual journal item tracking category
Need more data? No problem, please [let us know](https://www.synchub.io/contact) and we'll see if we can add it. Or if you're a data nerd like us, feel free to check out the Xero API documentation to see what’s available.
### What data does SyncHub take from Deputy?
SyncHub extracts the endpoints above from Deputy, and stores it in your data warehouse.
### What data does SyncHub create or modify in Deputy?
Nothing. SyncHub is read-only and never sends data back to Deputy.
## Building your reports
SyncHub stores data in a relational database optimized for reporting. This means that reporting from your favourite reporting tool is as easy as using their standard _database connector_. We have detailed walkthroughs for the most popular reporting tools here:
- [Power BI](/kb/powerbi?api=xero)
- [Excel](/kb/excel?api=xero)
- [Tableau](/kb/tableau?api=xero)