Skip to content

Commit cdb9914

Browse files
committed
Releasing 15.1.0 (OAS: 16.2.0)
1 parent 9348c82 commit cdb9914

27 files changed

Lines changed: 264 additions & 49 deletions

File tree

‎docs/v1/accounting/index.html‎

Lines changed: 125 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3519,10 +3519,22 @@
35193519
},
35203520
"QuantityOnHand" : {
35213521
"type" : "number",
3522-
"description" : "The quantity of the item on hand",
3522+
"description" : "The quantity of the item on hand. This will be 0 if `QuantityOnBackOrder` is greater than 0.",
35233523
"format" : "double",
35243524
"x-is-money" : true
35253525
},
3526+
"QuantityAvailable" : {
3527+
"type" : "number",
3528+
"description" : "The quantity of the item available. This is equal to `QuantityOnHand` - `QuantityOnBackOrder`. This value will be negative if `QuantityOnBackOrder` is greater than 0.",
3529+
"format" : "double",
3530+
"readOnly" : true
3531+
},
3532+
"QuantityOnBackOrder" : {
3533+
"type" : "number",
3534+
"description" : "The quantity of the item on backorder. This will be 0 if `QuantityOnHand` is greater than 0.",
3535+
"format" : "double",
3536+
"readOnly" : true
3537+
},
35263538
"UpdatedDateUTC" : {
35273539
"type" : "string",
35283540
"description" : "Last modified date in UTC format",
@@ -6494,7 +6506,7 @@
64946506
<nav id="scrollingNav">
64956507
<ul class="sidenav nav nav-list">
64966508
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6497-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>15.0.0</li>
6509+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>15.1.0</li>
64986510
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
64996511
<li data-group="Accounting" data-name="createAccount" class="">
65006512
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -12350,6 +12362,7 @@ <h3>Usage and SDK Samples</h3>
1235012362
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
1235112363
summarize_errors = 'True'
1235212364
idempotency_key = 'KEY_VALUE'
12365+
allow_backorders = 'true'
1235312366
date_value = dateutil.parser.parse('2020-10-10T00:00:00Z')
1235412367
due_date_value = dateutil.parser.parse('2020-10-28T00:00:00Z')
1235512368

@@ -12386,7 +12399,7 @@ <h3>Usage and SDK Samples</h3>
1238612399
invoices = [invoice])
1238712400

1238812401
try:
12389-
api_response = api_instance.create_invoices(xero_tenant_id, invoices, summarize_errors, unitdp, idempotency_key)
12402+
api_response = api_instance.create_invoices(xero_tenant_id, invoices, summarize_errors, unitdp, idempotency_key, allow_backorders)
1239012403
print(api_response)
1239112404
except AccountingBadRequestException as e:
1239212405
print("Exception when calling AccountingApi->createInvoices: %s\n" % e)</code></pre>
@@ -12552,6 +12565,26 @@ <h2>Parameters</h2>
1255212565
</div>
1255312566
</div>
1255412567
</td>
12568+
</tr>
12569+
12570+
<tr><td style="width:150px;">allowBackorders</td>
12571+
<td>
12572+
12573+
12574+
<div id="d2e199_createInvoices_allowBackorders">
12575+
<div class="json-schema-view">
12576+
<div class="primitive">
12577+
<span class="type">
12578+
Boolean
12579+
</span>
12580+
12581+
<div class="inner description marked">
12582+
Allows an invoice to be created even when one or more line items contain tracked inventory where the invoice quantity would cause the available quantity to go negative
12583+
</div>
12584+
</div>
12585+
</div>
12586+
</div>
12587+
</td>
1255512588
</tr>
1255612589

1255712590
</table>
@@ -22217,9 +22250,10 @@ <h3>Usage and SDK Samples</h3>
2221722250
if_modified_since = dateutil.parser.parse("2020-02-06T12:17:43.202-08:00")
2221822251
where = 'Status=="AUTHORISED"'
2221922252
order = 'Type ASC'
22253+
references = [&quot;Ref1&quot;, &quot;Ref2&quot;]
2222022254

