Releases: XeroAPI/xero-php-oauth2
2.19.0
Generates Xero-PHP 2.19.0 from Xero-OpenAPI 2.33.1
Accounting API
- Adds
BatchPayment
property inPayment
model - Adds Singapore tax rates for 2023
- Updates
CreateBrandingThemePaymentServices
method to accept an array ofPaymentService
objects instead of just onePaymentService
object to match API functionality - Updates data type of
IsReconciled
property ofBatchPayment
to boolean. - Updates data type of
TotalAmount
property ofBatchPayment
to decimal
Release Notes
- Resolves Xero-NetStandard #449
- Resolves Xero-NetStandard #453
- Resolves Xero-Node #605
This will result in a small breaking change where any projects currently using the CreateBrandingThemePaymentServices
method will need to wrap their PaymentService
object in a PaymentServices
object like so:
{ "PaymentServices": [ { "PaymentServiceID": "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55", "PaymentServiceName": "PayUpNow", "PaymentServiceUrl": "https://www.payupnow.com/", "PaymentServiceType": "Custom", "PayNowText": "Time To Pay" } ] }
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.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)