Releases: XeroAPI/xero-python
1.26.0
All APIs
- Added Idempotency-Key as optional header param for all PUT, POST, PATCH requests
Accounting API
- Updated 1099 report sample JSON response.
- Remove the Contact's SkypeUserName field, from the API.Accouting Contact's endpoints.
- Adds the deletion of allocations to Credit Notes, Prepayments and Overpayments
- Removed random character in getPurchaseOrderAttachmentByFileName
- Removed PAYGLIABILITY, SUPERANNUATIONEXPENSE, SUPERANNUATIONLIABILITY, WAGESEXPENSE from AccountType enum
- Compliance with new IRAS GST rate of 9% starting 2024
Payroll AU
- Added two new enum values in LeavePeriodStatus
Finance
- Cash Validation Api now has rate limiting, there is a new response type added to reflect that.
Files API
- Paging parameters have been added to the associations/{objectid} endpoint
1.25.0
AU Payroll API
New endpoints added for expanding Leave functionality for AU Payroll
- LeaveApplications/v2 GET includes REQUESTED and REJECTED leave applications
- LeaveApplications/{id}/approve allows for approval of REQUESTED leave applications
- LeaveApplications/{id}/reject allows for rejection of REQUESTED or SCHEDULED leave applications
- Added detail to LeaveApplications POST example to indicate expected inclusion of other attributes
Accounting API
- Create compliance tax rates for Singapore
1.24.0
Description
Finance API
- Updates import source description and the example in the BankStatementsPlus Api response doc
Accounting API
- Added all missing currency codes CLF, EEK, LVL, MRO, MXV, SKK, SLE, STD, VES to enum
- Fixed 2023 Reverse Charge tax rates for Singapore
1.23.0
Generates Xero-Python 1.23.0 from Xero-OpenAPI 2.36.0
Description
Files API
- Adds
getAssociationsCountmethod to the Files API
Payroll AU API
- Adds new property
PaidLeaveEarningsto theOpeningBalanceschema definition - Adds new property
PayOutTypeto theLeaveApplicationandLeaveEarningsLineschema definitions
Release Notes
getAssociationsCountenables developers to fetch a count of associations for a list of objects. Previously, developers had to call separately for each object.- https://developer.xero.com/documentation/api/payrollau/stp-changes#opening-balance-paid-leave-earnings
- https://developer.xero.com/documentation/api/payrollau/stp-changes/#cashed-out-leave
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)
1.22.0
Generates Xero-Python 1.22.0 from Xero-OpenAPI 2.35.0
Finance API
- Adds Indicative Balances and Payee to BankStatementsPlus
Payroll AU API
- Adds
AllowanceContributesToAnnualLeaveRateandAllowanceContributesToOvertimeRatebooleans toEarningsRatemodel
Payroll UK API
- Update the case in
BackPayproperty ofearningsType
Release Notes
- As part of STP2, two new checkboxes were added for allowance pay items.
- Resolves Xero-Ruby #241
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)
1.21.0
Generates Xero-Python 1.21.0 from Xero-OpenAPI 2.33.1
Accounting API
- Adds
BatchPaymentproperty inPaymentmodel - Adds Singapore tax rates for 2023
- Updates
CreateBrandingThemePaymentServicesmethod to accept an array ofPaymentServiceobjects instead of just onePaymentServiceobject to match API functionality - Updates data type of
IsReconciledproperty ofBatchPaymentto boolean. - Updates data type of
TotalAmountproperty ofBatchPaymentto 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)
1.20.0
Generates Xero-Python 1.20.0 from Xero-OpenAPI 2.31.0
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
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)
1.19.0
Generates Xero-Python 1.19.0 from OAS 2.30.1
Description
Accounting API
- Adds new method for Batch Payments:
get_batch_paymentwhich takesbatch_payment_idas a parameter - Adds missing report tax types to the enum (
CAPEXINPUT,UNDEFINED,CAPEXOUTPUT,ZEROEXPOUTPUT,GOODSIMPORT,NONEINPUT,NOTREPORTED)
AU Payroll API
- Update the LeaveCategoryCode enum value
PERSONALCARERSLEAVEtoPERSONALSICKCARERSLEAVEto match the updated value in the API. - Captures all the updates made to the AU Payroll Employees API as part of the STP 2 Initiative. A detailed description of changes can be found here in the Xero API Developer Docs.
Projects API
- Fixes
create_taskmethod to return object of typeTask
Release Notes
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)
1.18.0
Generates Xero-Python 1.18.0 from OAS 2.27.0
Description
Accounting API
- Added support for Xero Go organisations that have invited in their accountant.
- Add new org type
LITEtoClassmodel
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)
1.17.0
Description
Generates Xero-Python 1.17.0 from Xero-OpenAPI 2.25.0
Accounting API
- Adds new methods for Repeating Invoices:
createRepeatingInvoices,updateOrCreateRepeatingInvoices, andupdateRepeatingInvoice - Adds new method for Batch Payments:
deleteBatchPayment
AU Payroll API
- Adds
EarningsTypeenum valuesPAIDPARENTALLEAVEandWORKERSCOMPENSATION - 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)