Releases: XeroAPI/xero-python
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)
1.16.0
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)
1.15.0
Generates Xero-Python 1.15.0 from Xero-OpenAPI 2.22.4
Accounting API
Organisation model Class enum updated to include ULTIMATE
New method getJournalByNumber added
BADDEBTRELIEF , IGDSINPUT3, SROVR, TOURISTREFUND, TXRCN33INPUT, TXRCREINPUT, TXRCESSINPUT have been added as both a TaxType and ReportTaxType
Finance API
StatementResponse model updated to include startBalance and endBalance properties
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.14.0
Generates Xero-Python 1.14.0 from Xero-OpenAPI 2.21.0
App Store API
Adds metered capabilities for app store subscriptions end point
UK Payroll API
support new NI Category values (F, I, S, L, V)
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.13.1
Generates Xero-Python 1.13.1 from Xero-OpenAPI 2.19.3
Accounting API
Organisation model OrganisationType enum updated to include INDIVIDUAL
Finance API
Some fields were set to 'date-time' when they are actually 'date'.
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.13.0
Generates Xero-Python 1.13.0 from Xero-OpenAPI 2.19.1
Accounting API
line_item model updated to include item object that is returned in BankTransactions, Invoices, Credit Notes - new model is line_item_item
Finance API
Adds Bank Statements Plus endpoint via get_bank_statement_accounting method and associated models
UK Payroll API
employee model update to include is_off_payroll_worker boolean property
Adds is_off_payroll_worker as an available query param for GET /Employees
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.12.0
Generates Xero-Python 1.12.0 from Xero-OpenAPI 2.17.4
App Store API
Plan.status enum updated to include CANCELED, available options are:
ACTIVE, CANCELED, PENDINGACTIVATION
Subscription.status type corrected from string to Subscription.StatusEnum, available options are:
ACTIVE, CANCELED, PASTDUE
SubscriptionItem updated to include status enum, available options are:
ACTIVE, CANCELED, PENDINGACTIVATION
Files API
Quote added to ObjectGroup enum
SalesQuote added to ObjectType enum
AU Payroll API
AllowanceCategory enum added to EarningsRate, available options are:
NONDEDUCTIBLE, UNIFORM, PRIVATEVEHICLE, HOMEOFFICE, TRANSPORT, GENERAL, OTHER
AllowanceType enum updated to include TOOLS, TASKS, QUALIFICATIONS, available options are:
CAR, TRANSPORT, LAUNDRY, MEALS, TRAVEL, JOBKEEPER, TOOLS, TASKS, QUALIFICATIONS, OTHER
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.11.0
Implements the endpoints available in Xero's Finance API Spec.
Also updates the Contact model to match Xero's Accounting API Spec.
Description
https://developer.xero.com/documentation/api/finance/overview
Release Notes
The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
FinanceAPI methods added:
get_accounting_activity_account_usageget_accounting_activity_lock_historyget_accounting_activity_report_historyget_accounting_activity_user_activitiesget_cash_validationget_financial_statement_balance_sheetget_financial_statement_cashflowget_financial_statement_profit_and_lossget_financial_statement_trial_balanceget_financial_statement_contacts_expenseget_financial_statement_contacts_revenue
Finance models added
- AccountUsage
- AccountUsageResponse
- BalanceSheetAccountDetail
- BalanceSheetAccountGroup
- BalanceSheetAccountType
- BalanceSheetResponse
- BankStatementResponse
- CashAccountResponse
- CashBalance
- CashValidationResponse
- CashflowAccount
- CashflowActivity
- CashflowResponse
- CashflowType
- ContactDetail
- ContactTotalDetail
- ContactTotalOther
- CurrentStatementResponse
- DataSourceResponse
- HistoryRecordResponse
- IncomeByContactResponse
- LockHistoryModel
- LockHistoryResponse
- ManualJournalTotal
- PnlAccount
- PnlAccountClass
- PnlAccountType
- PracticeResponse
- Problem
- ProfitAndLossResponse
- ReportHistoryModel
- ReportHistoryResponse
- StatementBalanceResponse
- StatementLinesResponse
- TotalDetail
- TotalOther
- TrialBalanceAccount
- TrialBalanceEntry
- TrialBalanceMovement
- TrialBalanceResponse
- UserActivitiesResponse
- UserResponse
Accounting Contact model updated:
- company_number - setting and retrieving Registration Number for a company/Business
- merged_to_contact_id - retrieving the ID for the destination of a merged contact
- sales_default_line_amount_type - retrieving the default sales line amount types for a contact
- purchases_default_line_amount_type - retrieving the default purchases line amount types for a contact
Types of Changes
- New feature (non-breaking change that adds functionality)