Skip to content

Commit 73f2ae4

Browse files
committed
Releasing 19.2.0 (OAS: 19.0.0)
1 parent 16f7391 commit 73f2ae4

25 files changed

Lines changed: 74 additions & 47 deletions

File tree

docs/accounting/index.html

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2576,8 +2576,7 @@
25762576
},
25772577
"SentToContact" : {
25782578
"type" : "boolean",
2579-
"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",
2580-
"readOnly" : true
2579+
"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"
25812580
},
25822581
"CurrencyRate" : {
25832582
"type" : "number",
@@ -3204,23 +3203,20 @@
32043203
},
32053204
"SubTotal" : {
32063205
"type" : "number",
3207-
"description" : "Total of invoice excluding taxes",
3206+
"description" : "Total of invoice excluding taxes. Calculated automatically by Xero from the invoice's line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can SubTotal be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with TotalTax and Total, it is validated against the calculated line item totals (see RoundingAmount); it is ignored in all other cases. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)\n",
32083207
"format" : "double",
3209-
"readOnly" : true,
32103208
"x-is-money" : true
32113209
},
32123210
"TotalTax" : {
32133211
"type" : "number",
3214-
"description" : "Total tax on invoice",
3212+
"description" : "Total tax on invoice. Calculated automatically by Xero from the invoice's line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can TotalTax be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with SubTotal and Total, it is validated against the calculated line item totals (see RoundingAmount); it is ignored in all other cases. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)\n",
32153213
"format" : "double",
3216-
"readOnly" : true,
32173214
"x-is-money" : true
32183215
},
32193216
"Total" : {
32203217
"type" : "number",
3221-
"description" : "Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts",
3218+
"description" : "Total of Invoice tax inclusive (i.e. SubTotal + TotalTax + RoundingAmount). Calculated automatically by Xero from the invoice's line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can Total be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with SubTotal and TotalTax, it is validated against the calculated line item totals plus RoundingAmount; in all other cases this will be ignored if it does not equal the sum of the LineAmounts. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)\n",
32223219
"format" : "double",
3223-
"readOnly" : true,
32243220
"x-is-money" : true
32253221
},
32263222
"TotalDiscount" : {
@@ -3230,6 +3226,18 @@
32303226
"readOnly" : true,
32313227
"x-is-money" : true
32323228
},
3229+
"RoundingAmount" : {
3230+
"type" : "number",
3231+
"description" : "An optional rounding adjustment added to SubTotal + TotalTax to give Total (i.e. Total = SubTotal + TotalTax + RoundingAmount). Only applies to ACCPAY and ACCREC invoices, and only if this opt-in capability has been enabled for your organisation. Not validated while the invoice is DRAFT. For SUBMITTED and AUTHORISED invoices, RoundingAmount is only applied when SubTotal, TotalTax and Total are all supplied together, and must be between -0.10 and 0.10 – values outside this range are rejected with a validation error (on DRAFT invoices, an out-of-range value is ignored instead). This field is only settable and only returned via the Create and Update endpoints (POST/PUT) and when retrieving a single invoice by ID (GET by ID) – it is not returned when listing invoices (GET)\n",
3232+
"format" : "double",
3233+
"x-is-money" : true
3234+
},
3235+
"EnteredTotal" : {
3236+
"type" : "number",
3237+
"description" : "The total amount as originally entered for the invoice, before any RoundingAmount adjustment is applied. Only applies to ACCPAY and ACCREC invoices, and only if this opt-in capability has been enabled for your organisation. Can only be set while the invoice is DRAFT; once the invoice is no longer DRAFT this reflects Total. This field is only settable and only returned via the Create and Update endpoints (POST/PUT) and when retrieving a single invoice by ID (GET by ID) – it is not returned when listing invoices (GET)\n",
3238+
"format" : "double",
3239+
"x-is-money" : true
3240+
},
32333241
"InvoiceID" : {
32343242
"type" : "string",
32353243
"description" : "Xero generated unique identifier for invoice",
@@ -6507,7 +6515,7 @@
65076515
<nav id="scrollingNav">
65086516
<ul class="sidenav nav nav-list">
65096517
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6510-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>19.1.0</li>
6518+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>19.2.0</li>
65116519
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
65126520
<li data-group="Accounting" data-name="createAccount" class="">
65136521
<a href="#api-Accounting-createAccount">createAccount</a>

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.1.0</li>
1246+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>19.2.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.1.0</li>
1424+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>19.2.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.1.0</li>
1273+
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>19.2.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.1.0</li>
1185+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>19.2.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.1.0</li>
2380+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>19.2.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.1.0</li>
1164+
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>19.2.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.1.0</li>
3454+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>19.2.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.1.0</li>
4072+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>19.2.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@
24182418
"type" : "string",
24192419
"description" : "The employment status of the employee.",
24202420
"example" : "Employee",
2421-
"enum" : [ "Employee", "Worker", "Unspecified" ]
2421+
"enum" : [ "Employee", "Worker", "Unspecified", "OffPayrollWorker" ]
24222422
};
24232423
defs["InvalidField"] = {
24242424
"title" : "",
@@ -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.1.0</li>
3705+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>19.2.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)