Skip to content

0.4.0

Choose a tag to compare

@jenksguo jenksguo released this 21 Feb 00:40
· 483 commits to master since this release
22a2b4e

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