2222122255
try:
22222-
api_response = api_instance.get_bank_transactions(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize)
22256+
api_response = api_instance.get_bank_transactions(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize, references)
2222322257
print(api_response)
2222422258
except AccountingBadRequestException as e:
2222522259
print("Exception when calling AccountingApi->getBankTransactions: %s\n" % e)</code></pre>
@@ -22397,6 +22431,26 @@ <h2>Parameters</h2>
2239722431
</div>
2239822432
</div>
2239922433
</td>
22434+
</tr>
22435+
22436+
<tr><td style="width:150px;">References</td>
22437+
<td>
22438+
22439+
22440+
<div id="d2e199_getBankTransactions_references">
22441+
<div class="json-schema-view">
22442+
<div class="primitive">
22443+
<span class="type">
22444+
array[String]
22445+
</span>
22446+
22447+
<div class="inner description marked">
22448+
Filter by a comma-separated list of References
22449+
</div>
22450+
</div>
22451+
</div>
22452+
</div>
22453+
</td>
2240022454
</tr>
2240122455

2240222456
</table>
@@ -33260,9 +33314,10 @@ <h3>Usage and SDK Samples</h3>
3326033314
where = 'Status=="AUTHORISED"'
3326133315
order = 'Reference ASC'
3326233316
invoice_numbers = [&quot;INV-001&quot;, &quot;INV-002&quot;]
33317+
references = [&quot;Ref1&quot;, &quot;Ref2&quot;]
3326333318

3326433319
try:
33265-
api_response = api_instance.get_prepayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize, invoice_numbers)
33320+
api_response = api_instance.get_prepayments(xero_tenant_id, if_modified_since, where, order, page, unitdp, pageSize, invoice_numbers, references)
3326633321
print(api_response)
3326733322
except AccountingBadRequestException as e:
3326833323
print("Exception when calling AccountingApi->getPrepayments: %s\n" % e)</code></pre>
@@ -33394,7 +33449,7 @@ <h2>Parameters</h2>
3339433449
</span>
3339533450

3339633451
<div class="inner description marked">
33397-
e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment
33452+
e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each prepayment
3339833453
</div>
3339933454
</div>
3340033455
</div>
@@ -33460,6 +33515,26 @@ <h2>Parameters</h2>
3346033515
</div>
3346133516
</div>
3346233517
</td>
33518+
</tr>
33519+
33520+
<tr><td style="width:150px;">References</td>
33521+
<td>
33522+
33523+
33524+
<div id="d2e199_getPrepayments_references">
33525+
<div class="json-schema-view">
33526+
<div class="primitive">
33527+
<span class="type">
33528+
array[String]
33529+
</span>
33530+
33531+
<div class="inner description marked">
33532+
Filter by a comma-separated list of References
33533+
</div>
33534+
</div>
33535+
</div>
33536+
</div>
33537+
</td>
3346333538
</tr>
3346433539

3346533540
</table>
@@ -43119,6 +43194,7 @@ <h3>Usage and SDK Samples</h3>
4311943194
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
4312043195
invoice_id = '00000000-0000-0000-0000-000000000000'
4312143196
idempotency_key = 'KEY_VALUE'
43197+
allow_backorders = 'true'
4312243198

4312343199
invoice = Invoice(
4312443200
reference = "I am Iron man")
@@ -43127,7 +43203,7 @@ <h3>Usage and SDK Samples</h3>
4312743203
invoices = [invoice])
4312843204

4312943205
try:
43130-
api_response = api_instance.update_invoice(xero_tenant_id, invoice_id, invoices, unitdp, idempotency_key)
43206+
api_response = api_instance.update_invoice(xero_tenant_id, invoice_id, invoices, unitdp, idempotency_key, allow_backorders)
4313143207
print(api_response)
4313243208
except AccountingBadRequestException as e:
4313343209
print("Exception when calling AccountingApi->updateInvoice: %s\n" % e)</code></pre>
@@ -43294,6 +43370,26 @@ <h2>Parameters</h2>
4329443370
</div>
4329543371
</div>
4329643372
</td>
43373+
</tr>
43374+
43375+
<tr><td style="width:150px;">allowBackorders</td>
43376+
<td>
43377+
43378+
43379+
<div id="d2e199_updateInvoice_allowBackorders">
43380+
<div class="json-schema-view">
43381+
<div class="primitive">
43382+
<span class="type">
43383+
Boolean
43384+
</span>
43385+
43386+
<div class="inner description marked">
43387+
Allows an invoice to be created even when one or more line items contain tracked inventory where the invoice quantity would cause the available quantity to go negative
43388+
</div>
43389+
</div>
43390+
</div>
43391+
</div>
43392+
</td>
4329743393
</tr>
4329843394

