Releases: XeroAPI/xero-php-oauth2
Releases · XeroAPI/xero-php-oauth2
5.0.0
Build from OAS 4.0.0
What's Changed
Files API
- Adds 'Name', 'Size', 'SendWithObject' to object association endpoint.
BREAKING CHANGES
Accounting API
- Updates Accounting with new Organization classes (IGNITE, GROW, COMPREHENSIVE)
Full Changelog: 4.0.0...5.0.0
4.0.0
Build from OAS 3.0.3
New Feature
- Add a new spec for TaxRates/{TaxTypes}
- Add disallowed expenses
Bug fixes
- PETOSS-389-Updates the OpenAPI specifications to reflect Warnings from the API response for Payments.
Breaking Change
- Removes the declaration of TaxType query param in GET TaxRates
- Removes Jobkeeper allowance type
Full Changelog: 3.0.0...4.0.0
3.0.0
BREAKING CHANGES
- Update method definitions to position
idempotency_key
as last optional parameter. - Fixes method definitions where required parameters were declared as optional.
Following methods will have additional required parameters now- Payroll-AU
- updateEmployee
- updatePayRun
- updatePayslip
- updateSuperfund
- updateTimesheet
- Files
- uploadFile
- updateFile
- uploadFileToFolder
- createFileAssociation
- createFolder
- Assets
- createAssetType
- Payroll-AU
Full Changelog: 2.23.3...3.0.0
2.23.3
Build from OAS 2.40.3
Removes empty enum values from the specifications of Accounting, Bankfeeds, Payroll_AU, and Projects
Payroll NZ
- Added new property on the employee object: jobTitle
Accounting API
- Added additional ReportTaxType enum value, USSALESTAX, used within the new Auto Sales Tax feature in the US edition of Xero
2.23.2
Build from OAS 2.40.1
All APIs
- Added Idempotency-Key as optional header param for all PUT, POST, PATCH requests
Accounting API
- Compliance with new IRAS GST rate of 9% starting 2024
- Removed PAYGLIABILITY, SUPERANNUATIONEXPENSE, SUPERANNUATIONLIABILITY, WAGESEXPENSE from AccountType enum
- Updated 1099 report sample JSON response.
- Remove the Contact's SkypeUserName field, from the API.Accouting Contact's endpoints.
- Adds the deletion of allocations to Credit Notes, Prepayments and Overpayments
- Removed random character in getPurchaseOrderAttachmentByFileName
Payroll AU
- Added two new enum values in LeavePeriodStatus
Finance
- Cash Validation Api now has rate limiting, there is a new response type added to reflect that.
2.23.1
Generates Xero-PHP-OAuth2 2.23.1 from Xero-OpenAPI 2.38.0
Additional Notes
Resolves bug #330
Types of Changes
- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
2.23.0
Description
Generates Xero-PHP 2.23.0 from Xero-OpenAPI 2.38.0
Payroll AU API
New endpoints added for expanding Leave functionality for AU Payroll
- LeaveApplications/v2 GET includes REQUESTED and REJECTED leave applications
- LeaveApplications/{id}/approve allows for approval of REQUESTED leave applications
- LeaveApplications/{id}/reject allows for rejection of REQUESTED or SCHEDULED leave applications
Added detail to LeaveApplications POST example to indicate expected inclusion of other attributes
Accounting API
Create compliance tax rates
2.22.0
Description
Generates Xero-PHP 2.22.0 from Xero-OpenAPI 2.37.0
Accounting API
- Added all missing currency codes CLF, EEK, LVL, MRO, MXV, SKK, SLE, STD, VES to enum
- Fixed 2023 Reverse Charge tax rates for Singapore
JWTClaims
- Update for preferred_username
Release Notes
Types of Changes
- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
2.21.0
Description
Generates Xero-PHP 2.21.0 from Xero-OpenAPI 2.36.0
Files API
- Adds
getAssociationsCount
method to the Files API
Payroll AU API
- Adds new property
PaidLeaveEarnings
to theOpeningBalance
schema definition - Adds new property
PayOutType
to theLeaveApplication
andLeaveEarningsLine
schema definitions
Release Notes
getAssociationsCount
enables developers to fetch a count of associations for a list of objects. Previously, developers had to call separately for each object.- https://developer.xero.com/documentation/api/payrollau/stp-changes#opening-balance-paid-leave-earnings
- https://developer.xero.com/documentation/api/payrollau/stp-changes/#cashed-out-leave
Types of Changes
- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
2.20.0
Generates Xero-PHP 2.20.0 from Xero-OpenAPI 2.35.0
Finance API
- Adds Indicative Balances and Payee to BankStatementsPlus
Payroll AU API
- Adds
AllowanceContributesToAnnualLeaveRate
andAllowanceContributesToOvertimeRate
booleans toEarningsRate
model
Payroll UK API
- Update the case in
BackPay
property ofearningsType
Release Notes
- As part of STP2, two new checkboxes were added for allowance pay items.
- Resolves Xero-Ruby #241
Types of Changes
- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)