Skip to content

2.2.0

Compare
Choose a tag to compare
@jenksguo jenksguo released this 14 May 07:23
· 376 commits to master since this release
da13b98

Xero NetStandard SDK version 2.2.0 generated against OpenAPI Spec version 2.1.2

Added Payroll AU APIs Support:

A custom serialiser is added to ApiClient.cs to handle the difference payroll AU APIs has with Date and DateTime in the format of Microsoft Wcf Json Date string.

PayrollAuApi.cs included all methods to be used for Payroll AU APIs.

Models are added in /Model/PayrollAu directory with namespace of Xero.NetStandard.OAuth2.Model.PayrollAu.

API Naming Strategy Change (non-functional impact):

Json deserializer setting is changed from using the default naming strategy instead of using camel case strategy.

This will allow the APIs to work for Payroll AU while not impacting any calls for accounting APIs, asset APIs and identity APIs.

This means, instead of sending

{ "fullName": "Bob Belcher" }

the SDK will send

{ "FullName": "Bob Belcher" }

Accounting API changes:

  • CreatePaymentsAsync added summarizeError parameter
  • Corrected JournalNumber type from string to integer
  • added GetPrepaymentAsPdfAsync method
  • Added UK Domestic Reverse Charge VAT rates

OpenAPI document version update from 2.1.1 to 2.1.2 across all files

SDK version updated to 2.2.0 (minor, substantial improvements)