Skip to content

2.0.0

Compare
Choose a tag to compare
@SidneyAllen SidneyAllen released this 08 Jun 16:35
· 248 commits to master since this release
021561a

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