Skip to content

Releases: XeroAPI/xero-node

4.22.0

22 Jul 17:56
0e36eac
Compare
Choose a tag to compare

Description

Generates Xero-Node 4.22.0 from Xero-OpenAPI 2.24.0

Accounting API

  • Adds new methods for Repeating Invoices: createRepeatingInvoices, updateOrCreateRepeatingInvoices, and updateRepeatingInvoice

AU Payroll API

  • Adds EarningsType enum values PAIDPARENTALLEAVE and WORKERSCOMPENSATION

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)

4.21.0

17 Jun 00:12
47c5168
Compare
Choose a tag to compare

Generates Xero-Node 4.21.0 from Xero-OpenAPI 2.23.0

Accounting API

New ReportTaxtType / TaxType TXRCTSINPUT added

Projects API

New methods createTask, updateTask, deleteTask added

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)

4.20.1

09 May 23:32
6dc88cb
Compare
Choose a tag to compare

Generates Xero-Node 4.20.1 from Xero-OpenAPI 2.22.4

Accounting API

BADDEBTRELIEF, IGDSINPUT3, SROVR, TOURISTREFUND, TXRCN33INPUT, TXRCREINPUT, TXRCESSINPUT have been added as both a TaxType and ReportTaxType

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)

4.20.0

04 May 18:30
3a95895
Compare
Choose a tag to compare

Generates Xero-Node 4.20.0 from Xero-OpenAPI 2.22.1

Accounting API

Organisation model Class enum updated to include ULTIMATE
New method getJournalByNumber added

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)

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)

4.19.1

15 Mar 20:48
bfcaf1c
Compare
Choose a tag to compare

Generates Xero-Node 4.19.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)

4.19.0

03 Mar 20:28
ce55aef
Compare
Choose a tag to compare

Generates Xero-Node 4.19.0 from Xero-OpenAPI 2.19.1

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 IsOffPayrollWorker boolean property

Adds IsOffPayrollWorker as an available query param for GET /Employees

Dependencies

openid-client library updated per #571

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)

4.18.0

28 Jan 22:13
844b94a
Compare
Choose a tag to compare

Generates Xero-Node 4.18.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

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)

4.17.0

03 Nov 20:28
b428309
Compare
Choose a tag to compare

Implements the endpoints available in Xero's Finance API Spec.

Also updates the Contact model to match Xero's Accounting API Spec.

Description

https://developer.xero.com/documentation/api/finance/overview

Release Notes

The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.

FinanceAPI methods added:

  • getAccountingActivityAccountUsage
  • getAccountingActivityLockHistory
  • getAccountingActivityReportHistory
  • getAccountingActivityUserActivities
  • getCashValidation
  • getFinancialStatementBalanceSheet
  • getFinancialStatementCashflow
  • getFinancialStatementProfitAndLoss
  • getFinancialStatementTrialBalance
  • getFinancialStatementContactsExpense
  • getFinancialStatementContactsRevenue

Finance models added

  • AccountUsage
  • AccountUsageResponse
  • BalanceSheetAccountDetail
  • BalanceSheetAccountGroup
  • BalanceSheetAccountType
  • BalanceSheetResponse
  • BankStatementResponse
  • CashAccountResponse
  • CashBalance
  • CashValidationResponse
  • CashflowAccount
  • CashflowActivity
  • CashflowResponse
  • CashflowType
  • ContactDetail
  • ContactTotalDetail
  • ContactTotalOther
  • CurrentStatementResponse
  • DataSourceResponse
  • HistoryRecordResponse
  • IncomeByContactResponse
  • LockHistoryModel
  • LockHistoryResponse
  • ManualJournalTotal
  • PnlAccount
  • PnlAccountClass
  • PnlAccountType
  • PracticeResponse
  • Problem
  • ProfitAndLossResponse
  • ReportHistoryModel
  • ReportHistoryResponse
  • StatementBalanceResponse
  • StatementLinesResponse
  • TotalDetail
  • TotalOther
  • TrialBalanceAccount
  • TrialBalanceEntry
  • TrialBalanceMovement
  • TrialBalanceResponse
  • UserActivitiesResponse
  • UserResponse

Accounting Contact model updated:

  • CompanyNumber - setting and retrieving Registration Number for a company/Business
  • MergedToContactId - retrieving the ID for the destination of a merged contact
  • SalesDefaultLineAmountType - retrieving the default sales line amount types for a contact
  • PurchasesDefaultLineAmountType - retrieving the default purchases line amount types for a contact

Types of Changes

  • New feature (non-breaking change that adds functionality)

4.16.0

12 Oct 18:15
b945da4
Compare
Choose a tag to compare

Description

Generates Xero-Node from OAS 2.17.1 minus Finance API.

Release Notes

AccountingAPI.getBudget() added query params:
dateTo
dateFrom

AccountingAPI.getContacts() added query param:
searchTerm

PayrollAUAPI ifModifiedSInce query param type corrected:
was string --> now Date

PayrollNZAPI.getEmployess() replaced query params:
was 'firstName and 'lastName --> now filter

PayrollNZAPI.getTimesheets() replaced query params:
was 'employeeIdandpayrollCalendarId--> nowfilter`

PayrollNZAPI.getTimesheets() added query params:
status
startDate
endDate
sort

PayrollUKAPI.getTimesheets() added query params:
status
startDate
endDate
sort

AccountingAPI BankTransfer model added fields:
FromIsReconciled
ToIsReconciled
Reference

AppStoreAPI Product model added field:
seatUnit

PayrollAUAPI EarningsType added enum:
LUMPSUMW

PayrollAUAPI ManualTaxType added enum:
SCHEDULE4MANUAL

PayrollUKAPI EarningsRate model corrected enums:
was Tips(Direct) and Tips(Non-Direct) --> now TipsDirect and TipsNonDirect

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)

4.15.0

20 Aug 16:45
087cb31
Compare
Choose a tag to compare

This release adds a fix to XeroClient.ts to allow for scenario when client instance calling buildConsentUrl() might be different client instance calling apiCallback(). This issue was identified when trying to run node in cluster mode. Shout out to @johnnynanjiang for the fix #545 and PR to the starter project for replicating and testing locally.

This release also brings xero-node Files API coverage up to date with Xero OAS v2.15.0