Skip to content

3.3.0

Choose a tag to compare

@SidneyAllen SidneyAllen released this 13 Feb 01:17
· 342 commits to master since this release
be86415

OAS v2.0.0
https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.0.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 to the following ..

BankTransactions

  • getBankTransaction
  • createBankTransactions
  • updateBankTransaction
  • updateOrCreate

CreditNotes

  • getCreditNotes
  • createCreditNotes
  • updateCreditNote
  • updateOrCreateCreditNotes

Invoices

  • getInvoice
  • createInvoices
  • updateInvoice
  • updateOrCreateInvoices

Items

  • getItem
  • createItems
  • updateItem
  • updateOrCreateItems

Receipts

  • getReceipts
  • getReceipt
  • createReceipt
  • updateReceipt

Objects that use LineItems are impacted

  • BankTransations
  • CreditNotes
  • Invoices
  • Receipts

the two properties that changed from double to float

  • Quantity
  • UnitAmount

The Purchase object property changed from double to float

  • UnitPrice

The Item object has the property changed from double to float

  • QuantityOnHand

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

Updated corresponding Unit Tests

Remove req. ReportTaxTypes from TaxRate object