Skip to content

Commit b4ffb4d

Browse files
committed
Releasing 19.1.0 (OAS: 16.2.0)
1 parent cfc658f commit b4ffb4d

24 files changed

Lines changed: 208 additions & 48 deletions

File tree

docs/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",
@@ -6495,7 +6507,7 @@
64956507
<nav id="scrollingNav">
64966508
<ul class="sidenav nav nav-list">
64976509
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6498-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>19.0.0</li>
6510+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>19.1.0</li>
64996511
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
65006512
<li data-group="Accounting" data-name="createAccount" class="">
65016513
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -12142,6 +12154,7 @@ <h3>Usage and SDK Samples</h3>
1214212154
const summarizeErrors = true;
1214312155
const unitdp = 4;
1214412156
const idempotencyKey = 'KEY_VALUE';
12157+
const allowBackorders = true;
1214512158
const dateValue = '2020-10-10'
1214612159
const dueDateValue = '2020-10-28'
1214712160

@@ -12181,7 +12194,7 @@ <h3>Usage and SDK Samples</h3>
1218112194
};
1218212195

1218312196
try {
12184-
const response = await xero.accountingApi.createInvoices(xeroTenantId, invoices, summarizeErrors, unitdp,idempotencyKey);
12197+
const response = await xero.accountingApi.createInvoices(xeroTenantId, invoices, summarizeErrors, unitdp,idempotencyKey, allowBackorders);
1218512198
console.log(response.body || response.response.statusCode)
1218612199
} catch (err) {
1218712200
const error = JSON.stringify(err.response.body, null, 2)
@@ -12349,6 +12362,26 @@ <h2>Parameters</h2>
1234912362
</div>
1235012363
</div>
1235112364
</td>
12365+
</tr>
12366+
12367+
<tr><td style="width:150px;">allowBackorders</td>
12368+
<td>
12369+
12370+
12371+
<div id="d2e199_createInvoices_allowBackorders">
12372+
<div class="json-schema-view">
12373+
<div class="primitive">
12374+
<span class="type">
12375+
Boolean
12376+
</span>
12377+
12378+
<div class="inner description marked">
12379+
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
12380+
</div>
12381+
</div>
12382+
</div>
12383+
</div>
12384+
</td>
1235212385
</tr>
1235312386

1235412387
</table>
@@ -21503,9 +21536,10 @@ <h3>Usage and SDK Samples</h3>
2150321536
const page = 1;
2150421537
const unitdp = 4;
2150521538
const pageSize = 100;
21539+
const references = [&quot;Ref1&quot;, &quot;Ref2&quot;];
2150621540

2150721541
try {
21508-
const response = await xero.accountingApi.getBankTransactions(xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize);
21542+
const response = await xero.accountingApi.getBankTransactions(xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, references);
2150921543
console.log(response.body || response.response.statusCode)
2151021544
} catch (err) {
2151121545
const error = JSON.stringify(err.response.body, null, 2)
@@ -21685,6 +21719,26 @@ <h2>Parameters</h2>
2168521719
</div>
2168621720
</div>
2168721721
</td>
21722+
</tr>
21723+
21724+
<tr><td style="width:150px;">References</td>
21725+
<td>
21726+
21727+
21728+
<div id="d2e199_getBankTransactions_references">
21729+
<div class="json-schema-view">
21730+
<div class="primitive">
21731+
<span class="type">
21732+
array[String]
21733+
</span>
21734+
21735+
<div class="inner description marked">
21736+
Filter by a comma-separated list of References
21737+
</div>
21738+
</div>
21739+
</div>
21740+
</div>
21741+
</td>
2168821742
</tr>
2168921743

2169021744
</table>
@@ -31779,9 +31833,10 @@ <h3>Usage and SDK Samples</h3>
3177931833
const unitdp = 4;
3178031834
const pageSize = 100;
3178131835
const invoiceNumbers = [&quot;INV-001&quot;, &quot;INV-002&quot;];
31836+
const references = [&quot;Ref1&quot;, &quot;Ref2&quot;];
3178231837

3178331838
try {
31784-
const response = await xero.accountingApi.getPrepayments(xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, invoiceNumbers);
31839+
const response = await xero.accountingApi.getPrepayments(xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, invoiceNumbers, references);
3178531840
console.log(response.body || response.response.statusCode)
3178631841
} catch (err) {
3178731842
const error = JSON.stringify(err.response.body, null, 2)
@@ -31915,7 +31970,7 @@ <h2>Parameters</h2>
3191531970
</span>
3191631971

3191731972
<div class="inner description marked">
31918-
e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment
31973+
e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each prepayment
3191931974
</div>
3192031975
</div>
3192131976
</div>
@@ -31981,6 +32036,26 @@ <h2>Parameters</h2>
3198132036
</div>
3198232037
</div>
3198332038
</td>
32039+
</tr>
32040+
32041+
<tr><td style="width:150px;">References</td>
32042+
<td>
32043+
32044+
32045+
<div id="d2e199_getPrepayments_references">
32046+
<div class="json-schema-view">
32047+
<div class="primitive">
32048+
<span class="type">
32049+
array[String]
32050+
</span>
32051+
32052+
<div class="inner description marked">
32053+
Filter by a comma-separated list of References
32054+
</div>
32055+
</div>
32056+
</div>
32057+
</div>
32058+
</td>
3198432059
</tr>
3198532060

3198632061
</table>
@@ -41065,6 +41140,7 @@ <h3>Usage and SDK Samples</h3>
4106541140
const invoiceID = '00000000-0000-0000-0000-000000000000';
4106641141
const unitdp = 4;
4106741142
const idempotencyKey = 'KEY_VALUE';
41143+
const allowBackorders = true;
4106841144

4106941145
const invoice: Invoice = {
4107041146
reference: "I am Iron man"
@@ -41075,7 +41151,7 @@ <h3>Usage and SDK Samples</h3>
4107541151
};
4107641152

4107741153
try {
41078-
const response = await xero.accountingApi.updateInvoice(xeroTenantId, invoiceID, invoices, unitdp,idempotencyKey);
41154+
const response = await xero.accountingApi.updateInvoice(xeroTenantId, invoiceID, invoices, unitdp,idempotencyKey, allowBackorders);
4107941155
console.log(response.body || response.response.statusCode)
4108041156
} catch (err) {
4108141157
const error = JSON.stringify(err.response.body, null, 2)
@@ -41244,6 +41320,26 @@ <h2>Parameters</h2>
4124441320
</div>
4124541321
</div>
4124641322
</td>
41323+
</tr>
41324+
41325+
<tr><td style="width:150px;">allowBackorders</td>
41326+
<td>
41327+
41328+
41329+
<div id="d2e199_updateInvoice_allowBackorders">
41330+
<div class="json-schema-view">
41331+
<div class="primitive">
41332+
<span class="type">
41333+
Boolean
41334+
</span>
41335+
41336+
<div class="inner description marked">
41337+
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
41338+
</div>
41339+
</div>
41340+
</div>
41341+
</div>
41342+
</td>
4124741343
</tr>
4124841344

4124941345
</table>
@@ -42942,6 +43038,7 @@ <h3>Usage and SDK Samples</h3>
4294243038
const summarizeErrors = true;
4294343039
const unitdp = 4;
4294443040
const idempotencyKey = 'KEY_VALUE';
43041+
const allowBackorders = true;
4294543042
const dateValue = '2020-10-10'
4294643043
const dueDateValue = '2020-10-28'
4294743044

@@ -42973,7 +43070,7 @@ <h3>Usage and SDK Samples</h3>
4297343070
};
4297443071

4297543072
try {
42976-
const response = await xero.accountingApi.updateOrCreateInvoices(xeroTenantId, invoices, summarizeErrors, unitdp,idempotencyKey);
43073+
const response = await xero.accountingApi.updateOrCreateInvoices(xeroTenantId, invoices, summarizeErrors, unitdp,idempotencyKey, allowBackorders);
4297743074
console.log(response.body || response.response.statusCode)
4297843075
} catch (err) {
4297943076
const error = JSON.stringify(err.response.body, null, 2)
@@ -43140,6 +43237,26 @@ <h2>Parameters</h2>
4314043237
</div>
4314143238
</div>
4314243239
</td>
43240+
</tr>
43241+
43242+
<tr><td style="width:150px;">allowBackorders</td>
43243+
<td>
43244+
43245+
43246+
<div id="d2e199_updateOrCreateInvoices_allowBackorders">
43247+
<div class="json-schema-view">
43248+
<div class="primitive">
43249+
<span class="type">
43250+
Boolean
43251+
</span>
43252+
43253+
<div class="inner description marked">
43254+
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
43255+
</div>
43256+
</div>
43257+
</div>
43258+
</div>
43259+
</td>
4314343260
</tr>
4314443261

4314543262
</table>

docs/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@
12431243
<nav id="scrollingNav">
12441244
<ul class="sidenav nav nav-list">
12451245
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1246-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>19.0.0</li>
1246+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>19.1.0</li>
12471247
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12481248
<li data-group="AppStore" data-name="getSubscription" class="">
12491249
<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
@@ -1421,7 +1421,7 @@
14211421
<nav id="scrollingNav">
14221422
<ul class="sidenav nav nav-list">
14231423
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1424-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>19.0.0</li>
1424+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>19.1.0</li>
14251425
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14261426
<li data-group="Asset" data-name="createAsset" class="">
14271427
<a href="#api-Asset-createAsset">createAsset</a>

docs/bankfeeds/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@
12701270
<nav id="scrollingNav">
12711271
<ul class="sidenav nav nav-list">
12721272
<li class="nav-header" data-group="BankFeeds"><strong>SDK: </strong><span id='sdk-name'></span></li>
1273-
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>19.0.0</li>
1273+
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>19.1.0</li>
12741274
<li class="nav-header" data-group="BankFeeds"><a href="#api-BankFeeds">Methods</a></li>
12751275
<li data-group="BankFeeds" data-name="createFeedConnections" class="">
12761276
<a href="#api-BankFeeds-createFeedConnections">createFeedConnections</a>

docs/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@
11821182
<nav id="scrollingNav">
11831183
<ul class="sidenav nav nav-list">
11841184
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1185-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>19.0.0</li>
1185+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>19.1.0</li>
11861186
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11871187
<li data-group="Files" data-name="createFileAssociation" class="">
11881188
<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
@@ -2377,7 +2377,7 @@
23772377
<nav id="scrollingNav">
23782378
<ul class="sidenav nav nav-list">
23792379
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2380-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>19.0.0</li>
2380+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>19.1.0</li>
23812381
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
23822382
<li data-group="Finance" data-name="getBankStatementAccounting" class="">
23832383
<a href="#api-Finance-getBankStatementAccounting">getBankStatementAccounting</a>

docs/payroll-au-v2/index.html

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

docs/payroll-au/index.html

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

docs/payroll-nz/index.html

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

docs/payroll-uk/index.html

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

0 commit comments

Comments
 (0)