Releases: XeroAPI/xero-python
1.7.0
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
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
Build from OpenAPI spec 2.10.4
Added token revocation functionality
1.5.2
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
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
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
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
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
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
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.