Skip to content

Commit d1d3dc6

Browse files
yangb-xeroHarisDelalic
authored andcommitted
Merge pull request #364 from XeroAPI/14.0.0
Releasing 14.0.0 (OAS: 12.0.0)
2 parents 05728f4 + ab7b699 commit d1d3dc6

19 files changed

Lines changed: 80 additions & 30 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
xero-ruby (13.0.0)
4+
xero-ruby (14.0.0)
55
faraday (>= 2.0, < 3.0)
66
json (~> 2.1, >= 2.1.0)
77
json-jwt (~> 1.16, >= 1.16.3)

docs/accounting/AccountingApi.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10883,7 +10883,9 @@ opts = {
1088310883

1088410884
unitdp: 4, # Integer | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
1088510885

10886-
page_size: 100 # Integer | Number of records to retrieve per page
10886+
page_size: 100, # Integer | Number of records to retrieve per page
10887+
10888+
invoice_numbers: ['&quot;INV-001&quot;, &quot;INV-002&quot;'] # Array<String> | Filter by a comma-separated list of InvoiceNumbers
1088710889
}
1088810890

1088910891
begin
@@ -10907,6 +10909,7 @@ Name | Type | Description | Notes
1090710909
**page** | **Integer**| e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment | [optional]
1090810910
**unitdp** | **Integer**| e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts | [optional]
1090910911
**page_size** | **Integer**| Number of records to retrieve per page | [optional]
10912+
**invoice_numbers** | [**Array&lt;String&gt;**](String.md)| Filter by a comma-separated list of InvoiceNumbers | [optional]
1091010913

1091110914
### Return type
1091210915

docs/accounting/Prepayment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
1414
**total_tax** | **BigDecimal** | The total tax on the prepayment | [optional]
1515
**total** | **BigDecimal** | The total of the prepayment(subtotal + total tax) | [optional]
1616
**reference** | **String** | Returns Invoice number field. Reference field isn&#39;t available. | [optional]
17+
**invoice_number** | **String** | Returns Invoice number for prepayment receive document only. | [optional]
1718
**updated_date_utc** | **DateTime** | UTC timestamp of last update to the prepayment | [optional]
1819
**currency_code** | [**CurrencyCode**](CurrencyCode.md) | | [optional]
1920
**prepayment_id** | **String** | Xero generated unique identifier | [optional]
@@ -40,6 +41,7 @@ instance = XeroRuby::Accounting::Prepayment.new(type: null,
4041
total_tax: null,
4142
total: null,
4243
reference: null,
44+
invoice_number: null,
4345
updated_date_utc: /Date(1573755038314)/,
4446
currency_code: null,
4547
prepayment_id: null,

docs/accounting/index.html

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4758,6 +4758,11 @@
47584758
"description" : "Returns Invoice number field. Reference field isn't available.",
47594759
"readOnly" : true
47604760
},
4761+
"InvoiceNumber" : {
4762+
"type" : "string",
4763+
"description" : "Returns Invoice number for prepayment receive document only.",
4764+
"readOnly" : true
4765+
},
47614766
"UpdatedDateUTC" : {
47624767
"type" : "string",
47634768
"description" : "UTC timestamp of last update to the prepayment",
@@ -6350,7 +6355,7 @@
63506355
<nav id="scrollingNav">
63516356
<ul class="sidenav nav nav-list">
63526357
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6353-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>13.0.0</li>
6358+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>14.0.0</li>
63546359
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63556360
<li data-group="Accounting" data-name="createAccount" class="">
63566361
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -31610,9 +31615,10 @@ <h3>Usage and SDK Samples</h3>
3161031615
page = 1
3161131616
unitdp = 4
3161231617
pageSize = 100
31618+
invoice_numbers = [&quot;INV-001&quot;, &quot;INV-002&quot;]
3161331619

3161431620
begin
31615-
response = xero_client.accounting_api.get_prepayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize)
31621+
response = xero_client.accounting_api.get_prepayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize, invoice_numbers)
3161631622
return response
3161731623
rescue XeroRuby::ApiError => e
3161831624
puts "Exception when calling get_prepayments: #{e}"
@@ -31792,6 +31798,26 @@ <h2>Parameters</h2>
3179231798
</div>
3179331799
</div>
3179431800
</td>
31801+
</tr>
31802+
31803+
<tr><td style="width:150px;">InvoiceNumbers</td>
31804+
<td>
31805+
31806+
31807+
<div id="d2e199_getPrepayments_invoiceNumbers">
31808+
<div class="json-schema-view">
31809+
<div class="primitive">
31810+
<span class="type">
31811+
array[String]
31812+
</span>
31813+
31814+
<div class="inner description marked">
31815+
Filter by a comma-separated list of InvoiceNumbers
31816+
</div>
31817+
</div>
31818+
</div>
31819+
</div>
31820+
</td>
3179531821
</tr>
3179631822

3179731823
</table>

docs/app_store/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@
12421242
<nav id="scrollingNav">
12431243
<ul class="sidenav nav nav-list">
12441244
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1245-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>13.0.0</li>
1245+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>14.0.0</li>
12461246
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12471247
<li data-group="AppStore" data-name="getSubscription" class="">
12481248
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@
14201420
<nav id="scrollingNav">
14211421
<ul class="sidenav nav nav-list">
14221422
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1423-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>13.0.0</li>
1423+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>14.0.0</li>
14241424
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14251425
<li data-group="Asset" data-name="createAsset" class="">
14261426
<a href="#api-Asset-createAsset">createAsset</a>

docs/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@
11711171
<nav id="scrollingNav">
11721172
<ul class="sidenav nav nav-list">
11731173
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1174-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>13.0.0</li>
1174+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>14.0.0</li>
11751175
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11761176
<li data-group="Files" data-name="createFileAssociation" class="">
11771177
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2376,7 +2376,7 @@
23762376
<nav id="scrollingNav">
23772377
<ul class="sidenav nav nav-list">
23782378
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2379-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>13.0.0</li>
2379+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>14.0.0</li>
23802380
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
23812381
<li data-group="Finance" data-name="getBankStatementAccounting" class="">
23822382
<a href="#api-Finance-getBankStatementAccounting">getBankStatementAccounting</a>

docs/payroll_au/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3447,7 +3447,7 @@
34473447
<nav id="scrollingNav">
34483448
<ul class="sidenav nav nav-list">
34493449
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3450-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>13.0.0</li>
3450+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>14.0.0</li>
34513451
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34523452
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34533453
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/payroll_au_v2/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@
11601160
<nav id="scrollingNav">
11611161
<ul class="sidenav nav nav-list">
11621162
<li class="nav-header" data-group="PayrollAuV2"><strong>SDK: </strong><span id='sdk-name'></span></li>
1163-
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>13.0.0</li>
1163+
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>14.0.0</li>
11641164
<li class="nav-header" data-group="PayrollAuV2"><a href="#api-PayrollAuV2">Methods</a></li>
11651165
<li data-group="PayrollAuV2" data-name="approveTimesheet" class="">
11661166
<a href="#api-PayrollAuV2-approveTimesheet">approveTimesheet</a>

0 commit comments

Comments
 (0)