Skip to content

Releases: XeroAPI/Xero-NetStandard

2.0.1

02 May 04:20
c4a053e

Choose a tag to compare

Xero NetStandard SDK version 2.0.1 generated against OpenAPI Spec version 2.1.1

Bug fix:
Addressed issue #149 & #121 where UpdatedDateUTC is DateTime object with DateTime.Kind = local issue. The UpdatedDateUTC now returns UTC time.

Accounting APIs:

  • Added method GetPrepaymentAsPdfAsync
  • Added UK domestic revert charge VAT rates:

    DRCHARGESUPPLY20
    DRCHARGE20
    DRCHARGESUPPLY5
    DRCHARGE5

Unit Tests (Xero.NetStandard.OAuth2.Test):
Accounting

  • Added unit test case "GetInvoiceUpdatedDateUtcTest" for UpdateDateUTC returning local DateTime.Kind issue.

Removed .ionide/ folder and added .ionide/ to .gitignore to remove noise files

OpenAPI document version update from 2.1.0 to 2.1.1 across all files

SDK version updated to 2.0.1 (bug fix)

2.0.0

27 Apr 07:28
9f116fb

Choose a tag to compare

Xero NetStandard SDK version 2.0.0 generated against OpenAPI Spec version 2.1.0

IMPORTANT: this major versioning and has breaking changes.

The namespace of Accounting Models & Asset Models are now having below namespaces:

Accounting APIs - Xero.NetStandard.OAuth2.Model.Accounting
Asset APIs - Xero.NetStandard.OAuth2.Model.Asset

Examples:

using Xero.NetStandard.OAuth2.Model.Asset;
using Xero.NetStandard.OAuth2.Model.Accounting;

Accounting API changes:

  • Correct the IncludeOnline value so that it is a query parameter and not included directly in path
  • Add GetPurchaseOrderAsPdfAsync method

Asset API changes:

  • Add missing assetTypeId from Assets object
  • Added Error objects and Validation arrays

GET Assets requires a Status in ALL Caps otherwise you'll receive a 403 Forbidden.

CREATE or GET Assets deserialises JSON responses into the Assets object where the Status is Init Caps.

For this reason the same component in our OpenAPI spec will not support both use cases without throwing an error for missing enums due to case sensitivity.

OpenAPI document version update from 2.0.7 to 2.1.0 across all files

SDK version updated to 2.0.0 (major update with breaking changes)

0.4.4

03 Apr 08:57
d89e5a2

Choose a tag to compare

Xero NetStandard SDK version 0.4.4 generated against OpenAPI Spec version 2.0.7

BrandingTheme.cs

  • CreatedDateUTC is now readonly

Contact.cs

  • UpdatedDateUTC is now readonly

CreditNote.cs

  • UpdatedDateUTC is now readonly
  • added support for StatusAttributeString parameter

Employee.cs

  • UpdatedDateUTC is now readonly

HistoryRecord.cs

  • DateUTC is now readonly

Item.cs

  • UpdatedDateUTC is now readonly

LinkedTransaction.cs

  • UpdatedDateUTC is now readonly

Organisation.cs

  • CreatedDateUTC is now readonly

Prepayment.cs

  • UpdatedDateUTC is now readonly
  • HasAttachments is now readonly

Quote.cs

  • UpdatedDateUTC is now readonly

RepeatingInvoice.cs

  • HasAttachments is now readonly

Report.cs

  • UpdatedDateUTC is now readonly

ReportWithRow.cs

  • UpdatedDateUTC is now readonly

User.cs

  • UpdatedDateUTC is now readonly

OpenAPI document version update from 2.0.6 to 2.0.7 across all files

SDK version updated to 0.4.4 (pactch)

0.4.3

26 Mar 13:40
2b73134

Choose a tag to compare

Xero NetStandard SDK version 0.4.3 generated against OpenAPI Spec version 2.0.6

