diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html
index c0128a39..ba9f1216 100644
--- a/docs/v1/accounting/index.html
+++ b/docs/v1/accounting/index.html
@@ -2494,7 +2494,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" : {
@@ -6216,7 +6216,7 @@
-
+
createAccount
@@ -41777,7 +41777,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/v1/appstore/index.html b/docs/v1/appstore/index.html
index 58c2d6cb..e40de41b 100644
--- a/docs/v1/appstore/index.html
+++ b/docs/v1/appstore/index.html
@@ -1241,7 +1241,7 @@
-
+
getSubscription
diff --git a/docs/v1/assets/index.html b/docs/v1/assets/index.html
index 95dbe020..9b071ed5 100644
--- a/docs/v1/assets/index.html
+++ b/docs/v1/assets/index.html
@@ -1392,7 +1392,7 @@
-
+
createAsset
diff --git a/docs/v1/files/index.html b/docs/v1/files/index.html
index 3dc390f5..a245e110 100644
--- a/docs/v1/files/index.html
+++ b/docs/v1/files/index.html
@@ -1170,7 +1170,7 @@
-
+
createFileAssociation
diff --git a/docs/v1/finance/index.html b/docs/v1/finance/index.html
index f68a244a..637a07fb 100644
--- a/docs/v1/finance/index.html
+++ b/docs/v1/finance/index.html
@@ -2737,7 +2737,7 @@
-
+
getAccountingActivityAccountUsage
diff --git a/docs/v1/payroll-au/index.html b/docs/v1/payroll-au/index.html
index 57a9fae9..90e74b6a 100644
--- a/docs/v1/payroll-au/index.html
+++ b/docs/v1/payroll-au/index.html
@@ -3412,7 +3412,7 @@
-
+
approveLeaveApplication
diff --git a/docs/v1/payroll-nz/index.html b/docs/v1/payroll-nz/index.html
index 3c0f4d67..380abb6a 100644
--- a/docs/v1/payroll-nz/index.html
+++ b/docs/v1/payroll-nz/index.html
@@ -4031,7 +4031,7 @@
-
+
approveTimesheet
diff --git a/docs/v1/payroll-uk/index.html b/docs/v1/payroll-uk/index.html
index da6d5002..482dfb44 100644
--- a/docs/v1/payroll-uk/index.html
+++ b/docs/v1/payroll-uk/index.html
@@ -3510,7 +3510,7 @@
-
+
approveTimesheet
diff --git a/docs/v1/projects/index.html b/docs/v1/projects/index.html
index a251b972..7214f7e3 100644
--- a/docs/v1/projects/index.html
+++ b/docs/v1/projects/index.html
@@ -1462,7 +1462,7 @@
-
+
createProject
diff --git a/setup.py b/setup.py
index e08d0953..1bec9d3c 100644
--- a/setup.py
+++ b/setup.py
@@ -48,5 +48,5 @@ def read_file(filename):
keywords="xero python sdk API oAuth",
name="xero_python",
packages=find_packages(include=["xero_python", "xero_python.*"]),
- version="6.1.0",
+ version="6.2.0",
)
diff --git a/xero_python/__init__.py b/xero_python/__init__.py
index a5f3da55..230af95e 100644
--- a/xero_python/__init__.py
+++ b/xero_python/__init__.py
@@ -2,4 +2,4 @@
__author__ = """Xero Developer API"""
__email__ = "api@xero.com"
-__version__ = "6.1.0"
+__version__ = "6.2.0"
diff --git a/xero_python/accounting/api/accounting_api.py b/xero_python/accounting/api/accounting_api.py
index 93b629fb..b0751094 100644
--- a/xero_python/accounting/api/accounting_api.py
+++ b/xero_python/accounting/api/accounting_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/accounting/docs/AccountingApi.md b/xero_python/accounting/docs/AccountingApi.md
index 13c86477..a08ba308 100644
--- a/xero_python/accounting/docs/AccountingApi.md
+++ b/xero_python/accounting/docs/AccountingApi.md
@@ -13954,7 +13954,7 @@ api_instance = AccountingApi(api_client)
xero_tenant_id = 'YOUR_XERO_TENANT_ID' # str | Xero identifier for Tenant
credit_note_id = '00000000-0000-0000-0000-000000000000' # str | Unique identifier for a Credit Note
-credit_notes = { "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" } ] } ] } # CreditNotes | an array of Credit Notes containing credit note details to update
+credit_notes = { "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" } ] } ] } # CreditNotes | an array of Credit Notes containing credit note details to update
unitdp = 4 # int | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts (optional)
idempotency_key = 'KEY_VALUE' # str | This allows you to safely retry requests without the risk of duplicate processing. 128 character max. (optional)
try:
diff --git a/xero_python/accounting/docs/CreditNote.md b/xero_python/accounting/docs/CreditNote.md
index a36c6472..1459fa0e 100644
--- a/xero_python/accounting/docs/CreditNote.md
+++ b/xero_python/accounting/docs/CreditNote.md
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
**credit_note_id** | **str** | Xero generated unique identifier | [optional]
**credit_note_number** | **str** | ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) | [optional]
**reference** | **str** | ACCRECCREDIT only – additional reference number | [optional]
-**sent_to_contact** | **bool** | boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only) | [optional]
+**sent_to_contact** | **bool** | 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 | [optional]
**currency_rate** | **float** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used | [optional]
**remaining_credit** | **float** | The remaining credit balance on the Credit Note | [optional]
**allocations** | [**list[Allocation]**](Allocation.md) | See Allocations | [optional]
diff --git a/xero_python/accounting/models/credit_note.py b/xero_python/accounting/models/credit_note.py
index e9967365..900676cb 100644
--- a/xero_python/accounting/models/credit_note.py
+++ b/xero_python/accounting/models/credit_note.py
@@ -661,7 +661,7 @@ def reference(self, reference):
def sent_to_contact(self):
"""Gets the sent_to_contact of this CreditNote. # noqa: E501
- boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only) # noqa: E501
+ 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 # noqa: E501
:return: The sent_to_contact of this CreditNote. # noqa: E501
:rtype: bool
@@ -672,7 +672,7 @@ def sent_to_contact(self):
def sent_to_contact(self, sent_to_contact):
"""Sets the sent_to_contact of this CreditNote.
- boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only) # noqa: E501
+ 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 # noqa: E501
:param sent_to_contact: The sent_to_contact of this CreditNote. # noqa: E501
:type: bool
diff --git a/xero_python/appstore/api/app_store_api.py b/xero_python/appstore/api/app_store_api.py
index 23ed0ddc..78a0558b 100644
--- a/xero_python/appstore/api/app_store_api.py
+++ b/xero_python/appstore/api/app_store_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/assets/api/asset_api.py b/xero_python/assets/api/asset_api.py
index 5005174e..25cfb1e7 100644
--- a/xero_python/assets/api/asset_api.py
+++ b/xero_python/assets/api/asset_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/docs/README.md b/xero_python/docs/README.md
index 49a3b379..bc05d622 100644
--- a/xero_python/docs/README.md
+++ b/xero_python/docs/README.md
@@ -3,8 +3,8 @@ These endpoints are related to managing authentication tokens and identity for X
The `xero_python` package is automatically generated by the [XeroAPI SDK 2.0 Codegen](https://github.com/xero-github/xeroapi-sdk-codegen) project:
-- API version: 6.1.1
-- Package version: 6.1.0
+- API version: 6.2.0
+- Package version: 6.2.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://developer.xero.com](https://developer.xero.com)
diff --git a/xero_python/file/api/files_api.py b/xero_python/file/api/files_api.py
index a0b7a29f..c6f7f698 100644
--- a/xero_python/file/api/files_api.py
+++ b/xero_python/file/api/files_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/finance/api/finance_api.py b/xero_python/finance/api/finance_api.py
index 879e9737..951ebf2f 100644
--- a/xero_python/finance/api/finance_api.py
+++ b/xero_python/finance/api/finance_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/identity/api/identity_api.py b/xero_python/identity/api/identity_api.py
index 873f33d4..35bef37f 100644
--- a/xero_python/identity/api/identity_api.py
+++ b/xero_python/identity/api/identity_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/payrollau/api/payroll_au_api.py b/xero_python/payrollau/api/payroll_au_api.py
index 4632e684..7466c8dc 100644
--- a/xero_python/payrollau/api/payroll_au_api.py
+++ b/xero_python/payrollau/api/payroll_au_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/payrollnz/api/payroll_nz_api.py b/xero_python/payrollnz/api/payroll_nz_api.py
index 2787d440..bd212a9a 100644
--- a/xero_python/payrollnz/api/payroll_nz_api.py
+++ b/xero_python/payrollnz/api/payroll_nz_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/payrolluk/api/payroll_uk_api.py b/xero_python/payrolluk/api/payroll_uk_api.py
index 605557a1..bf99c9d8 100644
--- a/xero_python/payrolluk/api/payroll_uk_api.py
+++ b/xero_python/payrolluk/api/payroll_uk_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib
diff --git a/xero_python/project/api/project_api.py b/xero_python/project/api/project_api.py
index 54e941d6..9a093be5 100644
--- a/xero_python/project/api/project_api.py
+++ b/xero_python/project/api/project_api.py
@@ -10,7 +10,7 @@
"""
"""
- OpenAPI spec version: 6.1.1
+ OpenAPI spec version: 6.2.0
"""
import importlib