Skip to content

Releases: XeroAPI/Xero-NetStandard

3.6.2

09 Oct 08:48
c50c1c3
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.6.2 generated against OpenAPI Spec version 2.3.3

Accounting APIs

  • added getPurchaseOrdersAttachments
  • added getPurchaseOrderAttachmentByFileName
  • added updatePurchaseOrderAttachmentByFileName
  • added createPurchaseOrderAttachmentByFileName

SDK version updated to 3.6.2 (patch with small improvements)

3.6.1

09 Oct 05:36
4a132a7
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.6.1 generated against OpenAPI Spec version 2.3.3

Accounting APIS

  • added RepeatingInvoiceID to Invoice.cs
  • added new Timezone.cs enum "UTC+13"
  • added getQuoteByNumber method
  • added QuoteNumber as a query param for GetQuotesAsync method
  • bug fix: removed getQuoteByNumber method as that did not match implementation of the API
  • add 2 missing currencies "BYR" & "LTL"
  • TrackingOption.cs Name length updated from 50 to 100

Payroll AU

  • added ManualTaxType and EarningsType enums "BONUSESANDCOMMISSIONS", "SCHEDULE5STSLMANUAL" and "SCHEDULE5MANUAL"

Assets API

  • fixed the captilisation of "xero-tenant-id" header parameter

OpenAPI Spec version updated to 2.3.3 across all files.
SDK version updated to 3.6.1 (patch with bug fixes)

3.6.0

18 Sep 11:30
591ee7b
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.6.0 generated against OpenAPI Spec version 2.3.0

###Added Payroll NZ Support

Xero.NetStandard.OAuth2 main package downgraded the NewtonSoft version from 12.0.2 to 11.0.2 to align with what Xero.NetStandard.OAuth2Client's Identity Model 4.0.0 is using. This will resolve some dependency issues when the two packages are used together.

Payroll AU API:

SuperMembership.cs

  • EmployeeNumber type corrected from decimal to string

OpenAPI Spec version updated to 2.3.0 across all files.
SDK version updated to 3.6.0 (minor release with a bug fix)

3.5.0

13 Sep 11:33
a71ec26
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.5.0 generated against OpenAPI Spec version 2.2.15

RestSharp dependency upgraded from 106.10.1 to 106.11.4

SDK version updated to 3.5.0 (minor release)

3.4.1

13 Sep 11:31
7e8fb1a
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.4.1 generated against OpenAPI Spec version 2.2.15

AU Payroll APIs:

LeaveLine.cs

  • addedd AnnualNumberOfUnits (decimal) & FullTimeNumberOfUnitsPerPeriod (decimal)

SDK version updated to 3.4.1 (patch)

3.4.0

27 Aug 12:53
59a1a21
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.4.0 generated against OpenAPI Spec version 2.2.14

Added project APIs support.

Example of getting projects:

    using Xero.NetStandard.OAuth2.Model.Project;

    var ProjectApi = new ProjectApi();
    var response = await ProjectApi.GetProjectsAsync(accessToken, xeroTenantId);

Example of creating a project:

    using Xero.NetStandard.OAuth2.Model.Project;

    var project = new ProjectCreateOrUpdate() {
        Name = name,
        EstimateAmount = Decimal.Parse(estimateAmount),
        ContactId = Guid.Parse(contactId),
        DeadlineUtc = deadlineUtc
    };

    var ProjectApi = new ProjectApi();
    var response = await ProjectApi.CreateProjectAsync(accessToken, xeroTenantId, project);

Accounting APIs

  • Fixed bugs with DateTime error in release 3.3.0.

SDK version updated to 3.4.0 (minor relase, bug fixes)

3.3.0

27 Aug 11:23
3eab1a5
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.3.1 generated against OpenAPI Spec version 2.2.14

Added UK Payroll support.

Example:

	using Xero.NetStandard.OAuth2.Model.PayrollUk;

	var PayrollUKApi = new PayrollUkApi();
    var response = await PayrollUKApi.GetEmployeesAsync(accessToken, xeroTenantId);

SDK version updated to 3.3.1 (minor release with enhanced features)

3.2.2

23 Aug 11:16
8c18840
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.2.2 generated against OpenAPI Spec version 2.2.13

RestSharp upgraded from 106.6.7 to 106.10.1.

AU Payroll API Changes:

Employee.cs

  • added DELETED enum

Accounting API now sends dates in MS WCF Json format e.g. /Date(1518685950940+0000)/. Objects still uses c# native DateTime object so the way developers use date remain unchanged.

OpenAPI document version update from 2.2.11 to 2.2.13 across all files.

SDK version updated to 3.2.2 (small enhancements)

3.2.1

08 Aug 10:43
1b280d5
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.2.1 generated against OpenAPI Spec version 2.2.11

AU Payroll API Changes:

LeaveType.cs

  • corrected LeaveLoadingRate date type from int to double

SDK version updated to 3.2.1 (minor bug fix)

3.2.0

08 Aug 10:00
125a7db
Compare
Choose a tag to compare

Xero NetStandard SDK version 3.2.0 generated against OpenAPI Spec version 2.2.11

This release contains breaking changes/fixes for accounting, AU payroll and identity APIs.

Accounting API Changes:

Attachment.cs

  • fixed ContentLengh being decimal instead of int

Added TenNinetyNineContact model.

AccoutingApi.cs

  • fixed some typos
  • added summarizeErrors to CreditNote Allocation

Report.cs

  • fixed typo in report name for TenNinetyNineContact

ManualJournalLine.cs

  • added AccountID

QuoteStatusCodes.cs

  • added DELETED enum

AU Payroll API Changes:

LeaveType.cs

  • NormalEntitlement changed from Int to Double

EarningsRate.cs

  • AccureLeave is corrected from decimal to bool

AccountType.cs

  • added enum "WAGESPAYABLELIABILITY"

Identity API Changes:

Connections.cs

  • fixed the casing of createdDateUTC to be createdDateUtc

OpenAPI document version update from 2.2.2 to 2.2.11 across all files.

SDK version updated to 3.2.0 (many bug fixes)