diff --git a/docs/v4/accounting/index.html b/docs/v4/accounting/index.html
index 2e5320b3..c5574adf 100644
--- a/docs/v4/accounting/index.html
+++ b/docs/v4/accounting/index.html
@@ -2492,7 +2492,7 @@
},
"SentToContact" : {
"type" : "boolean",
- "description" : "boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)",
+ "description" : "Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved",
"readOnly" : true
},
"CurrencyRate" : {
@@ -6212,7 +6212,7 @@
-
+
createAccount
@@ -42418,7 +42418,7 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
- "example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
+ "example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"SentToContact\": true, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
}
},
"required" : true
diff --git a/docs/v4/appstore/index.html b/docs/v4/appstore/index.html
index ae2011e8..f3468371 100644
--- a/docs/v4/appstore/index.html
+++ b/docs/v4/appstore/index.html
@@ -1237,7 +1237,7 @@
-
+
getSubscription
diff --git a/docs/v4/assets/index.html b/docs/v4/assets/index.html
index 0e587db5..e4cb2b36 100644
--- a/docs/v4/assets/index.html
+++ b/docs/v4/assets/index.html
@@ -1388,7 +1388,7 @@
-
+
createAsset
diff --git a/docs/v4/files/index.html b/docs/v4/files/index.html
index c36b9a1f..6125d7d3 100644
--- a/docs/v4/files/index.html
+++ b/docs/v4/files/index.html
@@ -1144,7 +1144,7 @@
-
+
createFileAssociation
diff --git a/docs/v4/finance/index.html b/docs/v4/finance/index.html
index a7e8530b..816de46c 100644
--- a/docs/v4/finance/index.html
+++ b/docs/v4/finance/index.html
@@ -2733,7 +2733,7 @@
-
+
getAccountingActivityAccountUsage
diff --git a/docs/v4/payroll-au/index.html b/docs/v4/payroll-au/index.html
index 2a9f1565..c8bb0521 100644
--- a/docs/v4/payroll-au/index.html
+++ b/docs/v4/payroll-au/index.html
@@ -3411,7 +3411,7 @@
-
+
approveLeaveApplication
diff --git a/docs/v4/payroll-nz/index.html b/docs/v4/payroll-nz/index.html
index 11c7e689..375f4270 100644
--- a/docs/v4/payroll-nz/index.html
+++ b/docs/v4/payroll-nz/index.html
@@ -4027,7 +4027,7 @@
-
+
approveTimesheet
diff --git a/docs/v4/payroll-uk/index.html b/docs/v4/payroll-uk/index.html
index f96d258d..3717d6ba 100644
--- a/docs/v4/payroll-uk/index.html
+++ b/docs/v4/payroll-uk/index.html
@@ -3506,7 +3506,7 @@
-
+
approveTimesheet
diff --git a/pom.xml b/pom.xml
index eb5dbab1..32d61671 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
xero-java
jar
xero-java
- 8.1.0
+ 8.2.0
https://github.com/XeroAPI/Xero-Java
This is the official Java SDK for Xero API
diff --git a/src/main/java/com/xero/api/client/AccountingApi.java b/src/main/java/com/xero/api/client/AccountingApi.java
index c28b46bd..bf771059 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -102,7 +102,7 @@ public class AccountingApi {
private ApiClient apiClient;
private static AccountingApi instance = null;
private String userAgent = "Default";
- private String version = "8.1.0";
+ private String version = "8.2.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 8389eb32..82677c40 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.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 df6ecd32..01237d19 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.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 2944fdad..d2451d1e 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.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 7718f99d..0dcfbc20 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.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 a417057a..baddc7b1 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,7 +53,7 @@ public class FinanceApi {
private ApiClient apiClient;
private static FinanceApi instance = null;
private String userAgent = "Default";
- private String version = "8.1.0";
+ private String version = "8.2.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 ff703eb9..05b3d064 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.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 2db4aef9..85f5b09b 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(PayrollAuApi.class);
/** PayrollAuApi */
diff --git a/src/main/java/com/xero/api/client/PayrollNzApi.java b/src/main/java/com/xero/api/client/PayrollNzApi.java
index c66ecb0d..8748f253 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.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 6e61a31f..205fce0f 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -106,7 +106,7 @@ public class PayrollUkApi {
private ApiClient apiClient;
private static PayrollUkApi instance = null;
private String userAgent = "Default";
- private String version = "8.1.0";
+ private String version = "8.2.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 f95c4bb5..798c17f0 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: 6.1.1
+ * The version of the OpenAPI document: 6.2.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 = "8.1.0";
+ private String version = "8.2.0";
static final Logger logger = LoggerFactory.getLogger(ProjectApi.class);
/** ProjectApi */
diff --git a/src/main/java/com/xero/models/accounting/CreditNote.java b/src/main/java/com/xero/models/accounting/CreditNote.java
index 3b0d7b69..0fccf333 100644
--- a/src/main/java/com/xero/models/accounting/CreditNote.java
+++ b/src/main/java/com/xero/models/accounting/CreditNote.java
@@ -932,18 +932,18 @@ public void setReference(String reference) {
}
/**
- * boolean to indicate if a credit note has been sent to a contact via the Xero app (currently
- * read only)
+ * Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be
+ * set only on credit notes that have been approved
*
* @return sentToContact
*/
@ApiModelProperty(
value =
- "boolean to indicate if a credit note has been sent to a contact via the Xero app"
- + " (currently read only)")
+ "Boolean to set whether the credit note in the Xero app should be marked as “sent”. This"
+ + " can be set only on credit notes that have been approved")
/**
- * boolean to indicate if a credit note has been sent to a contact via the Xero app (currently
- * read only)
+ * Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be
+ * set only on credit notes that have been approved
*
* @return sentToContact Boolean
*/