diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md
index e23ce662..c0570464 100644
--- a/docs/accounting/AccountingApi.md
+++ b/docs/accounting/AccountingApi.md
@@ -8200,9 +8200,9 @@ opts = {
created_by_my_app: false, # Boolean | When set to true you'll only retrieve Invoices created by your app
- summary_only: false, # Boolean | Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
+ unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
- unitdp: 4 # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
+ summary_only: false # Boolean | Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
}
begin
@@ -8230,8 +8230,8 @@ Name | Type | Description | Notes
**page** | **Integer**| e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice | [optional]
**include_archived** | **Boolean**| e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response | [optional]
**created_by_my_app** | **Boolean**| When set to true you'll only retrieve Invoices created by your app | [optional]
- **summary_only** | **Boolean**| Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. | [optional] [default to false]
**unitdp** | **Integer**| e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional]
+ **summary_only** | **Boolean**| Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. | [optional] [default to false]
### Return type
diff --git a/docs/accounting/index.html b/docs/accounting/index.html
index ec675df2..70300037 100644
--- a/docs/accounting/index.html
+++ b/docs/accounting/index.html
@@ -23977,11 +23977,11 @@
Usage and SDK Samples
page = 1
include_archived = true
created_by_my_app = false
-summary_only = true
unitdp = 4
+summary_only = true
begin
- response = xero_client.accounting_api.get_invoices(xero_tenant_id, if_modified_since, where, order, ids, invoice_numbers, contact_ids, statuses, page, include_archived, created_by_my_app, summary_only, unitdp)
+ response = xero_client.accounting_api.get_invoices(xero_tenant_id, if_modified_since, where, order, ids, invoice_numbers, contact_ids, statuses, page, include_archived, created_by_my_app, unitdp, summary_only)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling get_invoices: #{e}"
@@ -24244,19 +24244,19 @@ Parameters
- summaryOnly |
+
unitdp |
-
+
- Boolean
+ Integer
-Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
+e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
@@ -24264,19 +24264,19 @@ Parameters
|
- unitdp |
+
summaryOnly |
-
+
- Integer
+ Boolean
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
+Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
diff --git a/lib/xero-ruby/api/accounting_api.rb b/lib/xero-ruby/api/accounting_api.rb
index 06f0d594..72343869 100644
--- a/lib/xero-ruby/api/accounting_api.rb
+++ b/lib/xero-ruby/api/accounting_api.rb
@@ -9542,8 +9542,8 @@ def get_invoice_reminders_with_http_info(xero_tenant_id, options = {})
# @option opts [Integer] :page e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
# @option opts [Boolean] :include_archived e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
# @option opts [Boolean] :created_by_my_app When set to true you'll only retrieve Invoices created by your app
- # @option opts [Boolean] :summary_only Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. (default to false)
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
+ # @option opts [Boolean] :summary_only Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. (default to false)
# @return [Invoices]
def get_invoices(xero_tenant_id, opts = {})
data, _status_code, _headers = get_invoices_with_http_info(xero_tenant_id, opts)
@@ -9563,8 +9563,8 @@ def get_invoices(xero_tenant_id, opts = {})
# @option opts [Integer] :page e.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
# @option opts [Boolean] :include_archived e.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
# @option opts [Boolean] :created_by_my_app When set to true you'll only retrieve Invoices created by your app
- # @option opts [Boolean] :summary_only Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
# @option opts [Integer] :unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
+ # @option opts [Boolean] :summary_only Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
# @return [Array<(Invoices, Integer, Hash)>] Invoices data, response status code and response headers
def get_invoices_with_http_info(xero_tenant_id, options = {})
opts = options.dup
@@ -9592,8 +9592,8 @@ def get_invoices_with_http_info(xero_tenant_id, options = {})
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
query_params[:'includeArchived'] = opts[:'include_archived'] if !opts[:'include_archived'].nil?
query_params[:'createdByMyApp'] = opts[:'created_by_my_app'] if !opts[:'created_by_my_app'].nil?
- query_params[:'summaryOnly'] = opts[:'summary_only'] if !opts[:'summary_only'].nil?
query_params[:'unitdp'] = opts[:'unitdp'] if !opts[:'unitdp'].nil?
+ query_params[:'summaryOnly'] = opts[:'summary_only'] if !opts[:'summary_only'].nil?
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
diff --git a/lib/xero-ruby/version.rb b/lib/xero-ruby/version.rb
index 8bbdbd24..b1dc9214 100644
--- a/lib/xero-ruby/version.rb
+++ b/lib/xero-ruby/version.rb
@@ -7,9 +7,9 @@
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1
-The version of the XeroOpenAPI document: 2.13.1
+The version of the XeroOpenAPI document: 2.13.2
=end
module XeroRuby
- VERSION = '3.1.0'
+ VERSION = '3.1.1'
end
|