Releases: XeroAPI/Xero-Java
Releases · XeroAPI/Xero-Java
12.0.0
What's Changed
- Postman tests replaced with Prism mock server
- Java package updates
BREAKING CHANGE
- fix: Following fields are made required for payroll-nz
- Employee model: firstName, lastName, dateOfBirth, address
- Employment model: startDate, engagementType, payrollCalendarID
- fix: Following fields are made required for payroll-uk
- Employee model: firstName, lastName, dateOfBirth, address, gender and title
- Employment model: startDate, payrollCalendarID, employeeNumber, and niCategories
Full Changelog: 11.0.0...12.0.0
11.0.0
What's Changed
Features -
- New leave type
NeonatalCare
has been added toEmployeeStatutoryLeaveBalance
andEmployeeStatutoryLeaveSummary
responses for UK. SIMPLE
product enum value has been added forGetSubscription
response for xero app store.- New organisation role
REMOVED
has been added togetUsers
endpoint.
Breaking Changes -
- New query parameter
direction
has been added togetFiles
endpoint.
Full Changelog: 10.2.0...11.0.0
10.2.0
What's Changed
Features -
- Adds Leave type
Bereavement
to theEmployeeStatutoryLeaveBalance
andEmployeeStatutoryLeaveSummary
responses for payroll UK.
Full Changelog: 10.1.0...10.2.0
10.1.0
What's Changed
Features -
- New organisation plan
SIMPLE
has been added toOrganisation
API response.
Full Changelog: 10.0.0...10.1.0
10.0.0
What's Changed
Features -
- Added new entities for
NICategoryLetter
andNICategory
.Freeport
andInvestment zone
NI category letters added.
- [BREAKING_CHANGE] Updated
Employee
entity.NICategoryLetter
has been marked as deprecated andNICategories
added as a new property.
- Validation added to
NICategory
entity.- Validation added for
workplacePostcode
anddateFirstEmployedAsCivilian
.
- Validation added for
- [BREAKING_CHANGE] Updated
Employment
POST endpoint.- Added
NI Categories
and removed deprecatedniCategory
property.
- Added
- GET
Employee
200 response example updated andNI Categories
added. - Added missing comma to
Employee
POST success response example.
Notes:
This change reflects the current functionality available in the public API and as shown in Xero documentation.
Full Changelog: 9.1.0...10.0.0
9.1.0
What's Changed
Features
StatutoryNeonatalCarePay
andStatutoryNeonatalCarePayNonPensionable
earnings types has been added to earnings rates component.- This will affect the request and response bodies for the POST and GET endpoints for
EarningsRates
, and the GET response for endpointEarningsRates/{id}
- This will affect the request and response bodies for the POST and GET endpoints for
Full Changelog: 9.0.0...9.1.0
9.0.0
Build from OAS 7.0.0
Breaking Changes
- [DataSourceResponse]: Removed the following fields, which were previously marked as deprecated:
- indirectBankFeed
- indirectBankFeedPos
- indirectBankFeedNeg
Deprecations
- [EmployeeLeaveSetup]: The following fields are now deprecated and will be removed in future release:
- sickLeaveHoursToAccrueAnnually
- sickLeaveMaximumHoursToAccrue
- [EmployeeLeaveType]: The following fields are now deprecated and will be removed in future release:
- hoursAccruedAnnually
New Features
- [EmployeeLeaveSetup]: Introduced new fields:
- SickLeaveToAccrueAnnually
- SickLeaveMaximumToAccrue
- AnnualLeaveAnniversaryDate
- [EmployeeLeaveType]: Introduced new fields:
- UnitsAccruedAnnually
- typeOfUnitsToAccrue
- openingBalanceTypeOfUnits
- [LeavePeriod]: Introduced new fields:
- numberOfUnitsTaken
- typeOfUnits
- typeOfUnitsTaken
- [LeaveType]: Introduced new fields:
- typeOfUnits
- typeOfUnitsToAccrue
Full Changelog: 8.3.0...9.0.0
8.3.0
Build from OAS 6.3.0
What's Changed
-
New optional property got added to the
EmployeeLeaveType
DTO forscheduleOfAccrualDate
. -
Following USST fields have been added to
Invoices
andCredit Notes
endpoints:- InvoiceAddresses
- SalesTaxCodeId
- Taxability
- TaxBreakdown
Full Changelog: 8.2.0...8.3.0
8.2.0
- Build from OAS 6.2.0
What's Changed
- Accounting API - Field
SentToContact
is now writable for credit notes.
Full Changelog: v8.0.0...8.2.0
8.1.0
Build from OAS 6.1.1
What's Changed
- Added NZ Payroll Working Pattern changes
- Added new fields for NZ Payroll Holidays Act Update
- Added threshold warnings to accounting API responses
Full Changelog: v8.0.0...v8.1.0