Releases: XeroAPI/xero-node
4.30.0
Generates Xero-Node 4.30.0 from Xero-OpenAPI 2.33.1
Accounting API
- Adds
BatchPayment
property inPayment
model - Adds Singapore tax rates for 2023
- Updates
CreateBrandingThemePaymentServices
method to accept an array ofPaymentService
objects instead of just onePaymentService
object to match API functionality - Updates data type of
IsReconciled
property ofBatchPayment
to boolean. - Updates data type of
TotalAmount
property ofBatchPayment
to decimal
Release Notes
- Resolves Xero-NetStandard #449
- Resolves Xero-NetStandard #453
- Resolves Xero-Node #605
This will result in a small breaking change where any projects currently using the CreateBrandingThemePaymentServices
method will need to wrap their PaymentService
object in a PaymentServices
object like so:
{ "PaymentServices": [ { "PaymentServiceID": "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55", "PaymentServiceName": "PayUpNow", "PaymentServiceUrl": "https://www.payupnow.com/", "PaymentServiceType": "Custom", "PayNowText": "Time To Pay" } ] }
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.29.0
Generates Xero-Node 4.29.0 from Xero-OpenAPI 2.31.0
App Store API
- Adds usage/metered api end points and usage record models for app store. Further details here
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.28.1
Generates Xero-Node 4.28.1 from Xero-OpenAPI 2.30.2
Accounting API
Adds the following missing timezones:
- SAOTOMESTANDARDTIME
- WESTBANKSTANDARDTIME
- SOUTHSUDANSTANDARDTIME
- SUDANSTANDARDTIME
- VOLGOGRADSTANDARDTIME
- ASTRAKHANSTANDARDTIME
- SARATOVSTANDARDTIME
- QYZYLORDASTANDARDTIME
- OMSKSTANDARDTIME
- ALTAISTANDARDTIME
- WMONGOLIASTANDARDTIME
- TOMSKSTANDARDTIME
- AUSCENTRALWSTANDARDTIME
- ALEUTIANSTANDARDTIME
- BOUGAINVILLESTANDARDTIME
- CHATHAMISLANDSSTANDARDTIME
- CUBASTANDARDTIME
- EASTERNSTANDARDTIME(MEXICO)
- HAITISTANDARDTIME
- LORDHOWESTANDARDTIME
- MAGALLANESSTANDARDTIME
- MARQUESASSTANDARDTIME
- NORFOLKSTANDARDTIME
- NORTHKOREASTANDARDTIME
- SAINTPIERRESTANDARDTIME
- SAKHALINSTANDARDTIME
- TOCANTINSSTANDARDTIME
- TRANSBAIKALSTANDARDTIME
- TURKSANDCAICOSSTANDARDTIME
- UTC08
- UTC09
- YUKONSTANDARDTIME
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.28.0
Description
Captures all the schema updates made to the AU Payroll Employees API as part of the STP 2 Initiative.
AU Payroll API
- A detailed description of changes can be found here in the Xero API Developer Docs.
- Adds quotes to
CountryOfResidence
codeNO
for Norway as it's otherwise misinterpreted by code generator
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.27.1
Generates Xero-Node 4.27.1 from Xero-OpenAPI 2.29.3
Description
Fixes Projects API createTask
method to return object of type Task
Release Notes
Resolves Xero-Node #599
Screenshots (if appropriate):
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.27.0
Generates Xero-Node 4.27.0 from Xero-OpenAPI 2.29.1
Description
AU Payroll API
- Update the LeaveCategoryCode enum value "PERSONALCARERSLEAVE" to "PERSONALSICKCARERSLEAVE" to match the updated value in the API.
Accounting API
- Adds missing report tax types to the enum (CAPEXINPUT, UNDEFINED, CAPEXOUTPUT, ZEROEXPOUTPUT, GOODSIMPORT, NONEINPUT, NOTREPORTED)
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.26.0
Generates xero-node 4.26.0 from OAS 2.28.1
Description
Accounting API
- Adds new method for Batch Payments:
getBatchPayment
which takesbatchPaymentID
as a parameter
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.25.0
Generates xero-node 4.25.0 from OAS 2.27.0
Description
Added support for Xero Go organisations that have invited in their accountant.
Accounting API
- Add new org type
LITE
toClass
model
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.24.0
Description
Generates Xero-Node 4.24.0 from Xero-OpenAPI 2.26.0
AU Payroll
Add new properties to the LeaveType object: LeaveCategoryCode and SGCExempt (See docs)
Add new schema definitions:
LeaveCategoryCode enum
Release Notes
API consumers will need to categorize all leave pay items as part of STP phase 2. The leave category code will be used to determine which category a new leave pay item will be filed as.
There are different rules for pay items created with these leave categories, some cannot be SGC exempt
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.23.0
Description
Generates Xero node 4.23.0 from OAS 2.25.0
Accounting API
- Adds new method for Batch Payments:
deleteBatchPayment
AU Payroll API
- Adds missing tax declaration
HasLoanOrStudentDebt
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)