3.0.0
Xero NetStandard SDK version 3.0.0 generated against OpenAPI Spec version 2.1.7
Caution! This is a major release with many breaking changes. Review the release note before updating.
Accounting API Changes:
AccoutingApi.cs
- Added GetContactByContactNumberAsync method
AccountsPayable.cs & AccountsReceivable.cs
- Changed type of Outstanding & Overdue from double to decimal
Allocation.cs
- Changed type of Amount from double to decimal
BankTransaction.cs
- Changed type of CurrencyRate, SubTotal, TotalTax, Total from double to decimal
BankTransfer.cs
- Changed type of Amount & CurrencyRate from double to decimal
BatchPayment.cs
- Changed type of Amount from double to decimal
Contact.cs
- Changed type of Discount from double to decimal
CreditNote.cs
- Changed type of SubTotal, TotalTax, Total, CurrencyRate & RemainingCredit from double to decimal
ExpenseClaim.cs
- Changed type of Total, AmountDue & AmountPaid from double to decimal
- Default value set to false for PaymentDueDate & ReceiptID
Invoice.cs - Changed type of CurrencyRate, CISDeduction, SubTotal, TotalTax, Total, TotalDiscount, AmountDue, AmountPaid & AmountCredited from double to decimal
Item.cs
- Changed type of TotalCostPool & QuantityOnHand from double to decimal
JournalLine.cs
- Changed type of NetAmount, GrossAmount & TaxAmount from double to decimal
LineItem.cs
- Changed type of Quantity & UnitAmount from float to double
- Changed type of TaxAmount from double to decimal
ManualJournalLine.cs
- Changed type of LineAmount & TaxAmount from double to decimal
Overpayment.cs
- Changed type of SubTotal, TotalTax, Total, CurrencyRate & RemainingCredit from double to decimal
Payment.cs
- Changed type of CurrencyRate & Amount from double to decimal
Prepayment.cs
- Changed type of SubTotal, TotalTax, Total, CurrencyRate & RemainingCredit from double to decimal
Purchase.cs
- Changed type of UnitPrice from float to decimal
PurchaseOrder.cs
- Changed type of CurrencyRate, SubTotal, TotalTax, Total & TotalDiscount from double to decimal
Quote.cs
- Changed type of SubTotal, TotalTax, Total & TotalDiscount from double to decimal
Receipt.cs
- Changed type of SubTotal, TotalTax & Total from double to decimal
RepeatingInvoice.cs
- Changed type of SubTotal, TotalTax & Total from double to decimal
TaxComponent.cs
- Changed type of Rate from double to decimal
TaxRate.cs
- Changed type of DisplayTaxRate & EffectiveRate from double to decimal
TenNinteyNineContact.cs
- Changed type of Box1, Box2, ... Box14 from double to decimal
Asset API Changes:
AssetApi.cs
- Changed type of PurchasePrice, DisposalPrice & AccountingBookValue from float to decimal
BookDepreciationDetail.cs
- Changed type of CurrentCapitalGain, CurrentGainLoss, CostLimit, ResidualValue, PriorAccumDepreciationAmount & CurrentAccumDepreciationAmount from float to decimal
BookDepreciationSetting.cs
- Changed type of DepreciationRate from float to decimal
Payroll AU API Changes:
PayrollAuApi.cs
- Breaking change: api client class name & interface name corrected from "PayrollAUApi" to "PayrollAuApi" to have the casing consistent with rest of the API sets
BankAccount.cs
- Changed type of Amount from float to decimal
DeductionLine.cs
- Changed type of Amount, Percentage & NumberOfUnits from float to decimal
EarningsLine.cs
- Changed type of AnnualSalary, NumberOfUnitsPerWeek, RatePerUnit, NormalNumberOfUnits, Amount, NumberOfUnits & FixedAmount from float to decimal
EarningsRate.cs
- Changed type of Multiplier, AccrueLeave & Amount from float to decimal
LeaveAccrualLine.cs
- Changed type of NumberOfUnits from float to decimal
LeaveBalance.cs
- Changed type of NumberOfUnits from float to decimal
LeaveEarningsLine.cs
- Changed type of RatePerUnit & NumberOfUnits from float to decimal
LeaveLine.cs
- Changed type of NumberOfUnits from float to decimal
LeavePeriod.cs
- Changed type of NumberOfUnits from float to decimal
PayRun.cs, Payslip.cs & PayslipSummary.cs
- Changed type of Wages, Deductions, Tax, Super, Reimbursement & NetPay from float to decimal
ReimbursementLine.cs
- Changed type of Amount from float to decimal
SuperannuationLine.cs & SuperLine.cs
- Changed type of MinimumMonthlyEarnings, Percentage & Amount from float to decimal
TaxLine.cs
- Changed type of Amount from float to decimal
Timesheet.cs
- Changed type of Hours from float to decimal
TimesheetLine.cs
- Changed type of NumberOfUnits from float to decimal
OpenAPI document version update from 2.1.4 to 2.1.7 across all files
SDK version updated to 3.0.0 (major release, breaking changes!!!)