diff --git a/src/main/java/com/xero/api/client/AccountingApi.java b/src/main/java/com/xero/api/client/AccountingApi.java
index 342479cc..c9c38336 100644
--- a/src/main/java/com/xero/api/client/AccountingApi.java
+++ b/src/main/java/com/xero/api/client/AccountingApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -101,7 +101,7 @@ public class AccountingApi {
private ApiClient apiClient;
private static AccountingApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
/** AccountingApi */
diff --git a/src/main/java/com/xero/api/client/AppStoreApi.java b/src/main/java/com/xero/api/client/AppStoreApi.java
index 6538d9f4..e4580d83 100644
--- a/src/main/java/com/xero/api/client/AppStoreApi.java
+++ b/src/main/java/com/xero/api/client/AppStoreApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,7 +46,7 @@ public class AppStoreApi {
private ApiClient apiClient;
private static AppStoreApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(AppStoreApi.class);
/** AppStoreApi */
diff --git a/src/main/java/com/xero/api/client/AssetApi.java b/src/main/java/com/xero/api/client/AssetApi.java
index 68828f76..91ba2238 100644
--- a/src/main/java/com/xero/api/client/AssetApi.java
+++ b/src/main/java/com/xero/api/client/AssetApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,7 +49,7 @@ public class AssetApi {
private ApiClient apiClient;
private static AssetApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);
/** AssetApi */
diff --git a/src/main/java/com/xero/api/client/BankFeedsApi.java b/src/main/java/com/xero/api/client/BankFeedsApi.java
index 8294e520..36e798ca 100644
--- a/src/main/java/com/xero/api/client/BankFeedsApi.java
+++ b/src/main/java/com/xero/api/client/BankFeedsApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,7 +48,7 @@ public class BankFeedsApi {
private ApiClient apiClient;
private static BankFeedsApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);
/** BankFeedsApi */
diff --git a/src/main/java/com/xero/api/client/FilesApi.java b/src/main/java/com/xero/api/client/FilesApi.java
index b0e3732f..018af5b0 100644
--- a/src/main/java/com/xero/api/client/FilesApi.java
+++ b/src/main/java/com/xero/api/client/FilesApi.java
@@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
- * The version of the OpenAPI document: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,7 +54,7 @@ public class FilesApi {
private ApiClient apiClient;
private static FilesApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(FilesApi.class);
/** FilesApi */
diff --git a/src/main/java/com/xero/api/client/FinanceApi.java b/src/main/java/com/xero/api/client/FinanceApi.java
index d3861c92..4947f167 100644
--- a/src/main/java/com/xero/api/client/FinanceApi.java
+++ b/src/main/java/com/xero/api/client/FinanceApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,7 +49,7 @@ public class FinanceApi {
private ApiClient apiClient;
private static FinanceApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(FinanceApi.class);
/** FinanceApi */
diff --git a/src/main/java/com/xero/api/client/IdentityApi.java b/src/main/java/com/xero/api/client/IdentityApi.java
index 979b934c..42da0112 100644
--- a/src/main/java/com/xero/api/client/IdentityApi.java
+++ b/src/main/java/com/xero/api/client/IdentityApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,7 +45,7 @@ public class IdentityApi {
private ApiClient apiClient;
private static IdentityApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);
/** IdentityApi */
diff --git a/src/main/java/com/xero/api/client/PayrollAuApi.java b/src/main/java/com/xero/api/client/PayrollAuApi.java
index 7592c151..77a64aa9 100644
--- a/src/main/java/com/xero/api/client/PayrollAuApi.java
+++ b/src/main/java/com/xero/api/client/PayrollAuApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -65,7 +65,7 @@ public class PayrollAuApi {
private ApiClient apiClient;
private static PayrollAuApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);
/** PayrollAuApi */
@@ -467,8 +467,8 @@ public HttpResponse createLeaveApplicationForHttpResponse(
*
* 200 - A successful request - currently returns empty array for JSON
*
- *
400 - invalid input, object invalid - When IsQualifyingEarnings supplied it will be
- * validated against the IsExemptFromSuper and other fields.
+ *
400 - invalid input, object invalid - IsQualifyingEarnings is required.
+ * IsQualifyingEarnings cannot be true when IsExemptFromSuper is true.
*
* @param xeroTenantId Xero identifier for Tenant
* @param payItem The payItem parameter
@@ -507,8 +507,8 @@ public PayItems createPayItem(
*
*
200 - A successful request - currently returns empty array for JSON
*
- *
400 - invalid input, object invalid - When IsQualifyingEarnings supplied it will be
- * validated against the IsExemptFromSuper and other fields.
+ *
400 - invalid input, object invalid - IsQualifyingEarnings is required.
+ * IsQualifyingEarnings cannot be true when IsExemptFromSuper is true.
*
* @param xeroTenantId Xero identifier for Tenant
* @param payItem The payItem parameter
diff --git a/src/main/java/com/xero/api/client/PayrollAuV2Api.java b/src/main/java/com/xero/api/client/PayrollAuV2Api.java
index 1966e6b2..bfc74ca0 100644
--- a/src/main/java/com/xero/api/client/PayrollAuV2Api.java
+++ b/src/main/java/com/xero/api/client/PayrollAuV2Api.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,7 +49,7 @@ public class PayrollAuV2Api {
private ApiClient apiClient;
private static PayrollAuV2Api instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(PayrollAuV2Api.class);
/** PayrollAuV2Api */
diff --git a/src/main/java/com/xero/api/client/PayrollNzApi.java b/src/main/java/com/xero/api/client/PayrollNzApi.java
index 564fe854..9a8c24ba 100644
--- a/src/main/java/com/xero/api/client/PayrollNzApi.java
+++ b/src/main/java/com/xero/api/client/PayrollNzApi.java
@@ -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: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -109,7 +109,7 @@ public class PayrollNzApi {
private ApiClient apiClient;
private static PayrollNzApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(PayrollNzApi.class);
/** PayrollNzApi */
diff --git a/src/main/java/com/xero/api/client/PayrollUkApi.java b/src/main/java/com/xero/api/client/PayrollUkApi.java
index 6e2d478a..e366a16f 100644
--- a/src/main/java/com/xero/api/client/PayrollUkApi.java
+++ b/src/main/java/com/xero/api/client/PayrollUkApi.java
@@ -2,7 +2,7 @@
* Xero Payroll UK
* This is the Xero Payroll API for orgs in the UK region.
*
- * The version of the OpenAPI document: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -105,7 +105,7 @@ public class PayrollUkApi {
private ApiClient apiClient;
private static PayrollUkApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(PayrollUkApi.class);
/** PayrollUkApi */
diff --git a/src/main/java/com/xero/api/client/ProjectApi.java b/src/main/java/com/xero/api/client/ProjectApi.java
index fbe715fd..24bdfa0e 100644
--- a/src/main/java/com/xero/api/client/ProjectApi.java
+++ b/src/main/java/com/xero/api/client/ProjectApi.java
@@ -2,7 +2,7 @@
* Xero Projects API
* This is the Xero Projects API
*
- * The version of the OpenAPI document: 14.0.0
+ * The version of the OpenAPI document: 16.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -57,7 +57,7 @@ public class ProjectApi {
private ApiClient apiClient;
private static ProjectApi instance = null;
private String userAgent = "Default";
- private String version = "16.0.0";
+ private String version = "17.0.0";
static final Logger logger = LoggerFactory.getLogger(ProjectApi.class);
/** ProjectApi */
diff --git a/src/main/java/com/xero/models/accounting/Organisation.java b/src/main/java/com/xero/models/accounting/Organisation.java
index f113ef55..1900a1b6 100644
--- a/src/main/java/com/xero/models/accounting/Organisation.java
+++ b/src/main/java/com/xero/models/accounting/Organisation.java
@@ -622,7 +622,10 @@ public enum PropertyClassEnum {
SIMPLE("SIMPLE"),
/** BASICLITE */
- BASICLITE("BASICLITE");
+ BASICLITE("BASICLITE"),
+
+ /** ULTRA */
+ ULTRA("ULTRA");
private String value;
diff --git a/src/main/java/com/xero/models/payrollau/EarningsRate.java b/src/main/java/com/xero/models/payrollau/EarningsRate.java
index 1969cb8f..4612cbc3 100644
--- a/src/main/java/com/xero/models/payrollau/EarningsRate.java
+++ b/src/main/java/com/xero/models/payrollau/EarningsRate.java
@@ -313,9 +313,8 @@ public void setIsReportableAsW1(Boolean isReportableAsW1) {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the earnings rate is considered as qualifying earnings for
+ * superannuation guarantee calculations
*
* @param isQualifyingEarnings Boolean
* @return EarningsRate
@@ -326,22 +325,20 @@ public EarningsRate isQualifyingEarnings(Boolean isQualifyingEarnings) {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the earnings rate is considered as qualifying earnings for
+ * superannuation guarantee calculations
*
* @return isQualifyingEarnings
*/
@ApiModelProperty(
example = "true",
+ required = true,
value =
- "Optional Boolean to determine if the earnings rate is considered as qualifying earnings"
- + " for superannuation guarantee calculations. When not specified value is calculated"
- + " based on earnings type and superannuation settings")
+ "Boolean to determine if the earnings rate is considered as qualifying earnings for"
+ + " superannuation guarantee calculations")
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the earnings rate is considered as qualifying earnings for
+ * superannuation guarantee calculations
*
* @return isQualifyingEarnings Boolean
*/
@@ -350,9 +347,8 @@ public Boolean getIsQualifyingEarnings() {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the earnings rate is considered as qualifying earnings for
+ * superannuation guarantee calculations
*
* @param isQualifyingEarnings Boolean
*/
diff --git a/src/main/java/com/xero/models/payrollau/LeaveLine.java b/src/main/java/com/xero/models/payrollau/LeaveLine.java
index 2f4e628a..4f7afc50 100644
--- a/src/main/java/com/xero/models/payrollau/LeaveLine.java
+++ b/src/main/java/com/xero/models/payrollau/LeaveLine.java
@@ -232,9 +232,8 @@ public void setIncludeSuperannuationGuaranteeContribution(
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on
- * superannuation settings
+ * Boolean to determine if the leave line is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @param isQualifyingEarnings Boolean
* @return LeaveLine
@@ -245,22 +244,20 @@ public LeaveLine isQualifyingEarnings(Boolean isQualifyingEarnings) {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on
- * superannuation settings
+ * Boolean to determine if the leave line is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @return isQualifyingEarnings
*/
@ApiModelProperty(
example = "true",
+ required = true,
value =
- "Optional Boolean to determine if the earnings rate is considered as qualifying earnings"
- + " for superannuation guarantee calculations. When not specified value is calculated"
- + " based on superannuation settings")
+ "Boolean to determine if the leave line is considered as qualifying earnings for"
+ + " superannuation guarantee calculations")
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on
- * superannuation settings
+ * Boolean to determine if the leave line is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @return isQualifyingEarnings Boolean
*/
@@ -269,9 +266,8 @@ public Boolean getIsQualifyingEarnings() {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on
- * superannuation settings
+ * Boolean to determine if the leave line is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @param isQualifyingEarnings Boolean
*/
diff --git a/src/main/java/com/xero/models/payrollau/LeaveType.java b/src/main/java/com/xero/models/payrollau/LeaveType.java
index f87058c3..4bf3f783 100644
--- a/src/main/java/com/xero/models/payrollau/LeaveType.java
+++ b/src/main/java/com/xero/models/payrollau/LeaveType.java
@@ -469,9 +469,8 @@ public void setSgCExempt(Boolean sgCExempt) {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the leave type is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @param isQualifyingEarnings Boolean
* @return LeaveType
@@ -482,22 +481,20 @@ public LeaveType isQualifyingEarnings(Boolean isQualifyingEarnings) {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the leave type is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @return isQualifyingEarnings
*/
@ApiModelProperty(
example = "true",
+ required = true,
value =
- "Optional Boolean to determine if the earnings rate is considered as qualifying earnings"
- + " for superannuation guarantee calculations. When not specified value is calculated"
- + " based on earnings type and superannuation settings")
+ "Boolean to determine if the leave type is considered as qualifying earnings for"
+ + " superannuation guarantee calculations")
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the leave type is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @return isQualifyingEarnings Boolean
*/
@@ -506,9 +503,8 @@ public Boolean getIsQualifyingEarnings() {
}
/**
- * Optional Boolean to determine if the earnings rate is considered as qualifying earnings for
- * superannuation guarantee calculations. When not specified value is calculated based on earnings
- * type and superannuation settings
+ * Boolean to determine if the leave type is considered as qualifying earnings for superannuation
+ * guarantee calculations
*
* @param isQualifyingEarnings Boolean
*/
diff --git a/src/main/java/com/xero/models/payrollau/TaxDeclaration.java b/src/main/java/com/xero/models/payrollau/TaxDeclaration.java
index 4abfcbe5..b5e5435c 100644
--- a/src/main/java/com/xero/models/payrollau/TaxDeclaration.java
+++ b/src/main/java/com/xero/models/payrollau/TaxDeclaration.java
@@ -872,8 +872,8 @@ public OffsetDateTime getUpdatedDateUTCAsDate() {
}
/**
- * Optional Boolean to determine if leave loading is considered as qualifying earnings for
- * superannuation guarantee calculations
+ * Boolean to determine if leave loading is considered as qualifying earnings for superannuation
+ * guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
*
* @param includeLeaveLoadingInQualifyingEarnings Boolean
* @return TaxDeclaration
@@ -885,19 +885,20 @@ public TaxDeclaration includeLeaveLoadingInQualifyingEarnings(
}
/**
- * Optional Boolean to determine if leave loading is considered as qualifying earnings for
- * superannuation guarantee calculations
+ * Boolean to determine if leave loading is considered as qualifying earnings for superannuation
+ * guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
*
* @return includeLeaveLoadingInQualifyingEarnings
*/
@ApiModelProperty(
example = "true",
value =
- "Optional Boolean to determine if leave loading is considered as qualifying earnings for"
- + " superannuation guarantee calculations")
+ "Boolean to determine if leave loading is considered as qualifying earnings for"
+ + " superannuation guarantee calculations. Required when IncludeLeaveLoadingInSGC is"
+ + " specified in the payload")
/**
- * Optional Boolean to determine if leave loading is considered as qualifying earnings for
- * superannuation guarantee calculations
+ * Boolean to determine if leave loading is considered as qualifying earnings for superannuation
+ * guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
*
* @return includeLeaveLoadingInQualifyingEarnings Boolean
*/
@@ -906,8 +907,8 @@ public Boolean getIncludeLeaveLoadingInQualifyingEarnings() {
}
/**
- * Optional Boolean to determine if leave loading is considered as qualifying earnings for
- * superannuation guarantee calculations
+ * Boolean to determine if leave loading is considered as qualifying earnings for superannuation
+ * guarantee calculations. Required when IncludeLeaveLoadingInSGC is specified in the payload
*
* @param includeLeaveLoadingInQualifyingEarnings Boolean
*/