Skip to content

Releases: XeroAPI/xero-php-oauth2

2.5.2

08 Apr 20:11
7e1536c

Choose a tag to compare

Build from OpenAPI spec 2.10.4 https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.10.4

UK PAYROLL
Add missing SalaryAndWage payment type - Hourly

New look to SDK reference docs

2.5.1

24 Mar 21:06
ad68a78

Choose a tag to compare

Build from OpenAPI spec 2.10.3

ACCOUNTING
added validationerror to batchpayment object & remove from batchpayments

FILES API
Fix path for uploadFileToFolder method

Replaced inline objects with UploadObject for use by both upload methods

NZ PAYROLL
Add "history" as a valid status to SalaryAndWage object
Add "Requested" as a valid status to Timesheet object

UKPAYROLL
GET Employees and GET Timesheets was not passing filter params correctly.
Get methods for Employees and Timesheets incorrectly defined params to be passed by name for querying the API. Instead it needs to be a single param called "filter" that has named params and values passed together.

2.5.0

09 Mar 23:31
1fa7e9a

Choose a tag to compare

Build from OAS 2.10.0

Files API
Fixed the base URL in Configuration.php

Accounting
Change datatype from float to int on several properties of ImportSummaryAccounts model
Change datatype from float to int on expires_in in the Identity model

UK Payroll
Missing EarningsRate types added

2.4.3

12 Feb 19:51
d55c41b

Choose a tag to compare

Build from OpenAPi spec 2.9.3
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.9.3

FILES API
Standardized IDs in path and parameters
Corrected Response codes where needed from 200 to 201.
Corrected responses object for 204 - should be none (void)
Added example requests and responses

ACCOUNTING
Add BatchPaymentID to Payment object

Resolved issue #189

2.4.2

05 Feb 20:12
120c00f

Choose a tag to compare

Build from OAS 2.9.0

ACCOUNTING
Add Warnings array to CreditNote object

This Organisation object previously used the singular CISOrgSetting component, but that did not match the API response.
New CISOrgSettings model with a CISSettings property (array of CISOrgSetting) that matches the API response.

Re-add x-is-money to CreditNote.AppliedAmount

ASSETS
filterby parameter for GET assets acts as an keyword search against the AssetName, AssetNumber, Description and AssetTypeName fields

In preparation for use to generate API reference documentation, we've done some clean up of misspellings, add more consistency around summaries and descriptions. Adjusted capitalisations on paths.

2.4.1

30 Jan 01:39
66b48a9

Choose a tag to compare

Build from OpenAPI spec 2.8.4

ACCOUNTING
Add readOnly property to BrandingTheme on Contact object

2.4.0

15 Jan 23:55
212e43a

Choose a tag to compare

Build from OAS 2.8.2

File API support added

  • Create, Read, Update, Delete Folders, Files, Associations

NZ PAYROLL
SalaryAndWage DaysPerWeek, change from integer to double x-is-money

AU PAYROLL
added extra Earnings type
LUMPSUME

2.3.0-beta1

15 Jan 00:16

Choose a tag to compare

Files API support added

2.3.0

11 Dec 23:19
bc14b94

Choose a tag to compare

ACCOUNTING
Reports - ReportFields, FieldID from uuid to string
Invoice - remove maxlength attribute from reference property

Address object will be used by Contact and the DELIVERY enum was removed from AddressType
AddressForOrganisation added for use in the Organisation object.

CISDeduction added to CreditNote, CISRate added to both CreditNote and Invoice in Accounting.
CISRate has been changed to decimal and set as readOnly.

GET LinkedTransactions query params are strings but not formatted as UUID
Add missing format on query params for GET LinkedTransactions

Added format:UUID to the following query params
LinkedTransactionID
SourceTransactionID
ContactID
TargetTransactionID

NZ PAYROLL
In TaxSettings changed periodunits from int to decimal
Move CalendarType into a separate component for reuse by PayRun and PayRunCalendar
Add TwiceMonthly value to CalendarType enum

2.2.0

20 Nov 00:34
874c069

Choose a tag to compare

ACCOUNTING

BatchPayment

modify reference max length from 12 to 255 for

CreditNote

add DueDate property

Balance Sheet Report

todate param is string - change format to date - breaking change

ASSETS

Asset object
add the disposalDate property