Releases: XeroAPI/xero-php-oauth2
2.18.0
Generates Xero-PHP 2.18.0 from Xero-OpenAPI 2.31.0
App Store API
- Adds usage/metered api end points and usage record models for app store. Further details here
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.17.0
Description
Generates Xero-PHP-OAuth2 2.17.0 from Xero-OpenAPI 2.30.2
Accounting API
- Add new org type
LITE
toClass
model - Adds new method for Batch Payments:
getBatchPayment
which takesbatchPaymentID
as a parameter
Adds the following missing timezones:
- SAOTOMESTANDARDTIME
- WESTBANKSTANDARDTIME
- SOUTHSUDANSTANDARDTIME
- SUDANSTANDARDTIME
- VOLGOGRADSTANDARDTIME
- ASTRAKHANSTANDARDTIME
- SARATOVSTANDARDTIME
- QYZYLORDASTANDARDTIME
- OMSKSTANDARDTIME
- ALTAISTANDARDTIME
- WMONGOLIASTANDARDTIME
- TOMSKSTANDARDTIME
- AUSCENTRALWSTANDARDTIME
- ALEUTIANSTANDARDTIME
- BOUGAINVILLESTANDARDTIME
- CHATHAMISLANDSSTANDARDTIME
- CUBASTANDARDTIME
- EASTERNSTANDARDTIME(MEXICO)
- HAITISTANDARDTIME
- LORDHOWESTANDARDTIME
- MAGALLANESSTANDARDTIME
- MARQUESASSTANDARDTIME
- NORFOLKSTANDARDTIME
- NORTHKOREASTANDARDTIME
- SAINTPIERRESTANDARDTIME
- SAKHALINSTANDARDTIME
- TOCANTINSSTANDARDTIME
- TRANSBAIKALSTANDARDTIME
- TURKSANDCAICOSSTANDARDTIME
- UTC08
- UTC09
- YUKONSTANDARDTIME
AU Payroll API
- Captures all the schema updates made to the AU Payroll Employees API as part of the STP 2 Initiative.
- A detailed description of changes can be found here in the Xero API Developer Docs.
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.16.0
AU Payroll API
- Add new properties to the LeaveType object: LeaveCategoryCode and SGCExempt
- Add new model - LeaveCategoryCode enum
Projects API
- Fixes Projects API createTask method to return object of type Task
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.15.0
Description
Generates Xero-PHP-OAuth2 2.15.0 from Xero-OpenAPI 2.25.0
Accounting API
- Adds new methods for Repeating Invoices:
createRepeatingInvoices
,updateOrCreateRepeatingInvoices
, andupdateRepeatingInvoice
- Adds new method for Batch Payments:
deleteBatchPayment
AU Payroll API
- Adds
EarningsType
enum valuesPAIDPARENTALLEAVE
andWORKERSCOMPENSATION
- Adds missing tax declaration
HasLoanOrStudentDebt
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.14.1
Generates Xero-PHP-OAuth2 2.14.1 from Xero-OpenAPI 2.23.0
Additional Notes
Resolves bug #286
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.14.0
Generates Xero-PHP-OAuth2 2.14.0 from Xero-OpenAPI 2.23.0
Accounting API
New ReportTaxtType / TaxType TXRCTSINPUT
added
Projects API
New methods createTask
, updateTask
, deleteTask
added
Additional Notes
Add support for firebase/php-jwt version 6.0
Resolves \SPLObjectFile bug #280
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.13.0
Generates Xero-PHP-OAuth2 2.13.0 from Xero-OpenAPI 2.22.4
Accounting API
Organisation
model Class
enum updated to include ULTIMATE
New method getJournalByNumber
added
BADDEBTRELIEF
, IGDSINPUT3
, SROVR
, TOURISTREFUND
, TXRCN33INPUT
, TXRCREINPUT
, TXRCESSINPUT
have been added as both a TaxType
and ReportTaxType
App Store API
Product
model updated to include usageUnit
property
Product
model TypeEnum
enum updated to include METERED
SubscriptionItem
model updates to include quantity
property
Finance API
StatementResponse
model updated to include startBalance
and endBalance
properties
Payroll UK API
Updates Employment
model NiCategoryEnum
to support new NI Category values (F, I, S, L, V)
Additional Notes
Adds support for PHP 8.1.
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.12.1
Generates Xero-PHP-OAuth2 2.12.1 from Xero-OpenAPI 2.19.3
Accounting API
Organisation
model OrganisationType
enum updated to include INDIVIDUAL
Finance API
Some fields were set to 'date-time' when they are actually 'date'.
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.12.0
Generates Xero-PHP-OAuth2 2.12.0 from Xero-OpenAPI 2.18.0
Accounting API
LineItem
model updated to include item
object that is returned in BankTransactions, Invoices, Credit Notes - new model is LineItemItem
Finance API
Adds Bank Statements Plus
endpoint via getBankStatementAccounting
method and associated models
UK Payroll API
Employee
model update to include is_off_payroll_worker
boolean property
Adds is_off_payroll_worker
as an available query param for GET /Employees
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.11.0
Generates Xero-PHP-OAuth2 2.11.0 from Xero-OpenAPI 2.17.4
App Store API
Plan.status
enum updated to include CANCELED
, available options are:
ACTIVE, CANCELED, PENDINGACTIVATION
Subscription.status
type corrected from string
to Subscription.StatusEnum
, available options are:
ACTIVE, CANCELED, PASTDUE
SubscriptionItem
updated to include status
enum, available options are:
ACTIVE, CANCELED, PENDINGACTIVATION
Files API
Quote
added to ObjectGroup
enum
SalesQuote
added to ObjectType
enum
AU Payroll API
AllowanceCategory
enum added to EarningsRate
, available options are:
NONDEDUCTIBLE, UNIFORM, PRIVATEVEHICLE, HOMEOFFICE, TRANSPORT, GENERAL, OTHER
AllowanceType
enum updated to include TOOLS, TASKS, QUALIFICATIONS
, available options are:
CAR, TRANSPORT, LAUNDRY, MEALS, TRAVEL, JOBKEEPER, TOOLS, TASKS, QUALIFICATIONS, OTHER
Additional Changes
Refactored to use GuzzleHttp/psr7/Query::build()
instead of deprecated GuzzleHttp/psr7/build_query()
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)