Home
Xero
Xero Updateemployeetax Example
Xero Updateemployeetax Example
Accounting Bank Feeds Finance Financial Services Invoicing Payroll Small Business
Xero Updateemployeetax Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "updateEmployeeTax",
"method": "POST",
"path": "/Employees/{EmployeeID}/Tax",
"summary": "Updates the tax records for a specific employee",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"irdNumber": "111111111",
"taxCode": "M",
"esctRatePercentage": 17.5,
"isEligibleForKiwiSaver": true,
"hasSpecialStudentLoanRate": false,
"specialStudentLoanRatePercentage": null,
"specialTaxRatePercentage": null,
"kiwiSaverContributions": "MakeContributions",
"kiwiSaverOptOutDate": null,
"kiwiSaverContributionHolidayEndDate": null,
"kiwiSaverEmployeeContributionRatePercentage": 3,
"kiwiSaverEmployerContributionRatePercentage": 3,
"kiwiSaverEmployerSalarySacrificeContributionRatePercentage": 0,
"hasStudentLoanBalance": false,
"studentLoanBalance": null,
"studentLoanAsAt": null
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"id": "00000000-0000-0000-0000-000000000000",
"providerName": "provider-name",
"dateTimeUTC": "2020-08-24 20:57:27.543449",
"httpStatusCode": "OK",
"pagination": null,
"problem": null,
"employeeTax": {
"irdNumber": "111111111",
"taxCode": "M",
"esctRatePercentage": 17.5,
"isEligibleForKiwiSaver": true,
"hasSpecialStudentLoanRate": false,
"specialStudentLoanRatePercentage": null,
"specialTaxRatePercentage": null,
"kiwiSaverContributions": "MakeContributions",
"kiwiSaverOptOutDate": null,
"kiwiSaverContributionHolidayEndDate": null,
"kiwiSaverEmployeeContributionRatePercentage": 3,
"kiwiSaverEmployerContributionRatePercentage": 3,
"kiwiSaverEmployerSalarySacrificeContributionRatePercentage": 0,
"hasStudentLoanBalance": false,
"studentLoanBalance": null,
"studentLoanAsAt": null
}
}
}
]
}