Skip to content

Releases: XeroAPI/xero-python

1.7.0

18 Jun 17:39
d243195
Compare
Choose a tag to compare

Release Notes

Added missing endpoints:

  • GET /Budgets
  • GET /Budgets/{BudgetID}
  • Adds a new option param summaryOnly to getInvoices
  • Added TerminationPay to UK payroll earnings type enum

🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨
getReportBASorGSTList -> getReportsList
getReportBasOrGst -> getReportFromId

  • changes using previous GST BAS reports specific endpoints to support stable future state of adding reports that are unique to an org and require a uuid to be passed. New function names:
getReportsList
getReportFromId

🚨 🚨 🚨 END🚨 🚨 🚨

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

14 May 00:02
22c322c
Compare
Choose a tag to compare

Build from OpenAPI spec 2.12.0
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.12.0

ACCOUNTING
Add summaryOnly param to getInvoices
Add payments array to Prepayment object
Add summaryOnly param to getContacts
Remove readonly property from Manual Journal Line TaxAmount

PROJECTS
Missing ENUM for Time entry status "INVOICED"

BANKFEEDS
Add missing ENUM for bank feed error "feed-not-found-or-already-deleted"

PAYROLL AU
Make CalculationType optional on deduction line

1.5.3

12 Apr 22:26
fae7381
Compare
Choose a tag to compare

Build from OpenAPI spec 2.10.4

Added token revocation functionality

1.5.2

05 Apr 18:03
9789789
Compare
Choose a tag to compare

Build from OpenAPI spec 2.10.4

New SDK reference docs available on github pages
https://xeroapi.github.io/xero-python/v1/accounting/index.html

FILES API
Add new method to Files so new uploads go into a specific folder
Remove the FolderId parameter from the UploadFile method as those files always go into the inbox.
Fix path for uploadFileToFolder method

Replaced inline objects with UploadObject for use by both upload methods

NZ PAYROLL
Add "history" as a valid status to SalaryAndWage object
Add "Requested" as a valid status to Timesheet object

UK PAYROLL
Add missing SalaryAndWage payment type - Hourly

1.5.0

20 Mar 00:44
22a2f78
Compare
Choose a tag to compare

Build from OAS 2.10.1
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.10.1

Files API support added

ACCOUNTING
added validationerror to batchpayment object & remove from batchpayments

UKPAYROLL
GET Employees and GET Timesheets was not passing filter params correctly.
Get methods for Employees and Timesheets incorrectly defined params to be passed by name for querying the API. Instead it needs to be a single param called "filter" that has named params and values passed together.

Add 7 missing enums for EarningRate Type

IDENTITY
Fix integer type
For identity and accounting APIs, some OpenAPI integer properties had an invalid format. The generator was producing warnings, but falling back to a float or double.

1.4.0

12 Feb 22:00
4ac8b2d
Compare
Choose a tag to compare

Build from OpenAPI spec 2.9.3

ACCOUNTING
Add BatchPaymentID to Payment object

Add Warnings array to CreditNote object

This Organisation object previously used the singular CISOrgSetting component, but that did not match the API response.
New CISOrgSettings model with a CISSettings property (array of CISOrgSetting) that matches the API response.

Re-add x-is-money to CreditNote.AppliedAmount

ASSETS
filterby parameter for GET assets acts as an keyword search against the AssetName, AssetNumber, Description and AssetTypeName fields

In preparation for use to generate API reference documentation, we've done some clean up of misspellings, add more consistency around summaries and descriptions. Adjusted capitalisations on paths.

1.3.0

30 Jan 01:22
dbc790a
Compare
Choose a tag to compare

Build from OpenAPI spec 2.8.4

ACCOUNTING
Add readOnly property to BrandingTheme on Contact object

AU PAYROLL
added extra Earnings type
LUMPSUME

BANKFEEDS
Add missing values from docs into Bankfeeds Error.type enum

NZ PAYROLL
SalaryAndWage DaysPerWeek, change from integer to double x-is-money

1.2.0

11 Dec 23:38
0cfe5e1
Compare
Choose a tag to compare

Build from OpenAPI spec 2.7.0
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.7.0

ACCOUNTING
Reports - ReportFields, FieldID from uuid to string
Invoice - remove maxlength attribute from reference property

Address object will be used by Contact and the DELIVERY enum was removed from AddressType
AddressForOrganisation added for use in the Organisation object.

CISDeduction added to CreditNote, CISRate added to both CreditNote and Invoice in Accounting.
CISRate has been changed to decimal and set as readOnly.

GET LinkedTransactions query params are strings but not formatted as UUID
Add missing format on query params for GET LinkedTransactions

Added format:UUID to the following query params
LinkedTransactionID
SourceTransactionID
ContactID
TargetTransactionID

BatchPayment - modify reference max length from 12 to 255 for

CreditNote - add DueDate property

Balance Sheet Report - todate param is string - add format: date - breaking change

ASSETS
Asset object - add the disposalDate property

NZ PAYROLL
In TaxSettings changed periodunits from int to decimal
Move CalendarType into a separate component for reuse by PayRun and PayRunCalendar
Add TwiceMonthly value to CalendarType enum

1.1.0

12 Nov 18:52
016a620
Compare
Choose a tag to compare

Build from OpenApi spec version 2.4.4
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.4.4

ACCOUNTING
Refactor of setup endpoint and related schema components

NZ PAYROLL
add missing earning type enums added
remove rate per unit as req for payment method

UK PAYROLL
UK Payroll add missing employer tax lines

PROJECTS
create unique chargeType component for use as a parameter (not schema)

FILES
Fix enums that are returned as PascalCase

1.0.13

03 Nov 22:32
e8416f3
Compare
Choose a tag to compare

ACCOUNTING

Add specs for the Organisation endpoint subresource Action
Add two components Actions and Action
BatchPaymentDetails remove max length from Details property
Adding History for Manual Journals
Rename two problem currencies to TRY_LIRA and EMPTY_CURRENCY

AU PAYROLL

Add Timesheet Status enum REJECTED and REQUESTED

NZ PAYROLL
fix casing on tag for PayrollNZ …should be PayrollNz

Merge PR changes #28 - adjusting for token refresh when openid, profile and email are not included in the scope.