Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/v4/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,13 @@
"example" : "/Date(1573755038314)/",
"x-is-msdate-time" : true
},
"CreatedDateUTC" : {
"type" : "string",
"description" : "Created date UTC format. Only returned by GET Accounts and GET Accounts/{AccountID}, not on POST or PUT responses",
"readOnly" : true,
"example" : "/Date(1573755038314)/",
"x-is-msdate-time" : true
},
"AddToWatchlist" : {
"type" : "boolean",
"description" : "Boolean – describes whether the account is shown in the watchlist widget on the dashboard"
Expand Down Expand Up @@ -6510,7 +6517,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
<li data-group="Accounting" data-name="createAccount" class="">
<a href="#api-Accounting-createAccount">createAccount</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getBankStatementAccounting" class="">
<a href="#api-Finance-getBankStatementAccounting">getBankStatementAccounting</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/payroll-au-v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAuV2"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="PayrollAuV2"><a href="#api-PayrollAuV2">Methods</a></li>
<li data-group="PayrollAuV2" data-name="approveTimesheet" class="">
<a href="#api-PayrollAuV2-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3449,7 +3449,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down
29 changes: 21 additions & 8 deletions docs/v4/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,7 @@
},
"hasSpecialStudentLoanRate" : {
"type" : "boolean",
"description" : "Does the employee has a special student loan rate?",
"description" : "Does the employee have a special student loan rate?",
"example" : true
},
"specialStudentLoanRatePercentage" : {
Expand All @@ -2244,8 +2244,9 @@
},
"isEligibleForKiwiSaver" : {
"type" : "boolean",
"description" : "The employee eligibility for KiwiSaver.",
"example" : true
"description" : "The employee eligibility for KiwiSaver. Deprecated, replaced by kiwiSaverStatus. Omit this field from POST requests.",
"example" : true,
"deprecated" : true
},
"esctRatePercentage" : {
"type" : "number",
Expand All @@ -2260,6 +2261,12 @@
"example" : "MakeContributions",
"enum" : [ "MakeContributions", "OptOut", "OnAContributionsHoliday", "OnASavingsSuspension", "NotCurrentlyAKiwiSaverMember" ]
},
"kiwiSaverStatus" : {
"type" : "string",
"description" : "KiwiSaver eligibility. Required in POST requests for all tax codes except WT and NSW.",
"example" : "ActiveKiwiSaverMember",
"enum" : [ "ActiveKiwiSaverMember", "AutomaticallyEnrolledIntoKiwiSaver", "EmployedForLessThan28Days", "NotRequiredToBeAutomaticallyEnrolled", "OptedIntoKiwiSaver", "NotEligibleForKiwiSaver" ]
},
"kiwiSaverEmployeeContributionRatePercentage" : {
"type" : "number",
"description" : "Employee Contribution percentage.",
Expand Down Expand Up @@ -2310,6 +2317,11 @@
"description" : "The date of the letter from IR.",
"format" : "date",
"x-is-date" : true
},
"registeredForGST" : {
"type" : "boolean",
"description" : "Is the employee registered for GST? Required in POST requests when taxCode is WT.",
"example" : true
}
},
"description" : ""
Expand Down Expand Up @@ -4064,7 +4076,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down Expand Up @@ -14999,7 +15011,7 @@ <h1>updateEmployeeTax</h1>
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
<p class="marked"></p>
<p class="marked">Replaces the entire EmployeeTax record. This is not a partial update. Any field omitted from the request is treated as null and overwrites the stored value. To change individual fields, GET the current record, merge your changes, remove deprecated fields such as isEligibleForKiwiSaver, and POST the complete object.</p>
<p></p>
<br />
<pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/Employees/{EmployeeID}/Tax</span></code></pre>
Expand Down Expand Up @@ -15036,9 +15048,9 @@ <h3>Usage and SDK Samples</h3>
employeeTax.setIrdNumber("111111111");
employeeTax.setHasSpecialStudentLoanRate(true);
employeeTax.setSpecialStudentLoanRatePercentage(2);
employeeTax.setIsEligibleForKiwiSaver(true);
employeeTax.setEsctRatePercentage(17.5);
employeeTax.setKiwiSaverContributions(com.xero.models.payrollnz.EmployeeTax.KiwiSaverContributionsEnum.MakeContributions);
employeeTax.setKiwiSaverStatus(com.xero.models.payrollnz.EmployeeTax.KiwiSaverStatusEnum.ActiveKiwiSaverMember);
employeeTax.setKiwiSaverEmployeeContributionRatePercentage(4);
employeeTax.setKiwiSaverEmployerSalarySacrificeContributionRatePercentage(2);
employeeTax.setTaxCode(com.xero.models.payrollnz.TaxCode.MSL);
Expand Down Expand Up @@ -15183,19 +15195,20 @@ <h2>Parameters</h2>
"irdNumber" : "111111111",
"taxCode" : "M",
"esctRatePercentage" : 17.5,
"isEligibleForKiwiSaver" : true,
"hasSpecialStudentLoanRate" : false,
"specialStudentLoanRatePercentage" : null,
"specialTaxRatePercentage" : null,
"kiwiSaverContributions" : "MakeContributions",
"kiwiSaverStatus" : "ActiveKiwiSaverMember",
"kiwiSaverOptOutDate" : null,
"kiwiSaverContributionHolidayEndDate" : null,
"kiwiSaverEmployeeContributionRatePercentage" : 3,
"kiwiSaverEmployerContributionRatePercentage" : 3,
"kiwiSaverEmployerSalarySacrificeContributionRatePercentage" : 0,
"hasStudentLoanBalance" : false,
"studentLoanBalance" : null,
"studentLoanAsAt" : null
"studentLoanAsAt" : null,
"registeredForGST" : null
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>18.2.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>18.3.0</li>
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>xero-java</artifactId>
<packaging>jar</packaging>
<name>xero-java</name>
<version>18.2.0</version>
<version>18.3.0</version>
<url>https://github.com/XeroAPI/Xero-Java</url>
<description>This is the official Java SDK for Xero API</description>
<licenses>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/AccountingApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -103,7 +103,7 @@ public class AccountingApi {
private ApiClient apiClient;
private static AccountingApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);

/** AccountingApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/AppStoreApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero AppStore API
* These endpoints are for Xero Partners to interact with the App Store Billing platform
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -46,7 +46,7 @@ public class AppStoreApi {
private ApiClient apiClient;
private static AppStoreApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(AppStoreApi.class);

/** AppStoreApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/AssetApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Assets API
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -49,7 +49,7 @@ public class AssetApi {
private ApiClient apiClient;
private static AssetApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);

/** AssetApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/BankFeedsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Bank Feeds API
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -48,7 +48,7 @@ public class BankFeedsApi {
private ApiClient apiClient;
private static BankFeedsApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);

/** BankFeedsApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/FilesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -54,7 +54,7 @@ public class FilesApi {
private ApiClient apiClient;
private static FilesApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(FilesApi.class);

/** FilesApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/FinanceApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Finance API
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -49,7 +49,7 @@ public class FinanceApi {
private ApiClient apiClient;
private static FinanceApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(FinanceApi.class);

/** FinanceApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/IdentityApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero OAuth 2 Identity Service API
* These endpoints are related to managing authentication tokens and identity for Xero API
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -45,7 +45,7 @@ public class IdentityApi {
private ApiClient apiClient;
private static IdentityApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);

/** IdentityApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/PayrollAuApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API
* This is the Xero Payroll API for orgs in Australia region.
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -65,7 +65,7 @@ public class PayrollAuApi {
private ApiClient apiClient;
private static PayrollAuApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);

/** PayrollAuApi */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/xero/api/client/PayrollAuV2Api.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API 2.0
* This is the Xero Payroll API 2.0 for orgs in Australia region.
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -49,7 +49,7 @@ public class PayrollAuV2Api {
private ApiClient apiClient;
private static PayrollAuV2Api instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(PayrollAuV2Api.class);

/** PayrollAuV2Api */
Expand Down
14 changes: 10 additions & 4 deletions src/main/java/com/xero/api/client/PayrollNzApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll NZ
* This is the Xero Payroll API for orgs in the NZ region.
*
* The version of the OpenAPI document: 19.0.0
* The version of the OpenAPI document: 20.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -109,7 +109,7 @@ public class PayrollNzApi {
private ApiClient apiClient;
private static PayrollNzApi instance = null;
private String userAgent = "Default";
private String version = "18.2.0";
private String version = "18.3.0";
static final Logger logger = LoggerFactory.getLogger(PayrollNzApi.class);

/** PayrollNzApi */
Expand Down Expand Up @@ -7807,7 +7807,10 @@ public HttpResponse updateEmployeeSalaryAndWageForHttpResponse(
}

/**
* Updates the tax records for a specific employee
* Updates the tax records for a specific employee Replaces the entire EmployeeTax record. This is
* not a partial update. Any field omitted from the request is treated as null and overwrites the
* stored value. To change individual fields, GET the current record, merge your changes, remove
* deprecated fields such as isEligibleForKiwiSaver, and POST the complete object.
*
* <p><b>200</b> - search results matching criteria
*
Expand Down Expand Up @@ -7857,7 +7860,10 @@ public EmployeeTaxObject updateEmployeeTax(
}

/**
* Updates the tax records for a specific employee
* Updates the tax records for a specific employee Replaces the entire EmployeeTax record. This is
* not a partial update. Any field omitted from the request is treated as null and overwrites the
* stored value. To change individual fields, GET the current record, merge your changes, remove
* deprecated fields such as isEligibleForKiwiSaver, and POST the complete object.
*
* <p><b>200</b> - search results matching criteria
*
Expand Down
Loading
Loading