Releases: XeroAPI/Xero-Java
4.10.0
Build from OpenAPI spec 2.12.0
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.12.0
ACCOUNTING
Add summaryOnly param to getInvoices
Add payments array to Prepayment object
4.9.1
Added method to revoke refresh token to ApiClient class
Build from OAS 2.11.0 https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.11.0
ACCOUNTING
Add summaryOnly param to getContacts
Remove readonly property from Manual Journal Line TaxAmount
PROJECTS
Missing ENUM for Time entry status "INVOICED"
BANKFEEDS
Add missing ENUM for bank feed error "feed-not-found-or-already-deleted"
4.8.3
Build from OAS 2.10.4 - https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.10.4
UK PAYROLL
Add missing SalaryAndWage payment type - Hourly
New exception classes added - thank you @evelinasmit
Add API exception types for statuses
501 XeroNotImplementedException
503 XeroNotAvailableException
4.8.2
Build from OpenAPI spec 2.10.3
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.10.3
FILES API
Fix path for uploadFileToFolder method
Replaced inline objects with UploadObject for use by both upload methods
BANKFEED API
Fix error response and status code for Feedconnections. The API will actually return an overall HTTP 400 but will include a sub-status per connection error in the response body. I removed the 409 from the expected responses, and updated the schema/example for the 400
4.8.1
ACCOUNTING
added validationerror to batchpayment object & remove from batchpayments
BANKFEEDS
Fixed statementId in path for getStament method
Added transactionType to StatementLine
Updated a few method return status from 200 to 201
UKPAYROLL
GET Employees and GET Timesheets was not passing filter params correctly.
Get methods for Employees and Timesheets incorrectly defined params to be passed by name for querying the API. Instead it needs to be a single param called "filter" that has named params and values passed together.
4.8.0
Merged PR with XeroRateLimitException subtypes
Specific Rate Limit exceptions added
ApiClient - updated connectionTimeout and readTimeout default to 180000 milliseconds (3 min). You can override and set as high as 5 min.
Lots of missing comments added to eliminate warnings during build of JavaDocs
4.7.2
Add Auth0 library for verifying JWTs
4.7.1
Build from OAS 2.9.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.9.4
UK PAYROLL
Add 7 missing enums for EarningRate Type
4.7.0
FILES
All Files API methods and models added
ACCOUNTING
BatchPaymentID property added to Payment object
4.6.0
Build from OAS 2.9.0
ACCOUNTING
Add Warnings array to CreditNote object
This Organisation object previously used the singular CISOrgSetting component, but that did not match the API response.
New CISOrgSettings model with a CISSettings property (array of CISOrgSetting) that matches the API response.
Re-add x-is-money to CreditNote.AppliedAmount
ASSETS
filterby parameter for GET assets acts as an keyword search against the AssetName, AssetNumber, Description and AssetTypeName fields
In preparation for use to generate API reference documentation, we've done some clean up of misspellings, add more consistency around summaries and descriptions. Adjusted capitalisations on paths.