AccountingApi.cs

  • Fixed issue with DeletePaymentAsync method - Delete payment operation requires a payload when performing a POST. The paymentDelete object (of type PaymentDelete, has a single property "status" with a default value of "DELETED". Simply create a new instance of deletePayment and pass it as an arg to the DeletePaymentAsync method. (added PaymentDelete.cs)
  • Added GetQuoteAsPdfAsync
  • Removed UpdateEmployeeAsync method - updateEmployee singular not supported by API
  • Bug fix - addressed issue with summarizeError earlier

CurrencyCode.cs

  • Adding ZWK and "" empty strings to currencyCode ENUM list

Invoice.cs

  • Add missing ENUM "ARPREPAYMENT" for Invoice Type

OpenAPI document version update from 2.0.4 to 2.0.6 across all files

SDK version updated to 0.4.3 (pactch)

0.4.2

13 Mar 05:09
f3969f8

Choose a tag to compare

Xero NetStandard SDK version 0.4.2 generated against OpenAPI Spec version 2.0.4

Accounting API
Update countryCode for Norway from NO to "NO"

OpenAPI document version update from 2.0.1 to 2.0.4 across all files

SDK version updated to 0.4.2 (patch)

0.4.1

06 Mar 04:50
639d9d8

Choose a tag to compare

Xero.NetStandard.OAuth2 v0.4.1 release based on OpenAPI Spec v2.0.3

AccountingAPI class:

  • Fixed typo across all methods

PurchaseOrder methods:

  • Added GetPurchaseOrderByNumberAsyncWithHttpInfo
  • Added GetPurchaseOrderByNumberAsync
  • Removed GetPurchaseOrderHistoryAsync

Quotes (attachments) methods:

  • Added CreateQuoteAttachmentByFileNameAsync
  • Added CreateQuoteAttachmentByFileNameAsyncWithHttpInfo
  • Added UpdateQuoteAttachmentByFileNameAsync
  • Added UpdateQuoteAttachmentByFileNameAsyncWithHttpInfo
  • Added GetQuoteAttachmentByFileNameAsync
  • Added GetQuoteAttachmentByFileNameAsyncWithHttpInfo
  • Added GetQuoteAttachmentsAsync
  • Added GetQuoteAttachmentsAsyncWithHttpInfo
  • Added GetQuoteAttachmentByIdAsync
  • Added GetQuoteAttachmentByIdAsyncWithHttpInfo

AppliedAmount property added to the following models:

  • CreditNote
  • Prepayment
  • Overpayment

Response:

  • Added x-isEmpty to 204 responses

SDK version updated from 0.4.0 to 0.4.1

OpenAPI document version update from 2.0.1 to 2.0.3 across all files

Added Xero logo package icon for nuget.org

0.4.0

21 Feb 00:40
22a2b4e

Choose a tag to compare

Xero.NetStandard.OAuth2 v0.4.0 release based on OpenAPI Spec v2.0.1

See OAS release notes
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.0.1

Change (including breaking changes) included in this version:

Updated CreateInvoiceAsPdfAsync and CreateCreditNoteAsPdfAsync

  • removed "contentType" parameter as it's unnecessary
  • response content type from application/octet-stream to application/pdf because it will alway return a pdf.

Updated CreateEmployeesAsync

  • add summarizeErrors param

Remove CreateEmployeeAsync method (singular - as this path/method)

  • /Employees POST is needed for updateOrCreateEmployees

Added UpdateOrCreateEmployeesAsync method

  • with summarizeErrors param

Updateed CreateManualJournalsAsync

  • with summarizeErrors param

Removed CreateManualJournal method (singular - as this path/method)

  • /ManualJournals POST is needed for updateOrCreateManualJournals

Added UpdateOrCreateManualJournalsAsync method

  • with summarizeErrors param

Remove CreateOverpaymentAllocationAsync method

Added CreateOverpaymentAllocationsAsync method

  • with summarizeErrors param

Added CreatePrepaymentAllocationsAsync method

  • with summarizeErrors param

Added missing attributes of Employee object
StatusAttributeString
ValidationErrors array

Added missing attributes of Invoice object

  • Warnings array

Added missing attributes of ManualJournal object

  • StatusAttributeString

Across the code base:
Version of OAS updated from 2.0.0 to 2.0.1

0.3.0

15 Feb 05:44

Choose a tag to compare

Re-generated against Xero OpenAPI Spec v2.0.0.
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.0.0

SDK version bumped to v0.3.0

To address the use case where a queryString includes the unitdp=4 param we need to change objects with attributes that support more than two decimal points to to change the number datatype from double to float.

Added missing unitdp to methods ...

Added ARCHIVED Status to Manual Journal object
Added SalesTaxPeriod NONE to organisation object
Added Reference attribute to Prepayment object
Added VOIDED status to Receipt object
Added DELETED status to RepeatingInvoice object

Model object type changes from double to float:
UnitPrice in Purchase
Quantity & UnitAmount in Quantity
QuantityOnHand in Items

Remove req. ReportTaxTypes from TaxRate object

0.2.0

10 Feb 05:56

Choose a tag to compare

Updated according to the latest OpenAPI yaml

1.1.4

28 Jun 04:57

Choose a tag to compare

Summary

Only small changes are included in this release, including change for app startup configuration, and missing properties on some models/types

Changes

  • #67 #77 - Adds new constructors to make it easier to use various parts of the SDK
  • #72 Some better information in the readme regarding installing the SDK
  • #76 Timesheet model was missing UpdatedDateUTC
  • #70 Adds missing SalesTaxBasisType