Releases: XeroAPI/Xero-NetStandard
3.6.2
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
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
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
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
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
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
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
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
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
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)