Skip to content

Commit de9b6e7

Browse files
Merge pull request #361 from XeroAPI/13.0.0
Releasing 13.0.0 (OAS: 11.1.0)
2 parents a9841d3 + 8c3bd9f commit de9b6e7

46 files changed

Lines changed: 8472 additions & 119 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/accounting/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6304,6 +6304,7 @@
63046304
<option data-url="https://xeroapi.github.io/xero-ruby/files/index.html" value="Files">Files</option>
63056305
<option data-url="https://xeroapi.github.io/xero-ruby/projects/index.html" value="Project">Projects</option>
63066306
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au/index.html" value="PayrollAu">Payroll (AU)</option>
6307+
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au_v2/index.html" value="PayrollAuV2">Payroll (AU) V2</option>
63076308
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_uk/index.html" value="PayrollUk">Payroll (UK)</option>
63086309
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_nz/index.html" value="PayrollNz">Payroll (NZ)</option>
63096310
<option data-url="https://xeroapi.github.io/xero-ruby/app_store/index.html" value="AppStore">App Store</option>
@@ -6349,7 +6350,7 @@
63496350
<nav id="scrollingNav">
63506351
<ul class="sidenav nav nav-list">
63516352
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6352-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>12.4.0</li>
6353+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>13.0.0</li>
63536354
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63546355
<li data-group="Accounting" data-name="createAccount" class="">
63556356
<a href="#api-Accounting-createAccount">createAccount</a>

docs/app_store/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@
11961196
<option data-url="https://xeroapi.github.io/xero-ruby/files/index.html" value="Files">Files</option>
11971197
<option data-url="https://xeroapi.github.io/xero-ruby/projects/index.html" value="Project">Projects</option>
11981198
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au/index.html" value="PayrollAu">Payroll (AU)</option>
1199+
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au_v2/index.html" value="PayrollAuV2">Payroll (AU) V2</option>
11991200
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_uk/index.html" value="PayrollUk">Payroll (UK)</option>
12001201
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_nz/index.html" value="PayrollNz">Payroll (NZ)</option>
12011202
<option data-url="https://xeroapi.github.io/xero-ruby/app_store/index.html" value="AppStore">App Store</option>
@@ -1241,7 +1242,7 @@
12411242
<nav id="scrollingNav">
12421243
<ul class="sidenav nav nav-list">
12431244
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1244-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>12.4.0</li>
1245+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>13.0.0</li>
12451246
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12461247
<li data-group="AppStore" data-name="getSubscription" class="">
12471248
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/assets/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,7 @@
13741374
<option data-url="https://xeroapi.github.io/xero-ruby/files/index.html" value="Files">Files</option>
13751375
<option data-url="https://xeroapi.github.io/xero-ruby/projects/index.html" value="Project">Projects</option>
13761376
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au/index.html" value="PayrollAu">Payroll (AU)</option>
1377+
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au_v2/index.html" value="PayrollAuV2">Payroll (AU) V2</option>
13771378
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_uk/index.html" value="PayrollUk">Payroll (UK)</option>
13781379
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_nz/index.html" value="PayrollNz">Payroll (NZ)</option>
13791380
<option data-url="https://xeroapi.github.io/xero-ruby/app_store/index.html" value="AppStore">App Store</option>
@@ -1419,7 +1420,7 @@
14191420
<nav id="scrollingNav">
14201421
<ul class="sidenav nav nav-list">
14211422
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1422-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>12.4.0</li>
1423+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>13.0.0</li>
14231424
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14241425
<li data-group="Asset" data-name="createAsset" class="">
14251426
<a href="#api-Asset-createAsset">createAsset</a>

docs/files/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,7 @@
11251125
<option data-url="https://xeroapi.github.io/xero-ruby/files/index.html" value="Files">Files</option>
11261126
<option data-url="https://xeroapi.github.io/xero-ruby/projects/index.html" value="Project">Projects</option>
11271127
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au/index.html" value="PayrollAu">Payroll (AU)</option>
1128+
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au_v2/index.html" value="PayrollAuV2">Payroll (AU) V2</option>
11281129
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_uk/index.html" value="PayrollUk">Payroll (UK)</option>
11291130
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_nz/index.html" value="PayrollNz">Payroll (NZ)</option>
11301131
<option data-url="https://xeroapi.github.io/xero-ruby/app_store/index.html" value="AppStore">App Store</option>
@@ -1170,7 +1171,7 @@
11701171
<nav id="scrollingNav">
11711172
<ul class="sidenav nav nav-list">
11721173
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1173-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>12.4.0</li>
1174+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>13.0.0</li>
11741175
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11751176
<li data-group="Files" data-name="createFileAssociation" class="">
11761177
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/finance/index.html

