Skip to content

Releases: XeroAPI/xero-python

1.25.0

11 Jul 02:36
07efa3b
Compare
Choose a tag to compare

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

19 May 19:21
8b8bc88
Compare
Choose a tag to compare

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

17 Feb 18:47
a94a204
Compare
Choose a tag to compare

Generates Xero-Python 1.23.0 from Xero-OpenAPI 2.36.0

Description

Files API

  • Adds getAssociationsCount method to the Files API

Payroll AU API

  • Adds new property PaidLeaveEarnings to the OpeningBalance schema definition
  • Adds new property PayOutType to the LeaveApplication and LeaveEarningsLine schema definitions

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.22.0

14 Dec 18:39
b080e3f
Compare
Choose a tag to compare

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 AllowanceContributesToAnnualLeaveRate and AllowanceContributesToOvertimeRate booleans to EarningsRate model

Payroll UK API

  • Update the case in BackPay property of earningsType

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

29 Nov 22:32
007bdd5
Compare
Choose a tag to compare

Generates Xero-Python 1.21.0 from Xero-OpenAPI 2.33.1

Accounting API

  • Adds BatchPayment property in Payment model
  • Adds Singapore tax rates for 2023
  • Updates CreateBrandingThemePaymentServices method to accept an array of PaymentService objects instead of just one PaymentService object to match API functionality
  • Updates data type of IsReconciled property of BatchPayment to boolean.
  • Updates data type of TotalAmount property of BatchPayment to decimal

Release Notes

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

01 Nov 21:40
2688fba
Compare
Choose a tag to compare

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

28 Sep 23:18
b230d44
Compare
Choose a tag to compare

Generates Xero-Python 1.19.0 from OAS 2.30.1

Description

Accounting API

  • Adds new method for Batch Payments: get_batch_payment which takes batch_payment_id as 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 PERSONALCARERSLEAVE to PERSONALSICKCARERSLEAVE to 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_task method to return object of type Task

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

30 Aug 22:25
80615e1
Compare
Choose a tag to compare

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 LITE to Class model

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

05 Aug 18:41
effe79b
Compare
Choose a tag to compare

Description

Generates Xero-Python 1.17.0 from Xero-OpenAPI 2.25.0

Accounting API

  • Adds new methods for Repeating Invoices: createRepeatingInvoices, updateOrCreateRepeatingInvoices, and updateRepeatingInvoice
  • Adds new method for Batch Payments: deleteBatchPayment

AU Payroll API

  • Adds EarningsType enum values PAIDPARENTALLEAVE and WORKERSCOMPENSATION
  • 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)

1.16.0

23 May 18:54
9fd3190
Compare
Choose a tag to compare

Generates Xero-Python 1.16.0 from Xero-OpenAPI 2.23.0

Accounting API

Adds new tax rate for Singapore: TXRCTSINPUT - Imported services attributable to taxable supplies

Project API

Adds CreateTask, UpdateTask, and DeleteTask methods

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)