Releases: XeroAPI/Xero-Java
4.3.0
Build from version 2.3.0 of OpenAPI spec https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.3.0
Includes changes from version 2.2.14 and 2.2.15
NZ Payroll support for methods and models.
ACCOUNTING
Account remove max length on the code field with account. Some orgs already have account codes longer than 10 chars, removing the limit allows the GET call to work correctly.
BatchPayment
Remove Max Length from details property as some data returned from API exceeds the previous 18 char limit
Add Separate scope for 1099 reports
AU PAYROLL
EmployeeNumber -change from float to string
TaxDeclaration - make employment basis not required
Add missing properties from LeaveLine
AnnualNumberOfUnits
FullTimeNumberOfUnitsPerPeriod
UK PAYROLL
remove duplicate deduction enum
PRIVATEUSEPAYMENTS
4.2.0
Build encompasses changes from OAS 2.1.11 thru 2.1.13
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.13
Improved exception handling heriarchy
ACCOUNTING
Added additional enum for Employee endpoint
Remove "Contact" as a req. param for Bank Transactions
Add DELETED enum to QuoteStatusCode in Quote schema
AU PAYROLL
Change LeaveLoadingRate from integer to double
Remove CalculationType requirement for EarningLine
restored the type of AccureLeave in ErarningsRate to boolean
UK PAYROLL
Change method getPayslips to getPaySlips
Add missing earningsRates
Add missing deduction type enums
Add missing deductible category enums
4.1.4
AU Payroll
EarningRate - change accrueLeave from boolean to Double
ACCOUNTING
add accountID to ManualJournalLine
Overload all create and update attachment methods to accept a byte[] and mimeType.
4.1.3
Build from version 2.2.9
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.9
ACCOUNTING
Uncommenting History and Notes specs reverse PR #245
Add RepeatingInvoiceID to the get invoices endpoint
Fix typo in report name/path for TenNinetyNineContact
Adding the 'BatchPayment' object to the response of:
GET /Payments
GET /Payments/{PaymentID}
GET /BankTransactions
GET /BankTransactions/{BankTransactionID}
This will be returned only when a payment/transaction is part of a batch.
AU PAYROLL
Employee object
Remove HomeAddress as required property
Add Account Type enum WAGESPAYABLELIABILITY
4.1.2
ASSETS
Remove AssetTypeId from req. property list
ACCOUNTING
Remove style:simple property from Statuses Filter
Change getQuoteAsPDF method to use QuoteID is path not QuotesID
AU PAYROLL
EarningsRate
• AccrueLeave change from number to boolean
LeaveType
• NormalEntitlement change from Int to Double
4.1.1
Build from OpenAPI spec 2.2.1 to 2.2.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.4
ACCOUNTING
Add summarizeError to CreditNote Allocation
Quote add missing properties
StatusAttributeString
ValidationErrors
Add proposed ReportTaxType enums for South Africa
Allocation
add Prepayment, Overpayment, CreditNote
add StatusAttributeString and ValidationErrors array
Schedule
add missing enums
Organisation
add EmployerIdentificationNumber
BANKFEEDS
Pagination - add missing type:object
AU PAYROLL
Add vendorExtension x-isObjectArray: true
IDENTITY
fix the casing of createdDateUTC to be createdDateUtc
4.1.0
Built with OpenAPI Generator 4.2.3 - all tests passed
UK Payroll Unit exit beta as all unit test complete and object/methods fixes
Release built from
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.6
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.7
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.0
4.0.2
Built from OpenAPI Spec version 2.1.5 and 2.1.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.5
ACCOUNTING
Add getContactByContactNumber method
Remove erroneous method getPrepaymentAsPdf removed.
BankTransfer amount changed from String to Number format: float
AU PAYROLL
UpdatePayslips response changed to Payslips
Example response for UpdatePayslips added
Data-type fix
ACCOUNTING
LineItem Quantity change from float to double
LineItem UnitAmount change from float to double
BankTransfer Amound change from float to double
Item QuantityOnHand change from float to double
PurchaseOrder UnitPrice change from float to double
ASSETS, PAYROLL AU and PAYROLL UK
All numbers with format float changed to double
4.0.1
See README for more information on breaking changes between 3.x and 4.x
ACCOUNTING (and all other APIs)
XeroApiException class deprecated in favor or error code specific exceptions
400 XeroBadRequestException
401| XeroUnauthorizedException
403 XeroForbiddenException
404 XeroNotFoundException
405 XeroMethodNotAllowedException
429 XeroRateLimitException
500 XeroServerErrorException
Refactor XeroApiExceptionHander to process unique exceptions
Update methods to throw unique 400 and 405 errors with validation data compatiable to that API set
Change date and datetime for Accounting to string with new method "AsDate" to converstion of MS Datetimeformat in the models and not during deserialization
Fix StringUtil to convert date to milliseconds using UTC timezone
LOGGING
Log4J replaced with logging facade,
Started added some "debug" level logging mesages
Note: open to suggestions for where you'd like to see logging
AU PAYROLL
- New model Payslips
- method updatePayslip response type changed to Payslips
UK PAYROLL
Unit tests added
EmployeeLeaveBalances
EmployeeLeavePeriods
EmployeeLeave
EmployeeLeaveTypes
EmployeeOpeningBalances
EmployeeStatutoryLeaveBalances
EmployeeStatutoryLeavesSummary
EmployeeStatutorySickLeave
EmployeeTax
Employee
Employment
Models and Methods modified to support Unit tests
3.6.0
Build from OAS 2.1.0 https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.0
UK Payroll initial commit - beta
- PayrollUkApi class with all methods for interacting with UK Payroll API
- Models for all UK Payroll objects
- TODO: unit tests for all models
ACCOUNTING
IncludeOnline boolean fixed to be a query Param for creditNote and invoice Attachments
ASSETS
assetTypeId property added to Asset object
IDENTITY
tenantName property added to the Connection object
AU PAYROLL
- allowanceType added with enum values
- earningsType added some missing enum values
ErrorHandler
- Look for Status code 401 and pass code and message in XeroApiException object