Lines changed: 3 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,35 +1504,6 @@
15041504
},
15051505
"additionalProperties" : false,
15061506
"description" : ""
1507-
};
1508-
defs["HistoryRecordResponse"] = {
1509-
"title" : "",
1510-
"type" : "object",
1511-
"properties" : {
1512-
"changes" : {
1513-
"type" : "string",
1514-
"description" : "The type of change recorded against the document"
1515-
},
1516-
"dateUTCString" : {
1517-
"type" : "string",
1518-
"description" : "UTC date that the history record was created"
1519-
},
1520-
"dateUTC" : {
1521-
"type" : "string",
1522-
"description" : "UTC date that the history record was created",
1523-
"format" : "date-time"
1524-
},
1525-
"user" : {
1526-
"type" : "string",
1527-
"description" : "The users first and last name"
1528-
},
1529-
"details" : {
1530-
"type" : "string",
1531-
"description" : "Description of the change event or transaction"
1532-
}
1533-
},
1534-
"additionalProperties" : false,
1535-
"description" : ""
15361507
};
15371508
defs["IncomeByContactResponse"] = {
15381509
"title" : "",
@@ -1804,36 +1775,6 @@
18041775
},
18051776
"additionalProperties" : false,
18061777
"description" : ""
1807-
};
1808-
defs["PracticeResponse"] = {
1809-
"title" : "",
1810-
"type" : "object",
1811-
"properties" : {
1812-
"xeroPartnerSince" : {
1813-
"type" : "integer",
1814-
"description" : "Year of becoming a partner.",
1815-
"format" : "int32"
1816-
},
1817-
"tier" : {
1818-
"type" : "string",
1819-
"description" : "Customer tier e.g. Silver"
1820-
},
1821-
"location" : {
1822-
"type" : "string",
1823-
"description" : "Country of location."
1824-
},
1825-
"organisationCount" : {
1826-
"type" : "integer",
1827-
"description" : "Organisation count.",
1828-
"format" : "int32"
1829-
},
1830-
"staffCertified" : {
1831-
"type" : "boolean",
1832-
"description" : "Staff certified (true/false)."
1833-
}
1834-
},
1835-
"additionalProperties" : false,
1836-
"description" : ""
18371778
};
18381779
defs["PrepaymentResponse"] = {
18391780
"title" : "",
@@ -2351,7 +2292,7 @@
23512292
"additionalProperties" : false,
23522293
"description" : ""
23532294
};
2354-
2295+
23552296
var errs = {};
23562297

