diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md index 437b8584..1a05fc83 100644 --- a/docs/accounting/AccountingApi.md +++ b/docs/accounting/AccountingApi.md @@ -14636,7 +14636,7 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant credit_note_id = '00000000-0000-0000-0000-000000000000' # String | 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 opts = { unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts diff --git a/docs/accounting/CreditNote.md b/docs/accounting/CreditNote.md index dd693867..5ea7689a 100644 --- a/docs/accounting/CreditNote.md +++ b/docs/accounting/CreditNote.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes **credit_note_id** | **String** | Xero generated unique identifier | [optional] **credit_note_number** | **String** | ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) | [optional] **reference** | **String** | ACCRECCREDIT only – additional reference number | [optional] -**sent_to_contact** | **Boolean** | boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only) | [optional] +**sent_to_contact** | **Boolean** | 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** | **BigDecimal** | The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used | [optional] **remaining_credit** | **BigDecimal** | The remaining credit balance on the Credit Note | [optional] **allocations** | [**Array<Allocation>**](Allocation.md) | See Allocations | [optional] diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 894ee70d..db3d3764 100644 --- a/docs/accounting/index.html +++ b/docs/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 @@