4329943395
</table>
@@ -45063,6 +45159,7 @@ <h3>Usage and SDK Samples</h3>
4506345159
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
4506445160
summarize_errors = 'True'
4506545161
idempotency_key = 'KEY_VALUE'
45162+
allow_backorders = 'true'
4506645163
date_value = dateutil.parser.parse('2020-10-10T00:00:00Z')
4506745164
due_date_value = dateutil.parser.parse('2020-10-28T00:00:00Z')
4506845165

@@ -45091,7 +45188,7 @@ <h3>Usage and SDK Samples</h3>
4509145188
invoices = [invoice])
4509245189

4509345190
try:
45094-
api_response = api_instance.update_or_create_invoices(xero_tenant_id, invoices, summarize_errors, unitdp, idempotency_key)
45191+
api_response = api_instance.update_or_create_invoices(xero_tenant_id, invoices, summarize_errors, unitdp, idempotency_key, allow_backorders)
4509545192
print(api_response)
4509645193
except AccountingBadRequestException as e:
4509745194
print("Exception when calling AccountingApi->updateOrCreateInvoices: %s\n" % e)</code></pre>
@@ -45256,6 +45353,26 @@ <h2>Parameters</h2>
4525645353
</div>
4525745354
</div>
4525845355
</td>
45356+
</tr>
45357+
45358+
<tr><td style="width:150px;">allowBackorders</td>
45359+
<td>
45360+
45361+
45362+
<div id="d2e199_updateOrCreateInvoices_allowBackorders">
45363+
<div class="json-schema-view">
45364+
<div class="primitive">
45365+
<span class="type">
45366+
Boolean
45367+
</span>
45368+
45369+
<div class="inner description marked">
45370+
Allows an invoice to be created even when one or more line items contain tracked inventory where the invoice quantity would cause the available quantity to go negative
45371+
</div>
45372+
</div>
45373+
</div>
45374+
</div>
45375+
</td>
4525945376
</tr>
4526045377

4526145378
</table>

‎docs/v1/appstore/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>15.0.0</li>
1245+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>15.1.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/v1/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>15.0.0</li>
1423+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>15.1.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/v1/files/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@
11811181
<nav id="scrollingNav">
11821182
<ul class="sidenav nav nav-list">
11831183
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1184-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>15.0.0</li>
1184+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>15.1.0</li>
11851185
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11861186
<li data-group="Files" data-name="createFileAssociation" class="">
11871187
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

‎docs/v1/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>15.0.0</li>
2379+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>15.1.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/v1/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>15.0.0</li>
1163+
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>15.1.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>

‎docs/v1/payroll-au/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3450,7 +3450,7 @@
34503450
<nav id="scrollingNav">
34513451
<ul class="sidenav nav nav-list">
34523452
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3453-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>15.0.0</li>
3453+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>15.1.0</li>
34543454
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34553455
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34563456
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

‎docs/v1/payroll-nz/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4068,7 +4068,7 @@
40684068
<nav id="scrollingNav">
40694069
<ul class="sidenav nav nav-list">
40704070
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4071-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>15.0.0</li>
4071+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>15.1.0</li>
40724072
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40734073
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40744074
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

‎docs/v1/payroll-uk/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3701,7 +3701,7 @@
37013701
<nav id="scrollingNav">
37023702
<ul class="sidenav nav nav-list">
37033703
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3704-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>15.0.0</li>
3704+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>15.1.0</li>
37053705
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
37063706
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
37073707
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>

‎docs/v1/projects/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@
14631463
<nav id="scrollingNav">
14641464
<ul class="sidenav nav nav-list">
14651465
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
1466-
<li class="nav-header" data-group="Project"><strong>VSN: </strong>15.0.0</li>
1466+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>15.1.0</li>
14671467
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
14681468
<li data-group="Project" data-name="createProject" class="">
14691469
<a href="#api-Project-createProject">createProject</a>

0 commit comments

Comments
 (0)