Releases: XeroAPI/xero-php-oauth2
2.0.1
ACCOUNTING
Add proposed ReportTaxType enums for South Africa
Allocation
add Prepayment, Overpayment, CreditNote
add StatusAttributeString and ValidationErrors array
Schedule
add missing enums
Organisation
add EmployerIdentificationNumber
JWTClaims class updated
- Access token now contains an authentication_event_id field
2.0.0
Build from 2.2.0 of OpenAPI spec
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.2.0
2.1.2
Changes .....
ACCOUNTING
Dates in accounting now have two getter methods to handle MS JSON date format as a string but return a native date object - see README for more details.
Add method getContactByContactNumber
Remove method getPrepaymentAsPdf (not supported by API)
BankTransfer amount changed from string to double
CreditNote added has_errors boolean
Item quantity_on_hand changed from float to double
Invoice line item quantity and unit_amount changed from float to double
Payment has_account boolean, has_validation_errors boolean and validation_errors array added
Purchase unit_price changed from float to double
getPayments added page param
ASSETS
Asset purchase_price, disposal_price, disposal_price floats changed to double
Book Deprecation Setting depreciation_rate changed from float to double
IDENTITY
auth_event_id filter added to getConnections
auth_event_id property added to Connection
updated_date_utc changed from string to date-time
created_date_utc changed from string to date-time
PAYROLL AU
Fix PayrollAU casing to PayrollAu to address issue with Composer 2
Change data type float to double
BankAccount
- amount
Deduction - line amount
- percentage
- number_of_units
EarningsLine - annual_salary
- number_of_units_per_week
- rate_per_unit
- normal_number_of_units
- amount
- number_of_units
- fixed_amount
EarningsRate - multiplier
- accrue_leave
- amount
LeaveAccrualLine - number_of_units
Leave Balance - number_of_units
Leave Earnings Line - rate_per_unit
- number_of_units
LeaveLine - number_of_units
Leave Period - number_of_units
PayRun - wages
- deductions
- tax
- super
- reimbursement
- net_pay
PaySlip
-wages - deductions
- tax
- super
- reimbursements
- net_pay
PayslipSummary - wages
- deductions
- tax
- super
- reimbursements
- net_pay
ReimbursementLine - amount
SuperLine - minimum_monthly_earnings
- percentage
- amount
SuperAnnuationLine - minimum_monthly_earnings
- percentage
- amount
TaxLine - amount
Timesheet - hours
TimesheetLine - number_of_units
Added property validation_errors array
Employees
LeaveApplication
PayRun
Payroll Calendar
SuperFund
Timesheet
ValidationError
New objects
PayslipLines
Payslips
1.6.5
Build from 2.1.2 of OpenAPI spec
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.2
ACCOUNTING
CurrencyCode: Add x-enum-varnames. This provides alternate variable names for "TRY" and "EMPTY" which were problematic for PHP 5.6
Payments: Add SummarizeErrors
Journals: Change JournalNumber from String to integer
1.6.4
Fix bug with jsonSerialize method in models
1.6.3
ArrayIterator fixed for AccountingApi
1.6.2
Rename enum "TRY" to "_TRY" for CurrencyCode
1.6.1
The name 'EMPTY' for an enum in currencyCode throws an error in PHP 5.6. Using vendor extension to rename variable to "EMPTY_STRING" with a value of ""
1.6.0
PHP version required lowered to 5.6 after testing successfully #69
Objects with a single Array of objects is updated to include interfaces with Countable, IteratorAggregate, JsonSerializable #63 and #92
Build from OpenAPI Spec version 2.1.0 and 2.1.1
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.1
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.1.0
ASSETS
AssetTypeId added
ACCOUNTING
IncludeOnline passed as path, now passed as queryParam
Add missing getPrepaymentAsPdf
UK Reporting Tax Type ENUMs added to Tax rates #109
PAYROLL AU
New AllowanceType class added
UTC offset added to dates before converting from date to timeInMilliseconds. #106
1.5.3
Build from OpenAPI spec 2.0.9
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.0.9
PAYROLL AU
add 2 missing ENUMs from EarningsType
ASSETS
change example response case for assetStatus
IDENTITY
Add tenantName to Get /connections object
1.5.2
Add payroll Host paths to Configuration.php