Skip to content

Commit 5f58475

Browse files
Merge pull request #381 from XeroAPI/OAS-6.3.0-java
Build from OAS 6.3.0
2 parents 67800cf + 8855188 commit 5f58475

26 files changed

+1533
-39
lines changed

docs/v4/accounting/index.html

Lines changed: 124 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,6 +2562,13 @@
25622562
"items" : {
25632563
"$ref" : "#/components/schemas/ValidationError"
25642564
}
2565+
},
2566+
"InvoiceAddresses" : {
2567+
"type" : "array",
2568+
"description" : "An array of addresses used to auto calculate sales tax",
2569+
"items" : {
2570+
"$ref" : "#/components/schemas/InvoiceAddress"
2571+
}
25652572
}
25662573
},
25672574
"description" : "",
@@ -3257,12 +3264,63 @@
32573264
"items" : {
32583265
"$ref" : "#/components/schemas/ValidationError"
32593266
}
3267+
},
3268+
"InvoiceAddresses" : {
3269+
"type" : "array",
3270+
"description" : "An array of addresses used to auto calculate sales tax",
3271+
"items" : {
3272+
"$ref" : "#/components/schemas/InvoiceAddress"
3273+
}
32603274
}
32613275
},
32623276
"description" : "",
32633277
"externalDocs" : {
32643278
"url" : "http://developer.xero.com/documentation/api/invoices/"
32653279
}
3280+
};
3281+
defs["InvoiceAddress"] = {
3282+
"title" : "",
3283+
"type" : "object",
3284+
"properties" : {
3285+
"InvoiceAddressType" : {
3286+
"type" : "string",
3287+
"description" : "Indicates whether the address is defined as origin (FROM) or destination (TO)",
3288+
"enum" : [ "FROM", "TO" ]
3289+
},
3290+
"AddressLine1" : {
3291+
"type" : "string",
3292+
"description" : "First line of a physical address"
3293+
},
3294+
"AddressLine2" : {
3295+
"type" : "string",
3296+
"description" : "Second line of a physical address"
3297+
},
3298+
"AddressLine3" : {
3299+
"type" : "string",
3300+
"description" : "Third line of a physical address"
3301+
},
3302+
"AddressLine4" : {
3303+
"type" : "string",
3304+
"description" : "Fourth line of a physical address"
3305+
},
3306+
"City" : {
3307+
"type" : "string",
3308+
"description" : "City of a physical address"
3309+
},
3310+
"Region" : {
3311+
"type" : "string",
3312+
"description" : "Region or state of a physical address"
3313+
},
3314+
"PostalCode" : {
3315+
"type" : "string",
3316+
"description" : "Postal code of a physical address"
3317+
},
3318+
"Country" : {
3319+
"type" : "string",
3320+
"description" : "Country of a physical address"
3321+
}
3322+
},
3323+
"description" : ""
32663324
};
32673325
defs["InvoiceReminder"] = {
32683326
"title" : "",
@@ -3658,6 +3716,22 @@
36583716
"description" : "The Xero identifier for a Repeating Invoice",
36593717
"format" : "uuid",
36603718
"example" : "00000000-0000-0000-0000-000000000000"
3719+
},
3720+
"Taxability" : {
3721+
"type" : "string",
3722+
"description" : "The type of taxability",
3723+
"enum" : [ "TAXABLE", "NON_TAXABLE", "EXEMPT", "PART_TAXABLE", "NOT_APPLICABLE" ]
3724+
},
3725+
"SalesTaxCodeId" : {
3726+
"type" : "number",
3727+
"description" : "The ID of the sales tax code"
3728+
},
3729+
"TaxBreakdown" : {
3730+
"type" : "array",
3731+
"description" : "An array of tax components defined for this line item",
3732+
"items" : {
3733+
"$ref" : "#/components/schemas/TaxBreakdownComponent"
3734+
}
36613735
}
36623736
},
36633737
"description" : "",
@@ -5697,6 +5771,55 @@
56975771
"externalDocs" : {
56985772
"url" : "https://developer.xero.com/documentation/api-guides/conversions"
56995773
}
5774+
};
5775+
defs["TaxBreakdownComponent"] = {
5776+
"title" : "",
5777+
"type" : "object",
5778+
"properties" : {
5779+
"TaxComponentId" : {
5780+
"type" : "string",
5781+
"description" : "The unique ID number of this component",
5782+
"format" : "uuid"
5783+
},
5784+
"Type" : {
5785+
"type" : "string",
5786+
"description" : "The type of the jurisdiction",
5787+
"enum" : [ "SYSGST/USCOUNTRY", "SYSGST/USSTATE", "SYSGST/USCOUNTY", "SYSGST/USCITY", "SYSGST/USSPECIAL" ]
5788+
},
5789+
"Name" : {
5790+
"type" : "string",
5791+
"description" : "The name of the jurisdiction"
5792+
},
5793+
"TaxPercentage" : {
5794+
"type" : "number",
5795+
"description" : "The percentage of the tax"
5796+
},
5797+
"TaxAmount" : {
5798+
"type" : "number",
5799+
"description" : "The amount of the tax"
5800+
},
5801+
"TaxableAmount" : {
5802+
"type" : "number",
5803+
"description" : "The amount that is taxable"
5804+
},
5805+
"NonTaxableAmount" : {
5806+
"type" : "number",
5807+
"description" : "The amount that is not taxable"
5808+
},
5809+
"ExemptAmount" : {
5810+
"type" : "number",
5811+
"description" : "The amount that is exempt"
5812+
},
5813+
"StateAssignedNo" : {
5814+
"type" : "string",
5815+
"description" : "The state assigned number of the jurisdiction"
5816+
},
5817+
"JurisdictionRegion" : {
5818+
"type" : "string",
5819+
"description" : "Name identifying the region within the country"
5820+
}
5821+
},
5822+
"description" : ""
57005823
};
57015824
defs["TaxComponent"] = {
57025825
"title" : "",
@@ -6212,7 +6335,7 @@
62126335
<nav id="scrollingNav">
62136336
<ul class="sidenav nav nav-list">
62146337
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6215-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.2.0</li>
6338+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.3.0</li>
62166339
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
62176340
<li data-group="Accounting" data-name="createAccount" class="">
62186341
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v4/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
<nav id="scrollingNav">
12381238
<ul class="sidenav nav nav-list">
12391239
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1240-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.2.0</li>
1240+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.3.0</li>
12411241
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12421242
<li data-group="AppStore" data-name="getSubscription" class="">
12431243
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v4/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@
13881388
<nav id="scrollingNav">
13891389
<ul class="sidenav nav nav-list">
13901390
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1391-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.2.0</li>
1391+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.3.0</li>
13921392
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13931393
<li data-group="Asset" data-name="createAsset" class="">
13941394
<a href="#api-Asset-createAsset">createAsset</a>

docs/v4/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@
11441144
<nav id="scrollingNav">
11451145
<ul class="sidenav nav nav-list">
11461146
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1147-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.2.0</li>
1147+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.3.0</li>
11481148
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11491149
<li data-group="Files" data-name="createFileAssociation" class="">
11501150
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v4/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@
27332733
<nav id="scrollingNav">
27342734
<ul class="sidenav nav nav-list">
27352735
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2736-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.2.0</li>
2736+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.3.0</li>
27372737
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27382738
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27392739
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v4/payroll-au/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3411,7 +3411,7 @@
34113411
<nav id="scrollingNav">
34123412
<ul class="sidenav nav nav-list">
34133413
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3414-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.2.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.3.0</li>
34153415
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34163416
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34173417
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/v4/payroll-nz/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4027,7 +4027,7 @@
40274027
<nav id="scrollingNav">
40284028
<ul class="sidenav nav nav-list">
40294029
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4030-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.2.0</li>
4030+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.3.0</li>
40314031
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40324032
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40334033
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v4/payroll-uk/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,6 +1748,13 @@
17481748
"type" : "number",
17491749
"description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
17501750
"format" : "double"
1751+
},
1752+
"scheduleOfAccrualDate" : {
1753+
"type" : "string",
1754+
"description" : "The date when an employee becomes entitled to their accrual. Only applicable when scheduleOfAccrual is \"OnAnniversaryDate\"",
1755+
"format" : "date",
1756+
"example" : "2024-04-01",
1757+
"x-is-date" : true
17511758
}
17521759
},
17531760
"description" : ""
@@ -3506,7 +3513,7 @@
35063513
<nav id="scrollingNav">
35073514
<ul class="sidenav nav nav-list">
35083515
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3509-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.2.0</li>
3516+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.3.0</li>
35103517
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35113518
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35123519
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
@@ -4941,6 +4948,7 @@ <h3>Usage and SDK Samples</h3>
49414948
employeeLeaveType.setLeaveTypeID(UUID.fromString("00000000-0000-0000-0000-000000000000"));
49424949
employeeLeaveType.setScheduleOfAccrual(com.xero.models.payrolluk.EmployeeLeaveType.ScheduleOfAccrualEnum.BeginningOfCalendarYear);
49434950
employeeLeaveType.setOpeningBalance(5.25);
4951+
employeeLeaveType.setScheduleOfAccrualDate(2024-05-01);
49444952

49454953
try {
49464954
EmployeeLeaveTypeObject result = apiInstance.createEmployeeLeaveType(accessToken, xeroTenantId, employeeID, employeeLeaveType, idempotencyKey);

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>xero-java</artifactId>
66
<packaging>jar</packaging>
77
<name>xero-java</name>
8-
<version>8.2.0</version>
8+
<version>8.3.0</version>
99
<url>https://github.com/XeroAPI/Xero-Java</url>
1010
<description>This is the official Java SDK for Xero API</description>
1111
<licenses>

src/main/java/com/xero/api/client/AccountingApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Xero Accounting API
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: 6.2.0
5+
* The version of the OpenAPI document: 6.3.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -102,7 +102,7 @@ public class AccountingApi {
102102
private ApiClient apiClient;
103103
private static AccountingApi instance = null;
104104
private String userAgent = "Default";
105-
private String version = "8.2.0";
105+
private String version = "8.3.0";
106106
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class);
107107

108108
/** AccountingApi */

0 commit comments

Comments
 (0)