23572298
function routeDocs(event) {
@@ -2389,6 +2330,7 @@
23892330
<option data-url="https://xeroapi.github.io/xero-ruby/files/index.html" value="Files">Files</option>
23902331
<option data-url="https://xeroapi.github.io/xero-ruby/projects/index.html" value="Project">Projects</option>
23912332
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au/index.html" value="PayrollAu">Payroll (AU)</option>
2333+
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_au_v2/index.html" value="PayrollAuV2">Payroll (AU) V2</option>
23922334
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_uk/index.html" value="PayrollUk">Payroll (UK)</option>
23932335
<option data-url="https://xeroapi.github.io/xero-ruby/payroll_nz/index.html" value="PayrollNz">Payroll (NZ)</option>
23942336
<option data-url="https://xeroapi.github.io/xero-ruby/app_store/index.html" value="AppStore">App Store</option>
@@ -2434,7 +2376,7 @@
24342376
<nav id="scrollingNav">
24352377
<ul class="sidenav nav nav-list">
24362378
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2437-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>12.4.0</li>
2379+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>13.0.0</li>
24382380
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
24392381
<li data-group="Finance" data-name="getBankStatementAccounting" class="">
24402382
<a href="#api-Finance-getBankStatementAccounting">getBankStatementAccounting</a>

docs/payroll_au/EarningsRate.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**is_exempt_from_tax** | **Boolean** | Most payments are subject to tax, so you should only set this value if you are sure that a payment is exempt from PAYG withholding | [optional]
1111
**is_exempt_from_super** | **Boolean** | See the ATO website for details of which payments are exempt from SGC | [optional]
1212
**is_reportable_as_w1** | **Boolean** | Boolean to determine if the earnings rate is reportable or exempt from W1 | [optional]
13+
**is_qualifying_earnings** | **Boolean** | Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings | [optional]
1314
**allowance_contributes_to_annual_leave_rate** | **Boolean** | Boolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT | [optional]
1415
**allowance_contributes_to_overtime_rate** | **Boolean** | Boolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT | [optional]
1516
**earnings_type** | [**EarningsType**](EarningsType.md) | | [optional]
@@ -36,6 +37,7 @@ instance = XeroRuby::PayrollAu::EarningsRate.new(name: PTO,
3637
is_exempt_from_tax: false,
3738
is_exempt_from_super: false,
3839
is_reportable_as_w1: false,
40+
is_qualifying_earnings: true,
3941
allowance_contributes_to_annual_leave_rate: false,
4042
allowance_contributes_to_overtime_rate: false,
4143
earnings_type: null,

docs/payroll_au/Employee.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Name | Type | Description | Notes
3535
**country_of_residence** | [**CountryOfResidence**](CountryOfResidence.md) | | [optional]
3636
**is_stp2_qualified** | **Boolean** | Indicates if the employee has been updated for STP Phase 2 compliance. Doesn&#39;t indicate that the employee is payable. | [optional]
3737
**leave_balances** | [**Array&lt;LeaveBalance&gt;**](LeaveBalance.md) | | [optional]
38-
**leave_lines** | [**Array&lt;LeaveLine&gt;**](LeaveLine.md) | | [optional]
3938
**super_memberships** | [**Array&lt;SuperMembership&gt;**](SuperMembership.md) | | [optional]
4039
**status** | [**EmployeeStatus**](EmployeeStatus.md) | | [optional]
4140
**updated_date_utc** | **DateTime** | Last modified timestamp | [optional]
@@ -77,7 +76,6 @@ instance = XeroRuby::PayrollAu::Employee.new(first_name: Karen,
7776
country_of_residence: null,
7877
is_stp2_qualified: true,
7978
leave_balances: null,
80-
leave_lines: null,
8179
super_memberships: null,
8280
status: null,
8381
updated_date_utc: /Date(1583967733054+0000)/,

docs/payroll_au/LeaveLine.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**entitlement_final_pay_payout_type** | [**EntitlementFinalPayPayoutType**](EntitlementFinalPayPayoutType.md) | | [optional]
1010
**employment_termination_payment_type** | [**EmploymentTerminationPaymentType**](EmploymentTerminationPaymentType.md) | | [optional]
1111
**include_superannuation_guarantee_contribution** | **Boolean** | amount of leave line | [optional]
12+
**is_qualifying_earnings** | **Boolean** | Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on superannuation settings | [optional]
1213
**number_of_units** | **BigDecimal** | Number of units for leave line. | [optional]
1314
**annual_number_of_units** | **BigDecimal** | Hours of leave accrued each year | [optional]
1415
**full_time_number_of_units_per_period** | **BigDecimal** | Normal ordinary earnings number of units for leave line. | [optional]
@@ -23,6 +24,7 @@ instance = XeroRuby::PayrollAu::LeaveLine.new(leave_type_id: 742998cb-7584-4ecf-
2324
entitlement_final_pay_payout_type: null,
2425
employment_termination_payment_type: null,
2526
include_superannuation_guarantee_contribution: true,
27+
is_qualifying_earnings: true,
2628
number_of_units: 2.5,
2729
annual_number_of_units: 2.5,
2830
full_time_number_of_units_per_period: 2.5)

docs/payroll_au/LeaveType.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**current_record** | **Boolean** | Is the current record | [optional]
1616
**leave_category_code** | [**LeaveCategoryCode**](LeaveCategoryCode.md) | | [optional]
1717
**sgc_exempt** | **Boolean** | Set this to indicate that the leave type is exempt from superannuation guarantee contribution | [optional]
18+
**is_qualifying_earnings** | **Boolean** | Optional Boolean to determine if the earnings rate is considered as qualifying earnings for superannuation guarantee calculations. When not specified value is calculated based on earnings type and superannuation settings | [optional]
1819

1920
## Code Sample
2021

@@ -31,7 +32,8 @@ instance = XeroRuby::PayrollAu::LeaveType.new(name: PTO,
3132
show_on_payslip: true,
3233
current_record: true,
3334
leave_category_code: null,
34-
sgc_exempt: true)
35+
sgc_exempt: true,
36+
is_qualifying_earnings: true)
3537
```
3638

3739

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# XeroRuby::PayrollAu::OpeningBalanceLeaveLine
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**leave_type_id** | **String** | Xero leave type identifier | [optional]
8+
**number_of_units** | **BigDecimal** | Number of units for leave line. | [optional]
9+
10+
## Code Sample
11+
12+
```ruby
13+
require 'XeroRuby::PayrollAu'
14+
15+
instance = XeroRuby::PayrollAu::OpeningBalanceLeaveLine.new(leave_type_id: 742998cb-7584-4ecf-aa88-d694f59c50f9,
16+
number_of_units: 2.5)
17+
```
18+
19+

0 commit comments

Comments
 (0)