First, let's get your data
![Xero Payroll NZ](https://www.synchub.io/i/logos/xeropayrollnz.png)
Looking to free your Xero Payroll NZ 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 Payroll NZ**
4. Give it a name (this is especially useful if you’re creating multiple Xero Payroll NZ connections)
5. Authorise the connection by following the prompts to sign in to your Xero Payroll NZ account
6. Done. Now watch as SyncHub begins [retrieving your historical data](/kb/importingyourhistoricaldata?api=xeropayrollnz).
To connect multiple Xero Payroll NZ accounts, simply follow the steps above for each one.
### Available data tables
SyncHub works by regularly querying each endpoint in the Xero Payroll NZ API, checking for new and modified data. For each endpoint, SyncHub produces a corresponding data table in your reporting tool. These are the data tables currently available:
- Account
- Earnings rate
- Employee
- Employee leave
- Employee leave balance
- Employee leave type
- Employee salary and wage
- Leave type
- Pay run
- Payroll calendar
- Payslip
- Reimbursement
- Superannuation
- Timesheet
- Employee leave period
- Payslip earnings line
- Payslip superannuation line
- Payslip leave accrual line
- Payslip payment line
- Payslip employee tax line
- Payslip employer tax line
- Timesheet line
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 Payroll NZ API documentation to see what’s available.
### What data does SyncHub take from Xero Payroll NZ?
SyncHub extracts the endpoints above from Xero Payroll NZ, and stores it in your data warehouse.
### What data does SyncHub create or modify in Xero Payroll NZ?
Nothing. SyncHub is read-only and never sends data back to Xero Payroll NZ.