Skip to content

Releases: XeroAPI/Xero-NetStandard

3.23.0

11 Mar 21:08
812365c
Compare
Choose a tag to compare

Generates Xero-NetStandard 3.23.0 from Xero-OpenAPI 2.19.3

Accounting API

LineItem model updated to include Item object that is returned in BankTransactions, Invoices, Credit Notes - new model is LineItemItem

Organisation model OrganisationType enum updated to include INDIVIDUAL per #415

Finance API

Adds Bank Statements Plus endpoint via GetBankStatementAccounting method and associated models

UK Payroll API

Employee model update to include IsOffPayrollWorker boolean property

Adds IsOffPayrollWorker as an available query param for GET /Employees

Dependencies

RestSharp library updated per #414

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)

3.22.1

09 Feb 16:54
21cedf7
Compare
Choose a tag to compare

In the event the API rate limit is hit and a status code 429 response from Xero, the ApiException returned now includes RetryAfter and LimitType.

Shout out to @Itamaram for calling out the issue and collaborating on the fix!

3.22.0

04 Feb 22:23
b910220
Compare
Choose a tag to compare

Generates Xero-NetStandard 3.22.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)

3.21.1

03 Feb 18:51
2b83f7f
Compare
Choose a tag to compare

Removes global.json that caused build failure and blocked deployment to nuget

3.21.0

03 Feb 18:14
6de23d4
Compare
Choose a tag to compare

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:

  • GetAccountingActivityAccountUsage
  • GetAccountingActivityLockHistory
  • GetAccountingActivityReportHistory
  • GetAccountingActivityUserActivities
  • GetCashValidation
  • GetFinancialStatementBalanceSheet
  • GetFinancialStatementCashflow
  • GetFinancialStatementProfitAndLoss
  • GetFinancialStatementTrialBalance
  • GetFinancialStatementContactsExpense
  • GetFinancialStatementContactsRevenue

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:

  • CompanyNumber - setting and retrieving Registration Number for a company/Business
  • MergedToContactId - retrieving the ID for the destination of a merged contact
  • SalesDefaultLineAmountType - retrieving the default sales line amount types for a contact
  • PurchasesDefaultLineAmountType - retrieving the default purchases line amount types for a contact

Types of Changes

  • New feature (non-breaking change that adds functionality)

3.20.0

12 Oct 23:24
47f31b4
Compare
Choose a tag to compare

Description

Generates Xero-NetStandard from OAS 2.17.1 minus Finance API.

Release Notes

AccountingAPI.getBudget() added query params:
dateTo
dateFrom

AccountingAPI.getContacts() added query param:
searchTerm

PayrollAUAPI ifModifiedSInce query param type corrected:
was string --> now Date

PayrollNZAPI.getEmployess() replaced query params:
was 'firstName and 'lastName --> now filter

PayrollNZAPI.getTimesheets() replaced query params:
was 'employeeIdandpayrollCalendarId--> nowfilter`

PayrollNZAPI.getTimesheets() added query params:
status
startDate
endDate
sort

PayrollUKAPI.getTimesheets() added query params:
status
startDate
endDate
sort

AccountingAPI BankTransfer model added fields:
FromIsReconciled
ToIsReconciled
Reference

AppStoreAPI Product model added field:
seatUnit

PayrollAUAPI EarningsType added enum:
LUMPSUMW

PayrollAUAPI ManualTaxType added enum:
SCHEDULE4MANUAL

PayrollUKAPI EarningsRate model corrected enums:
was Tips(Direct) and Tips(Non-Direct) --> now TipsDirect and TipsNonDirect

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)

OAuthClient v1.5.1

20 Sep 02:19
4a3f5f4
Compare
Choose a tag to compare

Description

Release of OAuthClient only, no changes to SDK.

Release Notes

Upgraded IdentityModel dependency for the Xero OAuthClient from v4 to v5.

OAuthClient will be released via NuGet.

Types of Changes

Non-breaking change. No changes to the public API. You will need to verify that it remains compatible with your project based on your use of IdentityModel (and it's version) elsewhere in your project.

3.19.0

10 Aug 16:17
ef9165d
Compare
Choose a tag to compare

Implements the endpoints available in Xero's API spec.

Description

https://developer.xero.com/documentation/guides/how-to-guides/xero-app-store-subscriptions/

https://developer.xero.com/documentation/api/xero-app-store/subscriptions

Release Notes

Subscriptions endpoints enable you to query data about the users who have paid to subscribe to your application through Xero.

AppStoreAPI adds

  • getSubscription

AppStore adds

  • Subscription
  • SubscriptionItem
  • Plan
  • Product
  • Price
  • ProblemDetails

Employee adds terminationReason
V Voluntary cessation
I Ill health
D Deceased
R Redundancy
F Dismissal
C Contract cessation
T Transfer

  • PayrollCalendar adds reference_date

  • Payment adds bank_amount

Types of Changes

  • New feature (non-breaking change that adds functionality)

3.18.1

20 Jul 00:49
ec4e438
Compare
Choose a tag to compare
  • implements a new method that POST's to Xero's server to get a token back for the custom connections functionality.
  • bug fix to export the new method name

To use the client credentials grant you must use the Xero.NetStandard.OAuth2Client package version 1.4.0

The endpoints (OAuth2), and the (OAuth2Client) are deployed as separate Nuget packages.

https://www.nuget.org/packages/Xero.NetStandard.OAuth2Client/1.4.0

3.18.0

20 Jul 00:16
1959bfb
Compare
Choose a tag to compare
  • implements a new method that POST's to Xero's server to get a token back for the custom connections functionality.

  • Fixes a few budget data model bugs
  • adds ReferenceDate to payroll calendar
    • adds TerminationPay enum