Releases: XeroAPI/xero-node
4.21.0
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
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
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
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
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
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
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:
getAccountingActivityAccountUsagegetAccountingActivityLockHistorygetAccountingActivityReportHistorygetAccountingActivityUserActivitiesgetCashValidationgetFinancialStatementBalanceSheetgetFinancialStatementCashflowgetFinancialStatementProfitAndLossgetFinancialStatementTrialBalancegetFinancialStatementContactsExpensegetFinancialStatementContactsRevenue
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
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
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
4.14.0
Implements the endpoints available in Xero's API spec.
Description
https://developer.xero.com/documentation/guides/how-to-guides/xero-app-store-subscriptions/
https://developer.xero.com/documentation/api/xero-app-store/subscriptions
Release Notes
Subscriptions endpoints enable you to query data about the users who have paid to subscribe to your application through Xero.
AppStoreAPI adds
getSubscription
AppStore adds
- Subscription
- SubscriptionItem
- Plan
- Product
- Price
- ProblemDetails
Employee adds terminationReason
V Voluntary cessation
I Ill health
D Deceased
R Redundancy
F Dismissal
C Contract cessation
T Transfer
-
PayrollCalendar adds
reference_date -
Payment.rb adds
bank_amount
Types of Changes
- New feature (non-breaking change that adds functionality)