Skip to content

Releases: XeroAPI/xero-php-oauth2

2.18.0

11 Nov 17:50
a9ff17e
Compare
Choose a tag to compare

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

07 Oct 07:28
0856340
Compare
Choose a tag to compare

Description

Generates Xero-PHP-OAuth2 2.17.0 from Xero-OpenAPI 2.30.2

Accounting API

  • Add new org type LITE to Class model
  • Adds new method for Batch Payments: getBatchPayment which takes batchPaymentID 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

20 Sep 16:22
0856340
Compare
Choose a tag to compare

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

05 Aug 17:57
e42d8b8
Compare
Choose a tag to compare

Description

Generates Xero-PHP-OAuth2 2.15.0 from Xero-OpenAPI 2.25.0

Accounting API

  • Adds new methods for Repeating Invoices: createRepeatingInvoices, updateOrCreateRepeatingInvoices, and updateRepeatingInvoice
  • Adds new method for Batch Payments: deleteBatchPayment

AU Payroll API

  • Adds EarningsType enum values PAIDPARENTALLEAVE and WORKERSCOMPENSATION
  • 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

21 Jun 20:57
5aa3791
Compare
Choose a tag to compare

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

14 Jun 16:19
79cdc2f
Compare
Choose a tag to compare

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

06 May 18:32
88e2d6b
Compare
Choose a tag to compare

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

16 Mar 16:59
6508878
Compare
Choose a tag to compare

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

10 Mar 17:11
24d0cfa
Compare
Choose a tag to compare

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

11 Feb 17:21
0174828
Compare
Choose a tag to compare

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)